@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ===========================================================
   AURA CASINO — Clean Prestige Luxury Theme (Emerald & Cream)
   Mobile-First App View (430px Frame)
   =========================================================== */
:root {
    /* Surfaces */
    --cream: #faf6ee;
    --cream-2: #f2ebd9;
    --cream-card: #ffffff;
    --surface: #ffffff;
    --surface-alt: #f7f2e5;

    /* Heritage Emerald */
    --emerald-deep: #05291d;
    --emerald: #093c2c;
    --emerald-2: #0f543e;
    --emerald-glow: rgba(18, 128, 92, 0.28);
    --green-primary: #117855;
    --green-light: #169369;

    /* Champagne & Metallic Gold */
    --gold: #c6a15a;
    --gold-deep: #a58133;
    --gold-soft: #edd9ab;
    --gold-glow: rgba(198, 161, 90, 0.38);

    /* Text & Inks */
    --ink: #112019;
    --ink-soft: #2d4237;
    --text-muted: #5d7066;
    --on-emerald: #fbf9f4;
    --on-emerald-muted: rgba(251, 249, 244, 0.78);

    /* Borders & Shadows */
    --border: rgba(9, 60, 44, 0.12);
    --border-soft: rgba(9, 60, 44, 0.08);
    --border-gold: rgba(198, 161, 90, 0.38);
    --border-gold-strong: rgba(198, 161, 90, 0.7);
    --shadow-sm: 0 4px 14px rgba(5, 41, 29, 0.05);
    --shadow-md: 0 10px 28px rgba(5, 41, 29, 0.08);
    --shadow-lg: 0 20px 48px rgba(5, 41, 29, 0.14);

    /* Typography */
    --font-head: 'Fraunces', Georgia, serif;
    --font-body: 'Manrope', system-ui, -apple-system, sans-serif;

    /* Aliases for backwards compatibility */
    --color-primary: var(--green-primary);
    --color-primary-hover: var(--emerald-2);
    --color-secondary: var(--gold);
    --color-accent: var(--gold);
    --color-text-light: var(--on-emerald);
    --color-text-dark: var(--ink);
    --color-muted-light: var(--on-emerald-muted);
    --color-muted-dark: var(--text-muted);
    --color-white: var(--ink);
    --color-muted: var(--text-muted);
    --bg-dark: var(--emerald-deep);
    --bg-dark-card: rgba(255, 255, 255, 0.06);
    --bg-light: var(--cream);
    --bg-light-card: var(--surface);
    --bg-card: var(--surface);
    --border-dark: var(--border);
    --border-light: var(--border);
    --glass: rgba(9, 60, 44, 0.04);
    --glass-border: var(--border);
    --font-main: var(--font-body);
    --font-heading: var(--font-head);
    --shadow-light: var(--shadow-md);

    /* Mobile-First Frame Width */
    --app-width: 430px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    background-color: #03140e;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(18, 128, 92, 0.24) 0%, transparent 65%),
        radial-gradient(circle at 10% 40%, rgba(198, 161, 90, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(9, 60, 44, 0.22) 0%, transparent 60%);
    min-height: 100vh;
}

body {
    background: transparent;
    color: var(--ink);
    font-family: var(--font-body);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: -0.015em;
    color: inherit;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===========================================================
   MAIN CONTAINER (Centered Mobile-First Width)
   =========================================================== */
.main-container {
    width: 100%;
    max-width: var(--app-width);
    margin: 0 auto;
    background: var(--cream);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.55);
}

@media (max-width: 480px) {
    .main-container {
        box-shadow: none;
        max-width: 100%;
    }
}

/* ===========================================================
   TOP BAND (Deep Heritage Emerald)
   =========================================================== */
.dark-top-section {
    background-color: var(--emerald-deep);
    color: var(--on-emerald);
    background-image:
        radial-gradient(circle at 15% -5%, rgba(198, 161, 90, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 85% 10%, rgba(18, 128, 92, 0.32) 0%, transparent 50%),
        linear-gradient(180deg, var(--emerald-deep) 0%, var(--emerald) 100%);
    padding-bottom: 40px;
    position: relative;
}

.dark-top-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='44' height='44' viewBox='0 0 44 44' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c6a15a' fill-opacity='0.04'%3E%3Cpath d='M22 0l3 14 14 3-14 3-3 14-3-14-14-3 14-3z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.7;
    pointer-events: none;
}

/* Smooth Curved Divider between Emerald & Cream */
.wave-divider {
    position: relative;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    margin-top: -1px;
    z-index: 2;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 38px;
}

.wave-divider path {
    fill: var(--cream);
}

/* ===========================================================
   BOTTOM BAND (Clean Alabaster / Cream)
   =========================================================== */
.light-bottom-section {
    background-color: var(--cream);
    color: var(--ink);
    background-image: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
    position: relative;
    padding-bottom: 30px;
}

/* ===========================================================
   HEADER & NAVIGATION
   =========================================================== */
.main-header {
    background: rgba(5, 41, 29, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(198, 161, 90, 0.24);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.main-header.scrolled {
    background: rgba(4, 30, 21, 0.95);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    width: 100%;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 36px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(198, 161, 90, 0.35));
    transition: transform 0.2s ease;
}

.logo img:hover {
    transform: scale(1.03);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 7px;
}

.btn-login {
    color: var(--on-emerald);
    font-weight: 600;
    font-size: 13px;
    border: 1px solid rgba(251, 249, 244, 0.32);
    padding: 7px 15px;
    border-radius: 30px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.05);
}

.btn-login:hover {
    color: var(--emerald-deep);
    background: var(--gold-soft);
    border-color: var(--gold-soft);
}

.btn-register {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: #041a13;
    padding: 7px 18px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 4px 14px rgba(198, 161, 90, 0.45);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-register::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -70%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: rotate(25deg);
    animation: btnShimmer 3.2s infinite;
}

@keyframes btnShimmer {
    0% { left: -70%; }
    30% { left: 150%; }
    100% { left: 150%; }
}

.btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(198, 161, 90, 0.65);
    filter: brightness(1.05);
}

