/* ============================================
   ROMA1.DE - UTILITY-FIRST CSS + NEUMORPHISM
   
   CSS ARCHITECTURE: Utility-First (Atomic approach)
   PALETTE: German Industry (steel-blue, charcoal-black, signal-yellow)
   EFFECT: Neumorphism (soft shadows, embossed cards)
   TYPOGRAPHY: Geometric (Montserrat + Poppins)
   BUTTONS: Flat with soft shadows
   HTML STRUCTURE: Utility classes
   JS NAMING: camelCase
   ============================================ */

/* ===== COLOR PALETTE: German Industry ===== */
:root {
    /* Primary Colors */
    --steel-blue: #4A90E2;
    --charcoal-black: #2C3E50;
    --signal-yellow: #F39C12;
    --concrete-gray: #95A5A6;
    --alpine-white: #ECF0F1;
    --forest-green: #27AE60;
    
    /* Neumorphism Colors */
    --neuro-light: #E0E5EC;
    --neuro-dark: #A3B1C6;
    --neuro-shadow-dark: #A3B1C6;
    --neuro-shadow-light: #FFFFFF;
    
    /* Semantic Colors */
    --color-success: #27AE60;
    --color-danger: #E74C3C;
    --color-warning: #F39C12;
    --color-info: #3498DB;
    
    /* Text Colors */
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --text-light: #FFFFFF;
    
    /* Backgrounds */
    --bg-primary: #FFFFFF;
    --bg-secondary: #ECF0F1;
    --bg-dark: #2C3E50;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border Radius (soft for neumorphism) */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Shadows (Neumorphism) */
    --shadow-neuro: 
        8px 8px 16px var(--neuro-shadow-dark),
        -8px -8px 16px var(--neuro-shadow-light);
    --shadow-neuro-inset: 
        inset 4px 4px 8px var(--neuro-shadow-dark),
        inset -4px -4px 8px var(--neuro-shadow-light);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Header Height */
    --header-height: 70px;
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--neuro-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--steel-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--charcoal-black);
}

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

/* ===== UTILITY CLASSES ===== */

/* Display */
.flex { display: flex; }
.grid { display: grid; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }

/* Flex */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: var(--spacing-xs); }
.gap-2 { gap: var(--spacing-sm); }
.gap-3 { gap: var(--spacing-md); }
.gap-4 { gap: var(--spacing-lg); }

/* Spacing */
.m-0 { margin: 0; }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-6 { margin-bottom: var(--spacing-2xl); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }

/* Text */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.opacity-70 { opacity: 0.7; }

/* Width */
.w-full { width: 100%; }

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--neuro-light);
    box-shadow: var(--shadow-neuro);
    height: var(--header-height);
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* Logo */
.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--charcoal-black);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    color: var(--steel-blue);
}

.logo-text {
    background: linear-gradient(135deg, var(--steel-blue), var(--signal-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.1rem;
    }
}

/* Navigation Desktop */
.nav-desktop {
    display: none;
}

@media (min-width: 769px) {
    .nav-desktop {
        display: block;
    }
}

.nav-list {
    display: flex;
    gap: var(--spacing-sm);
    list-style: none;
    align-items: center;
}

.nav-link {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--steel-blue);
    background: var(--bg-secondary);
}

/* Burger Button */
.burger-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    z-index: 1002;
}

@media (min-width: 769px) {
    .burger-btn {
        display: none;
    }
}

.burger-line {
    width: 25px;
    height: 3px;
    background: var(--charcoal-black);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-btn.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-btn.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-btn.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
.nav-mobile {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--neuro-light);
    box-shadow: var(--shadow-neuro);
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
}

.nav-mobile.active {
    transform: translateY(0);
}

.nav-mobile-list {
    list-style: none;
    padding: var(--spacing-lg);
}

.nav-mobile-link {
    display: block;
    padding: var(--spacing-md);
    color: var(--text-primary);
    font-weight: 500;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    transition: all 0.3s ease;
}

.nav-mobile-link:hover {
    background: var(--bg-secondary);
    color: var(--steel-blue);
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: var(--spacing-2xl);
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--neuro-light) 0%, #D5DCE8 100%);
    background-attachment: scroll;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: var(--spacing-md);
    color: var(--charcoal-black);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.hero-disclaimer {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero {
        padding-top: calc(var(--header-height) + 40px);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ===== BUTTONS (Neumorphic style) ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: var(--steel-blue);
    color: var(--text-light);
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.2),
        -4px -4px 8px rgba(255, 255, 255, 0.5);
}

.btn-primary:hover {
    background: #3A7BC8;
    transform: translateY(-2px);
    box-shadow: 
        6px 6px 12px rgba(0, 0, 0, 0.25),
        -6px -6px 12px rgba(255, 255, 255, 0.6);
}

.btn-secondary {
    background: var(--neuro-light);
    color: var(--charcoal-black);
    box-shadow: var(--shadow-neuro);
}

.btn-secondary:hover {
    box-shadow: var(--shadow-neuro-inset);
}

.btn-outline {
    background: transparent;
    color: var(--steel-blue);
    border: 2px solid var(--steel-blue);
}

.btn-outline:hover {
    background: var(--steel-blue);
    color: var(--text-light);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* ===== BADGE ===== */
.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.badge-success {
    background: var(--forest-green);
    color: var(--text-light);
    box-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.15),
        -3px -3px 6px rgba(255, 255, 255, 0.4);
}

/* ===== SECTIONS ===== */
.section {
    padding: var(--spacing-2xl) 0;
}

.section.bg-light {
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--charcoal-black);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    font-size: 1.1rem;
}

