* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1429 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.particles::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.particles::after {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    bottom: -150px;
    right: -150px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -100px) scale(1.1); }
    66% { transform: translate(-100px, 100px) scale(0.9); }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 90%;
    padding: 40px;
}

.header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 1s ease-out;
}

.title {
    font-size: 68px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
}

.subtitle {
    font-size: 18px;
    color: #8892b0;
    letter-spacing: 6px;
    margin-top: 20px;
    font-weight: 300;
}

.nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
}

.nav-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: #e6e6e6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out backwards;
}

.nav-btn:nth-child(1) { animation-delay: 0.1s; }
.nav-btn:nth-child(2) { animation-delay: 0.2s; }
.nav-btn:nth-child(3) { animation-delay: 0.3s; }

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.6s;
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
}

.nav-btn:hover {
    transform: translateY(-4px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.nav-btn:hover::after {
    opacity: 1;
}

.nav-btn:active {
    transform: translateY(-2px);
}

.btn-icon {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.4s;
}

.telegram-icon {
    background: linear-gradient(135deg, #0088cc, #229ED9);
}

.api-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.game-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.nav-btn:hover .btn-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.telegram-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.api-icon svg {
    width: 32px;
    height: 32px;
    color: white;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.game-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.btn-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.btn-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
}

.btn-content p {
    font-size: 14px;
    color: #8892b0;
    font-weight: 400;
}

.btn-arrow {
    position: relative;
    z-index: 1;
    font-size: 32px;
    color: #667eea;
    transition: transform 0.4s;
    font-weight: 300;
}

.nav-btn:hover .btn-arrow {
    transform: translateX(8px);
}

.footer {
    text-align: center;
    animation: fadeIn 1.5s ease-out;
}

.footer-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    margin: 0 auto 20px;
}

.footer p {
    color: #8892b0;
    font-size: 14px;
    letter-spacing: 1px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .title {
        font-size: 48px;
        letter-spacing: 4px;
    }
    
    .subtitle {
        font-size: 16px;
        letter-spacing: 2px;
    }
    
    .nav-btn {
        padding: 24px 20px;
    }
    
    .btn-icon {
        width: 48px;
        height: 48px;
    }
    
    .btn-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .btn-content h3 {
        font-size: 20px;
    }
    
    .btn-content p {
        font-size: 12px;
    }
    
    .btn-arrow {
        font-size: 24px;
    }
}

