* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --secondary: #60A5FA;
    --secondary-dark: #3B82F6;
    --accent-pink: #8B5CF6;
    --accent-green: #10B981;
    --bg-dark: #0F172A;
    --bg-darker: #020617;
    --bg-card: #1E293B;
    --bg-card-light: #334155;
    --text-primary: #F1F5F9;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    --border-color: #334155;
    --border-light: #475569;
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;
}

body {
    font-family: 'Teachers', sans-serif;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    min-height: 100vh;
}

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

/* Header */
.header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.educational-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.2);
    border: 1.5px solid var(--primary);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s;
}

.nav-menu a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.nav-menu a.active {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.nav-menu a.active::after {
    width: 100%;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-primary);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.6);
}

.btn-primary.large {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-secondary {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.1) 50%, rgba(59, 130, 246, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(168,85,247,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 50%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(30, 41, 59, 0.95) 100%);
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.hero-disclaimer {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.section-text {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: left;
    max-width: 900px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* Comparison Table */
.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: var(--bg-card-light);
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
}

.table-row:last-child {
    border-bottom: none;
}

.table-col {
    padding: 20px 24px;
    font-size: 15px;
    color: var(--text-primary);
}

.table-header .table-col {
    padding: 16px 24px;
    font-weight: 600;
}

.table-col.highlight {
    color: var(--primary);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.check-mark {
    color: var(--success);
    font-weight: 700;
    font-size: 18px;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.x-mark {
    color: var(--error);
    font-weight: 700;
    font-size: 18px;
}

/* Strategy Cards */
.strategy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.strategy-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(30, 41, 59, 0.95) 100%);
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s;
}

.strategy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    border-color: var(--primary);
}

.strategy-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.strategy-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.strategy-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.strategy-example {
    font-size: 14px;
    color: var(--secondary);
    font-weight: 500;
    font-style: italic;
}

/* Educational Box */
.educational-box {
    max-width: 800px;
    margin: 48px auto 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(96, 165, 250, 0.1) 100%);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.educational-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.educational-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.educational-list {
    list-style: none;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.educational-list li {
    font-size: 15px;
    color: var(--text-secondary);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.educational-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
    font-size: 20px;
}

/* Three Steps */
.three-steps {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.1) 100%);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(96, 165, 250, 0.3) 100%);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    border: 2px solid var(--primary);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.step-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 50%, rgba(15, 23, 42, 0.95) 100%);
    padding: 60px 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-col h3,
.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.footer-col p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

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

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

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.footer-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Disclaimer Box */
.disclaimer-box {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 3px solid var(--primary);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.disclaimer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.disclaimer-list li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.disclaimer-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
    font-size: 20px;
}

.gambling-resources {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.gambling-resources p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.resource-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.resource-links li {
    margin: 0;
}

.resource-links a {
    font-size: 14px;
    color: var(--secondary);
    text-decoration: underline;
    transition: all 0.2s;
}

.resource-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.footer-bottom {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(96, 165, 250, 0.1) 50%, rgba(59, 130, 246, 0.12) 100%);
    padding: 20px 0;
    text-align: center;
    margin-top: 32px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 32px;
    }

    .section-description {
        font-size: 16px;
    }

    .comparison-table {
        font-size: 14px;
    }

    .table-col {
        padding: 16px 12px;
    }

    .strategy-cards {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        gap: 20px;
    }

    .navbar {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 0;
    }

    .logo-section {
        gap: 8px;
    }

    .nav-right {
        flex-direction: row;
        gap: 8px;
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-between;
    }

    .nav-menu {
        gap: 12px;
        flex-wrap: wrap;
        order: 1;
    }

    .nav-menu a {
        font-size: 13px;
        padding: 4px 0;
    }

    .logo {
        font-size: 18px;
        letter-spacing: -0.3px;
    }

    .educational-tag {
        font-size: 9px;
        padding: 2px 8px;
        letter-spacing: 0.3px;
        border-width: 1px;
    }

    .btn-primary {
        width: auto;
        padding: 6px 12px;
        font-size: 13px;
        order: 2;
        flex: 1;
        min-width: 140px;
    }

    .header {
        padding: 8px 0;
    }

    .container {
        padding: 0 16px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta button {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0 60px;
    }

    .section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .container {
        padding: 0 16px;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 0;
        gap: 6px;
    }

    .logo-section {
        gap: 6px;
    }

    .nav-right {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }

    .nav-menu {
        width: 100%;
        justify-content: space-between;
        order: 1;
        gap: 8px;
    }

    .nav-menu li {
        flex: 1;
    }

    .nav-menu a {
        display: block;
        text-align: center;
        padding: 6px 4px;
        font-size: 12px;
    }

    .btn-primary {
        width: 100%;
        order: 2;
        text-align: center;
        min-width: 100%;
        padding: 8px 12px;
        font-size: 12px;
    }

    .logo {
        font-size: 16px;
        letter-spacing: -0.2px;
    }

    .educational-tag {
        font-size: 8px;
        padding: 2px 6px;
        letter-spacing: 0.2px;
    }

    .header {
        padding: 6px 0;
    }

    .container {
        padding: 0 12px;
    }
}

