/* ==============================================================================
   Poker Masters — Luxury Dark Casino Styles
   ============================================================================== */

:root {
    --bg-primary: #07090e;
    --bg-secondary: #0d111a;
    --bg-surface: rgba(18, 24, 38, 0.7);
    --bg-surface-hover: rgba(28, 37, 56, 0.85);
    
    --gold-primary: #d4af37;
    --gold-light: #f7e08b;
    --gold-dark: #aa820a;
    --gold-gradient: linear-gradient(135deg, #f7e08b 0%, #d4af37 50%, #996515 100%);
    
    --emerald-primary: #0c4a34;
    --emerald-light: #10b981;
    --emerald-dark: #062b1e;
    --emerald-felt: radial-gradient(circle at 50% 40%, #135e43 0%, #093726 70%, #041a12 100%);
    
    --accent-red: #ef4444;
    --accent-blue: #3b82f6;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border-subtle: rgba(212, 175, 55, 0.15);
    --border-gold: rgba(212, 175, 55, 0.4);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-gold: 0 10px 30px -5px rgba(212, 175, 55, 0.25);
    --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.5);
    --shadow-felt: inset 0 0 50px rgba(0, 0, 0, 0.8), 0 20px 40px rgba(0, 0, 0, 0.8);
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Atmospheric Glows */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.25;
}

.bg-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--gold-primary), transparent 70%);
    top: -150px;
    right: -100px;
}

.bg-glow-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #0c4a34, transparent 70%);
    bottom: 10%;
    left: -200px;
}

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

/* Typography & Helpers */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

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

.gold-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--gold-light);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold-primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #07090e;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-gold);
    color: var(--gold-light);
    transform: translateY(-2px);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: 16px 0;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.logo-icon {
    font-size: 26px;
    color: var(--gold-primary);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

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

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    padding: 80px 0 100px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 50px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--gold-light);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Poker Table Visual Mockup */
.poker-table-mockup {
    position: relative;
    perspective: 1000px;
}

.table-felt {
    background: var(--emerald-felt);
    border: 14px solid #23190e;
    outline: 2px solid var(--border-gold);
    border-radius: 120px;
    padding: 60px 40px;
    position: relative;
    box-shadow: var(--shadow-felt);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotateX(12deg);
    transition: transform 0.4s ease;
}

.table-felt:hover {
    transform: rotateX(0deg);
}

.table-logo {
    position: absolute;
    top: 25px;
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.15);
    font-weight: 900;
}

.community-cards {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    z-index: 2;
}

/* Playing Cards */
.card {
    width: 60px;
    height: 88px;
    background: #ffffff;
    border-radius: 6px;
    position: relative;
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-card);
    user-select: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.6);
}

.card-spade, .card-club, .card.black {
    color: #1a1a1a;
}

.card-heart, .card-diamond, .card.red {
    color: #dc2626;
}

.card-highlight {
    outline: 2px solid var(--gold-primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.card-corner {
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.card-corner.bottom {
    transform: rotate(180deg);
}

.card-center {
    font-size: 24px;
    text-align: center;
    line-height: 1;
}

.pot-display {
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-gold);
    padding: 8px 24px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
}

.pot-label {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 1.5px;
}

.pot-amount {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--gold-light);
}

/* Chip Stacks */
.chip-stack {
    position: absolute;
    display: flex;
    flex-direction: column-reverse;
}

.stack-1 { bottom: 40px; left: 40px; }
.stack-2 { top: 40px; right: 40px; }

.chip {
    width: 32px;
    height: 8px;
    border-radius: 50%;
    margin-top: -3px;
    border: 1px dashed rgba(255, 255, 255, 0.4);
}

.chip-gold { background: radial-gradient(circle, #f7e08b, #aa820a); }
.chip-black { background: radial-gradient(circle, #475569, #0f172a); }

/* Section Headers */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 38px;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Modes Grid */
.modes-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.mode-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.mode-card:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-gold);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.featured-mode {
    border-color: var(--gold-primary);
    background: rgba(28, 37, 56, 0.85);
}

.mode-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--gold-gradient);
    color: #07090e;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.mode-icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.mode-icon {
    font-size: 28px;
    color: var(--gold-light);
}

.mode-name {
    font-size: 22px;
    margin-bottom: 12px;
}

.mode-desc {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.mode-features {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
}

.mode-features li {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.mode-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold-light);
}

/* Combinations Section */
.combinations-section {
    padding: 100px 0;
}

.combinations-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.combo-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 12px;
}

.combo-list::-webkit-scrollbar {
    width: 6px;
}

.combo-list::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}

.combo-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.combo-item:hover, .combo-item.active {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--border-gold);
    transform: translateX(6px);
}

.combo-rank {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--gold-light);
    width: 24px;
}

.combo-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

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

.combo-preview-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 40px;
    backdrop-filter: blur(12px);
    position: sticky;
    top: 100px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.combo-preview-card h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--gold-light);
    margin-bottom: 12px;
}

.combo-preview-card p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 30px;
}

.preview-cards {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.preview-cards .card {
    width: 70px;
    height: 100px;
}

.combo-odds {
    font-size: 14px;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
}

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

/* Fairness & Security */
.fairness-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.fairness-card {
    background: linear-gradient(135deg, rgba(12, 74, 52, 0.3) 0%, rgba(18, 24, 38, 0.8) 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.fairness-content p {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 800px;
    margin-bottom: 40px;
}

.fairness-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.fairness-item {
    display: flex;
    gap: 18px;
}

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

.fairness-item h5 {
    font-size: 17px;
    color: var(--gold-light);
    margin-bottom: 6px;
}

.fairness-item p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* App & Cross-platform Section */
.app-section {
    padding: 100px 0;
}

.app-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.app-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.platform-chip {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
}

.device-mockup {
    background: #111827;
    border: 4px solid #374151;
    border-radius: 36px;
    padding: 14px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    max-width: 360px;
    margin: 0 auto;
}

.device-screen {
    background: var(--emerald-dark);
    border-radius: 26px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.screen-header {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--emerald-light);
    border-radius: 50%;
}

.mini-table {
    background: var(--emerald-felt);
    border: 2px solid var(--border-gold);
    border-radius: 20px;
    padding: 30px 16px;
    text-align: center;
}

.mini-pot {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 16px;
}

.mini-cards {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.mini-card {
    background: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* FAQ Accordion */
.faq-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item.active {
    border-color: var(--border-gold);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    font-size: 20px;
    color: var(--gold-light);
    transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Footer */
.site-footer {
    background: #040508;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding: 70px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 320px;
    margin-top: 16px;
}

.footer-links h5 {
    color: var(--gold-light);
    font-size: 16px;
    margin-bottom: 18px;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 13px;
}

.responsible-gaming {
    color: #ef4444;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .combinations-wrapper, .app-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-title {
        font-size: 38px;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    .preview-cards {
        flex-wrap: wrap;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
