/* -------------------------------------------------------------
   Mummirulla.com - Cozy Retro Casino Guide Styling
   ------------------------------------------------------------- */

/* Custom Variables & Design Tokens */
:root {
    --bg-primary: #FAF6F0; /* Soft warm oatmeal cream */
    --bg-secondary: #FFFDFB;
    --bg-card: #FFFFFF;
    
    --primary-color: #1B4332; /* Deep forest green */
    --primary-light: #40916C;
    --primary-hover: #082D1D;
    
    --accent-gold: #C69A27; /* Sophisticated antique gold */
    --accent-rose: #F2E8E6; /* Cozy pale rose */
    --accent-rose-dark: #D4B2A8;
    
    --text-dark: #2A2F2C; /* Dark charcoal with green tint */
    --text-light: #5A635E; /* Muted olive grey */
    --text-white: #FFFFFF;
    
    --success-green: #2D6A4F;
    
    --border-color: #E2DDD5;
    --border-radius-lg: 20px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    
    --shadow-sm: 0 4px 6px -1px rgba(27, 67, 50, 0.05), 0 2px 4px -1px rgba(27, 67, 50, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(27, 67, 50, 0.08), 0 4px 6px -2px rgba(27, 67, 50, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(27, 67, 50, 0.1), 0 10px 10px -5px rgba(27, 67, 50, 0.06);
    
    --font-scale: 1; /* Scalable font index for magnifying glass */
}

/* Scaled Typography Classes based on base scaling */
body.text-large {
    --font-scale: 1.15;
}
body.text-xlarge {
    --font-scale: 1.3;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: calc(1rem * var(--font-scale));
    transition: font-size 0.2s ease, background-color 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Headlines */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.25;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1 {
    font-size: calc(clamp(1.8rem, 4vw + 1.2rem, 2.5rem) * var(--font-scale));
    margin-bottom: 16px;
}

h2 {
    font-size: calc(clamp(1.4rem, 3vw + 1.1rem, 2rem) * var(--font-scale));
    margin-bottom: 12px;
}

h3 {
    font-size: calc(clamp(1.15rem, 2vw + 1rem, 1.5rem) * var(--font-scale));
    margin-bottom: 8px;
}

p {
    margin-bottom: 16px;
    font-size: calc(1rem * var(--font-scale));
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* General Layout Elements */
.gold-text {
    color: var(--accent-gold);
}

.highlight-text {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.highlight-text::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--accent-rose);
    z-index: -1;
    border-radius: 4px;
}

/* -------------------------------------------------------------
   1. Accessibility Bar
   ------------------------------------------------------------- */
.accessibility-bar {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 8px 0;
    border-bottom: 2px solid var(--accent-gold);
    font-size: calc(0.875rem * var(--font-scale));
    position: relative;
    z-index: 1000;
}

.accessibility-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.accessibility-text {
    font-weight: 500;
}

.accessibility-buttons {
    display: flex;
    gap: 8px;
}

.acc-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-size: calc(0.8rem * var(--font-scale));
    font-weight: 600;
    transition: all 0.2s ease;
}

.acc-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.acc-btn.active {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--text-dark);
}

/* -------------------------------------------------------------
   2. Main Header
   ------------------------------------------------------------- */
.main-header {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    object-fit: cover;
}

.logo-title {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: calc(1.5rem * var(--font-scale));
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
}

.logo-subtitle {
    display: block;
    font-size: calc(0.75rem * var(--font-scale));
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 24px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark);
    font-size: calc(0.95rem * var(--font-scale));
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: var(--bg-primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* -------------------------------------------------------------
   3. Hero Section
   ------------------------------------------------------------- */
.hero-section {
    padding: 60px 0;
    background: radial-gradient(circle at 10% 20%, rgba(242, 232, 230, 0.4) 0%, rgba(250, 246, 240, 1) 90%);
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 48px;
}

.hero-badge {
    display: inline-block;
    background-color: var(--accent-rose);
    border: 1px solid var(--accent-rose-dark);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: calc(0.85rem * var(--font-scale));
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-lead {
    font-size: calc(1.15rem * var(--font-scale));
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 14px 28px;
    font-size: calc(1rem * var(--font-scale));
    font-weight: 700;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
}

.primary-cta {
    background-color: var(--primary-color);
    color: var(--text-white);
    border: 2px solid var(--primary-color);
}

.primary-cta:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.secondary-cta {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-cta:hover {
    background-color: var(--accent-rose);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-image-content {
    display: flex;
    justify-content: center;
}

.mascot-frame {
    position: relative;
    max-width: 320px;
}

.hero-mascot-img {
    border-radius: 50%;
    border: 8px solid var(--bg-card);
    box-shadow: var(--shadow-lg);
    background-color: var(--accent-rose);
}

.speech-bubble {
    position: absolute;
    bottom: -30px;
    left: -20px;
    background-color: var(--bg-card);
    border: 2px solid var(--accent-gold);
    padding: 14px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    font-size: calc(0.85rem * var(--font-scale));
    font-weight: 500;
    font-style: italic;
    color: var(--text-dark);
}

.speech-bubble::before {
    content: "";
    position: absolute;
    top: -12px;
    right: 50px;
    border-width: 0 10px 12px 10px;
    border-style: solid;
    border-color: transparent transparent var(--accent-gold) transparent;
}

.speech-bubble::after {
    content: "";
    position: absolute;
    top: -9px;
    right: 50px;
    border-width: 0 10px 12px 10px;
    border-style: solid;
    border-color: transparent transparent var(--bg-card) transparent;
}

/* -------------------------------------------------------------
   4. Why Us Banner
   ------------------------------------------------------------- */
.why-us-banner {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.banner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
}

.banner-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.banner-item h3 {
    font-size: calc(1.2rem * var(--font-scale));
    margin-bottom: 8px;
}

.banner-item p {
    font-size: calc(0.95rem * var(--font-scale));
    margin-bottom: 0;
}

/* -------------------------------------------------------------
   5. Casino Section & Filtering
   ------------------------------------------------------------- */
.casino-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
}

.section-header h2 {
    font-size: calc(2.25rem * var(--font-scale));
    margin-bottom: 16px;
}

.casino-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 10px 20px;
    font-family: inherit;
    font-size: calc(0.9rem * var(--font-scale));
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary-color);
    background-color: var(--bg-secondary);
}

.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
}

/* Casino Grid & Cards */
.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 32px;
}

