:root {
    --bg-color: #03060a;
    /* Abyssal Black-Blue */
    --bg-gradient: radial-gradient(circle at 50% -20%, #0b1a2b 0%, #03060a 100%);

    --text-primary: #e6f1ff;
    /* Cold White */
    --text-secondary: #8892b0;
    /* Slate Blue-Grey */

    --accent-color: #64ffda;
    /* Icy Cyan */
    --accent-glow: rgba(100, 255, 218, 0.15);

    --card-bg: rgba(10, 25, 47, 0.6);
    /* Deep Navy Glass */
    --border-color: rgba(100, 255, 218, 0.1);

    --btn-border: rgba(100, 255, 218, 0.2);

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: var(--bg-color);
    overflow-x: hidden;
    /* Prevent horizontal scroll globally */
    width: 100vw;
    /* Lock width */
}

body {
    min-height: 100vh;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.7;
    letter-spacing: 0.5px;
    width: 100%;
}

/* SUBTLE NOISE */
#noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* TYPOGRAPHY */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 400;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: 4px;
    margin-bottom: 20px;
    line-height: 1.1;
    max-width: 100%;
    padding: 0 10px;
}

/* Stacked Hero Subtitle */
.hero-subtitle-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    /* Space between lines */
    margin-bottom: 30px;
}

.hero-subtitle-line {
    font-family: 'Inter', sans-serif;
    /* Clean sans-serif */
    font-size: 0.9rem;
    letter-spacing: 6px;
    /* Wide spacing for professional look */
    text-transform: uppercase;
    color: var(--text-secondary);
    line-height: 1.2;
    opacity: 0.9;
    text-align: center;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    /* Reduced from 60px */
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    letter-spacing: 4px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--accent-color);
    opacity: 0.3;
}

.accent {
    color: #fff;
    font-weight: 700;
}

.text-content p {
    color: var(--text-secondary);
    font-weight: 300;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 20px;
}

/* ADVANCED BUTTONS */
.support-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.advance-btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 40px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 3px;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: pointer;
    overflow: hidden;
}

.btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    fill: currentColor;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.advance-btn:hover .btn-icon {
    transform: scale(1.1);
}

.advance-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.advance-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
    letter-spacing: 4px;
}

.advance-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Donation Button Special Style */
.donation-btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.02);
}

.donation-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

/* Social Buttons Grid */
.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.social-btn {
    width: 100%;
    text-align: center;
}

