/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* GLOBAL BACKGROUND — IMAGE + EFFECTS */
.body-gradient {
    min-height: 100vh;
    background-image: url("images/420background.jpg"); /* UPDATED */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    position: relative;
    overflow-x: hidden;
    color: #f5fdf9;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;

    z-index: 0;
}

/* PARTICLES BELOW EVERYTHING */
.body-gradient::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(0,255,170,0.25) 2px, transparent 2px),
        radial-gradient(circle, rgba(0,224,255,0.25) 2px, transparent 2px);
    background-size: 180px 180px, 240px 240px;
    background-position: 0 0, 60px 90px;
    animation: floatParticles 18s linear infinite;
    opacity: 0.35;
    z-index: -2;
}

/* SHIMMER BELOW EVERYTHING */
.body-gradient::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        135deg,
        rgba(0,255,170,0.08),
        rgba(0,224,255,0.08),
        rgba(0,255,170,0.08)
    );
    mix-blend-mode: overlay;
    animation: shimmerMove 22s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes floatParticles {
    0% { transform: translateY(0); }
    100% { transform: translateY(-180px); }
}

@keyframes shimmerMove {
    0% { transform: translate3d(-20px, -20px, 0); }
    100% { transform: translate3d(20px, 20px, 0); }
}

/* PAGE WRAP ABOVE BACKGROUND */
.page-shell {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 3rem;
}

/* GLASS + GLOW */
.glass-shell {
    background: rgba(8, 16, 24, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(120, 255, 200, 0.18);
    backdrop-filter: blur(18px);
}

.glass-strong {
    background: rgba(10, 20, 28, 0.78);
    border-radius: 18px;
    border: 1px solid rgba(120, 255, 200, 0.2);
    backdrop-filter: blur(20px);
    transition: backdrop-filter 0.4s ease, background 0.4s ease;
    position: relative;
    z-index: 2;
}

.glow-soft {
    box-shadow:
        0 0 8px rgba(0, 255, 170, 0.18),
        inset 0 0 8px rgba(0, 255, 170, 0.12);
}

.hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 16px rgba(0, 255, 170, 0.35),
        inset 0 0 10px rgba(0, 255, 170, 0.2);
}

/* GLASS DEPTH ON SCROLL */
.scrolled .glass-strong {
    backdrop-filter: blur(26px);
    background: rgba(10, 20, 28, 0.82);
}

/* HEADER */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.5rem;
    margin-bottom: 2.5rem;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

/* ORBIT RING */
.logo-orbit {
    width: 43px;
    height: 43px;
    border-radius: 999px;
    border: 1px solid rgba(120, 255, 200, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent !important;
    backdrop-filter: none !important;

    box-shadow:
        inset 0 0 3px rgba(0, 255, 170, 0.25),
        0 0 14px rgba(0, 255, 170, 0.55),
        0 0 22px rgba(0, 255, 170, 0.35) !important;
}

/* ⭐ PROFILE IMAGE — restored, no clipping */
.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 999px;
    object-fit: cover;
}

/* SECURITY LOGO FIX */
.security-logo {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    object-fit: cover;
}

/* GRID + CARD SPACING FIXED */
.grid-wide,
.split-2 {
    display: grid;
    gap: 2rem;
}

/* HOMEPAGE FIX — HERO BUTTONS */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.8rem;
}

.hero-actions .btn {
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

/* HOMEPAGE FIX — CHIPS */
.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.9rem;
}

.chip {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
}

/* HOMEPAGE FIX — RIGHT SIDE BOXES */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.hero-card {
    padding: 1.4rem 1.6rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
}

.stat-card {
    padding: 1.2rem 1.4rem;
}

/* MERCH GRID FIX */
.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

/* ⭐ MERCH IMAGE + CARD SIZE FIX */
.merch-card {
    min-height: 420px;
}

.merch-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 1rem;
}

/* GALLERY GRID FIX */
.gallery-slot {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    padding: 1.6rem;
}

/* ⭐ FIX: gap between last gallery row and note card */
.grid-wide + .note-card {
    margin-top: 2.5rem;
}

/* CARD BLOCK — RESTORED PADDING */
.card-block {
    padding: 1.8rem 2rem;
    border-radius: 18px;
}

/* TEXT INSIDE CARDS FIXED */
.card-block p,
.card-block h2,
.card-block h3,
.card-block ul {
    position: relative;
    z-index: 3;
}

/* HERO */
.hero-strip {
    margin-bottom: 2.5rem;
}

.hero-bg-image {
    height: 420px;
    border-radius: 22px;
    background: transparent;
}

.hero-inner {
    margin-top: -320px;
    padding: 1.8rem 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1.1fr;
    gap: 2rem;
}

/* ⭐ FIX: GAP BETWEEN STACKED SECTIONS */
.section-block {
    margin-bottom: 2.5rem;
}

/* ⭐ FIX: GAP ABOVE FOOTER */
.site-footer {
    margin-top: 2.5rem;
}

/* Reduce header gap ONLY on homepage */
body.index-page .site-header {
    margin-bottom: 0.1rem; /* was 2.5rem */
}

/* Homepage button text color fix */
.hero-actions .btn {
    color: #9affc8; /* soft green-white */
}

/* Gallery images — nearly‑portrait clean fit */
.gallery-image {
    width: 100%;
    aspect-ratio: 4 / 5; /* Option C */
    object-fit: cover;
    border-radius: 18px;
    display: block;
}
