/* WIN678 - Clean Professional Theme */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables - Art Deco Echo Theme */
:root {
    /* Primary Colors */
    --primary-deep-blue: #1a2b4c;
    --primary-gold: #d4af37;
    --primary-silver: #c0c0c0;
    --accent-cream: #f5f5dc;
    --accent-light-gray: #e5e5e5;

    /* Subtle Gradients (toned down) */
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #daba49 100%);
    --gradient-silver: linear-gradient(135deg, #c0c0c0 0%, #d6d6d6 100%);
    --gradient-blue: linear-gradient(135deg, #162743 0%, #1e355a 100%);

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Poppins', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Shadows - Art Deco style */
    --shadow-light: 0 1px 4px rgba(0, 0, 0, 0.15);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-heavy: 0 8px 20px rgba(0, 0, 0, 0.25);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.2);

    /* Borders */
    --border-gold: 2px solid var(--primary-gold);
    --border-silver: 2px solid var(--primary-silver);
    /* Layout */
    --header-h: 64px;
}

/* Typography scale */
h1, .h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.2; }
h2, .h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.25; }
h3, .h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.3; }
h4, .h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.35; }
.lead { font-size: 1.125rem; line-height: 1.7; }

/* Spacing utilities */
.mt-0 { margin-top: 0 !important; }
.mt-xs { margin-top: var(--spacing-xs) !important; }
.mt-sm { margin-top: var(--spacing-sm) !important; }
.mt-md { margin-top: var(--spacing-md) !important; }
.mt-lg { margin-top: var(--spacing-lg) !important; }
.mt-xl { margin-top: var(--spacing-xl) !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-xs { margin-bottom: var(--spacing-xs) !important; }
.mb-sm { margin-bottom: var(--spacing-sm) !important; }
.mb-md { margin-bottom: var(--spacing-md) !important; }
.mb-lg { margin-bottom: var(--spacing-lg) !important; }
.mb-xl { margin-bottom: var(--spacing-xl) !important; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

/* Hero variants */
.hero--short { height: 60vh; min-height: 420px; }

/* Common CTA spacing when inside content */
.content-text-area .btn { margin-top: var(--spacing-md); }

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font-primary);
    background: var(--primary-deep-blue);
    color: var(--accent-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Base element rhythm */
h1, h2, h3, h4 { font-family: var(--font-primary); font-weight: 700; }
h1, h2, h3, h4 { margin: 0 0 0.75rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem 1.25rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-gold); text-decoration: none; }
a:hover { opacity: 0.9; }

/* Art Deco Geometric Patterns */
/* Remove busy decorative pattern for a cleaner look */
.deco-pattern { position: relative; }
.deco-pattern::before { content: none; }

/* Header Styles */
.header {
    background: rgba(18, 34, 61, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-light);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: var(--header-h);
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-gold);
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.logo:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-1px);
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.05) drop-shadow(0 1px 3px rgba(0,0,0,0.2));
    transition: filter 0.3s ease;
}

.logo:hover img {
    filter: brightness(1.2) contrast(1.1) drop-shadow(0 2px 6px rgba(212,175,55,0.3));
}

/* Remove logo underline animation for simplicity */
.logo::after { content: none; }

.nav {
    display: flex;
    list-style: none;
    gap: 14px;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

/* Ensure the nav block expands and centers between logo and CTAs */
.header-container > nav {
    flex: 1 1 auto;
    display: flex;
}

.header-container > nav .nav {
    margin: 0 auto;
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.dropdown-arrow {
    font-size: 0.8em;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 18, 34, 0.98);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    color: var(--accent-cream);
    text-decoration: none;
    padding: 10px 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.dropdown-link:last-child {
    border-bottom: none;
}

.dropdown-link:hover {
    color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.1);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: var(--border-gold);
    color: var(--primary-gold);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-toggle:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.logo:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--primary-gold);
    outline-offset: 2px;
    border-radius: 6px;
}

.nav-link {
    color: var(--accent-cream);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 12px;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1;
}

/* Remove sweeping background hover */
.nav-link::before { content: none; }

.nav-link:hover { color: var(--primary-gold); background: rgba(255,255,255,0.04); }
.nav-link.active { color: var(--primary-gold); }

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.btn, .btn-primary, .btn-secondary {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    position: relative;
    text-transform: none;
    letter-spacing: 0.2px;
}

.btn-primary { background: var(--primary-gold); color: #12223d; box-shadow: var(--shadow-light); }

.btn-secondary {
    background: transparent;
    color: var(--primary-gold);
    border: var(--border-gold);
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-medium); }

.btn:active {
    transform: translateY(0);
}

/* Remove shiny sweep effect */
.btn::before { content: none; }

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(26,43,76,0.72), rgba(26,43,76,0.82)), url('imgs/casino-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    overflow: hidden;
}

/* Remove decorative overlay for hero */
.hero::before { content: none; }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--spacing-lg);
}

.hero-title { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; color: var(--primary-gold); margin-bottom: var(--spacing-sm); line-height: 1.2; }

.hero-subtitle { font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 500; color: var(--accent-cream); margin-bottom: var(--spacing-md); }

