/* SocialCasinos.casino - Main Stylesheet */
/* Entertainment-only social casino platform - No real money gambling */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0f3460;
    --primary-dark: #16213e;
    --secondary: #e94560;
    --accent: #533483;
    --success: #2ecc71;
    --warning: #f39c12;
    --error: #e74c3c;
    --text: #2c3e50;
    --text-light: #7f8c8d;
    --bg: #f8f9fa;
    --white: #ffffff;
    --border: #dee2e6;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 80px 0 40px;
}

/* Age Badge */
.age-badge {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--error);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    z-index: 9999;
    box-shadow: 0 4px 12px var(--shadow);
}

/* Jackpot Ticker */
.jackpot-ticker {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: var(--white);
    padding: 12px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 8px var(--shadow);
    font-weight: 600;
}

.jackpot-amount {
    font-size: 20px;
    margin: 0 8px;
    color: #ffd700;
    font-weight: 700;
}

/* Header */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 8px var(--shadow);
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    z-index: 998;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 20px;
}

.brand-icon {
    font-size: 32px;
}

.main-nav {
    display: flex;
    gap: 24px;
    flex: 1;
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-coins {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    padding: 8px 16px;
    border-radius: 24px;
    position: relative;
}

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

.coins-amount {
    font-weight: 700;
    color: var(--primary);
}

.coins-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0,0,0,0.1);
    border-radius: 0 0 24px 24px;
}

.coins-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success), var(--accent));
    transition: width 0.5s;
}

.user-menu {
    position: relative;
}

.user-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.user-btn:hover {
    background: var(--primary-dark);
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    box-shadow: 0 4px 12px var(--shadow);
    border-radius: 8px;
    margin-top: 8px;
    min-width: 150px;
}

.user-menu:hover .user-dropdown {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 12px 16px;
    color: var(--text);
    text-decoration: none;
    transition: background 0.3s;
}

.user-dropdown a:hover {
    background: var(--bg);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.btn-secondary {
    background: var(--text-light);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--text);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 18px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 16px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

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

/* Features Section */
.features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 48px;
    color: var(--primary);
}

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

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px var(--shadow);
    transition: transform 0.3s;
}

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

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

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--primary);
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.game-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px var(--shadow);
    transition: transform 0.3s;
}

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

.game-image {
    font-size: 64px;
    margin-bottom: 16px;
}

.game-card h3 {
    margin-bottom: 12px;
    color: var(--primary);
}

.game-card p {
    margin-bottom: 24px;
    color: var(--text-light);
}

/* Games Preview */
.games-preview {
    padding: 80px 0;
    background: var(--white);
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 80px 0;
    background: var(--bg);
}

.disclaimer-box {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
    box-shadow: 0 4px 12px var(--shadow);
}

.disclaimer-box h3 {
    color: var(--secondary);
    margin-bottom: 16px;
}

.disclaimer-box p {
    margin-bottom: 12px;
}

.disclaimer-box a {
    color: var(--primary);
    font-weight: 600;
}

/* Forms */
.auth-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.auth-box {
    background: var(--white);
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 24px var(--shadow);
    max-width: 500px;
    width: 100%;
}

.auth-box h1 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 12px;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 32px;
}

