/*
Theme Name: TSAS Lite
Theme URI: https://tsas.ca
Author: Paradise Media
Description: Dark casino theme for Canadian online casino guide. Canadian-themed design with charcoal and maple red accents.
Version: 5.0.0
License: GNU General Public License v2 or later
Text Domain: tsas-lite
*/

/* ============================================
   CSS VARIABLES - ROYALBET CASINO THEME
   ============================================ */
:root {
    /* Base Colors */
    --bg-midnight: #1A1A1A;
    --bg-darker: #111111;
    --text-platinum: #F0F0F0;
    
    /* Primary Action Colors (Gold) */
    --royal-gold: #C41E3A;
    --royal-gold-bright: #E31837;
    --gold-gradient: linear-gradient(135deg, #C41E3A 0%, #E31837 50%, #C41E3A 100%);
    --gold-gradient-text: linear-gradient(to right, #C41E3A, #FF6B6B, #E31837, #FF8585, #8B0000);
    --gold-glow: rgba(196, 30, 58, 0.5);
    --gold-glow-bright: rgba(227, 24, 55, 0.7);
    
    /* Secondary Alert Colors (Burgundy) */
    --royal-burgundy: #800020;
    --deep-wine: #722F37;
    --burgundy-glow: rgba(128, 0, 32, 0.5);
    
    /* Layout */
    --container-width: 1200px;
    --border-radius-card: 16px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

/* ============================================
   GOOGLE FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Montserrat:wght@400;500;600&display=swap');

/* ============================================
   BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}


/* Screen Reader Only - Accessibility */
.sr-only,
.skip-link.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link:focus {
    position: fixed !important;
    top: 10px;
    left: 10px;
    width: auto !important;
    height: auto !important;
    padding: 15px 20px !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
    background: var(--royal-gold) !important;
    color: var(--bg-midnight) !important;
    z-index: 100000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
}


/* Hide mobile menu toggle on desktop */
.menu-toggle {
    display: none !important;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block !important;
        background: transparent;
        border: none;
        color: var(--royal-gold);
        font-size: 24px;
        cursor: pointer;
        padding: 10px;
    }
}


/* Accent Text (Canadian Red) */
.accent-text,
.gold-text {
    color: var(--royal-gold);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

body {
    background: var(--bg-midnight) !important;
    color: var(--text-platinum) !important;
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.8;
}

/* ============================================
   HEADER
   ============================================ */
header, .site-header, #masthead {
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-midnight)) !important;
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border-bottom: 2px solid var(--royal-gold);
    position: relative;
    z-index: 1000;
}

.site-branding {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.8em;
    font-weight: 700;
}

.site-title a {
    color: var(--text-platinum) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: var(--royal-gold) !important;
}

.site-description {
    color: var(--royal-gold) !important;
    font-size: 0.9em;
    margin: 5px 0 0;
}

/* ============================================
   NAVIGATION
   ============================================ */
nav, .main-navigation, .primary-menu {
    background: transparent;
}

nav ul, .main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

nav a, .main-navigation a, .menu a {
    color: var(--text-platinum) !important;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
}

nav a:hover, .main-navigation a:hover, .menu a:hover {
    color: var(--royal-gold) !important;
    border-bottom-color: var(--royal-gold);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
main, .site-main, #main, .content-area {
    background: var(--bg-midnight) !important;
    padding: 40px 20px;
    min-height: 60vh;
}

.container, .entry-content, .page-content {
    max-width: var(--container-width);
    margin: 0 auto;
}

article {
    background: transparent !important;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, .entry-title, .page-title {
    color: var(--text-platinum) !important;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 20px;
}

h1, .entry-title {
    font-size: 2.5em;
}

h2 {
    font-size: 2em;
}

h3, h4, h5, h6 {
    color: var(--royal-gold) !important;
    font-family: var(--font-heading);
    font-weight: 600;
}

h3 {
    font-size: 1.5em;
}

p {
    color: var(--text-platinum) !important;
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

strong, b {
    color: var(--royal-gold) !important;
    font-weight: 700;
    background: rgba(196, 30, 58, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
}

h1 strong, h2 strong, h3 strong {
    background: none !important;
    color: inherit !important;
    padding: 0;
}

/* ============================================
   LINKS
   ============================================ */
a {
    color: var(--royal-gold) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--royal-gold-bright) !important;
    text-shadow: 0 0 8px var(--gold-glow);
}

/* ============================================
   LISTS
   ============================================ */
ul, ol {
    margin: 25px 0;
    padding-left: 30px;
}

li {
    color: var(--text-platinum) !important;
    margin: 10px 0;
    font-size: 1.05em;
    position: relative;
}

ul li::marker {
    color: var(--royal-gold);
}

/* ============================================
   TABLES
   ============================================ */
table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-midnight));
    color: var(--text-platinum) !important;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--royal-gold);
}