/* ===== BENEFITS GRID ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.benefit-card {
    background: var(--neuro-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-neuro);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.benefit-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--charcoal-black);
}

.benefit-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== GAMES GRID ===== */
.games-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
}

.game-card {
    background: var(--neuro-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-neuro);
    overflow: hidden;
    flex: 0 0 auto;
    width: clamp(280px, 30%, 350px);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px);
}

@media (max-width: 768px) {
    .games-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .game-card {
        width: 100%;
        max-width: 400px;
    }
}

.game-image {
    position: relative;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, #E0E5EC 0%, #C9D1DB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-image img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: var(--radius-md);
}

.game-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--steel-blue);
    color: var(--text-light);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.game-badge-hot {
    background: var(--signal-yellow);
    color: var(--charcoal-black);
}

.game-info {
    padding: var(--spacing-lg);
    flex-grow: 1;
}

.game-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--charcoal-black);
}

.game-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.game-features {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.feature-tag {
    background: var(--bg-secondary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.game-actions {
    padding: var(--spacing-lg);
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* ===== FAQ ===== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--neuro-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-neuro);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: var(--spacing-lg);
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal-black);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--steel-blue);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.testimonial-card {
    background: var(--neuro-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-neuro);
}

.testimonial-rating {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.testimonial-author strong {
    color: var(--charcoal-black);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ===== LEADERBOARD ===== */
.leaderboard {
    max-width: 700px;
    margin: var(--spacing-xl) auto 0;
}

.leaderboard-item {
    background: var(--neuro-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-neuro);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.leaderboard-rank {
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
}

.rank-1 { font-size: 2rem; }
.rank-2 { font-size: 1.75rem; }
.rank-3 { font-size: 1.5rem; }

.leaderboard-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.leaderboard-name {
    color: var(--charcoal-black);
    font-weight: 600;
    font-size: 1.1rem;
}

.leaderboard-game {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.leaderboard-score {
    color: var(--steel-blue);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ===== ARTICLES GRID ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.article-card {
    background: var(--neuro-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-neuro);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-category {
    display: inline-block;
    background: var(--steel-blue);
    color: var(--text-light);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.article-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--charcoal-black);
}

.article-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.article-link {
    color: var(--steel-blue);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    z-index: 10;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.article-link:hover {
    color: var(--charcoal-black);
    text-decoration: underline;
}

/* ===== DISCLAIMER SECTION ===== */
.disclaimer-section {
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
    color: var(--text-light);
    padding: var(--spacing-2xl) 0;
    border-top: 4px solid var(--color-danger);
    border-bottom: 4px solid var(--color-danger);
}

.disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.disclaimer-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--spacing-lg);
    color: var(--text-light);
}

.disclaimer-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.disclaimer-text strong {
    font-weight: 700;
}

.disclaimer-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-xl) 0;
}

.disclaimer-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.disclaimer-support {
    font-size: 1.05rem;
    margin-top: var(--spacing-lg);
}

.disclaimer-support a {
    color: var(--text-light);
    text-decoration: underline;
    font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--charcoal-black);
    color: var(--bg-secondary);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-title {
    color: var(--alpine-white);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    color: var(--concrete-gray);
}

.footer-company {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--concrete-gray);
}

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

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--concrete-gray);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--steel-blue);
}

.compliance-logos {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.age-badge {
    background: var(--signal-yellow);
    color: var(--charcoal-black);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
}

.compliance-logo {
    height: 40px !important;
    width: auto !important;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.compliance-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.5);
}

.footer-helpline {
    font-size: 0.9rem;
    color: var(--concrete-gray);
    line-height: 1.6;
}

.footer-helpline a {
    color: var(--steel-blue);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--concrete-gray);
    margin-bottom: var(--spacing-sm);
}

.footer-bottom a {
    color: var(--steel-blue);
}

.footer-disclaimer {
    font-weight: 600;
    color: var(--signal-yellow) !important;
}

/* ===== MODALS ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: var(--spacing-lg);
}

.modal-overlay.hidden {
    display: none;
}

.modal-box {
    background: var(--neuro-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-neuro);
    max-width: 500px;
    width: 100%;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
}

.modal-body {
    padding: 0 var(--spacing-xl) var(--spacing-xl);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    max-width: 400px;
    background: var(--neuro-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-neuro);
    padding: var(--spacing-lg);
    z-index: 9999;
    animation: slideInRight 0.4s ease-out;
}

.cookie-banner.hidden {
    display: none;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
}

.cookie-content {
    color: var(--text-primary);
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 768px) {
    .benefits-grid,
    .testimonials-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .leaderboard-item {
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .compliance-logos {
        justify-content: center;
    }
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
    outline: 3px solid var(--steel-blue);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--steel-blue);
}

/* ===== ACCOUNT FORMS ===== */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--neuro-light);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-neuro);
}

.form-free-badge {
    background: var(--forest-green);
    color: var(--text-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
}

.account-tabs {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    border-bottom: 2px solid var(--bg-secondary);
}

.account-tab {
    flex: 1;
    padding: var(--spacing-md);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
}

.account-tab:hover {
    color: var(--steel-blue);
}

.account-tab.active {
    color: var(--steel-blue);
    border-bottom-color: var(--steel-blue);
}

.account-form {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.account-form.active {
    display: block;
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--charcoal-black);
}

.form-input {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--concrete-gray);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    background: var(--bg-primary);
}

.form-input:focus {
    outline: none;
    border-color: var(--steel-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-input::placeholder {
    color: var(--concrete-gray);
}

.switch-tab {
    cursor: pointer;
    text-decoration: none;
}

.switch-tab:hover {
    text-decoration: underline;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}
