/* =========================
   FAN CARD SECTION
========================= */

.fan-card .boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.fan-card .box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fan-card .box:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.fan-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.fan-card ul li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.fan-card a {
    display: inline-block;
    margin-top: 1rem;
}

/* Mobile spacing fix */
@media (max-width: 768px) {
    .fan-card .box {
        padding: 1.5rem;
    }
}




/* =========================
   ULTRA PREMIUM PRELOADER
========================= */

.page-loading {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #020617, #000);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.page-loading.hide {
    opacity: 0;
    visibility: hidden;
}

.page-loading-inner {
    text-align: center;
}

/* Container */
.loading-container {
    position: relative;
    width: 260px;
    height: 260px;
}

/* =========================
   PARTICLES
========================= */

.loading-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ff2d55;
    border-radius: 50%;
    opacity: 0.6;
    animation: floatParticle 4s infinite ease-in-out;
}

.particle:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 30%; left: 80%; animation-delay: .5s; }
.particle:nth-child(3) { top: 70%; left: 60%; animation-delay: 1s; }
.particle:nth-child(4) { top: 80%; left: 25%; animation-delay: 1.5s; }
.particle:nth-child(5) { top: 50%; left: 10%; animation-delay: 2s; }
.particle:nth-child(6) { top: 15%; left: 55%; animation-delay: 2.5s; }

@keyframes floatParticle {
    0% { transform: translateY(0); opacity: .4; }
    50% { transform: translateY(-15px); opacity: 1; }
    100% { transform: translateY(0); opacity: .4; }
}

/* =========================
   LOADER ANIMATION
========================= */

.loading-animation {
    position: relative;
    width: 160px;
    height: 160px;
    margin: auto;
}

.orbit-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255,45,85,0.25);
    animation: spin 6s linear infinite;
}

.orbit-ring:nth-child(2) {
    inset: 12px;
    animation-duration: 4s;
}

.orbit-ring:nth-child(3) {
    inset: 24px;
    animation-duration: 3s;
}

/* Inner circles */
.inner-circle {
    position: absolute;
    inset: 40px;
    border-radius: 50%;
    border: 2px dashed rgba(255,255,255,0.4);
    animation: spinReverse 2.5s linear infinite;
}

.inner-circle:nth-child(5) {
    inset: 55px;
    animation-duration: 1.8s;
}

/* Core */
.core {
    position: absolute;
    inset: 65px;
    background: radial-gradient(circle, #ff6a88, #ff2d55);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255,45,85,0.9);
    animation: pulse 1.5s ease-in-out infinite;
}

/* =========================
   TEXT
========================= */

.loader-text {
    margin-top: 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #ffffff;
}

.loader-subtext {
    margin-top: .5rem;
    font-size: .75rem;
    letter-spacing: .12em;
    color: #cbd5e1;
}


.brands-wrapper {
    display: flex;
    flex-direction: column;  /* Stack title + brands vertically */
    align-items: center;     /* Center horizontally */
    justify-content: center; /* Center vertically if needed */
    text-align: center;      /* Center text */
    padding: 80px 20px;      /* Adjust spacing */
}

.brand-boxes {
    display: flex;
    flex-wrap: wrap;         /* Wrap brands on small screens */
    justify-content: center; /* Center brand boxes horizontally */
    gap: 30px;               /* Space between brands */
    margin-top: 40px;
}

.brand-boxes .box img {
    max-width: 200px;        /* Keep it responsive */
    width: 100%;
    height: auto;
    display: block;
}

.page-loading.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;  /* THIS IS CRUCIAL */
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* =========================
   PROGRESS BAR
========================= */

.loading-progress {
    margin: 1.5rem auto 0;
    width: 160px;
    height: 3px;
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
    overflow: hidden;
}

.loading-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #ff2d55, #ff6a88, #ff2d55);
    animation: progressMove 1.4s linear infinite;
}

@keyframes progressMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* =========================
   KEYFRAMES
========================= */

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spinReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes pulse {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}



/* =========================
   WELCOME – TRUE CENTERING
========================= */

.welcome {
    min-height: 180px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8fafc;
}