.casino-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-md);
}

.casino-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

/* Glowing Top Casino Card Style */
.casino-card.featured {
    border: 2px solid var(--accent-gold);
    animation: goldGlow 4s infinite alternate;
}

@keyframes goldGlow {
    0% {
        box-shadow: 0 10px 15px -3px rgba(27, 67, 50, 0.08), 0 0 10px rgba(198, 154, 39, 0.1);
    }
    100% {
        box-shadow: 0 20px 25px -5px rgba(27, 67, 50, 0.12), 0 0 20px rgba(198, 154, 39, 0.3);
    }
}

.card-badge {
    position: absolute;
    top: -14px;
    left: 28px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: calc(0.8rem * var(--font-scale));
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.gold-badge {
    background-color: var(--accent-gold);
    color: var(--text-dark);
}

.card-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 18px;
    margin-bottom: 18px;
}

.casino-logo {
    margin-bottom: 12px;
}

.logo-placeholder {
    display: inline-block;
    font-size: calc(1.35rem * var(--font-scale));
    font-weight: 800;
    padding: 10px 16px;
    border-radius: var(--border-radius-md);
    background-color: var(--bg-primary);
    color: var(--primary-color);
    border: 2px dashed var(--border-color);
}

.c-yellow {
    background-color: #FFFDF0;
    border-color: #F8E7A4;
}

.c-teal {
    background-color: #E8F5E9;
    border-color: #A5D6A7;
}

.c-rose {
    background-color: #FCE4EC;
    border-color: #F48FB1;
}

.c-orange {
    background-color: #FFF3E0;
    border-color: #FFCC80;
}

.rating-area {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.rating-label {
    font-size: calc(0.8rem * var(--font-scale));
    color: var(--text-light);
    font-weight: 600;
}

.rating-stars {
    font-size: 1.15rem;
    letter-spacing: 2px;
}

.half-star::after {
    content: "🥯";
    opacity: 0.4;
    font-size: 1.15rem;
    margin-left: -2px;
}

.card-body {
    flex-grow: 1;
}

.bonus-box {
    background-color: var(--accent-rose);
    border-radius: var(--border-radius-md);
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--accent-rose-dark);
}