/* CARDS - CLEAN & MINIMAL */
.carousel-container {
    width: 100%;
    overflow-x: auto;
    /* Allow manual scroll */
    position: relative;
    padding: 20px 0;
    /* Mask for fade effect on edges */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    /* Hide scrollbar for clean look but keep functionality */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.carousel-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.carousel-track {
    display: flex;
    flex-wrap: nowrap;
    /* Force single row */
    gap: 20px;
    width: max-content;
    /* Will be animated via JS or CSS */
    padding-left: 50%;
    /* Start somewhat centered */
    will-change: transform, scroll-position;
}

.admin-card {
    position: relative;
    width: 280px;
    flex-shrink: 0;
    /* Prevent shrinking */
    background: var(--bg-color);
    padding: 2px;
    /* For border gradient if needed */
}

@media (max-width: 600px) {
    .carousel-track {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 15px;
        /* Smaller gap */
    }

    .admin-card {
        width: 200px;
        /* Reduced further from 220px */
        min-width: 200px;
        /* Force minimum width */
    }

    .admin-content {
        padding: 15px !important;
        /* Tighter padding */
    }

    .admin-img-wrapper {
        width: 50px !important;
        height: 50px !important;
    }

    .admin-info h3 {
        font-size: 0.7rem;
        /* Smaller text */
    }

    .admin-info p {
        font-size: 0.9rem;
    }
}

.admin-content {
    background: transparent;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    transition: border-color 0.3s ease;
}

.admin-info {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    pointer-events: none;
    /* Prevent clicks on hidden text */
    text-align: center;
}

.coverflow-item.active .admin-info {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.admin-card:hover .admin-content {
    border-color: transparent;
}

.admin-img-wrapper {
    width: 350px;
    height: 500px;
    border-radius: 0;
    overflow: visible;
    margin-bottom: 0px;
    /* Reduced to pull text closer */
    border: none;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
}

@media (max-width: 600px) {
    .admin-img-wrapper {
        width: 320px !important;
        height: 460px !important;
    }
}

.admin-card:hover .admin-img-wrapper {
    transform: translateY(-10px) scale(1.05);
    filter: drop-shadow(0 20px 20px rgba(100, 255, 218, 0.2));
}

.admin-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure full character is seen */
    filter: contrast(1.1) brightness(1.1);
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
}

.admin-info {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.admin-info h3 {
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin: 5px 0 2px 0;
    /* Tight margins */
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.admin-info p {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin: 0;
    /* Remove default margin */
}

/* UTILITIES */
.fullscreen-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.content-section {
    padding: 100px 20px;
}

#about {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#about .text-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

#about p {
    text-align: center;
}

.narrow-container {
    max-width: 600px;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.stagger-container .reveal-on-scroll:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-container .reveal-on-scroll:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-container .reveal-on-scroll:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-container .reveal-on-scroll:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-container .reveal-on-scroll:nth-child(5) {
    transition-delay: 0.5s;
}

.stagger-container .reveal-on-scroll:nth-child(6) {
    transition-delay: 0.6s;
}

.stagger-container .reveal-on-scroll:nth-child(7) {
    transition-delay: 0.7s;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* SCROLL MOUSE */
.scroll-indicator {
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 10000;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 90px !important;
    }
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 1px solid var(--text-primary);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 2px;
    height: 6px;
    background: var(--text-primary);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* AUDIO TOGGLE (Minimal) */
.audio-toggle {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.audio-toggle:hover {
    opacity: 1;
}

.bar {
    width: 2px;
    height: 10px;
    background: white;
    transition: 0.2s;
}

.playing .bar {
    animation: eq 1s infinite ease-in-out;
}

@keyframes eq {

    0%,
    100% {
        height: 5px;
    }

    50% {
        height: 15px;
    }
}

.playing .bar:nth-child(2) {
    animation-delay: 0.1s;
}

#audioLabel {
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.main-logo {
    height: 100px;
    opacity: 0.9;
}

.main-footer {
    margin-top: 100px;
    /* Increased from 80px */
    padding-bottom: 60px;
    font-family: 'Inter', sans-serif;
    /* Cleaner font */
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    /* Lighter than #444 for better visibility on black */
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    line-height: 2;
    /* Better spacing between lines */
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-footer p {
    margin: 5px 0;
    transition: color 0.3s ease;
}

.main-footer p:hover {
    color: var(--accent-color);
    /* Glow on hover */
    text-shadow: 0 0 10px var(--accent-color);
}

@media (max-width: 600px) {
    .social-links {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        letter-spacing: 2px;
    }
}

/* ADMIN SOCIAL BUTTONS */
.admin-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    /* opacity: 0; Removed hiding */
    /* transform: translateY(10px); Removed offset */
    transition: all 0.3s ease;
}

.admin-card:hover .admin-socials {
    opacity: 1;
    transform: translateY(0);
}

.admin-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.admin-link:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
    transform: scale(1.1);
}

.admin-link.fb:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: white;
}

.admin-link.tiktok:hover {
    background: #ff0050;
    border-color: #ff0050;
    color: white;
}

/* SVG ICON SIZING */
.admin-link svg {
    width: 16px;
    height: 16px;
    transition: all 0.3s ease;
}

.admin-link:hover svg {
    transform: scale(1.1);
}

/* Adjust button size for icons */
.admin-link {
    width: 36px;
    height: 36px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* More subtle initial border */
    background: rgba(255, 255, 255, 0.03);
    /* Glassy feel */
}

/* Specific Brand Colors on Hover */
.admin-link.fb:hover {
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.4);
}

.admin-link.tiktok:hover {
    background: linear-gradient(45deg, #00f2ea, #ff0050);
    border-color: transparent;
    box-shadow: 0 0 15px rgba(255, 0, 80, 0.4);
}

/* GLITCH EFFECT */
.glitch-wrapper {
    position: relative;
    display: inline-block;
}

.glitch {
    position: relative;
    color: var(--text-primary);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear;
}

@keyframes glitch-anim {
    0% {
        clip: rect(44px, 9999px, 56px, 0);
        transform: skew(0.6deg);
    }

    5% {
        clip: rect(10px, 9999px, 92px, 0);
        transform: skew(0.2deg);
    }

    10% {
        clip: rect(80px, 9999px, 15px, 0);
        transform: skew(0.8deg);
    }

    15% {
        clip: rect(20px, 9999px, 60px, 0);
        transform: skew(0.1deg);
    }

    20% {
        clip: rect(0, 0, 0, 0);
        transform: skew(0);
    }

    100% {
        clip: rect(0, 0, 0, 0);
        transform: skew(0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 100px, 0);
        transform: skew(0.35deg);
    }

    5% {
        clip: rect(52px, 9999px, 74px, 0);
        transform: skew(0.51deg);
    }

    10% {
        clip: rect(79px, 9999px, 85px, 0);
        transform: skew(0.08deg);
    }

    15% {
        clip: rect(75px, 9999px, 5px, 0);
        transform: skew(0.98deg);
    }

    20% {
        clip: rect(0, 0, 0, 0);
        transform: skew(0);
    }

    100% {
        clip: rect(0, 0, 0, 0);
        transform: skew(0);
    }
}

/* SPIRIT ORBS */
.orb {
    position: fixed;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 1;
    filter: blur(2px);
    animation: floatOrb linear infinite;
}

@keyframes floatOrb {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* CINEMATIC TITLE ANIMATION */
.cinematic-title {
    animation: cinematicFade 3s ease-out forwards;
    opacity: 0;
    letter-spacing: 2px;
    /* Start slightly condensed */
}

@keyframes cinematicFade {
    0% {
        opacity: 0;
        letter-spacing: 1px;
        transform: scale(0.95);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        letter-spacing: 3px;
        /* Expand elegantly */
        transform: scale(1);
        filter: blur(0);
    }
}

/* Remove old glitch styles if present to keep file clean - overrides */
.glitch-wrapper,
.glitch {
    display: none;
}

/* ABYSSAL BLUE THEME UPDATES */

/* Apply Gradient Background */
body {
    background: var(--bg-gradient);
    background-color: var(--bg-color);
    /* Fallback */
    background-attachment: fixed;
    /* Keep gradient static on scroll */
}

/* Update Scroll Indicator */
.mouse {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

.wheel {
    background: var(--accent-color);
}

/* Update Accent Color Text */
.accent {
    color: var(--accent-color);
    text-shadow: 0 0 20px var(--accent-glow);
}

/* Update Section Lines */
.section-title::after {
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

/* Update Buttons for Cyan Theme */
.advance-btn {
    border-color: var(--btn-border);
    color: var(--text-primary);
}

.advance-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.2);
    letter-spacing: 5px;
}

.advance-btn::before {
    background: rgba(100, 255, 218, 0.1);
}

/* Admin Cards - Blue Glow */
.admin-content {
    background: rgba(17, 34, 64, 0.4);
    /* Lighter Navy */
}

.admin-card:hover .admin-content {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.1);
}

.admin-info p {
    color: var(--accent-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* Audio Bars Cyan */
.bar {
    background: var(--accent-color);
    box-shadow: 0 0 5px var(--accent-color);
}

/* BLOOD MOON THEME UPDATES */

/* Update Button Hovers for Red Theme */
.advance-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.advance-btn::before {
    background: rgba(255, 0, 0, 0.15);
}

/* Admin Cards - Red Glow */
.admin-content {
    background: rgba(40, 0, 0, 0.5);
}

.admin-card:hover .admin-content {
    border-color: var(--accent-color);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.15);
}

/* Update Specific Hover Colors to matching Red/White */
.admin-link.fb:hover {
    background: #8b0000;
    border-color: #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.admin-link.tiktok:hover {
    background: #500000;
    border-color: #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

/* Donation Button Pulse - Red */
.donation-btn {
    border-color: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

.donation-btn:hover {
    background: rgba(255, 0, 0, 0.1);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
}

/* BLOOD MOON VARIABLES - OVERRIDE */
:root {
    --bg-color: #050000;
    /* Deepest Red-Black */
    --bg-gradient: radial-gradient(circle at 50% -20%, #2b0000 0%, #050000 100%);

    --text-primary: #fff0f0;
    /* Pale Red-White */
    --text-secondary: #8a4a4a;
    /* Desaturated Red */

    --accent-color: #ff0000;
    /* Crimson Red */
    --accent-glow: rgba(255, 0, 0, 0.25);

    --card-bg: rgba(30, 5, 5, 0.6);
    /* Dark Red Glass */
    --border-color: rgba(255, 0, 0, 0.15);

    --btn-border: rgba(255, 0, 0, 0.3);
}

/* Hero Subtext */
.hero-subtext {
    color: var(--text-primary);
    font-size: 0.6rem;
    /* Smaller as requested */
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: -30px;
    /* Pull closer to the main subtitle */
    margin-bottom: 40px;
    opacity: 0.8;
    font-weight: 300;
}

/* RECTANGULAR BUTTON REDESIGN - PROFESSIONAL CLEAN */

/* CONSOLIDATED SOCIAL ROW */
.main-social-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    margin-top: 10px;
}

.social-circle-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.social-circle-btn svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.social-circle-btn:hover {
    border-color: #ff0000;
    color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

/* OLD SOCIAL STYLES REMOVED/UNUSED */
.social-links {
    display: none !important;
}

.support-wrapper {
    max-width: 400px;
    margin: 0 auto 20px auto;
    /* Same max-width as socials, centered */
    width: 100%;
}

.advance-btn {
    width: 100%;
    border-radius: 0 !important;
    /* FORCE SQUARE */
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    text-align: center;
    padding: 18px 0;
    transition: all 0.3s ease;

    /* Typography */
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    letter-spacing: 4px;
    /* Wide professional tracking */
    font-size: 0.8rem;
    text-transform: uppercase;
}

.advance-btn:hover {
    background: rgba(255, 0, 0, 0.1);
    /* Subtle red tint */
    border-color: #ff0000;
    letter-spacing: 6px;
    /* Elegant expansion */
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.1);
}

.btn-text {
    position: relative;
    z-index: 2;
}

/* Remove old glass visuals if needed */
.advance-btn::before {
    display: none;
}

/* Donation Button Highlight - But keep square shape */
.donation-btn {
    border-color: rgba(255, 0, 0, 0.5);
    background: rgba(50, 0, 0, 0.2);
    margin-bottom: 20px;
    /* Separate from socials */
}

.donation-btn:hover {
    background: rgba(100, 0, 0, 0.3);
    border-color: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

/* MOBILE TYPOGRAPHY IMPROVEMENTS */
@media (max-width: 600px) {
    .hero-subtitle-line {
        font-size: 0.8rem;
        letter-spacing: 4px;
    }

    .hero-subtitle-group {
        gap: 5px;
    }


    .hero-subtext {
        font-size: 0.7rem;
        letter-spacing: 2px;
        margin-top: -20px;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* PILL BUTTON STYLE OVERRIDE */
.advance-btn {
    border-radius: 50px !important;
    /* PILL SHAPE */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    /* Subtle depth */
}

.advance-btn:hover {
    box-shadow: 0 6px 12px rgba(255, 0, 0, 0.2);
    /* Enhance glow/depth on hover */
    transform: translateY(-2px);
    /* Slight lift like a physical button */
}

/* Ensure border remains but shape changes */
/* BACKGROUND IMAGE OVERRIDE */
:root {
    --bg-color: #050000;
    /* Fallback */
}

body {
    /* Use the user-provided image */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(20, 0, 0, 0.8)), url('assets/background.jpg') !important;
    background-color: var(--bg-color) !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
}

/* ENTER OVERLAY */
#enter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease;
}

#enter-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.enter-content {
    text-align: center;
    animation: fadeIn 2s ease;
}

.enter-logo {
    width: 120px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.5));
}

.enter-btn {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 0, 0, 0.5);
    padding: 15px 40px;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    letter-spacing: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.enter-btn:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

/* ROUNDED ADMIN CARDS - DISABLED FOR 3D PNG VIEW */
.admin-card,
.card-border {
    border-radius: 0 !important;
    overflow: visible !important;
}

.admin-card {
    position: relative;
    overflow: visible !important;
    /* Allow PNG to extend beyond bounds */
}

/* Dynamic Background Image Layer */
.card-bg {
    display: none;
    /* User requested style change - removing blurry bg */
}

.admin-card:hover .card-bg {
    filter: blur(2px) brightness(0.7);
    /* Slightly clearer/brighter on hover */
    transform: scale(1.1);
    /* Subtle zoom */
}

/* Ensure inner content respects the border */
/* Advanced Professional 3D Card - DISABLED FOR PNG VIEW */
.admin-content {
    border-radius: 0 !important;
    overflow: visible !important;
    position: relative;
    z-index: 1;
    /* Remove card backgrounds for transparent PNG */
    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    transform: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.admin-card:hover .admin-content {
    transform: none;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}



/* LIGHTNING EFFECT */
#lightning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Sheet lightning effect (illuminating from top) */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 80%);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    /* Behind flashlight (9000) but above background */
    mix-blend-mode: overlay;
    /* Blends nicely with dark theme */
    transition: opacity 0.1s ease-out;
}

.lightning-bolt {
    position: fixed;
    top: -10%;
    /* Start slightly above screen */
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    /* Wider container for branching */
    height: 120vh;
    /* Stretch beyond bottom */
    z-index: 8999;
    pointer-events: none;
    opacity: 0;
    filter: drop-shadow(0 0 10px #fff) drop-shadow(0 0 30px #00ffff);
    /* Electric blue glow */
    transition: opacity 0.05s ease-out;
}

.lightning-bolt svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.lightning-bolt path {
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: blur(0.5px);
}

/* LOW LYING FOG */
#fog-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    z-index: 5;
    /* Behind text but above background */
    pointer-events: none;
    overflow: hidden;
    mask-image: linear-gradient(to top, black 20%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, black 20%, transparent 100%);
}

.fog-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url('https://raw.githubusercontent.com/danielstuart14/CSS_FOG_ANIMATION/master/fog1.png') repeat-x;
    background-size: cover;
    opacity: 0.4;
}

.fog-layer-1 {
    animation: fogFlow 60s linear infinite;
}

.fog-layer-2 {
    animation: fogFlow 40s linear infinite reverse;
    bottom: -20px;
    opacity: 0.3;
}

@keyframes fogFlow {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* 3D COVERFLOW CAROUSEL */
.coverflow-container {
    width: 100%;
    height: 800px;
    /* Increased from 600px to prevent overlap on desktop */
    position: relative;
    perspective: 1000px;
    overflow: visible;
    margin: 0 0 80px 0;
    /* Removed top margin to close gap with title */
}

.coverflow-stage {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.coverflow-item {
    position: absolute;
    width: 350px;
    left: 50%;
    top: 40%;
    /* Moved up from 50% */
    margin-left: -175px;
    /* Restored margin centering */
    margin-top: -200px;
    /* transform: translateX(-50%); REMOVED due to conflict with active state */
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    opacity: 0.6;
    /* Dim inactive items */
}

.coverflow-item.active {
    opacity: 1;
    z-index: 100;
    transform: translateX(0) translateZ(80px) rotateY(0deg) scale(1.25);
    /* Enhanced 3D scale */
}

.coverflow-item.prev,
.coverflow-item.prev-2 {
    opacity: 1;
}

.coverflow-item.next,
.coverflow-item.next-2 {
    opacity: 1;
}

.coverflow-item.prev {
    z-index: 90;
    transform: translateX(-280px) translateZ(-80px) rotateY(40deg) scale(0.75);
}

.coverflow-item.prev-2 {
    z-index: 80;
    transform: translateX(-480px) translateZ(-200px) rotateY(50deg) scale(0.6);
    opacity: 0.5;
}

.coverflow-item.next {
    z-index: 90;
    transform: translateX(280px) translateZ(-80px) rotateY(-40deg) scale(0.75);
}

.coverflow-item.next-2 {
    z-index: 80;
    transform: translateX(480px) translateZ(-200px) rotateY(-50deg) scale(0.6);
    opacity: 0.5;
}

.coverflow-item.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(0) translateZ(-300px) scale(0.5);
}

/* Coverflow card content */
.coverflow-item .admin-content {
    width: 200px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    transition: all 0.4s ease;
}

.coverflow-item.active .admin-content {
    border-color: transparent;
    box-shadow: none;
}

/* Reflection effect */
.coverflow-item::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(5, 0, 0, 0.3), transparent);
    transform: scaleY(-1);
    opacity: 0.3;
    pointer-events: none;
    border-radius: 16px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent);
}

/* 3D COVERFLOW CAROUSEL - MOBILE REDESIGN */
@media (max-width: 768px) {
    .coverflow-container {
        height: 580px;
        margin-top: 20px;
        margin-bottom: 80px;
        perspective: 1500px;
        /* Enhanced Depth */
    }

    .coverflow-item {
        width: 260px;
        height: 400px;
        /* Taller simpler shape */
        margin-left: -130px;
        margin-top: -200px;
        border-radius: 20px;
        transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    /* Cinematic Active Card */
    .coverflow-item.active {
        transform: translateX(0) translateZ(100px) rotateY(0deg) scale(1.25);
        z-index: 100 !important;
        opacity: 1;
        box-shadow: none;
        /* No outer glow/shadow */
    }

    /* Dramatic Side Cards */
    .coverflow-item.prev {
        transform: translateX(-140px) translateZ(-100px) rotateY(45deg) scale(0.9);
        z-index: 90;
        opacity: 0.6;
        filter: brightness(0.5);
        /* Dimmer side cards */
    }

    .coverflow-item.prev-2 {
        transform: translateX(-240px) translateZ(-250px) rotateY(60deg) scale(0.8);
        z-index: 80;
        opacity: 0.3;
        filter: brightness(0.3);
    }

    .coverflow-item.next {
        transform: translateX(140px) translateZ(-100px) rotateY(-45deg) scale(0.9);
        z-index: 90;
        opacity: 0.6;
        filter: brightness(0.5);
    }

    .coverflow-item.next-2 {
        transform: translateX(240px) translateZ(-250px) rotateY(-60deg) scale(0.8);
        z-index: 80;
        opacity: 0.3;
        filter: brightness(0.3);
    }

    /* Integrated Content Card */
    .coverflow-item .admin-content {
        width: 100%;
        height: 100%;
        padding: 0;
        background: transparent;
        /* Totally transparent */
        border: none;
        /* No border */
        border-radius: 20px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .coverflow-item.active .admin-content {
        border: none;
        box-shadow: none;
    }

    .coverflow-item .admin-img-wrapper {
        width: 100% !important;
        height: 70% !important;
        border-radius: 0;
        border: none;
        margin: 0;
        overflow: hidden;
        position: relative;
    }

    .coverflow-item .admin-img-wrapper::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50%;
        background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.95));
    }

    .admin-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.05);
        /* Slight zoom */
    }

    /* Cinematic Typography - Match Desktop Style */
    .admin-info {
        height: 30%;
        background: transparent;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 10px;
        position: relative;
        z-index: 2;
        margin-top: 20px;
        /* Increased spacing from picture */
    }

    .coverflow-item .admin-info h3 {
        /* Match desktop font but keep sizing appropriate for mobile */
        font-family: var(--font-heading);
        /* Revert to desktop font var */
        font-size: 0.6rem !important;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.5);
        margin-bottom: 6px;
        /* Match standard weight */
        font-weight: 500;
        text-shadow: none;
    }

    .coverflow-item .admin-info p {
        /* Match desktop font style */
        font-family: var(--font-heading) !important;
        font-size: 0.9rem !important;
        font-weight: 400;
        /* Desktop is usually lighter/cleaner */
        color: #ff3333;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-shadow: none;
        margin: 0;
    }

    /* Social Icons small */
    .admin-socials {
        margin-top: 8px;
        transform: scale(0.85);
    }

    /* Scroll Indicator - SHOW on mobile but adjust */
    .scroll-indicator {
        display: block !important;
        bottom: 20px;
        left: 20px;
        transform: scale(0.8);
        /* Slightly smaller */
    }

    /* Floating Play Button - Removed duplicate rule */

    .pill-scroll-indicator {
        margin-top: 0;
    }

    /* Footer adjustments */
    /* Footer adjustments */
    .main-footer {
        font-size: 0.8rem !important;
        color: rgba(255, 255, 255, 0.6) !important;
        padding-bottom: 50px !important;
        /* Reduced from 300px to sit at bottom */
        margin-top: 40px;
    }
}

