/* ── CSS Variables ── */
:root {
    --green: #03b900;
    --green-dark: #019200;
    --green-light: #148700;
    --blue-glow: rgba(66, 133, 244, 0.5);
    --glass: rgba(0, 0, 0, 0.80);
    --border-green: rgba(71, 151, 0, 0.4);
}

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

/* ── Body ── */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #050a15;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* ── Background image layer ── */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(5,10,21,0.85), rgba(5,10,21,0.95)),
        url('Images/banner_dauntogel_01.webp');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    z-index: 0;
}

@media (min-width: 768px) {
    body::before {
        background-size: contain;
        background-position: center;
    }
}

/* ── Canvas sparkle layer ── */
#sparkle-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ── Floating orbs ── */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    z-index: 1;
    pointer-events: none;
    animation: orbFloat linear infinite;
}
.orb1 { width: 320px; height: 320px; background: #03b900; top: -80px;  left: -80px;  animation-duration: 18s; }
.orb2 { width: 260px; height: 260px; background: #0059ff; bottom: -60px; right: -60px; animation-duration: 22s; animation-delay: -8s; }
.orb3 { width: 180px; height: 180px; background: #b800c9; top: 40%;   left: 60%;   animation-duration: 15s; animation-delay: -4s; }

@keyframes orbFloat {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(30px, -40px) scale(1.1); }
    66%  { transform: translate(-20px, 30px) scale(0.95); }
    100% { transform: translate(0, 0) scale(1); }
}

/* ── Container ── */
.container {
    width: 100%;
    max-width: 480px;
    padding: 2rem 1rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

/* ── Logo ── */
.logo-section {
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 14px rgba(3,185,0,0.7)) drop-shadow(0 0 30px rgba(3,185,0,0.3));
    animation: logoPulse 3s ease-in-out infinite;
}

.logo-section img {
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 14px rgba(3,185,0,0.7)) drop-shadow(0 0 30px rgba(3,185,0,0.3)); }
    50%       { filter: drop-shadow(0 0 22px rgba(3,185,0,1))   drop-shadow(0 0 50px rgba(3,185,0,0.6)); }
}

/* ── Card ── */
.luxury-card {
    background: var(--glass);
    border: 2px solid var(--border-green);
    border-radius: 24px;
    padding: 25px 20px;
    width: 100%;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out, luxurygreenGlow 3s ease-in-out infinite alternate;
}

/* Card shimmer sweep */
.luxury-card::before {
    content: "";
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.07) 50%, transparent 70%);
    animation: cardShimmer 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes cardShimmer {
    0%   { left: -120%; }
    60%  { left: 160%; }
    100% { left: 160%; }
}

/* Card inner-glow corners */
.luxury-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background:
        radial-gradient(ellipse at top left,     rgba(3,185,0,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(3,185,0,0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.luxury-card > * { position: relative; z-index: 2; }

@keyframes luxurygreenGlow {
    0% {
        border-color: rgba(71,151,0,0.4);
        box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 0 10px rgba(212,175,55,0.2), inset 0 0 10px rgba(212,175,55,0.1);
    }
    50% {
        border-color: rgba(87,172,3,0.9);
        box-shadow: 0 15px 40px rgba(0,0,0,0.7), 0 0 30px rgba(3,185,0,0.7), 0 0 60px rgba(3,185,0,0.25), inset 0 0 20px rgba(3,185,0,0.15);
    }
    100% {
        border-color: rgba(71,151,0,0.4);
        box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 0 10px rgba(212,175,55,0.2), inset 0 0 10px rgba(212,175,55,0.1);
    }
}

/* ── Title ── */
.title-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    color: var(--green);
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(3,185,0,0.8), 0 0 20px rgba(3,185,0,0.4);
    animation: textFlicker 5s ease-in-out infinite;
}

@keyframes textFlicker {
    0%, 100% { text-shadow: 0 0 10px rgba(3,185,0,0.8), 0 0 20px rgba(3,185,0,0.4); }
    92%       { text-shadow: 0 0 10px rgba(3,185,0,0.8), 0 0 20px rgba(3,185,0,0.4); }
    93%       { text-shadow: none; }
    94%       { text-shadow: 0 0 10px rgba(3,185,0,0.8), 0 0 20px rgba(3,185,0,0.4); }
    95%       { text-shadow: none; }
    96%       { text-shadow: 0 0 10px rgba(3,185,0,0.8), 0 0 20px rgba(3,185,0,0.4); }
}

/* ── Marquee ── */
.marquee-wrap {
    background: rgba(212,175,55,0.05);
    border: 1px solid var(--border-green);
    border-radius: 30px;
    padding: 6px 15px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 10px;
}

.marquee-text {
    display: inline-block;
    animation: scroll 12s linear infinite;
    font-size: 11px;
    font-weight: 700;
    color: #eee;
}

@keyframes scroll {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ── Featured image ── */
.featured-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-green);
    margin-bottom: 20px;
    background: #000;
    position: relative;
    animation: luxurygreenGlow 4s ease-in-out infinite alternate-reverse;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.featured-image-wrap:hover {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(3,185,0,0.5);
}

.featured-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Buttons ── */
.buttons-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.btn {
    display: block;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Button ripple sweep */
.btn::before {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.btn:hover::before { left: 160%; }

.btn-register {
    background: linear-gradient(135deg, var(--green-dark), var(--green), #00e600, var(--green-dark));
    background-size: 300% 300%;
    color: #000;
    box-shadow: 0 4px 15px rgba(71,151,0,0.5), 0 0 0 0 rgba(3,185,0,0.4);
    animation: gradientShift 4s ease infinite, btnPulse 2.5s ease-in-out infinite;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(71,151,0,0.5), 0 0 0 0 rgba(3,185,0,0.4); }
    50%       { box-shadow: 0 4px 25px rgba(71,151,0,0.8), 0 0 0 8px rgba(3,185,0,0); }
}

.btn-register:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 0 30px rgba(87,172,3,0.9), 0 0 50px rgba(3,185,0,0.4);
    filter: brightness(1.15);
}

.btn-login {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid var(--border-green);
    box-shadow: inset 0 0 12px rgba(3,185,0,0.05);
}

.btn-login:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(87,172,3,0.9);
    box-shadow: 0 0 20px rgba(212,175,55,0.5), inset 0 0 20px rgba(3,185,0,0.1);
    filter: brightness(1.15);
}

/* ── Description ── */
.desc-text {
    font-size: 11.5px;
    line-height: 1.7;
    color: #aaa;
    margin-top: 15px;
    font-weight: 500;
}

/* ── Footer ── */
.footer-section {
    font-size: 10px;
    color: #555;
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
    margin-top: 10px;
}

.footer-section a {
    color: var(--green);
    text-decoration: none;
    font-weight: 700;
}

/* ── Entry animation ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
