/* Сброс стилей и базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-image: url('images/Фон сайта.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #0b0f1a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    overflow-x: hidden;
}

.container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* Основной контент */
.main-content {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(20, 20, 40, 0.9));
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(59, 130, 246, 0.3),
        0 0 60px rgba(147, 51, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    max-width: 600px;
    width: 90%;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Логотип */
.logo {
    margin-bottom: 20px;
    text-align: center;
    margin-top: -20px;
}

.logo-image {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5)) drop-shadow(0 0 40px rgba(147, 51, 234, 0.3));
}

/* Подзаголовок */
.subtitle {
    margin-bottom: 30px;
}

.subtitle-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    display: block;
    margin-bottom: 15px;
}

/* Волнистые линии */
.wavy-line {
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    border-radius: 2px;
    margin: 8px auto;
    width: 80%;
    animation: wave 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.description-lines {
    margin-bottom: 40px;
}

/* Секция ссылок */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border: 2px solid transparent;
    border-radius: 16px;
    text-decoration: none;
    color: #1f2937;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    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.4), transparent);
    transition: left 0.5s ease;
}

.link-button:hover::before {
    left: 100%;
}

.link-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(59, 130, 246, 0.4);
    border-color: #3b82f6;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(59, 130, 246, 0.1));
}

/* Иконки кнопок */
.button-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.icon-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 50%;
}

.news-icon {
    background: white;
}

.youtube-icon {
    background: white;
}

.discord-icon {
    background: white;
}

.boosty-icon {
    background: white;
}

.link-button:hover .button-icon {
    transform: scale(1.1);
}

.button-text {
    flex: 1;
    text-align: center;
}

.button-icon-right {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}



/* Анимации */
@keyframes wave {
    0%, 100% {
        transform: translateX(0);
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    }
    50% {
        transform: translateX(10px);
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    
    .main-content {
        padding: 40px 20px;
        margin: 20px;
    }
    
    .logo-image {
        max-width: 220px;
    }
    /* Опустить логотип чуть ниже на мобильных */
    .logo {
        margin-top: 10px;
        margin-bottom: 24px;
    }
    
    .subtitle-text {
        font-size: 1.2rem;
    }
    
    .link-button {
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .button-icon {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
    .icon-image {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 30px 15px;
    }
    
    .logo-image {
        max-width: 180px;
    }
    /* Еще немного опустить логотип на очень маленьких экранах */
    .logo {
        margin-top: 16px;
        margin-bottom: 24px;
    }
    
    .link-button {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .button-icon {
        width: 42px;
        height: 42px;
        font-size: 0.9rem;
        margin-right: 12px;
    }
    .icon-image {
        width: 34px;
        height: 34px;
    }
}