/* ============================================
   PLAY PAGE STYLES
   ============================================ */
.play-page {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    background-attachment: fixed;
}

.practice-banner {
    background-color: rgba(59, 130, 246, 0.2);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.practice-banner .container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.banner-icon {
    font-size: 18px;
}

.banner-text {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.play-main {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.play-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

.game-area {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.game-header {
    margin-bottom: 24px;
}

.game-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.game-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Blackjack Table */
.blackjack-table {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border-radius: 16px;
    padding: 40px 32px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border: 4px solid var(--primary);
    box-shadow: 0 8px 40px rgba(59, 130, 246, 0.4), inset 0 0 60px rgba(96, 165, 250, 0.1);
}

.dealer-area,
.player-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hand-label {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}

.cards-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 120px;
}

.card {
    width: 80px;
    height: 112px;
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: transform 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

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

.card.face-down {
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    color: var(--text-primary);
    border-color: var(--secondary);
}

.card.face-down::before {
    content: 'SM';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    z-index: 1;
}

.card-value {
    font-size: 16px;
    font-weight: 700;
    color: #1E293B;
    line-height: 1;
    align-self: flex-start;
}

.card.face-down .card-value {
    display: none;
}

.card-suit {
    font-size: 32px;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.card.face-down .card-suit {
    display: none;
}

.card-value-bottom {
    font-size: 16px;
    font-weight: 700;
    color: #1E293B;
    transform: rotate(180deg);
    text-align: right;
    align-self: flex-end;
    line-height: 1;
}

.card.face-down .card-value-bottom {
    display: none;
}

.suit-red {
    color: #EF4444;
}

.suit-black {
    color: #1E293B;
}

/* Game Result */
.game-result {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--success);
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
    margin: 20px 0;
}

.game-result.lose {
    color: var(--error);
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
}

.game-result.push {
    color: var(--warning);
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
}

/* Game Controls */
.game-controls {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 24px 0;
}

.action-btn {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    font-family: inherit;
    min-width: 140px;
    justify-content: center;
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.hit-btn {
    background-color: var(--success);
    color: var(--text-primary);
}

.hit-btn:not(:disabled):hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.6);
}

.stand-btn {
    background-color: var(--primary);
    color: var(--text-primary);
}

.stand-btn:not(:disabled):hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.6);
}

.game-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 16px 0;
}

.game-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    font-family: inherit;
}

.game-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 16px;
}

.keyboard-shortcuts {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
}

