/* ===========================
   GLOBAL
=========================== */

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 50px;
    /* space for fixed nav */
    min-height: 100vh;
    color: #fff;
    background: linear-gradient(135deg, #1f1f3f, #2d1a4f, #40007d);
    background-size: cover;
    position: relative;
    overflow-x: hidden;
}

/* ===========================
   BACKGROUND LAYERS
=========================== */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 25% 25%, rgba(255, 79, 140, 0.12), transparent 60%),
        radial-gradient(circle at 75% 60%, rgba(155, 77, 255, 0.1), transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(0, 255, 255, 0.08), transparent 50%);
    pointer-events: none;
    z-index: -1;
    mix-blend-mode: overlay;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top,
            rgba(155, 77, 255, 0.15),
            rgba(20, 20, 40, 0.85));
    backdrop-filter: blur(16px);
    z-index: -1;
}

section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 32px;
}

/* ===========================
   SECTION DIVIDERS
=========================== */
.section-divider {
    width: 80%;
    height: 2px;
    margin: 80px auto;
    background: linear-gradient(90deg, rgba(0,255,255,0.2), rgba(155,77,255,0.4), rgba(0,255,255,0.2));
    border-radius: 2px;
    box-shadow:
        0 0 8px rgba(0, 255, 255, 0.2),
        0 0 20px rgba(155, 77, 255, 0.2),
        0 0 40px rgba(0, 255, 255, 0.15);
    animation: glowPulse 2.5s infinite alternate;
}

@keyframes glowPulse {
    0% { opacity: 0.6; transform: scaleX(1); }
    50% { opacity: 0.9; transform: scaleX(1.02); }
    100% { opacity: 0.7; transform: scaleX(1); }
}

/* ===========================
   HERO
=========================== */

.logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px; 
}

.logo-area img {
    width: clamp(300px, 50vw, 600px);
    height: auto;
    margin-top: 100px;
    margin-bottom: 100px;

    /* Glow / shadow */
    filter:
        drop-shadow(0 20px 60px rgba(0,0,0,0.6))
        drop-shadow(0 0 40px rgba(155,77,255,0.35));

    /* Add soft scale + rotate on reveal */
    transform: translateY(50px) scale(0.95);
    opacity: 0;
    transition: all 1.0s ease-in-out, transform 1.0s ease-in-out, filter 1.0s ease-in-out;
}

.logo-area.visible img {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 1;

    filter:
        drop-shadow(0 30px 80px rgba(0,0,0,0.7))
        drop-shadow(0 0 60px rgba(0,255,255,0.45));
}

@media (max-height: 500px) and (orientation: landscape) {
    .logo-area {
        padding: clamp(20px, 4vw, 60px);
    }

    .logo-area img {
        width: clamp(140px, 40vw, 360px);
        margin-top: 10px;
    }
}

.hero {
    display: flex;
    flex-direction: column;
    /* stack vertically */
    justify-content: flex-start;
    /* align top inside section */
    align-items: center;
    /* horizontal center */
    text-align: center;
    gap: 0.2em;
    padding-top: 1em;
}

.hero h2.thin {
    font-size: clamp(3.2rem, 6vw, 6rem);
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1.1;
    color: #ddd;

    text-shadow:
        0 0 20px rgba(155, 77, 255, 0.3),
        0 0 40px rgba(155, 77, 255, 0.2);
}

.hero h1 {
    font-size: clamp(5.6rem, 9vw, 8.6rem);
    font-weight: 900;
    letter-spacing: 0.2em;
    line-height: 1.02;
    text-transform: uppercase;
}

.neon {
    color: #0ff;
    text-shadow:
        0 0 4px #0ff,
        0 0 8px #0ff,
        0 0 16px #0ff,
        0 0 32px #0ff,
        0 0 64px #0ff;

    animation: neon-flicker 2s infinite alternate;
}