/* FLOATING PLAY BUTTON DEFAULT STYLES */
#floating-play-btn {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(255, 0, 0, 0.85);
    color: white;
    padding: 12px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 9999;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.6);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    animation: pulseGlow 2s infinite;
}

#floating-play-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {

    /* Floating Play Button - Reverted to bottom safe position */
    /* Floating Play Button - Bottom Right */
    #floating-play-btn {
        bottom: calc(30px + env(safe-area-inset-bottom)) !important;
        right: 20px !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
    }

    /* Audio Toggle - Moved to Top Left as requested */
    .audio-toggle {
        top: 30px !important;
        left: 20px !important;
        right: auto !important;
        transform: none !important;
        z-index: 10006 !important;
    }

    /* Scroll Indicator - Visible on mobile, top right (balanced) */
    .scroll-indicator {
        display: block !important;
        top: 30px !important;
        right: 20px !important;
        /* Moved to corner since toggle is now left */
        left: auto !important;
        bottom: auto !important;
        transform: scale(0.8);
        /* Slightly smaller on mobile */
        z-index: 10005 !important;
    }
}

/* PWA INSTALL PROMPT STYLES */
.pwa-prompt {
    display: none;
    /* Hidden by default */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    padding: 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    /* Add safe area for iPhone home bar */
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(10, 0, 0, 0.95), transparent);
    pointer-events: none;
    /* Let clicks pass through gradient area */
}

