* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    background: black;
    color: #FDFDFD;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    padding: 120px 20px 150px;
    min-height: 150vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
}

.main-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.logo {
    width: 200px;
    max-width: 60%;
    height: auto;
    opacity: 0;
    animation: fadeInLogo 1s ease-out forwards;
}

.title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: white;
    opacity: 0;
    animation: fadeInLogo 1s ease-out forwards;
    animation-delay: 0.1s;
    margin: 10px 0;
}


.subtitle {
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 1px;
    color: white;
    opacity: 0;
    animation: fadeInLogo 1s ease-out forwards;
    animation-delay: 0.3s;
    margin-top: 5px;
}

.link-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 45px;
}

.link-grid, .my-link-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1000px;
    margin-top: 350px;
}

.link-item {
    background-color: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-left: 5rem;
    padding-right: 5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.link-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.link-button {
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border: 1.5px solid #fff;
    padding: 8px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.link-button:hover {
    background-color: #fff;
    color: #0B0F10;
}

.icon-emoji {
    font-size: 3rem;
    margin-bottom: 10px;
}

.link-button i {
    font-size: 1rem;
}

i.fab {
    font-size: 3rem;
    margin-bottom: 15px;
}

.fab.fa-github {
    font-size: 3rem;
    margin-bottom: 15px;
}

.fas.fa-envelope {
    font-size: 3rem;
    margin-bottom: 15px;
}

.fab.fa-discord {
    font-size: 3rem;
    margin-bottom: 15px;
}

.empty-space {
    width: 100%;
}
.section-title {
    width: 100%;
    text-align: center;
    font-size: 48px;
    margin-top: 300px;
    margin-bottom: -250px;
    color: white;
}

@keyframes fadeInLogo {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Медиа-запросы для адаптивности */
@media (min-width: 768px) {
    .container {
        padding-top: 180px;
        gap: 100px;
    }

    .logo {
        width: 280px;
    }

    .title {
        font-size: 42px;
    }

    .link-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (min-width: 1200px) {
    .container {
        gap: 120px;
    }

    .link-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 100px 15px 80px;
        gap: 60px;
    }

    .title {
        font-size: 28px;
    }

    .subtitle {
        font-size: 16px;
    }

    .link-item {
        padding: 1.5rem;
    }
}