td {
    color: var(--text-platinum) !important;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

tr:hover {
    background: rgba(196, 30, 58, 0.1);
}

/* ============================================
   BUTTONS
   ============================================ */
button, .button, .btn, input[type="submit"], .wp-block-button__link {
    display: inline-block;
    background: var(--gold-gradient) !important;
    color: var(--bg-midnight) !important;
    text-decoration: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--gold-glow);
    border: 2px solid var(--royal-gold-bright) !important;
    cursor: pointer;
}

button:hover, .button:hover, .btn:hover, input[type="submit"]:hover, .wp-block-button__link:hover {
    background: linear-gradient(135deg, #E31837 0%, #FF4444 50%, #E31837 100%) !important;
    box-shadow: 0 0 25px var(--gold-glow-bright);
    transform: translateY(-3px);
}

/* ============================================
   FORMS
   ============================================ */
input, textarea, select {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--text-platinum) !important;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1em;
    width: 100%;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--royal-gold) !important;
    outline: none;
    box-shadow: 0 0 15px rgba(196, 30, 58, 0.3);
}

input::placeholder, textarea::placeholder {
    color: rgba(240, 240, 240, 0.5);
}

/* ============================================
   CARDS & BOXES
   ============================================ */
.card, .widget, aside, .wp-block-group {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--border-radius-card);
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover, .widget:hover {
    transform: translateY(-5px);
    border-color: var(--royal-gold) !important;
}

.widget-title, .wp-block-heading {
    color: var(--royal-gold) !important;
    font-family: var(--font-heading);
    border-bottom: 1px solid var(--royal-gold);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* ============================================
   FOOTER
   ============================================ */
footer, .site-footer, #colophon {
    background: #000 !important;
    color: var(--text-platinum) !important;
    padding: 40px 0 20px;
    margin-top: 40px;
    border-top: 4px solid var(--royal-gold);
}

.site-footer .widget-title {
    color: var(--royal-gold) !important;
}

.site-footer a {
    color: #ccc !important;
}

.site-footer a:hover {
    color: var(--royal-gold) !important;
}

.site-info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 0.9em;
}

/* ============================================
   CASINO CARD GRID (for homepage)
   ============================================ */
.casino-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.casino-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-card);
    padding: 25px 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.casino-card:hover {
    transform: translateY(-5px);
    border-color: var(--royal-gold);
}

.casino-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.08), rgba(227, 24, 55, 0.03));
    z-index: 0;
}

.card-rank {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(196, 30, 58, 0.2);
    color: var(--royal-gold);
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.85em;
    z-index: 2;
}

.casino-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.casino-card-logo {
    width: 90px;
    height: 90px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.casino-card-logo img {
    max-width: 100%;
    height: auto;
}

.casino-card h3 {
    color: var(--text-platinum) !important;
    margin: 0 0 8px;
    font-size: 1.2em;
}

.card-bonus, .card-rating {
    color: var(--royal-gold) !important;
    font-weight: 600;
    margin: 5px 0;
}

.play-now-btn {
    display: inline-block;
    width: 100%;
    margin-top: 15px;
    padding: 14px 30px;
    border-radius: 50px;
    background: var(--gold-gradient);
    color: var(--bg-midnight) !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px var(--gold-glow);
    border: 2px solid var(--royal-gold-bright);
    transition: all 0.3s ease;
}

.play-now-btn:hover {
    background: linear-gradient(135deg, #E31837 0%, #FF4444 50%, #E31837 100%);
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--gold-glow-bright);
    color: var(--bg-midnight) !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(0, 31, 63, 0.9), rgba(0, 18, 38, 0.95));
    border-radius: 20px;
    margin-bottom: 40px;
    border: 1px solid rgba(196, 30, 58, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.hero-section h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #fff !important;
}

.hero-section .gold-text {
    color: #E31837;
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #ccc;
}

.cta-button {
    display: inline-block;
    background: var(--gold-gradient);
    color: var(--bg-midnight) !important;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px var(--gold-glow);
    border: 2px solid var(--royal-gold-bright);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--gold-glow-bright);
    color: var(--bg-midnight) !important;
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-card);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--royal-gold);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--royal-gold) !important;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.feature-card p {
    color: #ccc;
}

