/* === GLOBAL === */
body {
    margin: 0;
    background-color: #050505;
    color: #f5f5f5;
    font-family: 'Poppins', 'Arial', sans-serif;
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
}

/* === PARTICLE LAYER FIX === */
#particleCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 9998 !important;
    pointer-events: none;
    background: radial-gradient(circle at 50% 40%, rgba(255, 40, 40, 0.08), transparent 70%);
}

/* make sure your content sits above the particles */
.hero-content,
.content-section,
.cta-section,
.footer {
    position: relative;
    z-index: 1001 !important;
}

/* optional: background sections lower in the stack */
.hero,
.merch-bg,
.cta-section {
    position: relative;
    z-index: 500;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    background:
        radial-gradient(circle at 50% 20%, rgba(120, 0, 0, 0.35) 0%, transparent 35%),
        linear-gradient(180deg, #120000 0%, #050505 45%, #000000 100%);
}

/* Floating glowing orbs */
.floating-lights::before,
.floating-lights::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 35, 35, 0.22) 0%, transparent 70%);
    filter: blur(100px);
    animation: floatlight 12s ease-in-out infinite alternate;
}
.floating-lights::before {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}
.floating-lights::after {
    bottom: 10%;
    right: 25%;
    animation-delay: 5s;
}

@keyframes floatlight {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-60px) scale(1.2);
        opacity: 0.35;
    }
}

/* HERO CONTENT */
.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeUp 1.3s ease-out forwards;
    transition: transform 0.3s ease-out;
}

.glow-text {
    font-size: 72px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
    text-shadow:
        0 0 12px rgba(255, 40, 40, 0.75),
        0 0 26px rgba(255, 0, 0, 0.55),
        0 0 50px rgba(120, 0, 0, 0.45);
    animation: pulseGlow 4s infinite;
}
.glow-text span {
    color: #ff2c2c;
}

.subtext {
    font-size: 22px;
    color: #c9c9c9;
    margin: 20px 0 40px;
}