.welcome .wrapper,
.welcome .boxes {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.welcome .box {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem;
    text-align: center;
}

/* Typography polish */
.welcome .heading {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #001219;
}

/* Icon polish */
.welcome img {
    width: 44px;
    height: auto;
    opacity: 0.9;
}

/* Mobile stacking (optional, cleaner) */
@media (max-width: 480px) {
    .welcome .box {
        flex-direction: column !important;
        gap: 0.5rem;
    }
}


/* =========================
   HERO – TRUE CENTERING FIX
========================= */

/* Wrapper takes full height and centers content */
.hero-wrapper {
    min-height: 100vh;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Content container */
.hero-content {
    width: 100%;
    max-width: 900px;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center;
    margin: 0 auto;
}

/* Ensure text elements center */
.hero-content span,
.hero-content h1,
.hero-content div {
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Carousel alignment */
.hero-content .carousel-box {
    margin: 1.5rem auto;
}

/* Buttons row */
.hero-actions {
    width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.8rem;
    margin-top: 3rem;
}

/* Prevent button stretch */
.hero-actions a {
    flex: 0 0 auto;
}

/* Mobile stacking */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions a {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
}


/* =========================
   FORCE CENTER HERO ACTIONS
========================= */

.hero-actions {
    width: 100%;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.8rem;
    margin-top: 3rem;
}

/* Ensure buttons don't stretch weirdly on desktop */
.hero-actions a {
    flex: 0 0 auto;
}

/* Mobile stays stacked */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions a {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
}



/* =========================
   HERO BUTTONS – PREMIUM
========================= */

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Primary CTA */
.primary-btn {
    background: linear-gradient(135deg, #ff2d55, #ff6a88);
    padding: 1.1rem 3.2rem;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 20px 45px rgba(255,45,85,0.45);
    transition: all 0.35s ease;
}

.primary-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 30px 60px rgba(255,45,85,0.6);
}

/* Secondary CTA */
.secondary-btn {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.45);
    padding: 1.1rem 3.2rem;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all 0.35s ease;
}

.secondary-btn:hover {
    background: #ffffff;
    color: #000;
    transform: translateY(-3px);
}



/* =========================
   HERO – FIXED & CENTERED
========================= */

.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Background image layer */
.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(0,0,0,0.30),   /* lighter overlay */
            rgba(0,0,0,0.5)
        ),
        url("../images/1800.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;

    /* optional: remove brightness filter */
    filter: none; /* or remove this line entirely */
}


/* Wrapper override (kills inherited flex issues) */
.hero-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Content box */
.hero-content {
    text-align: center;
    align-items: center !important;
    justify-content: center !important;
    max-width: 900px;
    margin: auto;
}

/* Tagline */
.hero-tagline {
    color: #ff2d55;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

/* Heading */
.hero .main-heading {
    color: #ffffff;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

/* Carousel spacing */
.hero .carousel-box {
    margin: 1.5rem auto;
    color: #e5e7eb;
}

/* Buttons */
.hero-actions {
    display: flex;
    gap: 1.2rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.primary-btn {
    background: linear-gradient(135deg, #ff2d55, #ff6a88);
    padding: 0.9rem 2.4rem;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255,45,85,0.45);
}

.secondary-btn {
    border: 1px solid rgba(255,255,255,0.4);
    padding: 0.9rem 2.4rem;
    border-radius: 999px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: #ffffff;
    color: #000;
}

/* =========================
   MOBILE PERFECTION
========================= */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        text-align: center;
    }
}


/* =====================
   RESET & BASE
===================== */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    max-width: 375px;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    background-color: #f8fafc;
    color: #0f172a;
}

h1,h2,h3,p,ul,ol,li,a,textarea,select,input,label,form,span,small,b,button,div {
    font-family: inherit;
    font-weight: 400;
    font-size: 1rem;
    text-decoration: none;
    list-style: none;
}
/* =====================
   LAYOUT SYSTEM
===================== */
header,header nav,header aside,header ul,header ol,header div,
main,main span,main div,main section,section div,
footer,footer div,footer aside,footer nav,
form,ul,label,ol,.section,.wrapper,.boxes,.box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

/* =====================
   NAVIGATION
===================== */
.header {
    background-color: rgba(0, 18, 25, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Logo */
.logo {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: .3px;
}

/* =====================
   MOBILE NAV
===================== */
.mobile {
    position: relative;
}

/* MENU CLOSED BY DEFAULT */
nav.mobile .list {
    display: none; /* hidden by default */
    margin: 0;
    padding: 0;
    background-color: rgba(0, 18, 25, 0.95);
    flex-direction: column; /* ensures vertical list */
}

/* MENU OPEN */
nav.mobile.open .list {
    display: flex; /* shows when hamburger clicked */
}

/* Top bar */
.mobile .top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* List items */
.mobile .list li {
    padding: 1rem;
}

/* Links */
.mobile .list a,
.desktop .list a {
    color: #e5e7eb;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: color .3s ease;
}

.mobile .list a:hover,
.desktop .list a:hover {
    color: #38bdf8;
}

/* =====================
   DESKTOP NAV
===================== */
.desktop {
    display: none;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.desktop .list {
    flex-direction: row;
    width: 320px;
    justify-content: space-between;
}

/* =====================
   RESPONSIVE SWITCH
===================== */
@media (min-width: 768px) {
    .mobile {
        display: none;
    }

    .desktop {
        display: flex;
    }
}

/* =====================
   BRANDS SECTION
===================== */
.brands-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.title-box {
    text-align: center;
}

.heading {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.paragraph {
    font-size: 1rem;
    color: #e5e7eb;
}

/* Brand boxes container */
.brand-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

/* Individual box */
.box {
    flex: 1 1 150px; /* grows, shrinks, min 150px */
    max-width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Brand image */
.brand-img {
    width: 100%;
    height: auto;
    object-fit: contain; /* prevents distortion */
    display: block;
}

/* Responsive adjustments for mobile */
@media (max-width: 767px) {
    .brand-boxes {
        gap: 1rem;
    }

    .box {
        flex: 1 1 100%; /* full width on mobile */
        max-width: 100%; /* override desktop max-width */
    }
}


/* =====================
   CONTACT SECTION
===================== */
.contact .wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Title box */
.contact .title-box {
    text-align: center;
    margin-bottom: 2rem;
}

.contact .heading {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact .paragraph {
    font-size: 1rem;
    color: #e5e7eb;
    line-height: 1.6;
}

/* Boxes container */
.contact .boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

/* Individual box */
.contact .box {
    flex: 1 1 250px; /* grows, shrinks, min width 250px */
    max-width: 400px;
    background-color: rgba(0,18,25,0.6);
    padding: 1.5rem;
    border-radius: 8px;
}

/* Box heading */
.contact .box .heading {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* Box list */
.contact .box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact .box ul li {
    font-size: 0.9rem;
    color: #e5e7eb;
    margin-bottom: 0.5rem;
}

.contact .box ul li a {
    color: #38bdf8;
    text-decoration: none;
}

.contact .box ul li a:hover {
    text-decoration: underline;
}

/* =====================
   RESPONSIVE ADJUSTMENTS
===================== */
@media (max-width: 767px) {
    .contact .boxes {
        flex-direction: column;
        gap: 1rem;
    }

    .contact .box {
        flex: 1 1 100%;
        max-width: 100%;
    }
}



/* =====================
   HERO SECTION
===================== */
.hero {
    padding: 1rem;
    height: 40vh;
    justify-content: center;
    background-image:
        linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
        url(images/pexels-marcin-dampc-1684187.jpg);
    background-position: center;
    background-size: cover;
}

.hero .box {
    align-items: center;
    text-align: center;
}

.hero span {
    color: #e5e7eb;
    margin-bottom: .6rem;
}

.hero .main-heading {
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
    max-width: 450px;
}

.hero .box a {
    margin-top: 1.5rem;
    color: #38bdf8;
    font-weight: 600;
    letter-spacing: .05em;
    transition: color .3s ease;
}

.hero .box a:hover {
    color: #ffffff;
}

/* =====================
   WELCOME
===================== */
.welcome {
    background-color: #e5e7eb;
    height: 4rem;
    align-items: center;
    justify-content: center;
}

.welcome .box {
    flex-direction: row;
    align-items: center;
}

.welcome .heading {
    font-weight: 600;
    letter-spacing: .08em;
}

/* =====================
   TITLES
===================== */
.title-box {
    align-items: center;
    padding-block: 2rem;
}

.title-box .heading {
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 3px solid #38bdf8;
    padding-bottom: .4rem;
}

.title-box .paragraph {
    font-size: .95rem;
    line-height: 1.7;
    max-width: 600px;
    text-align: center;
    color: #475569;
}

/* =====================
   TESTIMONIES
===================== */
.testimonies {
    padding: 4rem 1rem;
}

.testimonies .box {
    background: #ffffff;
    border-radius: .6rem;
    padding: 1.5rem;
    align-items: center;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
    transition: transform .3s ease;
}

.testimonies .box:hover {
    transform: translateY(-6px);
}

.testimonies img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.testimonies h3 {
    margin: .6rem 0;
    font-weight: 600;
}

/* =====================
   ABOUT / CONTACT
===================== */
.about,
.contact {
    background-color: #e5e7eb;
    padding: 4rem 1rem;
}

.about .paragraph {
    max-width: 800px;
}

/* =====================
   BRANDS
===================== */
.brands {
    padding: 4rem 1rem;
}

.brands img {
    filter: grayscale(100%);
    opacity: .7;
    transition: all .3s ease;
}

.brands img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* =====================
   FOOTER
===================== */
.footer {
    background-color: #001219;
    padding: 1.5rem;
    align-items: center;
}

.footer span {
    font-size: .85rem;
    color: #cbd5f5;
}

/* =====================
   AUTH / CARDS (SAFE)
===================== */
.auth {
    background-color: #020617;
    min-height: 100vh;
}

.auth button {
    background-color: #38bdf8;
    transition: all .3s ease;
}

.auth button:hover {
    background-color: #ffffff;
    color: #001219;
}

/* =====================
   RESPONSIVE
===================== */
main {
    padding-top: 3.4rem;
}

@media (min-width: 376px) {
    body { max-width: 100%; }
}

@media (min-width: 800px) {
    .mobile { display: none; }
    .desktop { display: flex; }
}

@media (min-width: 1000px) {
    .hero {
        height: 75vh;
    }
    
    

    .hero .main-heading {
        font-size: 2.6rem;
        max-width: 700px;
    }

    .hero span {
        font-size: 1.4rem;
    }
}
/* =========================
   PRELOADER
========================= */

#preloader {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

/* Loader content */
.loader-content {
    text-align: center;
}

.loader-content h2 {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

/* Loading line */
.loader-content span {
    display: block;
    width: 120px;
    height: 3px;
    background: linear-gradient(
        90deg,
        #ff2d55,
        #ff6a88,
        #ff2d55
    );
    background-size: 200% 100%;
    animation: loading 1.4s infinite;
    border-radius: 2px;
}

@keyframes loading {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* ------------------ Celebrity Cards Grid ------------------ */
.wrapper .boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    justify-items: center; /* Centers cards in grid */
}

/* Mobile: switch to list */
@media (max-width: 768px) {
    .wrapper .boxes {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* ------------------ Header Menu Fix ------------------ */
header nav ul {
    display: flex;
    gap: 25px;
    flex-wrap: wrap; /* Prevents items from scattering */
    justify-content: flex-end; /* Aligns menu to right */
    align-items: center;
}

@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        background: #111;
        padding: 15px;
        width: 100%;
        display: none; /* Hidden until mobile menu toggle */
    }

    header nav ul.active {
        display: flex;
    }

    header nav ul li {
        width: 100%;
    }

    header nav ul li a {
        display: block;
        width: 100%;
        padding: 10px 0;
    }
}

/* ------------------ Mobile Menu Toggle ------------------ */
#menu {
    display: none;
    cursor: pointer;
}
@media (max-width: 768px) {
    #menu { display: block; }
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #111;
    color: #fff;
    position: relative;
}

/* Logo */
header .logo {
    font-size: 24px;
    font-weight: bold;
}

/* Nav menu */
header nav ul {
    display: flex;
    gap: 25px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #ff2d55;
}

/* Hamburger button */
.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

/* Hamburger animation when active */
.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        position: absolute;
        top: 65px;
        right: 5%;
        background: #111;
        padding: 15px;
        width: 200px;
        display: none; /* hidden by default */
        border-radius: 8px;
    }

    header nav ul.show {
        display: flex;
    }

    .menu-btn {
        display: flex;
    }
}
#page-loader {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#page-loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* HEADER */
.header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
}

.header .logo a {
    font-size: 24px;
    font-weight: 700;
    color: #ff2d55;
}

/* Desktop nav */
header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

header nav ul li a {
    color: #fff;
    font-weight: 500;
    transition: 0.3s;
}

header nav ul li a:hover {
    color: #ff2d55;
}

/* Hamburger menu */
.menu-btn {
    display: none; /* hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: #ff2d55;
    border-radius: 2px;
    transition: 0.3s;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
#nav-list {
    display: flex;
    gap: 25px;
}

@media (max-width: 900px) {
    .menu-btn { display: flex; }

    #nav-list {
        position: fixed;
        top: 65px;
        right: -100%;
        width: 70%;
        height: calc(100% - 65px);
        background: #111;
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transition: right 0.3s ease;
    }

    #nav-list.show {
        right: 0;
    }

    #nav-list li a {
        color: #fff;
        font-size: 18px;
    }
}

.page-loading {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.page-loading.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}




