/* ============================================
   HHPOKER - VAPORWAVE THEME STYLES
   Purple-600 + Pink-400 + Cyan-300 on Dark
   ============================================ */

/* ===== CSS Variables ===== */
:root {
    --vp-purple: #7c3aed;
    --vp-pink: #f472b6;
    --vp-cyan: #67e8f9;
    --vp-dark: #0f0a1a;
    --vp-darker: #080412;
    --vp-glass: rgba(15, 10, 26, 0.85);
    --vp-font-cyber: 'Orbitron', sans-serif;
    --vp-font-mono: 'Share Tech Mono', monospace;
}

/* ===== Smooth Scroll ===== */
html {
    scroll-behavior: smooth;
}

/* ===== Selection ===== */
::selection {
    background: var(--vp-purple);
    color: #fff;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--vp-darker);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--vp-purple), var(--vp-pink));
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--vp-pink), var(--vp-cyan));
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
    background: transparent;
}
#navbar.scrolled {
    background: rgba(8, 4, 18, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
    box-shadow: 0 4px 30px rgba(124, 58, 237, 0.15);
}

.neon-glow-pink {
    box-shadow: 0 0 15px rgba(244, 114, 182, 0.5), 0 0 30px rgba(244, 114, 182, 0.2);
}

.vapor-logo:hover .neon-glow-pink {
    box-shadow: 0 0 20px rgba(244, 114, 182, 0.7), 0 0 40px rgba(244, 114, 182, 0.3);
    transition: box-shadow 0.3s ease;
}

/* ============================================
   HERO - RETROWAVE SUN
   ============================================ */

/* Background grid */
.vapor-grid {
    background-image:
        linear-gradient(rgba(124, 58, 237, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Retrowave Sun Container */
.retrowave-sun-container {
    position: relative;
}

/* The Sun Circle */
.retrowave-sun {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(
        to bottom,
        #ff6b9d 0%,
        #f472b6 15%,
        #e04090 35%,
        #ff8c42 65%,
        #ffb347 85%,
        #ffcc33 100%
    );
    box-shadow:
        0 0 80px rgba(244, 114, 182, 0.4),
        0 0 150px rgba(244, 114, 182, 0.2),
        0 0 250px rgba(255, 140, 66, 0.15);
    z-index: 1;
    overflow: hidden;
}

/* Sun scanlines */
.retrowave-sun-lines {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 6px,
        rgba(0, 0, 0, 0.15) 6px,
        rgba(0, 0, 0, 0.15) 8px
    );
    z-index: 2;
}

/* Horizon lines below sun */
.retrowave-horizon-lines {
    position: absolute;
    bottom: 10%;
    left: 0;
    right: 0;
    height: 200px;
    z-index: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 40px,
        rgba(244, 114, 182, 0.15) 40px,
        rgba(244, 114, 182, 0.15) 42px
    );
}

/* ============================================
   PALM TREE CSS SHAPES
   ============================================ */
.palm-tree {
    position: relative;
    z-index: 5;
    margin-bottom: 0;
}

.palm-left {
    margin-left: 5vw;
}

.palm-right {
    margin-right: 5vw;
}

/* Trunk */
.palm-trunk {
    width: 16px;
    height: 180px;
    background: linear-gradient(to right, #1a0a2e, #2d1050, #1a0a2e);
    margin: 0 auto;
    position: relative;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.3);
}

/* Fronds container */
.palm-fronds {
    position: absolute;
    bottom: 170px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
}

/* Individual fronds - using CSS triangles */
.frond {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform-origin: bottom center;
}

.frond-1 {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 90px solid #0f0a1a;
    transform: translateX(-50%) rotate(-60deg);
}

.frond-2 {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 100px solid #0f0a1a;
    transform: translateX(-50%) rotate(-30deg);
}

.frond-3 {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 95px solid #0f0a1a;
    transform: translateX(-50%) rotate(0deg);
}

.frond-4 {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 100px solid #0f0a1a;
    transform: translateX(-50%) rotate(30deg);
}

.frond-5 {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 90px solid #0f0a1a;
    transform: translateX(-50%) rotate(60deg);
}

.frond-6 {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 70px solid #0f0a1a;
    transform: translateX(-50%) rotate(180deg);
}

/* ============================================
   STATUE BUSTS
   ============================================ */
.statue-bust {
    width: 100px;
    height: 160px;
    position: relative;
}

.statue-bust::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 80px;
    background: linear-gradient(to bottom,
        rgba(200, 200, 220, 0.6) 0%,
        rgba(180, 180, 200, 0.5) 40%,
        rgba(150, 150, 170, 0.3) 100%
    );
    border-radius: 25px 25px 0 0;
    clip-path: polygon(15% 0%, 85% 0%, 95% 30%, 100% 60%, 90% 100%, 10% 100%, 0% 60%, 5% 30%);
}

