﻿:root {
    --bg-dark: #0f381f; /* Casino green */
    --bg-panel: #0a2615;
    --gold: #FFD700;
    --gold-dark: #b89b00;
    --red: #E94560;
    --text-main: #ffffff;
    --text-muted: #c9e0d1;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    position: relative;
}

/* Casino Felt Texture */
.felt-texture {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox=%220 0 200 200%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22noise%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.8%22 numOctaves=%224%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23noise)%22/%3E%3C/svg%3E');
    opacity: 0.15;
    mix-blend-mode: overlay;
    z-index: -1;
    pointer-events: none;
}

/* Floating Suits Background */
.suit-bg {
    position: fixed;
    font-size: 25vw;
    opacity: 0.03;
    z-index: -2;
    pointer-events: none;
    color: var(--gold);
}
.suit-1 { top: -5%; left: 5%; transform: rotate(-15deg); }
.suit-2 { bottom: 10%; right: 5%; color: var(--red); transform: rotate(20deg); }
.suit-3 { top: 40%; left: 40%; transform: rotate(45deg); opacity: 0.02; }
.suit-4 { top: 10%; right: 20%; color: var(--red); transform: rotate(-30deg); opacity: 0.02; }

/* Nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    background: rgba(10, 38, 21, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--gold-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.nav-links { list-style: none; display: flex; gap: 2rem; align-items: center; }
.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}
.nav-links a:hover { color: var(--gold); text-shadow: 0 0 8px rgba(255,215,0,0.5); }

.nav-btn {
    border: 2px solid var(--gold);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    color: var(--gold) !important;
}
.nav-btn:hover {
    background: var(--gold);
    color: var(--bg-dark) !important;
    box-shadow: 0 0 15px var(--gold);
}

/* Hero */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: radial-gradient(circle at center, rgba(255,215,0,0.05) 0%, transparent 60%);
}

.hero-content { max-width: 800px; }

h1.glow-text {
    font-family: var(--font-display);
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
    text-shadow: 2px 2px 0px #000, 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.2);
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.7;
    text-shadow: 1px 1px 2px #000;
}

/* Chip Button */
.chip-btn {
    display: inline-block;
    padding: 8px;
    border-radius: 50px;
    background: repeating-conic-gradient(from 0deg, var(--text-main) 0deg 15deg, #111 15deg 30deg);
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6), 0 0 20px rgba(255,215,0,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.chip-inner {
    background: radial-gradient(circle at top, #333, #000);
    border: 3px solid var(--gold);
    border-radius: 42px;
    padding: 1.2rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chip-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.8), 0 0 30px rgba(255,215,0,0.6);
}

.btn-text {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 1.4rem;
    text-shadow: 0 0 5px rgba(255,215,0,0.5);
}
.btn-subtext { font-size: 0.85rem; color: #aaa; margin-top: 0.4rem; }

/* Features */
.features {
    padding: 6rem 4rem;
    background-color: var(--bg-panel);
    border-top: 4px solid var(--gold-dark);
}

.features h2 {
    text-align: center;
    font-family: var(--font-display);
    font-size: 2.8rem;
    color: var(--gold);
    margin-bottom: 4rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--gold-dark);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.6);
    background: rgba(0,0,0,0.6);
}

.feature-card:hover::before { opacity: 1; }

.f-icon { font-size: 3.5rem; margin-bottom: 1.5rem; }
.green-glow { color: #2ecc71; text-shadow: 0 0 15px rgba(46,204,113,0.5); }
.gold-glow { color: var(--gold); text-shadow: 0 0 15px rgba(255,215,0,0.5); }
.red-glow { color: var(--red); text-shadow: 0 0 15px rgba(233,69,96,0.5); }

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.feature-card p { line-height: 1.6; font-size: 1rem; }

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #05140b;
    border-top: 1px solid rgba(255,215,0,0.1);
}
footer p { color: #666; }

@media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; flex-direction: column; gap: 1rem; }
    h1.glow-text { font-size: 2.8rem; }
    .features { padding: 4rem 2rem; }
}
