@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;
    justify-content: center;
    align-items: center;
}

.container {
    max-width: 900px;
    width: 90%;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-transform: uppercase;
    color: #e0e0e0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    border-bottom: 2px solid #444444;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    animation: fadeIn 1s ease-in;
    text-align: center;
}

.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;
}

/* Адаптивный дизайн */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 1.5rem;
    }

    h1 {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }

    .links {
        flex-direction: column;
        align-items: center;
    }

    .link-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: clamp(1.2rem, 3.5vw, 2rem);
    }

    .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);
    }
}