/* Index Page Specific CSS */
* {
    box-sizing: border-box;
}

body {
    background: var(--primary-dark);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Video Background Container */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
    z-index: 3;
    pointer-events: none;
}

/* Enhanced Particle Effects */
.particle-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.floating-particle {
    position: absolute;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    animation: particleFloat 15s infinite ease-in-out;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    50% {
        transform: translateY(-50px) translateX(30px) scale(1.2);
        opacity: 0.8;
    }
}

/* Interactive Snow Effect - Enhanced */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    color: rgba(255, 255, 255, 0.6);
    user-select: none;
    pointer-events: none;
    font-size: 12px;
    animation: snowfall linear infinite;
    text-shadow: 0 0 3px rgba(59, 130, 246, 0.5);
}

.snowflake.small {
    font-size: 8px;
    opacity: 0.4;
}

.snowflake.large {
    font-size: 16px;
    opacity: 0.8;
}

.snowflake.blue {
    color: rgba(59, 130, 246, 0.8);
    text-shadow: 0 0 5px rgba(59, 130, 246, 0.8);
}

.snowflake.purple {
    color: rgba(139, 92, 246, 0.8);
    text-shadow: 0 0 5px rgba(139, 92, 246, 0.8);
}

.snowflake.gold {
    color: rgba(251, 191, 36, 0.8);
    text-shadow: 0 0 5px rgba(251, 191, 36, 0.8);
}

@keyframes snowfall {
    from {
        transform: translateY(-100px) rotate(0deg);
    }
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

.sound-toggle-widget {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.modern-sound-btn {
    position: relative;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modern-sound-btn:hover {
    transform: scale(1.1);
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.2);
}

.modern-sound-btn:active {
    transform: scale(0.95);
}

.modern-sound-btn:focus {
    outline: none;
}

.sound-icon-wrapper {
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.sound-icon-wrapper i {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.sound-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.wave-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(59, 130, 246, 0.6);
    border-radius: 50%;
    animation: soundWaveAnimation 2s infinite ease-out;
}

.wave-1 {
    width: 48px;
    height: 48px;
    animation-delay: 0s;
}

.wave-2 {
    width: 48px;
    height: 48px;
    animation-delay: 0.7s;
}

.wave-3 {
    width: 48px;
    height: 48px;
    animation-delay: 1.4s;
}

@keyframes soundWaveAnimation {
    0% {
        width: 48px;
        height: 48px;
        opacity: 1;
        border-color: rgba(59, 130, 246, 0.8);
    }
    100% {
        width: 96px;
        height: 96px;
        opacity: 0;
        border-color: rgba(59, 130, 246, 0);
    }
}

.sound-btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transition: all 0.6s ease-out;
}

.modern-sound-btn.sound-on {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 4px 25px rgba(59, 130, 246, 0.25);
}

.modern-sound-btn.sound-on .sound-icon-wrapper i {
    color: rgba(59, 130, 246, 1);
}

.modern-sound-btn.sound-on .sound-waves {
    opacity: 1;
}

.modern-sound-btn.sound-on:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 6px 35px rgba(59, 130, 246, 0.35);
}

/* Default sound ON state */
.modern-sound-btn {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 4px 25px rgba(59, 130, 246, 0.25);
}

.modern-sound-btn .sound-icon-wrapper i {
    color: rgba(59, 130, 246, 1);
}

.modern-sound-btn .sound-waves {
    opacity: 1;
}

.modern-sound-btn:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 6px 35px rgba(59, 130, 246, 0.35);
}

/* Muted state overrides */
.modern-sound-btn.sound-off {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modern-sound-btn.sound-off .sound-icon-wrapper i {
    color: rgba(255, 255, 255, 0.9);
}

.modern-sound-btn.sound-off .sound-waves {
    opacity: 0;
}

.modern-sound-btn.sound-off:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.2);
}

@keyframes rippleAnimation {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}

.modern-sound-btn.ripple-active .sound-btn-ripple {
    animation: rippleAnimation 0.6s ease-out;
}

/* Hero Section - Enhanced with Video Background */
.modern-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Animated Background Elements */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    background: var(--menu-gradient);
    opacity: 0.05;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.floating-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -100px;
    animation-delay: 5s;
}

.floating-shape:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: 30%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.2s both;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.75rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-weight: 300;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-feature {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-gold));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.hero-feature:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.hero-feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.hero-feature span {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.btn-primary {
    background: var(--accent-blue);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 0.875rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--hover-bg);
    border-color: var(--accent-blue);
}

/* Reviews Section */
.reviews-section {
    padding: 5rem 0;
    background: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--purple-gradient);
    opacity: 0.05;
    z-index: 1;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.reviews-header {
    text-align: center;
    margin-bottom: 4rem;
}

.reviews-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.reviews-underline {
    width: 80px;
    height: 3px;
    background: var(--accent-blue);
    margin: 0 auto 2rem;
}

.reviews-slider {
    position: relative;
    overflow: hidden;
}

.reviews-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.review-card {
    flex: 0 0 calc(33.333% - 2rem);
    margin: 0 1rem;
    background: rgba(20, 20, 30, 0.8);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 2rem;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--purple-gradient);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.review-card:hover::before {
    opacity: 0.1;
}

