/* Landing Page Specific Styles - Complete Full Version */
.landing-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Carousel - Supporting Video/GIF */
.landing-carousel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.landing-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
}

.landing-carousel-image,
.landing-carousel-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    will-change: opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.landing-carousel-image.active,
.landing-carousel-video.active {
    opacity: 1;
}

.stat-text-main {
    font-size: 2rem;
    font-weight: 700;
    color: var(--crimson);
    text-shadow: 0 0 20px var(--glow-red);
    display: block;
    font-family: 'Cinzel', serif;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Enhance the landing carousel overlay for better cloud visibility */
.landing-carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(0,0,0,0.75) 0%,  /* Reduced darkness for better cloud visibility */
        rgba(139, 0, 0, 0.20) 50%, 
        rgba(0,0,0,0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

#interactive-cloud {
    position: absolute;
    inset: 0;
    z-index: 0.01;
    pointer-events: auto;
    mix-blend-mode: screen;
    opacity: 0.25; /* Increased from 0.7 for more visibility */
}

/* Carousel Controls - Better Hidden State */
.carousel-controls {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 50px;
    padding: 12px 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-controls.hidden {
    transform: translateX(calc(100% - 45px));
    opacity: 1;
}

.carousel-controls.peek {
    transform: translateX(0) !important;
    transition: transform 0.3s ease;
}

.carousel-toggle {
    position: absolute;
    left: -20px;
    width: 40px;
    height: 40px;
    background: rgba(220, 20, 60, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.5);
}

.carousel-controls.hidden .carousel-toggle {
    background: var(--crimson);
    transform: rotate(180deg);
    box-shadow: 0 6px 25px rgba(220, 20, 60, 0.7);
}

.carousel-controls.hidden .carousel-nav-btn,
.carousel-controls.hidden .carousel-counter {
    opacity: 0;
    pointer-events: none;
}

.carousel-toggle:hover {
    background: var(--crimson);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.7);
}

.carousel-nav-btn {
    width: 35px;
    height: 35px;
    background: rgba(220, 20, 60, 0.2);
    border: 1px solid rgba(220, 20, 60, 0.4);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
}

.carousel-nav-btn:hover {
    background: rgba(220, 20, 60, 0.4);
    border-color: var(--crimson);
    color: white;
    transform: scale(1.1);
}

.carousel-counter {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    padding: 0 10px;
    min-width: 60px;
    text-align: center;
}

.carousel-counter span {
    color: var(--crimson);
    font-weight: 700;
}

.carousel-hover-zone.active {
    display: block;
}

.carousel-hover-zone:not(.active) {
    display: none;
}

/* Content Container - SEAMLESS */
.landing-content {
    position: relative;
    z-index: 10;
    padding-top: 100px;
}

/* Hero Section - SEAMLESS */
.hero-section-redesigned {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.hero-content-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hero-main-content {
    text-align: center;
    padding: 4rem 3rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 20px;
    position: relative;
    animation: fadeInUp 1s ease;
}

.hero-main-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(220, 20, 60, 0.03) 0%, 
        transparent 50%,
        rgba(139, 0, 0, 0.03) 100%);
    pointer-events: none;
    border-radius: 20px;
}

/* Text Logo Image */
.hero-title-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 0 30px rgba(220, 20, 60, 0.6));
    animation: textGlow 3s ease-in-out infinite;
}

.hero-subtitle-main {
    font-size: 2rem;
    color: var(--crimson);
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    text-shadow: 0 0 30px var(--glow-red);
    opacity: 0.9;
}

.hero-description-main {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description-main .highlight {
    color: var(--crimson);
    font-weight: 600;
    text-shadow: 0 0 10px var(--glow-red);
}

/* Development Notice - Smooth corners */
.development-notice-main {
    background: linear-gradient(135deg, 
        rgba(255, 193, 7, 0.15) 0%, 
        rgba(255, 152, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.7) 100%);
    border: 1px solid rgba(255, 193, 7, 0.5);
    border-radius: 15px;
    padding: 1.25rem 2rem;
    margin: 2rem auto;
    max-width: 800px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.development-notice-main::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.development-badge-main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #FF6B00, #FFA500);
    border-radius: 30px;
    animation: warningPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.badge-text-main {
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.development-text-main {
    flex: 1;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.5;
}

/* Inline Discord link styling */
.inline-discord-link {
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
}

.inline-discord-link:hover {
    transform: scale(1.2);
}

.inline-discord-link:hover svg {
    filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.8));
    fill: #7289DA;
}

/* Stats Grid - Smooth rounded corners */
.stats-grid-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 3rem auto;
    max-width: 1000px;
}