/* Random flicker + soft pulse */
@keyframes neon-flicker {

    0%,
    10%,
    20%,
    30%,
    50%,
    60%,
    70%,
    90%,
    100% {
        opacity: 1;
        text-shadow:
            0 0 4px #0ff,
            0 0 8px #0ff,
            0 0 16px #0ff,
            0 0 32px #0ff,
            0 0 64px #0ff;
    }

    5%,
    15%,
    25%,
    35%,
    55%,
    65%,
    75%,
    95% {
        opacity: 0.7;
        text-shadow:
            0 0 2px #0ff,
            0 0 4px #0ff,
            0 0 8px #0ff,
            0 0 16px #0ff,
            0 0 32px #0ff;
    }

    40%,
    80% {
        opacity: 0.85;
        text-shadow:
            0 0 3px #0ff,
            0 0 6px #0ff,
            0 0 12px #0ff,
            0 0 24px #0ff,
            0 0 48px #0ff;
    }
}

/* ===========================
   SCROLL REVEAL
=========================== */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    filter: brightness(0.75);
    transition: all 0.9s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    filter: brightness(1);
}

/* ===========================
   MEDIA
=========================== */

.media {
    text-align: center;
}

.media h2 {
    position: relative;
    z-index: 2;

    font-size: 3.0rem;
    margin-top: 60px;
    margin-bottom: 36px;

    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    text-shadow:
        0 0 4px rgb(231, 231, 231),
        0 0 8px rgb(255, 255, 255),
        0 0 16px #0ff,
        0 0 32px #0ff,
        0 0 64px #0ff;
}

.media img {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 1040px;
    border-radius: 36px;

    box-shadow:
        0 110px 140px rgba(0, 0, 0, 0.95),
        0 60px 100px rgba(0, 220, 255, 0.4),
        0 80px 140px rgba(0, 255, 200, 0.25);
}

/* ===========================
   PROFILE + CONTACT (MERGED)
=========================== */

.profile-contact {
    margin-top: 220px;
    margin-bottom: 160px;
    width: 100%;
}

/* ONE seamless glass panel */
.profile-contact-panel {
    width: 100%;
    max-width: 1200px;
    /* same as media sections */
    margin: 0 auto;

    padding: 80px;
    border-radius: 36px;

    background: rgba(30, 30, 50, 0.55);
    backdrop-filter: blur(18px);

    box-shadow:
        0 80px 180px rgba(0, 0, 0, 0.95),
        0 0 120px rgba(155, 77, 255, 0.25);
}

/* ===========================
   PROFILE (inside panel)
=========================== */

.profile-card {
    display: flex;
    gap: 80px;
    align-items: center;
    justify-content: center;
}

/* Photo */
.profile-photo {
    padding: 8px;
    border-radius: 24px;
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.02));
}

.profile-photo img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;

    box-shadow:
        0 40px 120px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(255, 255, 255, 0.2);
}

/* Text block balanced to photo */
.profile-text {
    min-height: 300px;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 22px;
}

/* NAME (keep dominant) */
.profile-name {
    font-size: 2.8rem;
    font-weight: 900;
    color: #ff9f1a;
    line-height: 1.1;

    text-shadow:
        0 0 6px #ff9f1a,
        0 0 18px rgba(255, 159, 26, 0.6);
}

/* LINKEDIN BUTTON */
.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.04em;

    transition: 0.3s ease;
}

.linkedin-brand {
    font-weight: 800;
    color: #ffffff;
}

.linkedin-in {
    background: #0a66c2;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 2px;
    font-size: 0.9em;
}

.linkedin-view {
    color: #0ff;
}

.linkedin-btn:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

/* UNIFIED TEXT SIZE SYSTEM */
.profile-description,
.profile-list li,
.profile-cta {
    margin-top: 40px;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.5;
    max-width: 350px;
    text-align: center;
}

/* Description slightly softer */
.profile-description {
    opacity: 0.9;
}

/* Clean list styling */
.profile-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-list li {
    position: relative;
    padding-left: 20px;
}

.profile-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0ff;
}

/* CTA slightly stronger */
.profile-cta {
    font-weight: 700;
    margin-top: 10px;
}

