:root {
    --color-bg: #110e16;
    --color-bg-light: #1c1726;
    --color-text: #fdfbf7;
    --color-text-dim: #d4d0c5;
    --color-accent-gold: #f9d976;
    --color-accent-peach: #e96443;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --spacing: 100px;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(249, 217, 118, 0.15);
}

@media (max-width: 1024px) {
    :root {
        --spacing: 70px;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing: 50px;
    }
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-text);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-dim);
}

a {
    color: var(--color-accent-gold);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--spacing) 0;
    position: relative;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, #1c1726, #2d243b, #1c1726);
    color: var(--color-accent-gold);
    text-align: center;
    padding: 12px 20px;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Header & Nav */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(17, 14, 22, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 20px 0;
}

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

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 1px;
}

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

/* PREMIUM CASINO UI NAV & FOOTER HOVER */
.nav-link, .footer-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
    z-index: 1;
}

.nav-link {
    font-size: 1.125rem;
    color: var(--color-text);
}

.footer-link {
    font-size: 1rem;
    color: var(--color-text-dim);
}

/* Thin Premium Underline Layer */
.nav-link::after, .footer-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-accent-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    pointer-events: none;
}

/* Hover State */
.nav-link:hover::after, .footer-link:hover::after {
    transform: scaleX(1);
}

/* Hero Section */
.hero {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(249,217,118,0.1) 0%, rgba(17,14,22,0) 70%);
    z-index: -1;
}

.hero-subtitle {
    color: var(--color-accent-gold);
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: block;
}

.hero-description {
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.25rem;
}

/* Game Embed Centerpiece */
.game-embed-container {
    width: 90%;
    max-width: 1400px;
    height: 800px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(233, 100, 67, 0.15), 0 0 30px rgba(249, 217, 118, 0.1);
    background: var(--color-bg-light);
    border: 1px solid var(--glass-border);
    position: relative;
    z-index: 10;
}

.game-embed-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 1024px) {
    .game-embed-container {
        width: 95%;
        height: 600px;
    }
}

@media (max-width: 768px) {
    .game-embed-container {
        width: 100%;
        height: 500px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .main-nav {
        display: none; /* simple mobile handling */
    }
}

/* Grids & Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

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

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

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 16px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top left, rgba(249,217,118,0.05), transparent 70%);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(249, 217, 118, 0.08);
}

.card-title {
    color: var(--color-accent-gold);
    margin-bottom: 15px;
}

/* Floral Showcase Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Forms */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 18px 20px;
    border-radius: 8px;
    color: var(--color-text);
    font-size: 1.125rem;
    font-family: var(--font-body);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 15px rgba(249, 217, 118, 0.2);
}

.btn {
    background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-peach));
    color: #110e16;
    padding: 18px 36px;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 100, 67, 0.4);
}

/* Footer */
.main-footer {
    background: var(--color-bg-light);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 15px;
    max-width: 300px;
}

.footer-links-wrapper {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-group h4 {
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1.125rem;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-dim);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .footer-links-wrapper {
        gap: 40px;
        width: 100%;
        justify-content: space-between;
    }
}

/* Legal Pages Styling */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 60px;
    color: var(--color-accent-gold);
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 20px;
    color: var(--color-text-dim);
}

.legal-content li {
    margin-bottom: 10px;
}

/* Stats Section */
.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--color-accent-peach);
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(233, 100, 67, 0.3);
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 80px 0 40px;
}

.page-header h1 {
    font-size: 4rem;
}