/* ===== HERO ===== */
.hero-section {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-logo {
    width: 240px;
    height: 240px;
    border-radius: 20px;
    box-shadow: 0 0 50px var(--blue-primary), 0 0 100px rgba(0, 212, 255, 0.5);
    border: 4px solid var(--blue-light);
    animation: logo-glow 3s ease-in-out infinite;
}

@keyframes logo-glow {
    0%, 100% { box-shadow: 0 0 50px var(--blue-primary), 0 0 100px rgba(0, 212, 255, 0.5); }
    50% { box-shadow: 0 0 80px var(--blue-light), 0 0 150px rgba(0, 212, 255, 0.8); }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--blue-light);
    text-shadow: 0 0 40px var(--blue-primary);
    letter-spacing: 4px;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: var(--blue-primary);
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.server-ip-box {
    background: linear-gradient(135deg, rgba(0, 136, 255, 0.15), rgba(0, 212, 255, 0.08));
    border: 3px solid var(--blue-light);
    padding: 1.2rem 2.5rem;
    border-radius: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 0 30px var(--blue-primary);
    color: var(--blue-light);
}

.server-ip-box:hover {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
    color: var(--darker-bg);
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--blue-light);
}

.btn-hero-discord {
    background: linear-gradient(135deg, #5865f2, #7289da);
    border: 3px solid #5865f2;
    padding: 1.2rem 2.5rem;
    border-radius: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    text-decoration: none;
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.4);
}

.btn-hero-discord:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(88, 101, 242, 0.8);
    background: white;
    color: #5865f2;
}

/* ===== STATS ===== */
.stats-section {
    background: rgba(0, 136, 255, 0.05);
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
    padding: 4rem 2rem;
}

.stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--card-bg), rgba(0, 136, 255, 0.05));
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--blue-light);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--blue-glow);
}

.stat-icon {
    font-size: 3rem;
    color: var(--blue-light);
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--blue-light);
    margin: 1rem 0;
}

.stat-label {
    color: var(--text-dim);
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: var(--blue-light);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-text p {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    border-radius: 20px;
    border: 3px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 10px 50px var(--blue-glow);
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.08);
}

/* ===== FEATURES GRID ===== */
.features-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(0, 136, 255, 0.05), transparent);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--blue-light);
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header p {
    color: var(--text-dim);
    font-size: 1.2rem;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    transition: all 0.3s;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: var(--blue-primary);
    border-radius: 50%;
    opacity: 0.1;
    transition: all 0.5s;
}

.feature-card:hover::before {
    transform: scale(4);
    opacity: 0.05;
}

.feature-card:hover {
    border-color: var(--blue-light);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--blue-glow);
}

.feature-icon {
    font-size: 3rem;
    color: var(--blue-primary);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    color: var(--blue-light);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-desc {
    color: var(--text-dim);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ===== LEADERBOARD ===== */
.leaderboard-section {
    max-width: 1000px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.leaderboard-table-wrapper {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    border: 2px solid var(--border-color);
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table th {
    background: linear-gradient(135deg, var(--blue-dark), var(--dark-bg));
    color: var(--blue-light);
    padding: 1.5rem;
    text-align: left;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.leaderboard-table td {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-main);
    font-size: 1.1rem;
}

.leaderboard-table tr:last-child td {
    border-bottom: none;
}

.leaderboard-table tr:hover {
    background: rgba(0, 136, 255, 0.1);
}

.rank-1 { color: #ffd700 !important; font-weight: 900; font-size: 1.3rem !important; }
.rank-2 { color: #e0e0e0 !important; font-weight: 700; font-size: 1.2rem !important; }
.rank-3 { color: #cd7f32 !important; font-weight: 700; font-size: 1.15rem !important; }

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: 6rem 2rem;
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(0, 136, 255, 0.05), var(--darker-bg));
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: var(--blue-primary);
    transform: translateY(-5px);
}

.testimonial-quote {
    color: var(--text-dim);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--blue-light);
    object-fit: cover;
}

.author-info h4 {
    color: var(--blue-light);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.author-info span {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.fa-quote-right {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 5rem;
    color: rgba(0, 136, 255, 0.03);
    z-index: 0;
}

/* ===== DISCORD BANNER ===== */
.discord-banner {
    max-width: 1200px;
    margin: 2rem auto 6rem auto;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, #5865f2, #3b44a8);
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 20px 50px rgba(88, 101, 242, 0.4);
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.discord-banner::before {
    content: '\\f392';
    font-family: 'Font Awesome 6 Brands';
    position: absolute;
    right: -20px;
    top: -50px;
    font-size: 250px;
    color: rgba(255,255,255,0.05);
    transform: rotate(-15deg);
}

.discord-info {
    position: relative;
    z-index: 1;
}

.discord-info h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.discord-info p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
}

.btn-discord-join {
    background: white;
    color: #5865f2;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.3rem;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-discord-join:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* ===== EXTENDED FOOTER ===== */
.extended-footer {
    background: var(--darker-bg);
    border-top: 3px solid var(--blue-primary);
    padding: 5rem 2rem 2rem 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    color: var(--blue-light);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--blue-primary);
    border-radius: 3px;
}

.footer-about p {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
}

.footer-links a i {
    color: var(--blue-primary);
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.footer-links a:hover {
    color: var(--blue-light);
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: scale(1.2);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(0, 136, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-light);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.3rem;
    border: 1px solid transparent;
}

.social-icon:hover {
    background: var(--blue-primary);
    color: var(--darker-bg);
    transform: translateY(-5px);
    border-color: var(--blue-light);
    box-shadow: 0 10px 20px rgba(0, 136, 255, 0.3);
}

.footer-bottom {
    text-align: center;
    color: var(--text-dim);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links a {
    color: var(--text-dim);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--blue-light);
}

@media (max-width: 900px) {
    .about-section {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text h2 {
        justify-content: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .discord-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
    }
    
    .footer-bottom-links a {
        margin: 0 0.8rem;
    }
}