/* Sidebar */
.sidebar {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.sidebar-section {
    margin-bottom: 32px;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-icon {
    font-size: 20px;
}

.strategy-advice {
    background: rgba(59, 130, 246, 0.15);
    border-radius: 8px;
    padding: 16px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.strategy-placeholder {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.recommendation-box {
    background: rgba(59, 130, 246, 0.2);
    border-left: 3px solid var(--primary);
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.recommendation-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.recommendation-explanation {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.hand-details {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 8px 0;
}

.strategy-link {
    color: var(--secondary);
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-top: 8px;
}

.strategy-link:hover {
    text-decoration: underline;
}

/* Session Stats */
.session-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-value.highlight {
    color: var(--primary);
}

.stats-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.stats-link:hover {
    text-decoration: underline;
}

.reminder-box {
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    padding: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.reminder-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.reminder-text strong {
    color: var(--text-primary);
}

/* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.show {
    display: flex;
}

.modal {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--primary);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-emoji {
    font-size: 64px;
    margin-bottom: 16px;
}

.modal-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
}

.modal-title.win {
    color: var(--success);
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

.modal-title.lose {
    color: var(--error);
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
}

.modal-title.push {
    color: var(--warning);
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
}

.modal-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
}

@media (max-width: 968px) {
    .play-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .game-title {
        font-size: 24px;
    }

    .game-subtitle {
        font-size: 14px;
    }

    .blackjack-table {
        padding: 20px 12px;
        min-height: 450px;
        border-width: 3px;
    }

    .cards-container {
        gap: 8px;
        min-height: 100px;
    }

    .card {
        width: 55px;
        height: 77px;
        padding: 4px;
    }

    .card-value,
    .card-value-bottom {
        font-size: 12px;
    }

    .card-suit {
        font-size: 22px;
    }

    .hand-label {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .game-controls {
        flex-direction: column;
        gap: 12px;
        margin: 20px 0;
    }

    .action-btn {
        padding: 14px 20px;
        font-size: 16px;
        min-width: 100%;
        width: 100%;
    }

    .game-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .game-btn {
        width: 100%;
        justify-content: center;
    }

    .game-result {
        font-size: 24px;
        margin: 16px 0;
    }

    .keyboard-shortcuts {
        font-size: 11px;
        margin-top: 12px;
    }

    .game-area {
        padding: 24px 16px;
    }

    .play-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sidebar {
        position: static;
        max-height: none;
        margin-top: 0;
        padding: 20px;
    }

    .sidebar-section {
        margin-bottom: 24px;
    }

    .sidebar-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .sidebar-icon {
        font-size: 18px;
    }

    .strategy-advice {
        padding: 12px;
        font-size: 13px;
    }

    .recommendation-text {
        font-size: 14px;
    }

    .recommendation-explanation {
        font-size: 13px;
    }

    .hand-details {
        font-size: 12px;
    }

    .stat-item {
        padding: 6px 0;
    }

    .stat-label {
        font-size: 13px;
    }

    .stat-value {
        font-size: 14px;
    }

    .practice-banner {
        padding: 10px 0;
    }

    .banner-text {
        font-size: 12px;
    }

    .play-main {
        padding: 30px 0;
    }
}

@media (max-width: 480px) {
    .game-title {
        font-size: 20px;
    }

    .blackjack-table {
        padding: 16px 10px;
        min-height: 400px;
    }

    .card {
        width: 50px;
        height: 70px;
        padding: 3px;
    }

    .card-value,
    .card-value-bottom {
        font-size: 11px;
    }

    .card-suit {
        font-size: 20px;
    }

    .hand-label {
        font-size: 16px;
    }

    .action-btn {
        padding: 12px 16px;
        font-size: 15px;
    }

    .game-result {
        font-size: 20px;
    }

    .keyboard-shortcuts {
        font-size: 10px;
    }

    .game-area {
        padding: 20px 12px;
    }

    .sidebar {
        padding: 16px;
    }

    .sidebar-title {
        font-size: 15px;
    }

    .strategy-advice {
        padding: 10px;
        font-size: 12px;
    }

    .recommendation-text {
        font-size: 13px;
    }

    .recommendation-explanation {
        font-size: 12px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stat-value {
        font-size: 13px;
    }

    .play-main {
        padding: 24px 0;
    }
}

/* ============================================
   STATS PAGE STYLES
   ============================================ */
.stats-main {
    padding: 40px 0 60px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    background-attachment: fixed;
    min-height: calc(100vh - 200px);
}

/* Performance Section */
.performance-section {
    margin-bottom: 60px;
}

.section-main-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.performance-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.performance-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.card-icon.purple {
    background: #8b5cf6;
}

.card-icon.orange {
    background: var(--primary);
}

.card-icon.red {
    background: #ef4444;
}

.card-icon.yellow {
    background: #fbbf24;
}

.card-content {
    flex: 1;
}

.card-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.card-value.highlight {
    color: var(--primary);
}

.card-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.card-description {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.card-goal {
    font-size: 12px;
    color: var(--text-muted);
}

.remember-banner {
    background: rgba(59, 130, 246, 0.2);
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
}

.remember-banner strong {
    color: var(--primary);
}

/* Decision Analysis Section */
.decision-analysis-section {
    margin-bottom: 40px;
}

.decision-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.decision-item {
    background: var(--bg-card-light);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.decision-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.decision-hand-info {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.decision-outcome {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.decision-outcome.win {
    color: var(--success);
}

.decision-outcome.lose {
    color: var(--error);
}

.decision-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.decision-detail {
    font-size: 14px;
    color: var(--text-secondary);
}

.decision-detail strong {
    color: var(--text-primary);
}

.decision-feedback {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.feedback-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--primary);
}

.feedback-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.feedback-badge.correct {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.feedback-badge.suboptimal {
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary);
}

.no-data {
    text-align: center;
    padding: 48px;
    color: var(--text-secondary);
    font-size: 16px;
    background: var(--bg-card);
    border-radius: 8px;
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    margin-top: 40px;
}

.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sidebar-note {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Leaderboard */
.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.leaderboard-table thead {
    background: var(--bg-card-light);
}

.leaderboard-table th {
    padding: 10px 8px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 12px;
    text-transform: uppercase;
}

.leaderboard-table td {
    padding: 10px 8px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.leaderboard-table tbody tr:hover {
    background: var(--bg-card-light);
}

.leaderboard-table tbody tr.user-row {
    background: rgba(59, 130, 246, 0.2);
    font-weight: 600;
}

.leaderboard-table tbody tr.user-row td {
    color: var(--text-primary);
}

.leaderboard-goal {
    margin-top: 16px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}

/* Achievements */
.achievements-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.achievement-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    background: var(--bg-card-light);
}

.achievement-card.unlocked {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--success);
}

.achievement-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
}

.achievement-card.unlocked .achievement-icon {
    background: var(--success);
    color: var(--text-primary);
}

.achievement-info {
    flex: 1;
}

.achievement-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.achievement-description {
    font-size: 12px;
    color: var(--text-secondary);
}

.achievements-note {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 16px;
}

@media (max-width: 968px) {
    .two-column-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-main-title {
        font-size: 32px;
    }

    .performance-cards {
        grid-template-columns: 1fr;
    }

    .stats-main {
        padding: 32px 0 48px;
    }
}

@media (max-width: 480px) {
    .performance-card {
        flex-direction: column;
        text-align: center;
    }

    .card-icon {
        margin: 0 auto;
    }
}

/* ============================================
   LEARN PAGE STYLES
   ============================================ */
.learn-main {
    padding: 60px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    background-attachment: fixed;
    min-height: calc(100vh - 200px);
}

.learn-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Intro Section */
.intro-section {
    margin-bottom: 60px;
}

.main-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.intro-text {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.learn-box {
    background: rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    padding: 24px;
    border-left: 4px solid var(--primary);
}

.learn-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.learn-icon {
    font-size: 24px;
}

.learn-box-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.learn-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.learn-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.learn-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 20px;
}

/* Strategy Chart Section */
.strategy-chart-section {
    margin-bottom: 60px;
}

.chart-legend {
    background: var(--bg-card);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.strategy-chart-container {
    overflow-x: auto;
    margin-bottom: 24px;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.strategy-chart {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.strategy-chart th {
    background: var(--bg-card-light);
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.strategy-chart td {
    padding: 12px 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
    font-weight: 600;
    color: var(--text-primary);
}

.strategy-chart td:hover {
    background: rgba(59, 130, 246, 0.2);
}

.strategy-chart td.hit {
    color: var(--secondary);
}

.strategy-chart td.stand {
    color: var(--success);
}

.strategy-chart td.double {
    color: var(--primary);
}

.strategy-chart tbody tr:nth-child(even) {
    background: var(--bg-card-light);
}

.tip-box {
    background: rgba(59, 130, 246, 0.15);
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-left: 4px solid var(--primary);
}

.tip-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.tip-text {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

.tip-text strong {
    color: var(--primary);
}

/* Probability Section */
.probability-section {
    margin-bottom: 60px;
}

.concept-box {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.concept-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.concept-icon {
    font-size: 24px;
}

.concept-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.concept-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.concept-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.concept-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.concept-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 20px;
}

.concept-conclusion {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.8;
    font-style: italic;
    margin: 16px 0 0 0;
}

.concept-disclaimer {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 16px 0 0 0;
}

.concept-disclaimer strong {
    color: var(--primary);
}

/* EV Example */
.ev-example {
    margin-top: 24px;
    padding: 20px;
    background: var(--bg-card-light);
    border-radius: 8px;
}

.example-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.ev-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 16px;
}

.ev-option {
    background: var(--bg-card);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.ev-option strong {
    display: block;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 15px;
}

.ev-option ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ev-option li {
    padding: 4px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.example-conclusion {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

/* Algorithm Steps */
.algorithm-steps {
    padding-left: 24px;
    margin: 16px 0;
}

.algorithm-steps li {
    padding: 8px 0;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.algorithm-steps ul {
    margin-top: 8px;
    padding-left: 24px;
}

.algorithm-steps ul li {
    list-style: disc;
    padding: 4px 0;
}

/* Practice Box */
.practice-box {
    background: rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    border-left: 4px solid var(--primary);
    margin-top: 40px;
}

.practice-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.practice-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 36px;
    }

    .learn-main {
        padding: 40px 0;
    }

    .concept-box {
        padding: 24px;
    }

    .strategy-chart {
        font-size: 12px;
    }

    .strategy-chart th,
    .strategy-chart td {
        padding: 8px 4px;
    }

    .ev-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 28px;
    }

    .learn-container {
        padding: 0 16px;
    }
}

/* ============================================
   PRIVACY PAGE STYLES
   ============================================ */
.privacy-main {
    padding: 60px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    background-attachment: fixed;
    min-height: calc(100vh - 200px);
}

.privacy-container {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.privacy-notice {
    background: rgba(59, 130, 246, 0.15);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 40px;
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.7;
}

.privacy-notice strong {
    color: var(--primary);
}

.privacy-content {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 48px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.privacy-section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-color);
}

.privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.subsection-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.privacy-section p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.privacy-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.privacy-section li {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

.privacy-section li strong {
    color: var(--text-primary);
}

.important-note {
    background: rgba(59, 130, 246, 0.15);
    border-left: 3px solid var(--primary);
    padding: 12px 16px;
    border-radius: 6px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-primary);
}

.important-note strong {
    color: var(--primary);
}

.disclaimer-text {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 16px;
}

.email-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.email-link:hover {
    color: var(--secondary);
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

@media (max-width: 768px) {
    .privacy-title {
        font-size: 36px;
    }

    .privacy-main {
        padding: 40px 0;
    }

    .privacy-content {
        padding: 32px 24px;
    }

    .section-number {
        font-size: 24px;
    }

    .subsection-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .privacy-title {
        font-size: 28px;
    }

    .privacy-container {
        padding: 0 16px;
    }

    .privacy-content {
        padding: 24px 16px;
    }

    .privacy-section {
        margin-bottom: 32px;
        padding-bottom: 32px;
    }
}

/* ============================================
   TERMS PAGE STYLES
   ============================================ */
.terms-main {
    padding: 60px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    background-attachment: fixed;
    min-height: calc(100vh - 200px);
}

.terms-container {
    max-width: 900px;
    margin: 0 auto;
}

.terms-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.important-banner {
    background: var(--primary);
    color: var(--text-primary);
    padding: 20px 24px;
    border-radius: 8px;
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
}

.important-banner strong {
    font-weight: 700;
}

.terms-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.term-section {
    background: var(--bg-card-light);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.term-section p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.term-section p:last-child {
    margin-bottom: 0;
}

.term-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.term-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.term-section li {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

.term-section li:last-child {
    margin-bottom: 0;
}

.link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.link:hover {
    color: var(--secondary);
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.back-button-container {
    text-align: center;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .terms-title {
        font-size: 36px;
    }

    .terms-main {
        padding: 40px 0;
    }

    .term-section {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .terms-title {
        font-size: 28px;
    }

    .terms-container {
        padding: 0 16px;
    }

    .term-section {
        padding: 20px 16px;
    }

    .important-banner {
        padding: 16px 20px;
        font-size: 14px;
    }
}

/* ============================================
   RESPONSIBLE GAMING PAGE STYLES
   ============================================ */
.responsible-main {
    padding: 60px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    background-attachment: fixed;
    min-height: calc(100vh - 200px);
}

.responsible-container {
    max-width: 900px;
    margin: 0 auto;
}

.responsible-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.responsible-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.responsible-banner {
    background: rgba(59, 130, 246, 0.2);
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: 8px;
    margin-bottom: 40px;
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.7;
}

.responsible-banner strong {
    color: var(--primary);
}

.responsible-section {
    background: var(--bg-card-light);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.responsible-section p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.responsible-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.responsible-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.responsible-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 20px;
}

.risk-item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.risk-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.risk-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.risk-item p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.tip-card {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.tip-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.tip-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.help-card {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.help-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.help-item {
    margin-bottom: 16px;
}

.help-item:last-child {
    margin-bottom: 0;
}

.help-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 16px;
}

.help-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 4px 0;
}

.help-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.help-link:hover {
    color: var(--secondary);
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.resources-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.resources-list li {
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    border-bottom: 1px solid var(--border-color);
}

.resources-list li:last-child {
    border-bottom: none;
}

.resources-list strong {
    color: var(--text-primary);
}

.remember-section {
    background: rgba(59, 130, 246, 0.2);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 32px;
    margin-top: 40px;
}

.remember-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.remember-section p {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.remember-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.remember-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.6;
}

.remember-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 20px;
}

.remember-conclusion {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
}

@media (max-width: 968px) {
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .help-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .responsible-title {
        font-size: 36px;
    }

    .responsible-main {
        padding: 40px 0;
    }

    .responsible-section {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .responsible-title {
        font-size: 28px;
    }

    .responsible-container {
        padding: 0 16px;
    }

    .responsible-section {
        padding: 20px 16px;
    }
}

/* ============================================
   COOKIE POLICY PAGE STYLES
   ============================================ */
.cookies-main {
    padding: 60px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    background-attachment: fixed;
    min-height: calc(100vh - 200px);
}

.cookies-container {
    max-width: 900px;
    margin: 0 auto;
}

.cookies-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.cookie-section {
    background: var(--bg-card-light);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cookie-section p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.cookie-section p:last-child {
    margin-bottom: 0;
}

.cookie-type {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.cookie-type:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.cookie-type-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.cookie-type p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.cookie-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.cookie-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cookie-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 20px;
}

.cookie-management {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.cookie-management:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.cookie-management-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.cookie-management p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .cookies-title {
        font-size: 36px;
    }

    .cookies-main {
        padding: 40px 0;
    }

    .cookie-section {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .cookies-title {
        font-size: 28px;
    }

    .cookies-container {
        padding: 0 16px;
    }

    .cookie-section {
        padding: 20px 16px;
    }
}
@font-face {
    font-family: 'Teachers';
    src: url('assets/font/Teachers-Regular.ttf') format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


