*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    display: block;
}

:root {
    --bg-primary: #05060f;
    --bg-secondary: #0d0f24;
    --bg-card: #12142e;
    --text-primary: #e8ecff;
    --text-secondary: #8b93b8;
    --accent: #8a7dff;
    --accent-glow: #b3a8ff;
    --accent2: #4cc9f0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(ellipse at 15% 10%, rgba(138, 125, 255, 0.12), transparent 50%),
        radial-gradient(ellipse at 85% 80%, rgba(76, 201, 240, 0.08), transparent 50%),
        radial-gradient(ellipse at 50% 110%, rgba(138, 125, 255, 0.06), transparent 60%),
        var(--bg-primary);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    opacity: 0;
    animation: pageLoad 1.2s ease forwards;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overscroll-behavior-y: none;
}

@keyframes pageLoad {
    from { opacity: 0; }
    to { opacity: 1; }
}

h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-glow);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3rem;
    padding-left: max(3rem, env(safe-area-inset-left));
    padding-right: max(3rem, env(safe-area-inset-right));
    z-index: 1000;
    background: rgba(5, 6, 15, 0.85);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid rgba(138, 125, 255, 0.15);
    transition: padding 0.4s ease, background 0.4s ease;
    animation: slideDown 0.8s ease;
}

.navbar.scrolled {
    padding: 0.8rem 3rem;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 2px;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 15px var(--accent-glow);
    cursor: pointer;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transition: width 0.4s ease, left 0.4s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
    left: 0;
}

.nav-links a:hover {
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s ease;
}

/* ============================================
   GLOBAL STARS SYSTEM (TWINKLES WORLDWIDE)
   ============================================ */
.starfield {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    z-index: -2; /* Sits behind everything */
    pointer-events: none;
    overflow: hidden;
}

.stars, .stars2, .stars3 {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    will-change: transform;
}

