/* ─── RESET ─────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --gold: #e8b84b;
    --gold-lt: #f5d078;
    --gold-dk: #a07820;
    --black: #07070f;
    --deep: #0b0b16;
    --panel: #0f0f1c;
    --surface: #161626;
    --surface2: #1c1c30;
    --border: rgba(232, 184, 75, 0.14);
    --border2: rgba(255, 255, 255, 0.07);
    --muted: rgba(255, 255, 255, 0.42);
    --muted2: rgba(255, 255, 255, 0.22);
    --text: #eee8ff;
    --pink: #ff4080;
    --cyan: #00d4ff;
    --r: 12px;
    --rL: 18px;
    --sidebar: 46%;
}

html,
body {
    height: 100%;
    font-size: 16px;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background: var(--black);
    color: var(--text);
    min-height: 100dvh;
    align-items: stretch;
}

/* fan-register, star-register, login comman css start */

.layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: var(--sidebar) 1fr;
    width: 100%;
    min-height: 100dvh;
}

.slide-bg {
    width: 100%;
    height: 100%;
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .3) 45%, transparent 75%),
        linear-gradient(to right, rgba(0, 0, 0, .1) 0%, transparent 55%);
}


/* fan-register, star-register, login comman css end */

.amb {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 60% at 12% 50%,
            rgba(0, 212, 255, 0.08) 0%,
            transparent 65%),
        radial-gradient(ellipse 40% 40% at 88% 20%,
            rgba(0, 212, 255, 0.05) 0%,
            transparent 60%),
        radial-gradient(ellipse 30% 40% at 60% 92%,
            rgba(139, 92, 246, 0.05) 0%,
            transparent 60%),
        radial-gradient(ellipse 25% 30% at 50% -5%,
            rgba(0, 212, 255, 0.06) 0%,
            transparent 55%);
}

.grain {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.022;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 250px;
}

.ptc {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.p {
    position: absolute;
    border-radius: 50%;
    animation: pfloat linear infinite;
    opacity: 0;
}

@keyframes pfloat {
    0% {
        transform: translateY(110vh) scale(0);
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    92% {
        opacity: 0.55;
    }

    100% {
        transform: translateY(-8vh) scale(1);
        opacity: 0;
    }
}

.is-invalid {
    border: 1px solid red;
}

.text-danger {
    font-size: 12px;
    color: red;
}

.error {
    color: red !important;
}

/* OTP LINK COMMON STYLE */
.otp-link {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-lt);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: 0.3s;
}

/* Hover effect */
.otp-link:hover {
    color: var(--gold-lt);
}

/* Input wrapper fix */
.fi-wrap {
    position: relative;
}

/* Make space for OTP link */
.fi-wrap input {
    padding-right: 90px;
}

/* 📱 Mobile Responsive */
@media (max-width: 576px) {
    .otp-link {
        font-size: 12px;
        right: 8px;
    }

    .fi-wrap input {
        padding-right: 75px;
    }
}

/* 📱 Extra small devices */
@media (max-width: 400px) {
    .otp-link {
        font-size: 11px;
        right: 6px;
    }

    .fi-wrap input {
        padding-right: 70px;
    }
}