/* Hide PWA Prompt on Desktop */
@media (min-width: 769px) {
    .pwa-prompt {
        display: none !important;
    }
}

.pwa-prompt.show {
    display: flex;
    justify-content: center;
    animation: slideUp 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pwa-content {
    background: rgba(20, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 16px;
    padding: 16px;
    width: 100%;
    max-width: 400px;
    /* Max width for desktop/tablet */
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 0, 0, 0.1);
    pointer-events: auto;
}

.pwa-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.pwa-text {
    flex: 1;
}

.pwa-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #fff;
    margin: 0 0 4px 0;
    font-weight: 600;
}

.pwa-text p {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #aaa;
    margin: 0;
    line-height: 1.2;
}

.pwa-actions {
    display: flex;
    gap: 10px;
}

.pwa-btn {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-family: 'Montserrat', sans-serif;
}

.pwa-btn.dismiss {
    background: transparent;
    color: #aaa;
}

.pwa-btn.dismiss:hover {
    color: #fff;
}

.pwa-btn.install {
    background: #ff0000;
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.pwa-btn.install:hover {
    background: #cc0000;
}

/* iOS Specific Styles */
.pwa-prompt.ios .pwa-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.pwa-prompt.ios .pwa-text p {
    font-size: 0.85rem;
    margin-top: 5px;
    color: #ccc;
}

.pwa-prompt.ios svg {
    display: inline-block;
    vertical-align: text-bottom;
    margin: 0 2px;
    color: #007aff;
    /* iOS Blue */
}

.pwa-btn.full {
    width: 100%;
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}