.auth-form {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 16px;
    transition: border 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group small {
    display: block;
    margin-top: 4px;
    color: var(--text-light);
    font-size: 14px;
}

.auth-footer {
    text-align: center;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

.disclaimer-small {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 24px;
}

/* Alerts */
.alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.alert-error {
    background: #ffeef0;
    border-left: 4px solid var(--error);
    color: var(--error);
}

.alert-success {
    background: #e8f8f5;
    border-left: 4px solid var(--success);
    color: var(--success);
}

.alert-info {
    background: #e8f4fd;
    border-left: 4px solid var(--primary);
    color: var(--primary);
}

.alert p {
    margin: 4px 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
    width: 32px;
    height: 32px;
}

.modal-close:hover {
    color: var(--text);
}

.modal-content h2 {
    color: var(--primary);
    margin-bottom: 12px;
}

.modal-subtitle {
    color: var(--text-light);
    margin-bottom: 24px;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.modal-disclaimer {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
}

/* Game Container */
.game-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 32px;
    margin-top: 40px;
}

.game-sidebar {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    height: fit-content;
    position: sticky;
    top: 140px;
}

.game-sidebar h2 {
    margin-bottom: 16px;
    color: var(--primary);
}

.no-money-badge {
    background: var(--secondary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 24px;
}

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

.game-info {
    background: var(--bg);
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-row span:last-child {
    font-weight: 700;
    color: var(--primary);
}

.paytable {
    background: var(--bg);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.paytable h3 {
    margin-bottom: 12px;
    font-size: 16px;
}

.paytable-item {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    border-bottom: 1px solid var(--border);
}

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

.game-disclaimer-box {
    background: #fff8e1;
    border-left: 4px solid var(--warning);
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
}

.game-area {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    min-height: 600px;
}

/* Slot Machine */
.slot-machine {
    max-width: 600px;
    margin: 0 auto;
}

.slot-reels {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.slot-reel {
    width: 150px;
    height: 150px;
    background: var(--bg);
    border: 4px solid var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slot-symbol {
    font-size: 80px;
}

.result-message {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    min-height: 40px;
}

.result-message.win {
    color: var(--success);
}

.result-message.lose {
    color: var(--text-light);
}

/* Roulette */
.roulette-wheel {
    text-align: center;
    margin-bottom: 32px;
}

.wheel-result {
    background: var(--primary);
    color: var(--white);
    padding: 24px;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 700;
}

.chip-selector {
    margin-bottom: 16px;
}

.chip-selector h4 {
    margin-bottom: 12px;
    font-size: 14px;
}

.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.chip {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    background: var(--white);
    cursor: pointer;
    font-weight: 700;
    color: var(--primary);
    transition: all 0.3s;
}

.chip:hover,
.chip.selected {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.roulette-table {
    margin-top: 24px;
}

.betting-grid,
.outside-bets {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 16px;
}

.bet-btn {
    padding: 12px;
    border: 1px solid var(--border);
    background: var(--white);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.bet-btn:hover {
    background: var(--bg);
    transform: scale(1.05);
}

.bet-btn.red {
    color: #e74c3c;
}

.bet-btn.black {
    color: #2c3e50;
}

.number-btn {
    width: 60px;
    height: 60px;
}

.outside-btn {
    flex: 1;
    min-width: 100px;
}

.last-numbers h4 {
    font-size: 14px;
    margin-bottom: 8px;
}

.numbers-history {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.history-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
}

.history-num.red {
    background: #e74c3c;
}

.history-num.black {
    background: #2c3e50;
}

.history-num.green {
    background: #27ae60;
}

/* Blackjack */
.blackjack-table {
    max-width: 800px;
    margin: 0 auto;
}

.dealer-area,
.player-area {
    margin-bottom: 40px;
}

.dealer-area h3,
.player-area h3 {
    margin-bottom: 16px;
}

.card-hand {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    min-height: 120px;
}

.card {
    width: 80px;
    height: 112px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 2px 8px var(--shadow);
}

.card.red {
    color: #e74c3c;
}

.card.black {
    color: #2c3e50;
}

.card.back {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    font-size: 40px;
}

.game-message {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 24px;
}

.guest-notice {
    background: #e8f4fd;
    border-left: 4px solid var(--primary);
    padding: 16px;
    border-radius: 8px;
    margin-top: 24px;
}

.guest-notice a {
    color: var(--primary);
    font-weight: 600;
}

/* Profile */
.profile-container {
    padding: 40px 0;
}

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

.profile-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
}

.profile-card h2 {
    color: var(--primary);
    margin-bottom: 24px;
}

.profile-info .info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

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

.profile-info .label {
    font-weight: 600;
}

.profile-form {
    margin-top: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-box {
    background: var(--bg);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

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

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

.quick-links {
    display: flex;
    gap: 12px;
}

/* Wallet */
.wallet-container {
    padding: 40px 0;
}

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

.summary-card {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    display: flex;
    gap: 16px;
}

.summary-icon {
    font-size: 48px;
}

.summary-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.summary-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.transactions-section {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
}

.transactions-table {
    overflow-x: auto;
    margin-bottom: 24px;
}

.transactions-table table {
    width: 100%;
    border-collapse: collapse;
}

.transactions-table th {
    background: var(--bg);
    padding: 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--border);
}

.transactions-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
}

.transactions-table tr:last-child td {
    border-bottom: none;
}

.transactions-table .positive {
    color: var(--success);
    font-weight: 700;
}

.transactions-table .negative {
    color: var(--error);
    font-weight: 700;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state p {
    margin-bottom: 24px;
    color: var(--text-light);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.page-info {
    font-weight: 600;
}

/* Leaderboard */
.leaderboard-container {
    padding: 40px 0;
}

.subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 32px;
}

.user-rank-card {
    background: #fff8e1;
    border-left: 4px solid var(--warning);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 32px;
    text-align: center;
}

.leaderboard-table {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    overflow-x: auto;
}

.leaderboard-table table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table th {
    background: var(--bg);
    padding: 16px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--border);
}

.leaderboard-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.leaderboard-table tr.current-user {
    background: #e8f4fd;
}

.rank-cell {
    font-size: 24px;
    font-weight: 700;
}

.player-name {
    font-weight: 600;
}

.you-badge {
    background: var(--primary);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 8px;
}

.coins-cell {
    font-weight: 700;
    color: var(--primary);
}

.cta-box {
    background: var(--bg);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 32px;
}

.cta-box h3 {
    margin-bottom: 12px;
}

.cta-box p {
    margin-bottom: 24px;
    color: var(--text-light);
}

/* Games Hub */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    color: var(--primary);
    margin-bottom: 12px;
}

.games-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.game-card-large {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
}

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

.game-icon-large {
    font-size: 64px;
}

.game-badge {
    background: var(--secondary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.game-description {
    color: var(--text-light);
    margin-bottom: 24px;
}

.game-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg);
    border-radius: 8px;
}

.stat {
    text-align: center;
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
    display: block;
    margin-bottom: 4px;
}

.stat-value {
    font-weight: 700;
    color: var(--primary);
}

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

.game-features h4 {
    margin-bottom: 8px;
    font-size: 14px;
}

.game-features ul {
    list-style: none;
    padding-left: 0;
}

.game-features li {
    padding: 4px 0;
    color: var(--text-light);
}

.game-features li:before {
    content: "✓ ";
    color: var(--success);
    font-weight: 700;
    margin-right: 8px;
}

.game-disclaimer {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: 16px;
}

.responsible-gaming-notice {
    background: #fff8e1;
    border-left: 4px solid var(--warning);
    padding: 24px;
    border-radius: 8px;
    margin-top: 40px;
}

.responsible-gaming-notice h3 {
    margin-bottom: 12px;
}

.responsible-gaming-notice a {
    color: var(--primary);
    font-weight: 600;
}

/* Policy Pages */
.policy-content {
    background: var(--white);
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    max-width: 900px;
    margin: 40px auto;
}

.policy-content h1 {
    color: var(--primary);
    margin-bottom: 16px;
}

.policy-content .updated {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 32px;
}

.policy-content section {
    margin-bottom: 32px;
}

.policy-content h2 {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 24px;
}

.policy-content h3 {
    color: var(--text);
    margin-bottom: 12px;
    font-size: 18px;
}

.policy-content ul,
.policy-content ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

.policy-content li {
    margin-bottom: 8px;
}

.policy-content a {
    color: var(--primary);
    text-decoration: underline;
}

.policy-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--border);
    text-align: center;
}

.policy-footer p {
    margin-bottom: 24px;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.cookie-table th,
.cookie-table td {
    padding: 12px;
    border: 1px solid var(--border);
    text-align: left;
}

.cookie-table th {
    background: var(--bg);
    font-weight: 600;
}

.warning-page {
    text-align: center;
}

.warning-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.help-box {
    background: var(--bg);
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 24px;
}

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

/* Footer */
.main-footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 48px 0 24px;
    margin-top: auto;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 16px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

.age-notice {
    background: var(--secondary);
    padding: 12px;
    border-radius: 8px;
    margin-top: 16px;
    font-weight: 600;
}

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

.footer-bottom p {
    margin-bottom: 8px;
    opacity: 0.8;
}

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

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    color: var(--white);
    padding: 20px;
    box-shadow: 0 -4px 12px var(--shadow);
    z-index: 9998;
    display: none;
}

.cookie-consent.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cookie-content p {
    margin: 0;
}

.cookie-content a {
    color: var(--white);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-actions {
        display: none;
    }

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

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

    .game-container {
        grid-template-columns: 1fr;
    }

    .game-sidebar {
        position: static;
    }

    .auth-box {
        padding: 32px 24px;
    }

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

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

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

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

/* Loading & Transitions */
.fade-in {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Age Modal */
.age-modal {
    z-index: 99999;
    background: rgba(0, 0, 0, 0.95);
}

.age-modal-content {
    max-width: 500px;
    text-align: center;
    padding: 48px;
}

.age-modal-content h1 {
    color: var(--primary);
    margin-bottom: 24px;
    font-size: 28px;
}

.age-question {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text);
}

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

.age-disclaimer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-light);
}

/* Demo Badge */
.demo-badge {
    background: var(--success);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 16px;
    margin-top: 8px;
}