/* ============================================
   INFO SECTIONS
   ============================================ */
.info-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-card);
    padding: 40px;
    margin: 40px 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-title {
    text-align: center;
    margin: 50px 0 30px;
}

.section-title h2 {
    color: #fff !important;
    font-size: 2.2em;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--royal-gold);
    font-size: 1.1em;
}

/* ============================================
   RESPONSIBLE GAMBLING NOTICE
   ============================================ */
.responsible-gambling-notice {
    background: rgba(196, 30, 58, 0.1);
    border: 1px solid rgba(196, 30, 58, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
}

.responsible-gambling-notice p {
    color: var(--royal-gold) !important;
    margin: 0;
    font-size: 0.95em;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--royal-gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--royal-gold-bright);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    h1, .entry-title {
        font-size: 2.2em;
    }
    h2 {
        font-size: 1.8em;
    }
    .hero-section {
        padding: 40px 20px;
    }
    .hero-section h1 {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    h1, .entry-title {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    .hero-section h1 {
        font-size: 2em;
    }
    
    .site-branding {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul, .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .cta-button {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .casino-card-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1, .entry-title {
        font-size: 1.6em;
    }
    
    .hero-section {
        padding: 30px 15px;
    }
    
    .hero-section h1 {
        font-size: 1.6em;
    }
    
    .site-title {
        font-size: 1.4em;
    }
    
    .card, .widget, .info-section {
        padding: 20px;
    }
}


/* Blockquote / Testimonial Styling */
blockquote,
blockquote.testimonial {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.15), rgba(227, 24, 55, 0.08));
    border-left: 4px solid var(--royal-gold);
    border-radius: 8px;
    padding: 25px 30px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-platinum);
    position: relative;
}

blockquote::before {
    content: '"';
    font-size: 4em;
    color: var(--royal-gold);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 15px;
    font-family: Georgia, serif;
    line-height: 1;
}

blockquote p {
    margin: 0;
    text-indent: 0 !important;
    text-align: left !important;
}

/* Quick Picks List */
ul.quick-picks {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px 25px 25px 45px;
    margin: 25px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

ul.quick-picks li {
    margin: 12px 0;
    padding-left: 10px;
}

ul.quick-picks li::before {
    content: '★';
    color: var(--royal-gold);
}

ul.quick-picks a {
    color: var(--royal-gold) !important;
    text-decoration: none;
    border-bottom: none !important;
}

ul.quick-picks a:hover {
    color: var(--royal-gold-bright) !important;
    text-shadow: 0 0 8px var(--gold-glow);
}

/* Pros List */
ul.pros-list li::before {
    content: '✓';
    color: #4CAF50;
    font-weight: bold;
}

/* Cons List */
ul.cons-list li::before {
    content: '✗';
    color: #f44336;
    font-weight: bold;
}

/* Rating List */
ul.rating-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-left: 0 !important;
    list-style: none;
}

ul.rating-list li {
    background: rgba(196, 30, 58, 0.15);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.95em;
    margin: 0;
}

ul.rating-list li::before {
    display: none;
}

/* H4 for test sections */
h4 {
    color: var(--royal-gold) !important;
    font-family: var(--font-heading);
    font-size: 1.2em;
    margin: 25px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(196, 30, 58, 0.3);
}

@media (max-width: 768px) {
    blockquote {
        padding: 20px;
        font-size: 1em;
    }
    blockquote::before {
        font-size: 3em;
        top: 5px;
        left: 10px;
    }
    ul.rating-list {
        flex-direction: column;
    }
}