.statue-bust::after {
    content: '';
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 40px;
    background: linear-gradient(to bottom,
        rgba(210, 210, 230, 0.5) 0%,
        rgba(190, 190, 210, 0.4) 100%
    );
    border-radius: 15px 15px 5px 5px;
}

/* ============================================
   SCANLINES OVERLAY
   ============================================ */
.scanlines {
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
}

/* ============================================
   GLITCH TEXT EFFECT
   ============================================ */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-text::before {
    color: #f472b6;
    z-index: -1;
    animation: glitch-before 2s infinite linear alternate-reverse;
}

.glitch-text::after {
    color: #67e8f9;
    z-index: -2;
    animation: glitch-after 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-before {
    0%, 100% { transform: none; }
    92% { transform: none; }
    93% { transform: translate(-2px, 1px); }
    94% { transform: translate(2px, -1px); }
    95% { transform: translate(-1px, 2px); }
    96% { transform: translate(1px, -1px); }
    97% { transform: none; }
}

@keyframes glitch-after {
    0%, 100% { transform: none; }
    90% { transform: none; }
    91% { transform: translate(2px, -1px); }
    92% { transform: translate(-1px, 1px); }
    93% { transform: translate(1px, -2px); }
    94% { transform: none; }
}

/* ============================================
   VAPOR TITLE GLITCH
   ============================================ */
.vapor-title span:first-child {
    text-shadow:
        2px 0 1px rgba(244, 114, 182, 0.5),
        -2px 0 1px rgba(103, 232, 249, 0.5),
        0 0 20px rgba(124, 58, 237, 0.4);
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.vapor-card {
    position: relative;
    background: rgba(15, 10, 26, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vapor-card:hover {
    transform: translateY(-4px);
}

.vapor-card-border {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    pointer-events: none;
    z-index: 0;
}

.vapor-card-border-pink {
    border: 1px solid rgba(244, 114, 182, 0.3);
    box-shadow:
        inset 0 0 30px rgba(244, 114, 182, 0.05),
        0 0 20px rgba(244, 114, 182, 0.1);
}

.vapor-card-border-cyan {
    border: 1px solid rgba(103, 232, 249, 0.3);
    box-shadow:
        inset 0 0 30px rgba(103, 232, 249, 0.05),
        0 0 20px rgba(103, 232, 249, 0.1);
}

.vapor-card-border-purple {
    border: 1px solid rgba(124, 58, 237, 0.3);
    box-shadow:
        inset 0 0 30px rgba(124, 58, 237, 0.05),
        0 0 20px rgba(124, 58, 237, 0.1);
}

.vapor-card:hover .vapor-card-border-pink {
    box-shadow:
        inset 0 0 30px rgba(244, 114, 182, 0.08),
        0 0 35px rgba(244, 114, 182, 0.2);
}

.vapor-card:hover .vapor-card-border-cyan {
    box-shadow:
        inset 0 0 30px rgba(103, 232, 249, 0.08),
        0 0 35px rgba(103, 232, 249, 0.2);
}

.vapor-card:hover .vapor-card-border-purple {
    box-shadow:
        inset 0 0 30px rgba(124, 58, 237, 0.08),
        0 0 35px rgba(124, 58, 237, 0.2);
}

/* ============================================
   STATS - STARFIELD BACKGROUND
   ============================================ */
.starfield {
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 20% 60%, rgba(244, 114, 182, 0.6), transparent),
        radial-gradient(1px 1px at 30% 80%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 40% 10%, rgba(103, 232, 249, 0.5), transparent),
        radial-gradient(1px 1px at 50% 40%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 60% 70%, rgba(244, 114, 182, 0.5), transparent),
        radial-gradient(1px 1px at 70% 30%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 80% 50%, rgba(103, 232, 249, 0.5), transparent),
        radial-gradient(1px 1px at 90% 90%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 15% 45%, rgba(244, 114, 182, 0.7), transparent),
        radial-gradient(2px 2px at 55% 15%, rgba(103, 232, 249, 0.6), transparent),
        radial-gradient(2px 2px at 85% 65%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 5% 90%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 95% 5%, rgba(244, 114, 182, 0.5), transparent),
        radial-gradient(1px 1px at 25% 35%, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(1px 1px at 45% 85%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 65% 55%, rgba(103, 232, 249, 0.45), transparent),
        radial-gradient(1px 1px at 75% 25%, rgba(255, 255, 255, 0.35), transparent);
    background-size: 100% 100%;
}

/* Stat Cards */
.vapor-stat-card {
    background: rgba(15, 10, 26, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.vapor-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(244, 114, 182, 0.4);
}

.neon-number-pink {
    background: linear-gradient(to bottom, #f472b6, #f9a8d4, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 0 20px rgba(244, 114, 182, 0.5),
        0 0 40px rgba(244, 114, 182, 0.3);
}

.neon-number-cyan {
    background: linear-gradient(to bottom, #67e8f9, #a5f3fc, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 0 20px rgba(103, 232, 249, 0.5),
        0 0 40px rgba(103, 232, 249, 0.3);
}

.neon-number-purple {
    background: linear-gradient(to bottom, #a78bfa, #c4b5fd, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 0 20px rgba(124, 58, 237, 0.5),
        0 0 40px rgba(124, 58, 237, 0.3);
}

/* ============================================
   TESTIMONIAL CARDS
   ============================================ */
.vapor-testimonial {
    background: rgba(15, 10, 26, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(103, 232, 249, 0.15);
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.vapor-testimonial:hover {
    transform: translateY(-4px);
    border-color: rgba(244, 114, 182, 0.4);
    box-shadow: 0 10px 40px rgba(244, 114, 182, 0.1);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.vapor-faq-item {
    background: rgba(15, 10, 26, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.vapor-faq-item:hover {
    border-color: rgba(244, 114, 182, 0.3);
}

.vapor-faq-item.active {
    border-color: rgba(244, 114, 182, 0.5);
    box-shadow: 0 0 30px rgba(244, 114, 182, 0.1);
}

.vapor-faq-trigger {
    cursor: pointer;
    background: transparent;
    border: none;
    color: inherit;
    transition: background 0.3s ease;
}

.vapor-faq-trigger:hover {
    background: rgba(124, 58, 237, 0.05);
}

.vapor-faq-item.active .vapor-faq-trigger i {
    transform: rotate(45deg);
}

.vapor-faq-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.vapor-faq-content.open {
    max-height: 500px;
}

/* ============================================
   CTA CARD
   ============================================ */
.cta-card {
    position: relative;
    background: linear-gradient(135deg,
        rgba(124, 58, 237, 0.3) 0%,
        rgba(15, 10, 26, 0.9) 30%,
        rgba(15, 10, 26, 0.9) 70%,
        rgba(244, 114, 182, 0.3) 100%
    );
    border: 1px solid rgba(124, 58, 237, 0.4);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow:
        0 0 50px rgba(124, 58, 237, 0.2),
        0 25px 60px rgba(0, 0, 0, 0.4);
}

.cta-card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(244, 114, 182, 0.08) 0%,
        transparent 50%
    );
    pointer-events: none;
    animation: cta-shine 6s ease-in-out infinite;
}

@keyframes cta-shine {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5%, 5%); }
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-anim {
    animation: float 4s ease-in-out infinite;
}

/* Fade in up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .retrowave-sun {
        width: 200px;
        height: 200px;
    }

    .palm-trunk {
        width: 10px;
        height: 120px;
    }

    .palm-fronds {
        bottom: 110px;
    }

    .frond-1, .frond-5 {
        border-bottom-width: 60px;
    }
    .frond-2, .frond-4 {
        border-bottom-width: 70px;
    }
    .frond-3 {
        border-bottom-width: 65px;
    }
    .frond-6 {
        border-bottom-width: 50px;
    }

    .statue-bust {
        width: 60px;
        height: 100px;
    }

    .statue-bust::before {
        width: 30px;
        height: 50px;
        border-radius: 15px 15px 0 0;
    }

    .statue-bust::after {
        width: 20px;
        height: 25px;
        bottom: 38px;
        border-radius: 10px 10px 3px 3px;
    }

    .palm-left {
        margin-left: 2vw;
    }

    .palm-right {
        margin-right: 2vw;
    }
}

@media (max-width: 480px) {
    .retrowave-sun {
        width: 150px;
        height: 150px;
    }

    .palm-trunk {
        width: 8px;
        height: 80px;
    }

    .palm-fronds {
        bottom: 72px;
    }

    .frond-1, .frond-5 {
        border-bottom-width: 45px;
        border-left-width: 5px;
        border-right-width: 5px;
    }
    .frond-2, .frond-4 {
        border-bottom-width: 55px;
        border-left-width: 5px;
        border-right-width: 5px;
    }
    .frond-3 {
        border-bottom-width: 50px;
        border-left-width: 5px;
        border-right-width: 5px;
    }
    .frond-6 {
        border-bottom-width: 35px;
        border-left-width: 4px;
        border-right-width: 4px;
    }

    .palm-left {
        margin-left: 1vw;
    }

    .palm-right {
        margin-right: 1vw;
    }
}
