@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    padding: 0 1rem;
}

.header {
    background: rgba(20, 20, 20, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(4px);
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: #e0e0e0;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0088cc;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    width: 100%;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    text-transform: uppercase;
    color: #e0e0e0;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
    margin-bottom: 1rem;
    letter-spacing: 3px;
    animation: fadeIn 1s ease-in;
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: #b0b0b0;
    margin-bottom: 2.5rem;
}

.links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.link-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #2a2a2a;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #555555;
    border-radius: 8px;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.link-button:hover::before {
    left: 100%;
}

.link-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.telegram:hover {
    background-color: #0088cc;
}

.donate:hover {
    background-color: #d8e61d;
}

.hack:hover {
    background-color: #ff0000;
}

/* Адаптивный дизайн */
.footer {
    background: rgba(20, 20, 20, 0.8);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: auto;
    font-size: 0.9rem;
    color: #888888;
}

/* Адаптивный дизайн */
@media (max-width: 768px) {
    .navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
    }

    h1 {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .links {
        flex-direction: column;
        align-items: center;
    }

    .link-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    h1 {
        font-size: clamp(1.8rem, 4.5vw, 2.5rem);
    }

    .link-button {
        padding: 0.8rem 1.5rem;
        font-size: clamp(0.9rem, 1.8vw, 1rem);
    }
}

/* Анимация */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