.stars {
    background-image:
        radial-gradient(1px 1px at 12% 18%, #ffffff, transparent),
        radial-gradient(1.5px 1.5px at 32% 64%, #ffffff, transparent),
        radial-gradient(1px 1px at 54% 12%, #ffffff, transparent),
        radial-gradient(2px 2px at 72% 78%, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 88% 38%, #ffffff, transparent),
        radial-gradient(1.5px 1.5px at 14% 82%, #ffffff, transparent),
        radial-gradient(1px 1px at 82% 14%, #ffffff, transparent),
        radial-gradient(1.5px 1.5px at 45% 45%, #ffffff, transparent);
    animation: twinkle 3s ease-in-out infinite alternate, drift 150s linear infinite;
}

.stars2 {
    background-image:
        radial-gradient(1.5px 1.5px at 24% 28%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 62% 68%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 82% 22%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1.5px 1.5px at 42% 88%, rgba(138, 125, 255, 0.7), transparent); /* light indigo star */
    animation: twinkle 4.5s ease-in-out infinite alternate-reverse, drift 200s linear infinite reverse;
}

.stars3 {
    background-image:
        radial-gradient(2.5px 2.5px at 38% 24%, rgba(138, 125, 255,0.65), transparent),
        radial-gradient(2px 2px at 78% 52%, rgba(255,110,180,0.55), transparent),
        radial-gradient(1px 1px at 8% 42%, #ffffff, transparent);
    animation: twinkle 6s ease-in-out infinite alternate, drift 280s linear infinite;
}

.shooting-star {
    position: absolute;
    top: 15%;
    left: -10%;
    width: 160px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9));
    animation: shoot 8s linear infinite;
    opacity: 0;
}

.shooting-star.s2 {
    top: 40%;
    animation-delay: 4s;
    width: 110px;
}

@keyframes shoot {
    0% { transform: rotate(18deg) translateX(0); opacity: 0; }
    3% { opacity: 1; }
    12% { transform: rotate(18deg) translateX(140vw); opacity: 0; }
    100% { opacity: 0; }
}

@keyframes twinkle {
    0%, 100% { 
        opacity: 0.25; 
        transform: scale(0.97);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.03);
    }
}

@keyframes drift {
    from { transform: translate(0, 0); }
    to { transform: translate(-30px, 15px); }
}

/* HERO SECTION BG */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 60%, rgba(138, 125, 255, 0.18) 0%, rgba(76, 201, 240, 0.05) 40%, transparent 75%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1.5rem;
    animation: heroFadeUp 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.glow {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 30px rgba(138, 125, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 50px rgba(138, 125, 255, 0.6);
    color: white;
    letter-spacing: 3px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInDelayed 2s ease 1.5s both;
}

@keyframes fadeInDelayed {
    from { opacity: 0; }
    to { opacity: 1; }
}

.arrow {
    width: 18px;
    height: 18px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(45deg);
    margin: 0.5rem auto;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(8px); }
}

/* SECTIONS */
.section-title {
    text-align: center;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* FEATURED */
.featured {
    padding: 6rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.featured-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: block;
    border: 1px solid rgba(138, 125, 255, 0.2);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), 
                border-color 0.4s ease,
                box-shadow 0.4s ease;
}

.featured-card:hover {
    transform: scale(1.03) translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(138, 125, 255, 0.25);
}

.featured-card.large {
    grid-row: 1 / 3;
}

.card-image {
    width: 100%;
    height: 100%;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-card:hover .card-image {
    transform: scale(1.08);
}

.featured-card.large .card-image {
    min-height: 580px;
}

/* JOURNEY */
.journey {
    padding: 6rem 3rem;
    background: rgba(5, 6, 15, 0.6);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.journey::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(138,125,255,0.1) 0%, transparent 60%);
    animation: slowRotate 40s linear infinite;
    pointer-events: none;
}

@keyframes slowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.timeline {
    max-width: 650px;
    margin: 3rem auto 0;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(var(--accent), var(--accent2));
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -36px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent);
    animation: pulseDot 2.5s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% {
        box-shadow: 0 0 10px var(--accent);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 25px var(--accent), 0 0 40px rgba(138, 125, 255,0.4);
        transform: scale(1.15);
    }
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin: 0.3rem 0 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* GEAR */
.gear {
    padding: 6rem 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.gear-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gear-item {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(18, 20, 46, 0.55);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(138, 125, 255, 0.18);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.gear-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.gear-item:hover::before {
    transform: scaleX(1);
}

.gear-item:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(138, 125, 255, 0.2);
}

.gear-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.gear-item:hover .gear-icon {
    transform: scale(1.2) rotate(-8deg);
}

.gear-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.gear-item p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* PAGE HERO */
.page-hero {
    padding: 10rem 3rem 3rem;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(138, 125, 255, 0.15) 0%, var(--bg-primary) 70%);
    animation: heroFadeUp 1.2s ease both;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 0.8rem;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 300;
}

/* GALLERY */
.gallery-section {
    padding: 2rem 3rem 6rem;
    max-width: 1300px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    background: rgba(18, 20, 46, 0.5);
    border: 1px solid rgba(138, 125, 255, 0.18);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), 
                border-color 0.4s ease, 
                box-shadow 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(138, 125, 255, 0.35);
    z-index: 2;
}

.gallery-item::after {
    content: '✦ View';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.8rem 1rem 0.8rem;
    background: linear-gradient(transparent, rgba(5, 6, 15, 0.9));
    color: var(--accent-glow);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.4s ease;
    filter: brightness(0.95);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 92%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 60px rgba(138, 125, 255, 0.25);
    cursor: default;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.5s ease;
}

.lightbox.active img {
    transform: scale(1);
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease, color 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.2);
    color: var(--accent-glow);
}

/* ABOUT */
.about-section {
    padding: 4rem 3rem 6rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: center;
}

.about-photo img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid var(--accent);
    box-shadow: 0 0 25px rgba(138, 125, 255, 0.3);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s ease;
}

.about-photo img:hover {
    transform: scale(1.03) rotate(-1deg);
    box-shadow: 0 0 50px rgba(138, 125, 255, 0.5);
}

.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.about-text h3 {
    font-size: 1.1rem;
    margin: 2rem 0 1rem;
    color: var(--accent);
}

.social-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.social-btn {
    display: inline-block;
    padding: 0.75rem 1.4rem;
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transition: left 0.4s ease;
    z-index: -1;
}

.social-btn:hover::before {
    left: 0;
}

.social-btn:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(138, 125, 255, 0.4);
    border-color: transparent;
}

/* CONTACT */
.contact-section {
    padding: 2rem 3rem 6rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(18, 20, 46, 0.55);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(138, 125, 255, 0.18);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-glow);
}

.contact-form input,
.contact-form textarea {
    background: rgba(5, 6, 15, 0.8);
    border: 1px solid rgba(138, 125, 255, 0.25);
    border-radius: 8px;
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(138, 125, 255, 0.3);
}

.contact-form button {
    border: none;
    cursor: pointer;
    margin-top: 0.5rem;
    align-self: center;
}