/* Modern Hamburger Toggle */
.menu-toggle {
    width: 38px;
    height: 38px;
    background: rgba(198, 161, 90, 0.12);
    border: 1px solid rgba(198, 161, 90, 0.28);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}

.menu-toggle .bar {
    width: 18px;
    height: 2px;
    background: var(--gold-soft);
    border-radius: 2px;
    transition: all 0.28s ease;
}

.menu-toggle.active {
    background: rgba(198, 161, 90, 0.22);
    border-color: var(--gold);
}

.menu-toggle.active .bar-1 {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active .bar-2 {
    opacity: 0;
    transform: translateX(8px);
}

.menu-toggle.active .bar-3 {
    transform: translateY(-6px) rotate(-45deg);
}

/* Slide-in Navigation Drawer (Hidden by default, shown only on toggle) */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 16, 11, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1080;
}

.nav-backdrop.active {
    display: block;
}

.desktop-nav {
    display: none !important;
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: var(--app-width);
    max-width: 100%;
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
    background: linear-gradient(180deg, #05291d 0%, #031c13 100%);
    border-left: 1px solid rgba(198, 161, 90, 0.25);
    border-right: 1px solid rgba(198, 161, 90, 0.25);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    z-index: 1100;
    flex-direction: column;
    padding: 22px 20px 80px;
    overflow-y: auto;
}

.desktop-nav.active {
    display: flex !important;
    animation: menuFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(198, 161, 90, 0.2);
    margin-bottom: 16px;
}

.drawer-title {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--gold-soft);
    display: flex;
    align-items: center;
    gap: 8px;
}

.drawer-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(198, 161, 90, 0.25);
    color: var(--on-emerald);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}

.drawer-close:hover {
    background: rgba(198, 161, 90, 0.25);
    color: var(--gold-soft);
}

.desktop-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.desktop-nav ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--on-emerald);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.desktop-nav ul li a i {
    color: var(--gold);
    font-size: 17px;
}

.desktop-nav ul li a:hover {
    background: rgba(198, 161, 90, 0.12);
    border-color: rgba(198, 161, 90, 0.25);
    color: var(--gold-soft);
    transform: translateX(4px);
}

.drawer-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(198, 161, 90, 0.2);
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-btn-cta {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: #041a13;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 14px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(198, 161, 90, 0.4);
}

.drawer-contact {
    text-align: center;
    font-size: 12px;
    color: var(--on-emerald-muted);
}

body.no-scroll {
    overflow: hidden;
}

/* ===========================================================
   HERO / BANNER SECTION
   =========================================================== */
