@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7289da;
    --secondary-color: #24292e;
    --matrix-color: #000000;
    --accent-color: #08a0f7;
    --dark-bg: #0a0a0a;
    --medium-bg: #1a1a1a;
    --light-bg: #2a2a2a;
    --text-color: #ffffff;
    --text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    --glow-color: rgba(114, 137, 218, 0.4);
}

body {
    font-family: "Ubuntu", sans-serif;
    margin: 0;
    padding: 0;
    cursor: default;
    background-color: var(--dark-bg);
    color: var(--text-color);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s;
    filter: blur(40px);
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.content-wrapper {
    margin-top: 100px;
    padding: 40px 20px;
    position: relative;
    z-index: 3;
}

.topnav {
    background-color: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    z-index: 1000;
    min-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-color);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link i {
    font-size: 16px;
}

.nav-link span {
    transition: transform 0.3s ease;
}

.nav-link:hover span {
    transform: translateY(-1px);
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 0 20px rgba(114, 137, 218, 0.4);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

.nav-link.discord {
    background-color: var(--primary-color);
}

.nav-link.github {
    background-color: var(--secondary-color);
}

.nav-link.matrix {
    background-color: var(--matrix-color);
}

.nav-link.discord:hover {
    background-color: #5b6eae;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(114, 137, 218, 0.5);
}

.nav-link.github:hover {
    background-color: #33383e;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(36, 41, 46, 0.5);
}

.nav-link.matrix:hover {
    background-color: #1a1a1a;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
    transform: translateY(-2px);
}

.title {
    color: var(--text-color);
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}

.title-text {
    display: block;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(114, 137, 218, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 10px auto;
    border-radius: 2px;
    animation: underline-grow 2s ease-in-out infinite;
}

.text {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.centered {
    text-align: center;
}

.intro-text {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #e0e0e0;
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== PROFILE CARD ===== */
.profile-container {
    max-width: 800px;
    margin: 40px auto;
}

.profile-card {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* ===== STATS ===== */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    min-width: 120px;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.stat i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.stat-label {
    font-size: 0.9rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 12px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    min-width: 160px;
    height: 60px;
    border: none;
    background: transparent;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 30px;
    height: 100%;
    width: 100%;
    z-index: 2;
    position: relative;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.btn-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.social-btn:hover .btn-hover-effect {
    left: 100%;
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social-btn:active {
    transform: translateY(-2px);
}

.github-btn {
    background: linear-gradient(135deg, var(--secondary-color), #33383e);
    box-shadow: 0 4px 15px rgba(36, 41, 46, 0.4);
}

.github-btn:hover {
    background: linear-gradient(135deg, #33383e, var(--secondary-color));
    box-shadow: 0 6px 20px rgba(36, 41, 46, 0.6);
}

.discord-btn {
    background: linear-gradient(135deg, var(--primary-color), #5b6eae);
    box-shadow: 0 4px 15px rgba(114, 137, 218, 0.4);
}

.discord-btn:hover {
    background: linear-gradient(135deg, #5b6eae, var(--primary-color));
    box-shadow: 0 6px 20px rgba(114, 137, 218, 0.6);
}

.mediafire-btn {
    background: linear-gradient(135deg, var(--accent-color), #0b7bc2);
    box-shadow: 0 4px 15px rgba(8, 160, 247, 0.4);
}

.mediafire-btn:hover {
    background: linear-gradient(135deg, #0b7bc2, var(--accent-color));
    box-shadow: 0 6px 20px rgba(8, 160, 247, 0.6);
}

.youtube-btn {
    background: linear-gradient(135deg, #571307c9, #801c0bc9);
    box-shadow: 0 4px 15px #571307c9;
}

.featured-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.section-title i {
    color: var(--primary-color);
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-card p {
    color: #aaa;
    margin-bottom: 20px;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.feature-link:hover {
    gap: 12px;
}

.footer {
    margin-top: 80px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer p {
    color: #777;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.footer-link {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

.separator {
    color: #666;
}


@keyframes pulse {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.5),
            0 0 20px rgba(255, 255, 255, 0.3),
            0 0 30px rgba(114, 137, 218, 0.2);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(255, 255, 255, 0.6),
            0 0 30px rgba(255, 255, 255, 0.4),
            0 0 40px rgba(114, 137, 218, 0.3);
    }
}

@keyframes underline-grow {
    0%, 100% {
        width: 100px;
    }
    50% {
        width: 150px;
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}


@media (max-width: 768px) {
    .topnav {
        min-width: 90%;
        padding: 8px;
        flex-wrap: wrap;
        justify-content: center;
        top: 10px;
    }
    
    .nav-link {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .intro-text {
        font-size: 1.1rem;
        padding: 15px;
    }
    
    .stats-container {
        gap: 20px;
    }
    
    .stat {
        min-width: 100px;
        padding: 15px;
    }
    
    .social-btn {
        min-width: 140px;
        height: 50px;
    }
    
    .button-container {
        gap: 15px;
    }
    
    .profile-card,
    .featured-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .topnav {
        flex-direction: column;
        width: 90%;
        gap: 5px;
    }
    
    .nav-link {
        width: 100%;
        justify-content: center;
    }
    
    .stats-container {
        flex-direction: column;
        align-items: center;
    }
    
    .button-container {
        flex-direction: column;
        align-items: center;
    }
    
    .social-btn {
        width: 100%;
        max-width: 250px;
    }
}

.back-home {
    text-align: center;
    margin: 50px 0;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-5px);
    gap: 15px;
}

.back-btn i {
    transition: transform 0.3s ease;
}

.back-btn:hover i {
    transform: translateX(-3px);
}