* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    padding: 1rem;
    position: relative;
}

.hero-content {
    animation: fadeIn 1s ease-out 0.2s forwards;
    opacity: 0;
}

.main-title {
    font-family: 'Poppins', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    position: relative;
    cursor: default;

    color: white;

    background: 
        radial-gradient(
            350px circle at var(--mouse-x) var(--mouse-y),
            #00aaff 0%,
            transparent 50%
        ),

        linear-gradient(white, white);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


.subtitle {
    font-size: 1.25rem;
    color: #888;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    background: #2a2a2a;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid #444;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.discord-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0px 12px 28px rgba(0, 0, 0, 0.4);
}

.discord-btn .fab {
    font-size: 1.5rem;
    margin-right: 12px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards, bounce 2s infinite;
}

.scroll-indicator .fas {
    font-size: 1.5rem;
    color: #555;
}

.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 2rem;
}

.feature-box {
    background-color: #121212;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-box:nth-child(1) { animation-delay: 0.2s; }
.feature-box:nth-child(2) { animation-delay: 0.3s; }
.feature-box:nth-child(3) { animation-delay: 0.4s; }

.feature-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% -20%, rgba(0, 170, 255, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: #333;
}

.feature-box:hover::after {
    opacity: 1;
}

.feature-box .fas {
    font-size: 2rem;
    color: #00aaff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #1a1a1a;
    border: 1px solid #282828;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.feature-box:hover .fas {
    background-color: #202533;
}

.feature-box h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: #f5f5f5;
    margin-bottom: 0.75rem;
}

.feature-box p {
    font-size: 0.95rem;
    color: #999;
    line-height: 1.7;
    font-weight: 600;
}

@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@media (max-width: 768px) {
    .main-title { font-size: 3.5rem; }
    .subtitle { font-size: 1.1rem; }
    .features-section { padding: 80px 1.5rem; }
    .feature-box { padding: 2rem 1.5rem; }
}