.banner-wrapper {
    padding: 28px 18px 20px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.banner-content {
    width: 100%;
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Elegant VIP Prestige Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(198, 161, 90, 0.12);
    border: 1px solid rgba(198, 161, 90, 0.35);
    color: var(--gold-soft);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-badge i {
    color: var(--gold);
    font-size: 14px;
}

.banner-content h1 {
    font-family: var(--font-head);
    font-size: clamp(28px, 6.8vw, 34px);
    font-weight: 600;
    line-height: 1.18;
    margin-bottom: 14px;
    color: var(--on-emerald);
}

.banner-content h1 span,
.banner-content h1 em {
    color: var(--gold);
    font-style: italic;
    font-weight: 600;
    background: linear-gradient(135deg, #f5e4bd 0%, var(--gold) 50%, var(--gold-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner-content p {
    font-size: 14px;
    color: var(--on-emerald-muted);
    margin-bottom: 22px;
    line-height: 1.6;
    padding: 0 4px;
}

.banner-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.banner-content .btn-register {
    padding: 13px 30px;
    font-size: 15px;
    border-radius: 40px;
    box-shadow: 0 6px 22px rgba(198, 161, 90, 0.5);
}

.banner-content .btn-sub-cta {
    color: var(--on-emerald);
    border: 1px solid rgba(198, 161, 90, 0.4);
    padding: 12px 20px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.banner-content .btn-sub-cta:hover {
    background: rgba(198, 161, 90, 0.15);
    border-color: var(--gold);
    color: var(--gold-soft);
}

/* Banner Promo Image Container */
.banner-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(198, 161, 90, 0.35);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
    background: rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.banner-image:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
}

.banner-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* ===========================================================
   TRUST STRIP
   =========================================================== */
.trust-strip {
    border-top: 1px solid rgba(198, 161, 90, 0.18);
    border-bottom: 1px solid rgba(198, 161, 90, 0.18);
    padding: 14px 0;
    background: rgba(0, 0, 0, 0.14);
    overflow: hidden;
}

.trust-container {
    display: flex;
    gap: 10px;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.trust-container::-webkit-scrollbar {
    display: none;
}

.trust-item {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    color: var(--on-emerald-muted);
    font-size: 12.5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(198, 161, 90, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    scroll-snap-align: start;
    white-space: nowrap;
}

.trust-item i {
    color: var(--gold);
    font-size: 15px;
}

/* ===========================================================
   FLOATING STICKY BOTTOM APP BAR (Mobile Casino UX)
   =========================================================== */
.bottom-app-bar {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(4, 28, 19, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(198, 161, 90, 0.3);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 990;
    padding: 0 8px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}

.app-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--on-emerald-muted);
    font-size: 11px;
    font-weight: 600;
    padding: 6px 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
}

.app-bar-item i {
    font-size: 18px;
    color: var(--on-emerald-muted);
    transition: all 0.2s ease;
}

.app-bar-item:hover,
.app-bar-item.active {
    color: var(--gold-soft);
}

.app-bar-item:hover i,
.app-bar-item.active i {
    color: var(--gold);
    transform: translateY(-2px);
}

/* Central Highlighted Button */
.app-bar-highlight {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: #041a13 !important;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: -18px;
    border: 3px solid #041c13;
    box-shadow: 0 4px 16px rgba(198, 161, 90, 0.6);
    flex: none;
    font-weight: 800;
    font-size: 10px;
    transition: transform 0.2s ease;
}

.app-bar-highlight i {
    color: #041a13 !important;
    font-size: 19px;
    line-height: 1;
}

.app-bar-highlight:hover {
    transform: scale(1.08);
}

/* ===========================================================
   FOOTER (Deep Emerald Luxury)
   =========================================================== */
.main-footer {
    background-color: var(--emerald-deep);
    color: var(--on-emerald);
    padding: 44px 20px 24px;
    border-top: 1px solid rgba(198, 161, 90, 0.25);
    margin-top: 20px;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(198, 161, 90, 0.16);
}

.footer-brand .logo {
    margin-bottom: 14px;
}

.footer-brand .logo img {
    height: 36px;
}

.footer-desc {
    color: var(--on-emerald-muted);
    font-size: 13px;
    line-height: 1.65;
}

.footer-nav h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
    color: var(--gold-soft);
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: var(--on-emerald-muted);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-nav a::before {
    content: '›';
    color: var(--gold);
    font-size: 16px;
    line-height: 1;
}

.footer-nav a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

.footer-contact p {
    color: var(--on-emerald-muted);
    margin: 0 0 8px 0;
    font-size: 13px;
}

.footer-links {
    margin-top: 12px;
}

.footer-links a {
    color: var(--gold-soft);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

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

.footer-bottom {
    padding-top: 20px;
    text-align: center;
    color: var(--on-emerald-muted);
    font-size: 12px;
    line-height: 1.6;
}

.footer-bottom a {
    color: var(--gold-soft);
    font-weight: 600;
}