/* FOOTER */
.footer {
    background: rgba(13, 15, 36, 0.55);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-top: 1px solid rgba(138, 125, 255, 0.12);
    padding: 3rem 1.5rem;
    text-align: center;
}

.footer-brand {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    transition: text-shadow 0.4s ease;
}

.footer-brand:hover {
    text-shadow: 0 0 20px var(--accent-glow);
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-links {
    margin: 1.2rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.copyright {
    margin-top: 1.5rem;
    font-size: 0.8rem !important;
}

/* BLACK HOLE SPLASH SCREEN */
.splash {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: opacity 0.8s ease;
}

.splash.hidden {
    opacity: 0;
    pointer-events: none;
}

.blackhole {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #000;
    box-shadow:
        0 0 40px 10px rgba(138, 125, 255, 0.6),
        0 0 90px 30px rgba(76, 201, 240, 0.25),
        inset 0 0 30px rgba(0, 0, 0, 1);
    border: 3px solid rgba(179, 168, 255, 0.8);
    animation: bhPulse 1.8s ease-in-out infinite;
}

@keyframes bhPulse {
    0%, 100% { transform: scale(1) rotate(0deg); box-shadow: 0 0 40px 10px rgba(138,125,255,0.6), 0 0 90px 30px rgba(76,201,240,0.25); }
    50% { transform: scale(1.08) rotate(8deg); box-shadow: 0 0 60px 16px rgba(138,125,255,0.9), 0 0 120px 40px rgba(76,201,240,0.35); }
}

.splash-text {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 4px;
    color: var(--accent-glow);
    font-size: 0.9rem;
    text-transform: uppercase;
    animation: splashBlink 1.2s ease-in-out infinite alternate;
}

@keyframes splashBlink {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* SCROLL PROGRESS BAR */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    box-shadow: 0 0 10px var(--accent-glow);
    z-index: 3000;
    transition: width 0.1s linear;
}

/* SCROLL REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered gallery delays */
.gallery-item.reveal:nth-child(1) { transition-delay: 0.05s; }
.gallery-item.reveal:nth-child(2) { transition-delay: 0.1s; }
.gallery-item.reveal:nth-child(3) { transition-delay: 0.15s; }
.gallery-item.reveal:nth-child(4) { transition-delay: 0.2s; }
.gallery-item.reveal:nth-child(5) { transition-delay: 0.25s; }
.gallery-item.reveal:nth-child(6) { transition-delay: 0.3s; }
.gallery-item.reveal:nth-child(7) { transition-delay: 0.1s; }
.gallery-item.reveal:nth-child(8) { transition-delay: 0.15s; }
.gallery-item.reveal:nth-child(9) { transition-delay: 0.2s; }

/* Staggered gear delays */
.gear-item.reveal:nth-child(1) { transition-delay: 0.1s; }
.gear-item.reveal:nth-child(2) { transition-delay: 0.25s; }
.gear-item.reveal:nth-child(3) { transition-delay: 0.4s; }

/* Smooth scrolling custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--accent), var(--accent2));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-glow);
}

/* ACCESSIBILITY: reduce motion on iOS/Android preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar { padding: 1rem 1.5rem; }
    .navbar.scrolled { padding: 0.7rem 1.5rem; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: rgba(5, 6, 15, 0.98);
        flex-direction: column;
        padding: 2rem; gap: 1.5rem; text-align: center;
        animation: slideDown 0.4s ease;
    }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; }
    .featured-grid { grid-template-columns: 1fr; }
    .featured-card.large { grid-row: auto; }
    .featured-card.large .card-image { min-height: 300px; }
    .about-content { grid-template-columns: 1fr; text-align: center; }
    .about-photo img { max-width: 250px; margin: 0 auto; }
    .social-buttons { justify-content: center; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.8rem; }
    .featured, .journey, .gear, .gallery-section, .about-section, .contact-section {
        padding-left: max(1.5rem, env(safe-area-inset-left));
        padding-right: max(1.5rem, env(safe-area-inset-right));
    }
    .navbar { padding-left: max(1.5rem, env(safe-area-inset-left)); padding-right: max(1.5rem, env(safe-area-inset-right)); }
    .navbar.scrolled { padding-left: max(1.5rem, env(safe-area-inset-left)); padding-right: max(1.5rem, env(safe-area-inset-right)); }
    .hamburger { padding: 0.5rem; }
    .gallery-item, .featured-card, .gear-item { cursor: pointer; }
}