.bonus-title {
    display: block;
    font-size: calc(0.8rem * var(--font-scale));
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.bonus-value {
    display: block;
    font-size: calc(1.1rem * var(--font-scale));
    font-weight: 800;
    color: var(--primary-hover);
    line-height: 1.3;
}

.features-list {
    list-style: none;
    margin-bottom: 24px;
}

.features-list li {
    font-size: calc(0.9rem * var(--font-scale));
    color: var(--text-dark);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 900;
}

.grandma-quote {
    background-color: var(--bg-primary);
    border-left: 4px solid var(--accent-gold);
    padding: 12px 16px;
    font-size: calc(0.85rem * var(--font-scale));
    color: var(--text-light);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    margin-bottom: 16px;
}

.card-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.play-btn {
    display: block;
    background-color: var(--primary-color);
    color: var(--text-white);
    font-weight: 700;
    text-align: center;
    padding: 14px;
    border-radius: var(--border-radius-md);
    font-size: calc(1rem * var(--font-scale));
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.play-btn:hover {
    background-color: var(--primary-hover);
    transform: scale(1.02);
}

.terms-link {
    font-size: calc(0.7rem * var(--font-scale));
    color: var(--text-light);
    text-align: center;
}

/* -------------------------------------------------------------
   6. Grandma's Advice Generator
   ------------------------------------------------------------- */
.advice-section {
    padding: 60px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.advice-container {
    display: flex;
    justify-content: center;
}

.advice-card {
    background-color: var(--bg-card);
    border: 2px dashed var(--accent-rose-dark);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 600px;
    text-align: center;
}

.advice-icon {
    font-size: 3rem;
    display: inline-block;
    margin-bottom: 16px;
    animation: rotateWiggle 4s ease-in-out infinite;
}

@keyframes rotateWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(8deg); }
    75% { transform: rotate(-8deg); }
}

.advice-card h2 {
    margin-bottom: 16px;
}

#advice-text {
    font-size: calc(1.15rem * var(--font-scale));
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* -------------------------------------------------------------
   7. Pelikoulu (SEO & Dictionary)
   ------------------------------------------------------------- */
.pelikoulu-section {
    padding: 80px 0;
    background-color: var(--bg-card);
}

.pelikoulu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 56px;
}

.term-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--border-radius-md);
    transition: all 0.2s ease;
}

.term-card:hover {
    border-color: var(--accent-rose-dark);
    transform: translateY(-2px);
}

.term-card h3 {
    font-size: calc(1.2rem * var(--font-scale));
    margin-bottom: 12px;
}

.term-card p {
    font-size: calc(0.95rem * var(--font-scale));
    margin-bottom: 0;
}

