:root {
    /* Royal Blue base */
    --rb-1: #050B1C;
    /* deep royal */
    --rb-2: #07132F;
    /* royal navy */
    --rb-3: #0B1F4A;
    /* brighter royal */

    /* Gold accent */
    --gold: #D4AF37;
    --gold-2: #FFD56A;

    /* Accent (very subtle) */
    --emerald: #18C77A;

    /* Text */
    --text: #EAF0FF;
    --muted: rgba(234, 240, 255, 0.72);

    /* Glass surfaces */
    --card: rgba(255, 255, 255, 0.07);
    --card-2: rgba(255, 255, 255, 0.10);
    --border: rgba(255, 255, 255, 0.14);
    --border-gold: rgba(212, 175, 55, 0.22);

    --shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
    --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.35);

    /* spacing */
    --navH: 90px;
}

* {
    box-sizing: border-box;
}

/* ✅ HARD: stop horizontal scroll */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);

    /* Premium royal background */
    background:
        radial-gradient(circle at 18% 20%, rgba(212, 175, 55, 0.18), transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(255, 213, 106, 0.10), transparent 55%),
        radial-gradient(circle at 75% 30%, rgba(24, 199, 122, 0.07), transparent 55%),
        linear-gradient(145deg, var(--rb-1), var(--rb-2) 55%, var(--rb-3));
}

/* =========================
   NAVBAR
========================= */
.luxury-nav {
    background: rgba(5, 11, 28, 0.58);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.20);
}

.nav-logo {
    height: 42px;
    width: auto;
}

.brand-text {
    font-weight: 900;
    color: var(--text);
    letter-spacing: .6px;
}

/* Navbar toggler */
.custom-toggler {
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.custom-toggler:focus {
    box-shadow: none;
}

.toggler-line {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(234, 240, 255, 0.92);
    margin: 4px 0;
    border-radius: 2px;
}

/* Buttons */
.btn-login {
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    font-weight: 800;
    border-radius: 14px;
    padding: 10px 16px;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(212, 175, 55, 0.24);
}

.btn-register {
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #0B0F14;
    font-weight: 900;
    border: 0;
    border-radius: 14px;
    padding: 10px 18px;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.25);
}

.btn-register:hover {
    filter: brightness(1.03);
}

/* =========================
   HERO
========================= */
.hero {
    position: relative;
    padding-top: var(--navH);
    overflow: hidden;
    /* ✅ prevents glow leaking outside */
}

.hero-minvh {
    min-height: calc(100vh - var(--navH));
    padding-top: 30px;
    padding-bottom: 50px;
}

/* ✅ FIXED glow (no inset:-240px) */
.hero-glow {
    position: absolute;
    left: 50%;
    top: -240px;
    width: min(1200px, 160vw);
    height: 560px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 62%);
    filter: blur(12px);
    pointer-events: none;
}

/* Badge */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);

    color: var(--muted);
    font-weight: 800;
    font-size: 0.92rem;
    max-width: 100%;
}

.badge-pill .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

/* Title */
.hero-title {
    font-size: clamp(2.15rem, 4.3vw, 3.85rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0;
}

.hero-title span {
    background: linear-gradient(90deg, var(--gold), var(--gold-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--muted);
    max-width: 520px;
    font-weight: 600;
    line-height: 1.6;
    margin-top: 14px;
}

/* =========================
   COUNTDOWN
========================= */
.count-box {
    height: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    padding: 16px 18px;
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-soft);
    transition: transform .2s ease, border-color .2s ease;
}

.count-box:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 213, 106, 0.28);
}

.count-box h3 {
    margin: 0;
    font-weight: 900;
    color: var(--gold-2);
    font-size: 1.85rem;
    text-shadow: 0 0 26px rgba(212, 175, 55, 0.22);
}

.count-box span {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    color: rgba(234, 240, 255, 0.70);
    font-weight: 800;
    letter-spacing: 0.14em;
}

/* =========================
   CTA
========================= */
.subscribe-form {
    max-width: 560px;
}

.subscribe-input {
    height: 52px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text);
    font-weight: 600;
}

.subscribe-input::placeholder {
    color: rgba(234, 240, 255, 0.55);
}

.subscribe-input:focus {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.14);
}

.btn-luxury {
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #0B0F14;
    font-weight: 900;
    border: 0;
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.25);
}

.btn-luxury:hover {
    filter: brightness(1.03);
}

.mini-note {
    color: rgba(234, 240, 255, 0.65);
    font-weight: 600;
}

/* =========================
   RIGHT VISUAL (Premium Frame)
========================= */
.luxury-frame {
    position: relative;
    width: min(560px, 100%);
    max-width: 100%;

    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-gold);
    border-radius: 28px;
    padding: 16px;
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    overflow: hidden;

    /* premium inner highlight */
    outline: 1px solid rgba(255, 255, 255, 0.06);
    outline-offset: -10px;
}

.luxury-frame::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg,
            rgba(212, 175, 55, 0.18),
            rgba(255, 213, 106, 0.10),
            rgba(255, 255, 255, 0.05));
    filter: blur(18px);
    opacity: .80;
    pointer-events: none;
}

.luxury-frame::after {
    /* subtle diagonal shine */
    content: "";
    position: absolute;
    top: -40%;
    left: -30%;
    width: 60%;
    height: 160%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: rotate(18deg);
    opacity: .55;
    pointer-events: none;
}

.luxury-frame img {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Chips */
.frame-badge {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.chip {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(212, 175, 55, 0.22);
    font-weight: 900;
    font-size: 0.78rem;
    color: var(--text);
}

.chip-green {
    border-color: rgba(24, 199, 122, 0.22);
}

.chip-dark {
    border-color: rgba(255, 255, 255, 0.12);
}

/* =========================
   RESPONSIVE TWEAKS
========================= */
@media (max-width: 575px) {
    .hero-minvh {
        padding-top: 18px;
        padding-bottom: 34px;
    }

    .count-box h3 {
        font-size: 1.55rem;
    }

    .badge-pill {
        font-size: 0.88rem;
    }
}

@media (max-width: 380px) {
    .count-box {
        padding: 14px 14px;
        border-radius: 16px;
    }
}

/* HERO Carousel fit inside luxury frame */
.luxury-frame .carousel,
.luxury-frame .carousel-inner,
.luxury-frame .carousel-item {
    width: 100%;
    height: 100%;
}

.luxury-frame .carousel-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 22px;
}

/* Premium controls */
.luxury-frame .carousel-control-prev,
.luxury-frame .carousel-control-next {
    width: 12%;
    opacity: .95;
}

.luxury-frame .carousel-control-prev-icon,
.luxury-frame .carousel-control-next-icon {
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.55));
}

/* Premium indicators */
.luxury-frame .carousel-indicators {
    margin-bottom: 10px;
}

.luxury-frame .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.30);
    border: 1px solid rgba(212, 175, 55, 0.35);
}

.luxury-frame .carousel-indicators .active {
    background-color: rgba(255, 213, 106, 0.95);
}