/* Buttons */
.hero-btn {
    background: linear-gradient(135deg, #8b0000, #ff2c2c);
    border: 1px solid rgba(255, 80, 80, 0.4);
    padding: 16px 40px;
    border-radius: 50px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow:
        0 0 18px rgba(255, 0, 0, 0.28),
        0 0 40px rgba(120, 0, 0, 0.2);
}
.hero-btn:hover {
    transform: scale(1.08);
    background: linear-gradient(135deg, #a40000, #ff4a4a);
    box-shadow:
        0 0 28px rgba(255, 40, 40, 0.45),
        0 0 55px rgba(160, 0, 0, 0.35);
}

/* === CONTENT SECTIONS === */
.content-section {
    padding: 140px 20px;
    text-align: center;
    position: relative;
    background:
        linear-gradient(180deg, #070707 0%, #0b0b0b 100%);
}

.section-title {
    font-size: 42px;
    color: #ff2c2c;
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(255, 44, 44, 0.35);
}
.section-desc {
    color: #cfcfcf;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
}

.video-container {
    position: relative;
    z-index: 10000;
}

.video-container iframe {
    width: 90%;
    max-width: 600px;
    height: 320px;
    border: 1px solid rgba(255, 60, 60, 0.25);
    border-radius: 14px;
    box-shadow:
        0 0 22px rgba(255, 0, 0, 0.18),
        0 0 45px rgba(100, 0, 0, 0.2);
    position: relative;
    z-index: 10001;
    background: #000;
}

/* === MERCH SECTION === */
.merch-bg {
    background: url('../img/merch-bg.jpg') center/cover no-repeat;
    position: relative;
    color: white;
}
.merch-bg .overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(20, 0, 0, 0.78)),
        rgba(0, 0, 0, 0.45);
}

/* === CTA SECTION === */
.cta-section {
    background:
        radial-gradient(circle at center, rgba(120, 0, 0, 0.18) 0%, transparent 45%),
        linear-gradient(145deg, #100000 0%, #020202 100%);
    text-align: center;
    padding: 140px 20px;
}
.cta-section h2 {
    color: #ff2c2c;
    font-size: 38px;
    margin-bottom: 15px;
    text-shadow: 0 0 25px rgba(255, 44, 44, 0.45);
}
.cta-section p {
    font-size: 18px;
    color: #bdbdbd;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.btn,
.btn-outline {
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 18px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.btn {
    background: linear-gradient(135deg, #8b0000, #ff2c2c);
    color: white;
    border: 1px solid rgba(255, 90, 90, 0.35);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.25);
}
.btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.4);
}

.btn-outline {
    border: 2px solid #ff2c2c;
    color: #ff2c2c;
    background: rgba(255, 0, 0, 0.04);
}
.btn-outline:hover {
    background: #ff2c2c;
    color: white;
    box-shadow: 0 0 28px rgba(255, 44, 44, 0.35);
}

/* === FOOTER === */
.footer {
    position: relative;
    background: linear-gradient(180deg, #040404 0%, #000000 100%);
    padding: 80px 20px 30px;
    text-align: center;
    color: #9d9d9d;
    overflow: hidden;
    z-index: 3;
    border-top: 1px solid rgba(255, 30, 30, 0.12);
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    width: 120%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff2c2c, transparent);
    animation: lineflow 4s linear infinite;
    transform: translateX(-50%);
    opacity: 0.7;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    position: relative;
    z-index: 2;
}

.footer-logo h2 {
    font-size: 28px;
    color: #ff2c2c;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 44, 44, 0.45);
    margin-bottom: 5px;
}
.footer-logo p {
    font-size: 14px;
    color: #b7b7b7;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin: 20px 0;
}
.footer-links a {
    color: #ff2c2c;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}
.footer-links a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff2c2c;
    transition: width 0.3s ease;
}
.footer-links a:hover {
    color: #ff6666;
}
.footer-links a:hover::after {
    width: 100%;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.footer-socials a {
    font-size: 22px;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    color: #ff2c2c;
    filter: drop-shadow(0 0 6px rgba(255, 44, 44, 0.4));
}
.footer-socials a:hover {
    transform: scale(1.2);
    color: #ff6666;
}

.footer-bottom {
    margin-top: 40px;
    font-size: 14px;
    color: #6f6f6f;
}

/* === FOOTER ANIMATIONS === */
@keyframes lineflow {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.6;
    }
}

/* === ANIMATIONS === */
@keyframes pulseGlow {
    0%, 100% {
        text-shadow:
            0 0 16px rgba(255, 44, 44, 0.65),
            0 0 32px rgba(180, 0, 0, 0.45),
            0 0 55px rgba(90, 0, 0, 0.35);
    }
    50% {
        text-shadow:
            0 0 26px rgba(255, 80, 80, 0.9),
            0 0 54px rgba(255, 0, 0, 0.7),
            0 0 85px rgba(120, 0, 0, 0.45);
    }
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === GLOBAL LAYERING FIX FOR PARTICLES === */
.hero,
.merch-bg,
.merch-bg::before,
.merch-bg .overlay,
.cta-section,
.cta-section::before,
.cta-section::after,
.content-section {
    position: relative;
    z-index: 1 !important;
}

.hero-content,
.section-title,
.section-desc,
.btn,
.btn-outline,
.cta-buttons,
.footer,
.footer * {
    position: relative;
    z-index: 9999 !important;
}

.floating-lights::before,
.floating-lights::after {
    z-index: 500 !important;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .glow-text {
        font-size: 48px;
    }

    .subtext {
        font-size: 16px;
    }

    .video-container iframe {
        height: 250px;
    }

    .footer-content {
        gap: 15px;
    }

    .footer-logo h2 {
        font-size: 24px;
    }

    .footer-links {
        gap: 15px;
    }
}