.stat-card-main {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 15px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.stat-label-main {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    margin-bottom: 1rem;
    order: -1; /* Keeps label at top */
}

.stat-image-main {
    height: 80px; /* Increased from 60px */
    width: auto;
    max-width: 90%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(220, 20, 60, 0.6));
    transition: all 0.3s ease;
    margin: 0.5rem 0;
}

.stat-card-main:hover .stat-image-main {
    transform: scale(1.15);
    filter: drop-shadow(0 0 30px rgba(220, 20, 60, 0.9));
}

/* Remove all the old icon and number stuff */
.stat-icon-main,
.stat-number-main,
.stat-text-main {
    display: none;
}

.stat-icon-main {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 0 15px var(--glow-red));
}

.stat-number-main {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--crimson);
    text-shadow: 0 0 20px var(--glow-red);
    display: block;
    font-family: 'Cinzel', serif;
    margin-bottom: 0.25rem;
}

/* Enhanced Buttons */
.hero-actions-main {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.btn-main {
    position: relative;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    border: 2px solid rgba(220, 20, 60, 0.3);
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-main-primary {
    background: linear-gradient(135deg, #8b0000, #dc143c, #8b0000);
    background-size: 200% 200%;
    color: #FFFFFF;
    box-shadow: 
        0 0 25px rgba(220, 20, 60, 0.4),
        0 0 50px rgba(220, 20, 60, 0.2),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    animation: 
        pulseGlow 2s ease-in-out infinite,
        gradientShift 4s ease infinite;
}

.btn-main-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.btn-main-primary:hover {
    animation-play-state: paused;
    transform: translateY(-3px) scale(1.05);
    background-size: 300% 300%;
    border-color: rgba(255, 0, 0, 0.6);
    box-shadow: 
        0 10px 40px rgba(220, 20, 60, 0.6),
        0 0 80px rgba(220, 20, 60, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
}

.btn-main-primary:hover::before {
    opacity: 1;
    left: 150%;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-main-secondary {
    background: transparent;
    color: var(--crimson);
    border: 2px solid var(--crimson);
    position: relative;
}

.btn-main-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1) 0%, rgba(139, 0, 0, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 10px;
}

.btn-main-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(220, 20, 60, 0.4);
    border-color: #FF1744;
    color: white;
}

.btn-main-secondary:hover::before {
    opacity: 1;
}

.btn-inner-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.btn-icon-main {
    font-size: 1.3rem;
}

/* Content Sections - SEAMLESS */
.content-section {
    padding: 5rem 0;
    position: relative;
    z-index: 10;
    background: transparent;
    border: none;
}

.content-section::after,
.content-section::before {
    display: none;
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header-main {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-main {
    font-size: 3.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(220, 20, 60, 0.3);
}

.section-subtitle-main {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Features Grid - Smooth corners */
.features-grid-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card-main {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.feature-card-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--crimson), transparent);
    transition: left 0.6s ease;
}

.feature-card-main:hover::before {
    left: 0;
}

.feature-card-main:hover {
    transform: translateY(-10px);
    border-color: rgba(220, 20, 60, 0.5);
    background: rgba(139, 0, 0, 0.1);
}

.feature-icon-main {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 20px var(--glow-red));
}

.feature-title-main {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 1px;
}

.feature-description-main {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.feature-tags-main {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-tag-main {
    background: rgba(220, 20, 60, 0.15);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--crimson);
    border: 1px solid rgba(220, 20, 60, 0.3);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Classes Section - Smooth design */
.classes-showcase-main {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 25px;
    padding: 3rem;
    margin-top: 3rem;
}

.classes-rows-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.classes-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.class-card-main {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.class-card-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(220, 20, 60, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.class-card-main:hover::before {
    opacity: 1;
}

.class-card-main:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--crimson);
    background: rgba(139, 0, 0, 0.15);
}

.class-icon-wrapper-main {
    position: relative;
    margin-bottom: 1rem;
}

.class-icon-main {
    width: 60px;
    height: 60px;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.class-card-main:hover .class-icon-main {
    filter: grayscale(0%) drop-shadow(0 0 20px var(--glow-red));
    transform: scale(1.15);
}

.class-name-main {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
}

.class-specs-main {
    display: flex;
    gap: 0.3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.spec-main {
    background: rgba(220, 20, 60, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(220, 20, 60, 0.2);
    text-transform: uppercase;
}

/* Download Section - UPDATED WITH NEW STYLES */
.download-section-main {
    padding: 5rem 0;
}

.download-card-main {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Logo wrapper instead of CD icon */
.download-logo-wrapper {
    width: 620px;
    height: 120px;
    margin: 0 auto 2rem;
    position: relative;
    animation: floatAnimation 3s ease-in-out infinite;
}

.download-logo-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(220, 20, 60, 0.6));
    transition: all 0.4s ease;
}

.download-card-main:hover .download-logo-icon {
    filter: drop-shadow(0 0 50px rgba(220, 20, 60, 0.9));
    transform: scale(1.1);
}

/* Remove old icon */
.download-icon-main {
    display: none;
}

.download-title-main {
    font-size: 2.5rem;
    color: var(--crimson);
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
    text-shadow: 0 0 30px var(--glow-red);
}

.download-info-main {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.download-stat-main {
    text-align: center;
}

.download-stat-label-main {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-stat-value-main {
    display: block;
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
}

/* Dark gradient button */
.btn-download-dark {
    position: relative;
    padding: 16px 40px;
    background: linear-gradient(135deg, #4a0000, #8b0000, #2a2a2a, #1a1a1a);
    background-size: 200% 200%;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid rgba(139, 0, 0, 0.4);
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    animation: darkGradientShift 6s ease infinite;
}

.btn-download-dark::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(139, 0, 0, 0.2) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.btn-download-dark:hover {
    transform: translateY(-3px) scale(1.05);
    background-size: 300% 300%;
    border-color: rgba(220, 20, 60, 0.6);
    box-shadow: 
        0 10px 40px rgba(139, 0, 0, 0.4),
        0 0 60px rgba(0, 0, 0, 0.6),
        inset 0 0 30px rgba(139, 0, 0, 0.2);
}

.btn-download-dark:hover::before {
    opacity: 1;
    left: 150%;
}

.btn-download-dark .btn-inner-main {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Dark warning container - black core with golden glow */
.download-warning-container {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(20, 15, 0, 0.92) 50%,
        rgba(0, 0, 0, 1) 100%
    );
    border: 2px solid transparent;
    border-radius: 18px; /* softer but still rectangular */
    background-clip: padding-box, border-box;
    background-origin: border-box;
    background-image:
        linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(20, 15, 0, 0.92) 50%,
            rgba(0, 0, 0, 1) 100%
        ),
        linear-gradient(135deg, #ffc107, #ff9800, #ff6f00); /* glowing border */
    box-shadow:
        0 0 25px rgba(255, 193, 7, 0.25),   /* outer golden glow */
        inset 0 0 12px rgba(255, 193, 7, 0.05); /* faint inner light */
    position: relative;
    overflow: hidden;
}

.download-warning-container::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Yellow development badge */
.development-badge-yellow {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFC107, #FF9800, #FF6F00);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #000;
    box-shadow: 
        0 4px 15px rgba(255, 193, 7, 0.5),
        inset 0 -2px 5px rgba(255, 111, 0, 0.3);
    animation: warningPulseBadge 2s ease-in-out infinite;
    z-index: 2;
}

.download-warning-text {
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    margin: 0;
    padding-top: 0.5rem;
    z-index: 1;
}

.download-warning-text strong {
    color: #FFC107;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

/* Alternating Content Sections - SEAMLESS */
.alternating-section {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
    border-bottom: none !important;
}

.alternating-section::after {
    display: none !important;
}

.alternating-content {
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.alternating-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/images/logo.png') no-repeat center;
    background-size: 30%;
    opacity: 0.03;
    pointer-events: none;
}

.alternating-content.reversed {
    flex-direction: row-reverse;
}

.alternating-text {
    flex: 1;
    animation: fadeInLeft 1s ease;
}

.alternating-content.reversed .alternating-text {
    animation: fadeInRight 1s ease;
}

.alternating-title {
    font-size: 2.5rem;
    color: var(--crimson);
    margin-bottom: 1.5rem;
    font-family: 'Cinzel', serif;
    text-shadow: 0 0 20px var(--glow-red);
    transition: text-shadow 0.3s ease;
}

.alternating-content:hover .alternating-title {
    text-shadow: 0 0 30px var(--glow-red);
    transform: none;
}

.alternating-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.alternating-content:hover .alternating-description {
    color: rgba(255, 255, 255, 0.95);
}

.alternating-list {
    list-style: none;
    padding: 0;
}

.alternating-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease, text-shadow 0.3s ease;
    cursor: default;
}

.alternating-list li:hover {
    color: rgba(255, 255, 255, 1);
    transform: none;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.3);
}

.alternating-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--crimson);
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.alternating-list li:hover::before {
    transform: scale(1.3);
    text-shadow: 0 0 15px var(--glow-red);
}

.alternating-image {
    flex: 1;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.alternating-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/images/logo.png') no-repeat center;
    background-size: 50%;
    opacity: 0.1;
    border-radius: 20px;
}

.alternating-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    border: 2px solid rgba(220, 20, 60, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    animation: fadeInScale 1s ease;
}

.alternating-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(220, 20, 60, 0.3);
    border-color: var(--crimson);
}

.alternating-image::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center, rgba(220, 20, 60, 0.2) 0%, transparent 70%);
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

.alternating-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 14px 36px;
    background: linear-gradient(135deg, #8b0000, #dc143c, #8b0000);
    background-size: 200% 200%;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid rgba(220, 20, 60, 0.3);
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 0 25px rgba(220, 20, 60, 0.4),
        0 0 50px rgba(220, 20, 60, 0.2);
    animation: 
        pulseGlow 2s ease-in-out infinite,
        gradientShift 4s ease infinite;
}

.alternating-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 10px 40px rgba(220, 20, 60, 0.6),
        0 0 80px rgba(220, 20, 60, 0.4);
}

/* Discord Section - Seamless */
.discord-section-main {
    padding: 5rem 0;
}

.discord-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.discord-widget-container {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(88, 101, 242, 0.3);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(88, 101, 242, 0.1);
}

.discord-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(88, 101, 242, 0.2);
}

.discord-header h3 {
    color: #5865F2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
}

.discord-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #43B581;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.discord-members {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

.discord-join {
    text-align: center;
}

/* Enhanced Discord Button */
.btn-discord-enhanced {
    position: relative;
    padding: 14px 36px;
    background: linear-gradient(135deg, #5865F2, #7289DA, #5865F2);
    background-size: 200% 200%;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid rgba(88, 101, 242, 0.3);
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 0 25px rgba(88, 101, 242, 0.4),
        0 0 50px rgba(88, 101, 242, 0.2),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    animation: 
        discordPulseGlow 2s ease-in-out infinite,
        gradientShift 4s ease infinite;
}

@keyframes discordPulseGlow {
    0%, 100% {
        box-shadow: 
            0 0 25px rgba(88, 101, 242, 0.4),
            0 0 50px rgba(88, 101, 242, 0.2),
            inset 0 0 20px rgba(0, 0, 0, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 
            0 0 35px rgba(88, 101, 242, 0.6),
            0 0 70px rgba(88, 101, 242, 0.3),
            inset 0 0 20px rgba(0, 0, 0, 0.3);
        transform: scale(1.02);
    }
}

.btn-discord-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.btn-discord-enhanced:hover {
    animation-play-state: paused;
    transform: translateY(-3px) scale(1.05);
    background-size: 300% 300%;
    border-color: rgba(114, 137, 218, 0.6);
    box-shadow: 
        0 10px 40px rgba(88, 101, 242, 0.6),
        0 0 80px rgba(88, 101, 242, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
}

.btn-discord-enhanced:hover::before {
    opacity: 1;
    left: 150%;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.discord-info {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(220, 20, 60, 0.2);
    border-radius: 20px;
    padding: 2rem;
}

.discord-info h3 {
    color: var(--crimson);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px var(--glow-red);
}

.discord-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
}

.benefit-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px var(--glow-red));
}

.benefit-content h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Loading Screen Improvements */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    width: 450px;
    margin-bottom: 3rem;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(220, 20, 60, 0.6));
}

.loading-bar {
    width: 400px;
    height: 8px;
    background: rgba(139, 0, 0, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto 2rem;
    border: 1px solid rgba(220, 20, 60, 0.2);
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--crimson), var(--blood-red));
    width: 0;
    animation: loading 2s ease forwards;
    box-shadow: 0 0 20px var(--glow-red);
}

.loading-text {
    color: var(--text-secondary);
    font-size: 1.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 300;
    text-shadow: 0 0 20px rgba(220, 20, 60, 0.4);
}

/* Smooth bottom transition */
.footer {
    position: relative;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(0, 0, 0, 0.95) 30%,
        #000 50%);
    padding-top: 6rem;
    border-top: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes loading {
    to { width: 100%; }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes textGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 30px rgba(220, 20, 60, 0.6)) brightness(1);
    }
    50% { 
        filter: drop-shadow(0 0 50px rgba(220, 20, 60, 0.9)) brightness(1.1);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 
            0 0 25px rgba(220, 20, 60, 0.4),
            0 0 50px rgba(220, 20, 60, 0.2),
            inset 0 0 20px rgba(0, 0, 0, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 
            0 0 35px rgba(220, 20, 60, 0.6),
            0 0 70px rgba(220, 20, 60, 0.3),
            inset 0 0 20px rgba(0, 0, 0, 0.3);
        transform: scale(1.02);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes warningPulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(255, 152, 0, 0.8);
        transform: scale(1.05);
    }
}

@keyframes floatAnimation {
    0%, 100% { 
        transform: translateY(0);
    }
    50% { 
        transform: translateY(-10px);
    }
}

@keyframes darkGradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes warningPulseBadge {
    0%, 100% { 
        box-shadow: 
            0 4px 15px rgba(255, 193, 7, 0.5),
            inset 0 -2px 5px rgba(255, 111, 0, 0.3);
        transform: translateX(-50%) scale(1);
    }
    50% { 
        box-shadow: 
            0 6px 25px rgba(255, 152, 0, 0.7),
            inset 0 -2px 5px rgba(255, 111, 0, 0.3);
        transform: translateX(-50%) scale(1.05);
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: rgba(220, 20, 60, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(220, 20, 60, 0.7);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .features-grid-main {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .classes-row {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .stats-grid-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .hero-title-image {
        max-width: 400px;
    }
    
    .features-grid-main {
        grid-template-columns: 1fr;
    }
    
    .classes-row {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .carousel-controls {
        bottom: 20px;
        right: 20px;
    }
    
    .discord-wrapper {
        grid-template-columns: 1fr;
    }
    
    .alternating-content,
    .alternating-content.reversed {
        flex-direction: column;
    }
    
    .loading-logo {
        width: 300px;
    }
    
    .loading-bar {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .hero-title-image {
        max-width: 300px;
    }
    
    .hero-subtitle-main {
        font-size: 1.5rem;
        letter-spacing: 4px;
    }
    
    .stats-grid-main {
        grid-template-columns: 1fr;
    }
    
    .classes-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-main-content {
        padding: 2rem 1.5rem;
    }
    
    .development-notice-main {
        flex-direction: column;
        text-align: center;
    }
    
    .loading-logo {
        width: 250px;
    }
    
    .loading-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-title-image {
        max-width: 250px;
    }
    
    .hero-subtitle-main {
        font-size: 1.2rem;
    }
    
    .hero-actions-main {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-main {
        width: 100%;
    }
    
    .classes-row {
        grid-template-columns: 1fr;
    }
    
    .carousel-controls {
        bottom: 10px;
        right: 10px;
        padding: 8px 15px;
    }
    
    .carousel-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .loading-logo {
        width: 200px;
    }
    
    .loading-bar {
        width: 250px;
    }
    
    .loading-text {
        font-size: 1rem;
    }
}