.hero-cta {
    margin-top: var(--spacing-lg);
}

.hero-btn { font-size: 1.06rem; padding: 12px 24px; background: var(--primary-gold); color: #12223d; border: none; border-radius: 10px; font-weight: 700; letter-spacing: 0.3px; box-shadow: var(--shadow-medium); }

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: var(--shadow-heavy), 0 0 20px rgba(212, 175, 55, 0.5);
    }
    50% {
        box-shadow: var(--shadow-heavy), 0 0 40px rgba(212, 175, 55, 0.8);
    }
}

/* Content Sections */
.main-content {
    margin-top: 0;
    background: var(--primary-deep-blue);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Content Blocks */
.content-block {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    position: relative;
}

/* Remove left accent bar */
.content-block::before { content: none; }

.content-block.horizontal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.content-block.vertical {
    text-align: center;
}

.content-block-title { font-size: 1.8rem; font-weight: 700; color: var(--primary-gold); margin-bottom: var(--spacing-md); position: relative; display: inline-block; }

/* Underline accent simplified */
.content-block-title::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 60px; height: 2px; background: var(--primary-gold); opacity: 0.9; }

.content-text { font-size: 1rem; line-height: 1.8; color: var(--accent-cream); text-align: left; }

.content-image { width: 100%; height: 300px; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow-light); border: 1px solid rgba(255, 255, 255, 0.08); }

/* Content Grids */
.content-grid {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg) 0;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

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

.grid-item {
    background: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    position: relative;
}

/* Remove border glow effect */
.grid-item::before { content: none; }

.grid-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-medium); }

.grid-item-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: var(--spacing-sm);
}

.grid-item-image { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; margin-bottom: var(--spacing-sm); border: 1px solid rgba(255, 255, 255, 0.08); }

.grid-item-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--accent-cream);
    text-align: left;
}

.grid-item .btn {
    margin-top: 12px;
}

/* Trust Signals */
.trust-signals { display: flex; justify-content: center; align-items: center; gap: var(--spacing-md); padding: var(--spacing-sm) 0; margin: var(--spacing-lg) 0; background: transparent; }

.trust-item { display: flex; align-items: center; gap: var(--spacing-xs); color: var(--accent-cream); font-weight: 600; opacity: 0.9; }

.trust-icon { width: 28px; height: 28px; opacity: 0.9; }

/* Footer */
.footer { background: #0f203a; border-top: 1px solid rgba(255,255,255,0.06); padding: var(--spacing-xl) 0 var(--spacing-md); margin-top: var(--spacing-xl); position: relative; }

/* Remove extra decorative line */
.footer::before { content: none; }

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3 { color: var(--primary-gold); font-size: 1.15rem; font-weight: 700; margin-bottom: var(--spacing-sm); }

.footer-section p,
.footer-section a {
    color: var(--accent-cream);
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-gold);
}

.footer-bottom { text-align: center; padding-top: var(--spacing-md); border-top: 1px solid rgba(255,255,255,0.08); color: var(--accent-light-gray); }

.payment-methods {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

.payment-icon { width: 56px; height: 36px; object-fit: contain; background: rgba(255,255,255,0.06); padding: 5px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.08); }

/* Responsive Design */
@media (max-width: 992px) {
    :root { --header-h: 56px; }

    .nav-toggle { display: inline-flex; }

    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        background: rgba(10, 18, 34, 0.98);
        padding: var(--spacing-sm) 0;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }

    body.nav-open .nav { display: flex; }
    body.nav-open { overflow: hidden; }

    .nav-link {
        padding: 12px 16px;
        border-radius: 0;
        border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    }

    /* Mobile Dropdown Styles */
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(5, 10, 20, 0.95);
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        margin-left: 16px;
        display: none;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-toggle {
        justify-content: space-between;
    }

    .dropdown-link {
        padding: 8px 16px;
        font-size: 0.9em;
        border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    }

    .header-container {
        gap: var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        gap: var(--spacing-sm);
    }

    .nav { gap: var(--spacing-sm); }

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

    .grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .trust-signals {
        flex-wrap: wrap;
    }

    .hero-btn { font-size: 1rem; padding: var(--spacing-sm) var(--spacing-md); }
}

@media (max-width: 480px) {
    .hero-content {
        padding: var(--spacing-md);
    }

    .content-block,
    .section {
        padding: var(--spacing-md);
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .payment-methods {
        flex-wrap: wrap;
    }
}

/* Minimal shine (disabled for cleaner look) */
@keyframes art-deco-shine {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}

.deco-shine {
    position: relative;
    overflow: hidden;
}

.deco-shine::after { content: none; }

/* Loading Animation */
/* Disable loading overlay to avoid jarring flashes */
.loading-overlay { display: none !important; }

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(212, 175, 55, 0.2);
    border-left: 4px solid var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Scroll Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    color: var(--primary-deep-blue);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: var(--shadow-medium);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.show {
    transform: translateY(0);
    opacity: 1;
}

.scroll-top:hover { transform: translateY(-3px) scale(1.05); box-shadow: var(--shadow-medium); }

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .hero { background-attachment: scroll; }
}