.review-content {
    position: relative;
    z-index: 2;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--purple-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.review-user-info {
    flex: 1;
}

.review-username {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.review-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: #fbbf24;
    font-size: 1.1rem;
}

.review-comment {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.review-boost-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.boost-badge {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.rank-arrow {
    color: var(--accent-gold);
}

.boost-type-icon {
    color: var(--accent-blue);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.slider-nav {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-nav:hover {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
    transform: scale(1.1);
}

.slider-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-blue);
    transform: scale(1.2);
}

/* Discord Section */
.discord-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1) 0%, rgba(88, 101, 242, 0.05) 100%);
    border-top: 1px solid rgba(88, 101, 242, 0.2);
    border-bottom: 1px solid rgba(88, 101, 242, 0.2);
}

.discord-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.discord-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.discord-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.discord-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.discord-stat {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.discord-stat:hover {
    transform: translateY(-5px);
    background: rgba(88, 101, 242, 0.15);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.2);
}

.discord-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--discord-color);
    margin-bottom: 0.5rem;
}

.discord-stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.discord-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Discord Channels Section */
.discord-channels-section {
    margin: 4rem 0 3rem;
}

.channels-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2rem;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.channel-card {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.channel-card:hover {
    transform: translateY(-4px);
    background: rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.4);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.2);
}

.channel-card:hover .join-arrow {
    transform: translateX(5px);
}

.channel-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.channel-card .channel-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--discord-color), #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.channel-card .channel-info {
    flex: 1;
}

.channel-card .channel-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.channel-category {
    font-size: 0.85rem;
    color: var(--discord-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.channel-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.online-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.online-dot {
    color: #10b981;
    font-size: 0.6rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.join-arrow {
    color: var(--discord-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.discord-btn {
    background: var(--discord-color);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(88, 101, 242, 0.3);
}

.discord-btn-secondary {
    background: transparent;
    color: var(--discord-color);
    border: 1px solid var(--discord-color);
}

.discord-btn-secondary:hover {
    background: var(--discord-color);
    color: white;
}

/* Fixed Discord Widget - Improved */
.discord-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    transition: all 0.3s ease;
}

.discord-toggle {
    background: var(--discord-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.discord-toggle:focus {
    outline: none;
}

.discord-toggle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: discordShine 3s ease-in-out infinite;
}

@keyframes discordShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.discord-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(88, 101, 242, 0.6);
}

.discord-widget-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: rgba(20, 20, 30, 0.98);
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.discord-widget-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.discord-widget-header {
    padding: 1rem;
    background: var(--discord-color);
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    justify-content: space-between;
}

.discord-close-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.discord-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.discord-widget-content {
    height: calc(100% - 60px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #36393f;
}

/* Custom Discord Content */
.discord-custom-content {
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    color: #dcddde;
    overflow-y: auto;
}

.discord-server-info {
    text-align: center;
    margin-bottom: 2rem;
}

.discord-server-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.discord-online-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #72767d;
    font-size: 0.9rem;
}

.discord-channels-list {
    margin-top: 2rem;
}

.discord-channel-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.discord-channel-item:hover {
    background: rgba(79, 84, 92, 0.3);
}

.discord-channel-item i {
    color: #8e9297;
    font-size: 1rem;
}

.discord-channel-item span {
    color: #8e9297;
    font-weight: 500;
}

.discord-join-button {
    display: block;
    width: 100%;
    background: var(--discord-color);
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 2rem;
    transition: background 0.2s ease;
}

.discord-join-button:hover {
    background: #4752c4;
}

/* Minimal fix for video background on all resolutions */
.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    object-position: center center;
    transform: translate(-50%, -50%);
}

/* Specific fix for 2560x1080 ultrawide */
@media (min-width: 2560px) and (max-height: 1080px) {
    .video-background video {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Fix for other ultrawide displays */
@media (min-aspect-ratio: 21/9) {
    .video-background video {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .video-background video {
        opacity: 0.25;
        filter: brightness(0.9) contrast(1.0);
    }

    .snow-container {
        display: none;
    }

    .particle-overlay {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .video-background video {
        opacity: 0.3;
        filter: brightness(0.85) contrast(1.05);
    }

    .snow-container {
        display: none;
    }

    .particle-overlay {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .video-background video {
        opacity: 0.35;
        filter: brightness(0.8) contrast(1.1);
    }
}

@media (min-width: 1025px) and (max-width: 1440px) {
    .video-background video {
        opacity: 0.35;
        filter: brightness(0.8) contrast(1.1);
    }
}

@media (min-width: 1441px) {
    .video-background video {
        opacity: 0.4;
        filter: brightness(0.75) contrast(1.15);
    }
}

/* High DPI Display Support */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .video-background video {
        transform: translateZ(0) scale(1.001);
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .video-background video {
        animation: none;
    }

    .snowflake {
        animation: none;
    }

    .floating-particle {
        animation: none;
    }

    .floating-shape {
        animation: none;
    }
}

/* Custom modern scrollbar for the entire page */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

/* Firefox global scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: #3b82f6 rgba(255, 255, 255, 0.03);
}

@media (max-width: 768px) {
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .review-card {
        flex: 0 0 calc(100% - 2rem);
    }

    .reviews-title {
        font-size: 2rem;
    }

    .discord-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .discord-cta {
        flex-direction: column;
        align-items: center;
    }

    .channels-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .channel-card {
        padding: 1rem;
    }

    .sound-toggle-widget {
        top: 15px;
        right: 15px;
    }

    .modern-sound-btn {
        width: 44px;
        height: 44px;
    }

    .sound-icon-wrapper i {
        font-size: 16px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }
}