/* ===========================
   CONTACT (inside same panel)
=========================== */

.contact-block {
    margin-top: 100px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);

    text-align: center;
    /* center intro text */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* center form block */
}

.contact-intro {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 40px;
}

/* Form */
.contact-block form {
    width: 100%;
    max-width: 600px;
    /* narrower & centered */
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-block input,
.contact-block textarea {
    background: rgba(60, 60, 100, 0.65);
    border: none;
    border-radius: 16px;
    padding: 18px 22px;
    font-size: 1.1rem;
    color: #fff;
    width: 100%;
}

/* ===========================
   MOBILE
=========================== */

@media (max-width: 768px) {
    section {
        padding: 100px 24px;
    }

    .hero h1 {
        letter-spacing: 0.12em;
    }

    .profile-text {
        font-size: 1.6rem;
    }
}


/* ===========================
   AGE VERIFICATION POPUP
=========================== */

#age-popup {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;

    backdrop-filter: blur(22px);
    overflow: hidden;
}

/* ---------- BACKGROUND LOGO ---------- */

#age-popup::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* ===========================
   GLASS PANEL
=========================== */

#age-popup .popup-panel {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: clamp(24px, 3vh, 40px);

    background: radial-gradient(circle at 25% 25%, rgb(0, 183, 255), transparent 60%),
        radial-gradient(circle at 75% 75%, rgb(174, 0, 255), transparent 60%);

    border-radius: 32px;

    padding: clamp(32px, 4vw, 64px);

    width: min(60vw, 900px);
    max-height: 90vh;

    border: 4px solid rgba(0, 255, 255, 0.5);

    overflow: hidden;
}

/* ===========================
   TEXT
=========================== */

.popup-header {
    text-align: center;
}

.popup-header h2 {
    margin: 0;

    font-weight: 800;
    font-size: clamp(4rem, 4vw, 6.0rem);

    text-shadow:
        0 0 4px rgb(231, 231, 231),
        0 0 8px rgb(255, 255, 255),
        0 0 16px #0ff,
        0 0 32px #0ff,
        0 0 64px #0ff;
}

.popup-header p {
    margin-top: 40px;
    margin-bottom: 80px;
    color: #ffffff;
    line-height: 1.5;
    font-weight: 800;
    font-size: clamp(2rem, 1.4vw, 4.0rem);
}

/* ===========================
   BUTTONS
=========================== */

.age-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.age-btn {
    flex: 1 1 160px;

    padding: 20px 34px;
    border-radius: 999px;
    border: none;

    font-weight: 700;
    letter-spacing: .05em;
    font-size: 1.5rem;

    cursor: pointer;
    transition: all .25s ease;
}

/* YES button */

.age-yes {
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: #fff;

    background: linear-gradient(135deg, #ff9f1a, #ff4f6d);
    transition: transform 0.25s ease, box-shadow 0.25s ease;

    animation: pulseGlow 1s infinite alternate;
}

@keyframes pulseGlow {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

/* NO button */

.age-no {
    background: linear-gradient(135deg, #555, #333);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .6);
}

.age-btn:hover {
    transform: translateY(-2px) scale(1.05);
}

/* ===========================
   PORTRAIT BOOST
=========================== */

@media (max-width: 768px) {

    .popup-header h2 {
        font-size: clamp(4rem, 8vw, 6rem);
    }

    .popup-header p {
        font-size: clamp(3rem, 4.5vw, 6rem);
    }
}

/* ===========================
   LOW HEIGHT LANDSCAPE FIX
=========================== */

@media (max-height: 600px) {

    .popup-panel {
        padding: 24px 40px;
        gap: 20px;
        width: min(95vw, 800px);
    }

    .popup-header h2 {
        font-size: clamp(1rem, 10vh, 4rem);
    }

    .popup-header p {
        font-size: clamp(.9rem, 5vh, 2rem);
        margin-top: 20px;
        margin-bottom: 20px;
    }
}