@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {

    --gold: #d4af37;
    --gold-soft: #f2d78c;
    --cream: #f6efe2;
    --glass: rgba(14, 10, 7, 0.56);
    --glass-strong: rgba(10, 8, 6, 0.72);
    --white-soft: rgba(255,255,255,0.88);

}

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

html {
    scroll-behavior: smooth;
}

body {

    min-height: 100vh;

    font-family: 'Montserrat', sans-serif;

    color: white;

    overflow-x: hidden;

    background:
        linear-gradient(
            rgba(0,0,0,0.48),
            rgba(0,0,0,0.68)
        ),
        url('/static/deannie-bg.jpg');

    background-size: cover;

    background-position: center;

    background-attachment: fixed;

    position: relative;
}

/* FLOATING PARTICLES */

body::before {

    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: 0;

    background-image:
        radial-gradient(circle, rgba(255,215,120,0.9) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,215,120,0.6) 2px, transparent 2px),
        radial-gradient(circle, rgba(255,215,120,0.4) 1.5px, transparent 1.5px);

    background-size:
        180px 180px,
        260px 260px,
        340px 340px;

    animation: floatingParticles 18s linear infinite;

    opacity: 0.55;
}

@keyframes floatingParticles {

    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-120px);
    }
}

/* PAGE */

.page {

    width: 100%;

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 40px 18px;

    position: relative;

    z-index: 1;
}

.container {

    width: 100%;

    max-width: 760px;
}

/* GLASS CARD */

.glass-card {

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(30,20,12,0.62),
            rgba(12,8,5,0.76)
        ),
        url('/static/deannie-bg.jpg');

    background-size: cover;

    background-position: center;

    border-radius: 34px;

    padding: 54px 46px;

    border: 1px solid rgba(212,175,55,0.32);

    backdrop-filter: blur(18px);

    box-shadow:
        0 0 40px rgba(212,175,55,0.10),
        0 30px 90px rgba(0,0,0,0.55);

    animation: cardEntrance 1.2s ease;
}

/* INNER GLOW */

.glass-card::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at top,
            rgba(255,215,120,0.12),
            transparent 60%
        );

    pointer-events: none;
}

/* GOLD EDGE GLOW */

.glass-card::after {

    content: "";

    position: absolute;

    inset: 0;

    border-radius: 34px;

    padding: 1px;

    background:
        linear-gradient(
            135deg,
            rgba(255,220,120,0.55),
            rgba(255,220,120,0.04)
        );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;

    mask-composite: exclude;

    pointer-events: none;
}

@keyframes cardEntrance {

    from {

        opacity: 0;

        transform:
            translateY(35px)
            scale(0.96);
    }

    to {

        opacity: 1;

        transform:
            translateY(0px)
            scale(1);
    }
}

/* LOGOS */

.top-logos {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    margin-bottom: 28px;
}

.logo-norky,
.logo-deannie {

    max-height: 74px;

    object-fit: contain;
}

.logo-line {

    width: 1px;

    height: 58px;

    background:
        linear-gradient(
            transparent,
            rgba(255,215,120,0.8),
            transparent
        );
}

/* TYPOGRAPHY */

h1 {

    font-family: 'Cormorant Garamond', serif;

    font-size: 68px;

    line-height: 0.95;

    font-weight: 600;

    text-align: center;

    color: var(--gold-soft);

    margin-bottom: 22px;

    text-shadow:
        0 0 14px rgba(255,215,120,0.20);
}

h2 {

    font-family: 'Cormorant Garamond', serif;

    font-size: 40px;

    color: var(--gold-soft);

    margin-bottom: 18px;
}

.subtitle {

    text-align: center;

    color: rgba(255,255,255,0.88);

    line-height: 1.8;

    font-size: 15px;

    margin: 0 auto 36px;

    max-width: 620px;
}

/* FORMS */

.form-box {

    display: grid;

    gap: 26px;
}

label {

    display: block;

    margin-bottom: 8px;

    font-size: 13px;

    font-weight: 600;

    color: rgba(255,255,255,0.82);
}

input,
textarea,
select {

    width: 100%;

    padding: 16px;

    border-radius: 16px;

    border:
        1px solid rgba(255,215,120,0.18);

    background:
        rgba(255,255,255,0.06);

    color: white;

    font-size: 15px;

    outline: none;

    transition: 0.25s ease;

    backdrop-filter: blur(6px);
}

input:focus,
textarea:focus,
select:focus {

    border-color: rgba(255,215,120,0.55);

    box-shadow:
        0 0 18px rgba(255,215,120,0.16);

    background:
        rgba(255,255,255,0.09);
}

input::placeholder,
textarea::placeholder {

    color:
        rgba(255,255,255,0.42);
}

/* BUTTONS */

button,
.btn {

    border: none;

    cursor: pointer;

    border-radius: 16px;

    padding: 16px 22px;

    min-height: 56px;

    font-size: 15px;

    font-weight: 700;

    color: #24170e;

    background:
        linear-gradient(
            135deg,
            #f5dd97,
            #d4af37
        );

    transition: 0.28s ease;

    box-shadow:
        0 0 22px rgba(255,215,120,0.18);
}

/* =========================================
   GLOBAL SPACING FIXES
========================================= */