/* Grandma's Winning Tips Component */
.winning-tips-container {
    background-color: var(--accent-rose);
    border: 1px solid var(--accent-rose-dark);
    border-radius: var(--border-radius-lg);
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.tips-image {
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.tips-mascot-img {
    border-radius: 50%;
    border: 6px solid var(--bg-card);
    max-width: 180px;
}

.tips-content {
    padding: 48px;
}

.tips-content h3 {
    font-size: calc(1.6rem * var(--font-scale));
    margin-bottom: 20px;
}

.ordered-tips {
    padding-left: 20px;
}

.ordered-tips li {
    font-size: calc(1rem * var(--font-scale));
    margin-bottom: 16px;
    color: var(--text-dark);
}

.ordered-tips li strong {
    color: var(--primary-color);
}

/* -------------------------------------------------------------
   8. Stories Section (Tarinat)
   ------------------------------------------------------------- */
.stories-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
    gap: 32px;
}

.story-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 36px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.story-date {
    font-size: calc(0.8rem * var(--font-scale));
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.story-card h3 {
    font-size: calc(1.4rem * var(--font-scale));
    margin-bottom: 16px;
}

.story-card p {
    font-size: calc(0.95rem * var(--font-scale));
    margin-bottom: 12px;
}

.story-quote {
    background-color: var(--bg-primary);
    border-left: 4px solid var(--primary-color);
    padding: 16px;
    font-style: italic;
    color: var(--text-dark);
    font-size: calc(0.92rem * var(--font-scale));
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    margin-top: 16px;
}

/* -------------------------------------------------------------
   9. Vastuullisuus Section (Responsible Gaming)
   ------------------------------------------------------------- */
.responsibility-section {
    padding: 80px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.responsibility-container {
    display: flex;
    justify-content: center;
}

.responsibility-box {
    background-color: var(--bg-card);
    border: 2px solid #D4B2A8; /* Rosy border */
    border-radius: var(--border-radius-lg);
    padding: 48px;
    max-width: 800px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.responsibility-box h2 {
    color: #8C2F1D; /* Strong warning reddish-brown color */
    margin-bottom: 16px;
}

.responsibility-box p {
    font-size: calc(1.05rem * var(--font-scale));
    margin-bottom: 24px;
}

.help-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.help-btn-link {
    display: inline-block;
    padding: 14px 24px;
    background-color: #8C2F1D;
    color: var(--text-white);
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: calc(0.95rem * var(--font-scale));
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.help-btn-link:hover {
    background-color: #5C1C10;
    transform: translateY(-2px);
}

/* -------------------------------------------------------------
   10. Main Footer
   ------------------------------------------------------------- */
.main-footer {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 64px 0 24px 0;
    font-size: calc(0.9rem * var(--font-scale));
    border-top: 4px solid var(--accent-gold);
}

.main-footer p {
    color: #A3CBB9; /* Light green-grey for readable contrast on dark green */
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-size: calc(1.6rem * var(--font-scale));
    color: var(--text-white);
    margin-bottom: 16px;
}

.footer-brand p {
    margin-bottom: 0;
}

.footer-links h4, .footer-seo-note h4 {
    color: var(--accent-gold);
    font-size: calc(1.15rem * var(--font-scale));
    margin-bottom: 16px;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #A3CBB9;
}

.footer-links a:hover {
    color: var(--text-white);
    text-decoration: underline;
}

.footer-seo-note p {
    font-size: calc(0.85rem * var(--font-scale));
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.age-badge {
    background-color: transparent;
    border: 2px solid var(--text-white);
    color: var(--text-white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: calc(0.85rem * var(--font-scale));
}

.footer-legal-links {
    color: #A3CBB9;
}

.footer-legal-links a {
    color: #A3CBB9;
}

.footer-legal-links a:hover {
    color: var(--text-white);
}

/* -------------------------------------------------------------
   Responsive Media Queries (Mobile First)
   ------------------------------------------------------------- */

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-content {
        order: -1; /* Mascot on top on tablets/mobile */
    }
    
    .speech-bubble {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        width: 90%;
        max-width: 280px;
    }
    
    .speech-bubble::before, .speech-bubble::after {
        left: 50%;
        margin-left: -10px;
        right: auto;
    }
    
    .winning-tips-container {
        grid-template-columns: 1fr;
    }
    
    .tips-image {
        padding: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: calc(2rem * var(--font-scale));
    }
    
    h2 {
        font-size: calc(1.75rem * var(--font-scale));
    }
    
    /* Hamburger Menu Activation */
    .menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 82px;
        left: 0;
        width: 100%;
        background-color: var(--bg-card);
        border-bottom: 1px solid var(--border-color);
        padding: 24px 0;
        box-shadow: var(--shadow-md);
    }
    
    .main-navigation.open {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .main-navigation a {
        font-size: calc(1.1rem * var(--font-scale));
        width: 100%;
        text-align: center;
        display: block;
    }
    
    /* Hamburger Transform to X when menu is open */
    .menu-toggle.open .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .accessibility-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
    }

    .logo-area {
        gap: 8px;
    }

    .logo-title {
        font-size: calc(1.15rem * var(--font-scale));
    }

    .logo-subtitle {
        font-size: calc(0.7rem * var(--font-scale));
    }

    .hero-actions {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .casino-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
    }

    .casino-card {
        padding: 20px;
    }

    .logo-placeholder {
        font-size: calc(1.1rem * var(--font-scale));
        padding: 8px 12px;
        word-break: break-all;
    }
    
    .tips-content {
        padding: 24px;
    }
    
    .responsibility-box {
        padding: 24px;
    }
    
    .help-links {
        flex-direction: column;
    }
    
    .help-btn-link {
        width: 100%;
        white-space: normal;
    }
}

/* -------------------------------------------------------------
   11. Placeholder Card Styling
   ------------------------------------------------------------- */
.casino-card.placeholder-card {
    border: 2px dashed #C0B7AC;
    background-color: #F8F4EE;
    opacity: 0.9;
}

.casino-card.placeholder-card:hover {
    border-color: var(--accent-rose-dark);
    transform: translateY(-2px);
}

.placeholder-badge {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-light);
}

.placeholder-btn {
    background-color: #E2DDD5;
    color: #7A837E;
    cursor: default;
    box-shadow: none;
}

/* -------------------------------------------------------------
   12. PokerTrio.com Custom Card Theme & Floating CTA Banner
   ------------------------------------------------------------- */
.casino-card.pokertrio-card-theme {
    background-color: #0b0f15;
    border: 2px solid #a3e635;
    box-shadow: 0 0 35px rgba(163, 230, 53, 0.35);
    color: #ffffff;
}

.casino-card.pokertrio-card-theme p,
.casino-card.pokertrio-card-theme .rating-label,
.casino-card.pokertrio-card-theme .features-list li {
    color: #e2e8f0;
}

.pokertrio-logo-container {
    background-color: #05080c;
    border-radius: var(--border-radius-md);
    padding: 10px;
    display: inline-block;
    border: 1px solid #a3e635;
}

.pokertrio-card-logo-img {
    height: 48px;
    object-fit: contain;
}

.neon-badge {
    background-color: #a3e635;
    color: #0b0f15;
    font-weight: 900;
}

.pokertrio-bonus-box {
    background-color: #131b24;
    border: 1px dashed #a3e635;
}

.pokertrio-bonus-box .bonus-title {
    color: #a3e635;
}

.pokertrio-bonus-box .bonus-value {
    color: #ffffff;
}

.casino-card.pokertrio-card-theme .grandma-quote {
    background-color: #131b24;
    border-left-color: #a3e635;
    color: #cbd5e1;
}

.casino-card.pokertrio-card-theme .grandma-quote strong {
    color: #a3e635;
}

.pokertrio-play-btn {
    background-color: #a3e635;
    color: #0b0f15;
    font-weight: 900;
}

.pokertrio-play-btn:hover {
    background-color: #b5f547;
    color: #000000;
}

/* Floating Banner */
.hidden {
    display: none !important;
}

.pokertrio-floating-banner {
    position: fixed;
    top: 130px;
    right: 20px;
    z-index: 1000;
    width: 100%;
    max-width: 360px;
    pointer-events: auto;
}

@media (max-width: 640px) {
    .pokertrio-floating-banner {
        top: 100px;
        right: 12px;
        max-width: calc(100vw - 24px);
    }
}

.pokertrio-card-full {
    background-color: rgba(11, 15, 21, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid #a3e635;
    border-radius: 24px;
    box-shadow: 0 0 35px rgba(163, 230, 53, 0.35);
    padding: 16px 20px;
    color: #ffffff;
    animation: fadeInBanner 0.3s ease-out;
}

@keyframes fadeInBanner {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.pokertrio-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.pokertrio-badge {
    background-color: #a3e635;
    color: #0b0f15;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pokertrio-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s ease;
}

.pokertrio-close-btn:hover {
    color: #ffffff;
}

.pokertrio-card-body {
    display: flex;
    flex-direction: column;
}

.pokertrio-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.pokertrio-banner-logo {
    height: 40px;
    object-fit: contain;
}

.pokertrio-title-wrap {
    display: flex;
    flex-direction: column;
}

.pokertrio-name {
    font-size: 1.2rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
}

.pokertrio-sub {
    font-size: 0.75rem;
    color: #a3e635;
    font-weight: 700;
}

.pokertrio-desc {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 12px;
    line-height: 1.4;
}

.pokertrio-bonus-highlight {
    background-color: #131b24;
    border: 1px dashed #a3e635;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    margin-bottom: 14px;
}

.bonus-label {
    display: block;
    font-size: 0.7rem;
    color: #a3e635;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.bonus-amount {
    display: block;
    font-size: 1.15rem;
    color: #ffffff;
    font-weight: 900;
}

.pokertrio-cta-btn {
    display: block;
    background-color: #a3e635;
    color: #0b0f15;
    font-weight: 900;
    font-size: 0.95rem;
    text-align: center;
    padding: 12px;
    border-radius: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(163, 230, 53, 0.4);
}

.pokertrio-cta-btn:hover {
    background-color: #b5f547;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(163, 230, 53, 0.6);
}

/* Minimized Pill Badge */
.pokertrio-minimized-pill {
    display: flex;
    justify-content: flex-end;
}

.pokertrio-pill-btn {
    background-color: #0e141b;
    border: 2px solid #a3e635;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.pokertrio-pill-btn:hover {
    transform: scale(1.05);
}

.pill-logo-img {
    height: 18px;
    object-fit: contain;
}

.pill-text {
    color: #a3e635;
}

.pill-arrow {
    color: #94a3b8;
    font-size: 0.7rem;
}

.ping-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #a3e635;
    box-shadow: 0 0 10px #a3e635;
    animation: pingPulse 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(163, 230, 53, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(163, 230, 53, 0);
    }
}

/* -------------------------------------------------------------
   13. SEO FAQ Section Styling
   ------------------------------------------------------------- */
.seo-faq-section {
    padding: 80px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
    gap: 24px;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 28px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent-rose-dark);
}

.faq-item h3 {
    font-size: calc(1.2rem * var(--font-scale));
    color: var(--primary-color);
    margin-bottom: 12px;
}

.faq-item p {
    font-size: calc(0.95rem * var(--font-scale));
    margin-bottom: 0;
}