.top-spacing {
    margin-top: 24px;
}

.medium-spacing {
    margin-top: 18px;
}

.small-spacing {
    margin-top: 10px;
}

.section-spacing {
    margin-top: 42px;
}

.section-spacing-large {
    margin-top: 64px;
}

/* BUTTON SPACING */

button,
.btn {
    margin-top: 18px;
}

/* HEADINGS */

h1 {
    margin-bottom: 22px;
}

h2 {
    margin-top: 34px;
    margin-bottom: 18px;
}

h3 {
    margin-top: 26px;
    margin-bottom: 12px;
}

/* NOW PLAYING SECTION */

.now-playing-box {
    margin-top: 28px;
}

.now-playing-title {
    margin-top: 12px;
    margin-bottom: 16px;
    display: block;
}

/* ICON SPACING */

.section-icon {
    display: inline-block;
    margin-right: 10px;
}

.big-icon {
    margin-bottom: 16px;
}

/* FORM SECTIONS */

.form-box {
    gap: 22px;
}

.form-section {
    margin-top: 34px;
}

/* YOUTUBE SEARCH RESULTS */

.youtube-results {
    margin-top: 26px;
}

.youtube-card {
    margin-bottom: 14px;
}

/* NAVIGATION CARDS */

.navigation-grid,
.admin-actions {
    margin-top: 28px;
}

/* FLASH MESSAGES */

.mode-note {
    margin-top: 18px;
    margin-bottom: 28px;
}

/* QR SECTION */

.qr-wrapper {
    margin-top: 26px;
}

/* MOBILE FIXES */

@media (max-width: 768px) {

    h1 {
        margin-bottom: 18px;
    }

    h2 {
        margin-top: 28px;
    }

    button,
    .btn {
        margin-top: 16px;
    }

    .form-section {
        margin-top: 28px;
    }

}

button:hover,
.btn:hover {

    transform:
        translateY(-3px)
        scale(1.01);

    box-shadow:
        0 0 28px rgba(255,215,120,0.30);
}

/* REQUEST CARDS */

.request-card,
.youtube-card,
.extra-song-card,
.admin-action-card,
.nav-card {

    position: relative;

    overflow: hidden;

    background:
        rgba(255,255,255,0.05);

    border:
        1px solid rgba(255,215,120,0.15);

    border-radius: 24px;

    padding: 24px;

    transition: 0.3s ease;

    backdrop-filter: blur(10px);
}

/* LIVE GLOW EFFECT */

.request-card:hover,
.youtube-card:hover,
.extra-song-card:hover,
.admin-action-card:hover,
.nav-card:hover {

    transform:
        translateY(-4px);

    border-color:
        rgba(255,215,120,0.45);

    box-shadow:
        0 0 32px rgba(255,215,120,0.16);
}

.request-title {

    color: var(--gold-soft);

    font-weight: 700;

    margin-bottom: 10px;
}

.request-meta {

    color:
        rgba(255,255,255,0.82);

    line-height: 1.7;
}

/* YOUTUBE */

.youtube-results {

    display: grid;

    gap: 14px;

    margin-top: 20px;
}

.youtube-card {

    display: flex;

    gap: 16px;

    align-items: center;
}

.youtube-card img {

    width: 120px;

    border-radius: 12px;
}

.youtube-info {

    flex: 1;
}

.youtube-title {

    font-weight: 700;

    margin-bottom: 8px;

    color: var(--gold-soft);
}

.youtube-channel {

    font-size: 13px;

    opacity: 0.7;

    margin-bottom: 12px;
}

/* LINKS */

a {

    color: var(--gold-soft);
}

.back-link {

    display: inline-block;

    margin-top: 24px;

    text-decoration: none;

    color: var(--gold-soft);
}

/* NAVIGATION */

.navigation-grid,
.admin-actions {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 18px;
}

.nav-icon {

    font-size: 42px;

    margin-bottom: 14px;
}

/* QR */

.qr-wrapper {

    text-align: center;
}

.qr-wrapper img {

    max-width: 320px;

    width: 100%;

    background: white;

    padding: 18px;

    border-radius: 26px;

    box-shadow:
        0 0 30px rgba(255,215,120,0.18);
}

/* MESSAGES */

.mode-note {

    background:
        rgba(255,215,120,0.10);

    border:
        1px solid rgba(255,215,120,0.18);

    padding: 16px;

    border-radius: 16px;

    margin-bottom: 22px;
}

/* MOBILE APP FEEL */

@media (max-width: 768px) {

    body {

        background-attachment: scroll;
    }

    .page {

        padding: 18px 10px;
    }

    .container {

        max-width: 100%;
    }

    .glass-card {

        border-radius: 28px;

        padding: 28px 18px;
    }

    h1 {

        font-size: 46px;
    }

    h2 {

        font-size: 32px;
    }

    .subtitle {

        font-size: 14px;
    }

    .top-logos {

        gap: 12px;
    }

    .logo-line {

        display: none;
    }

    .logo-norky,
    .logo-deannie {

        max-height: 56px;
    }

    .youtube-card {

        flex-direction: column;
    }

    .youtube-card img {

        width: 100%;
    }

    button,
    .btn {

        width: 100%;
    }
}