:root {
    --dark-blue: #050b1a;
    --accent-blue: #0f1c3f;
    --minecraft-green: #38e038;
    --text-white: #e6f1ff;
    --gold: #ffcc00;
    --discord: #5865F2;
    --telegram: #0088cc;
    --cyan: #64ffda;
}

html { scroll-behavior: smooth; }
body {
    margin: 0;
    padding: 0;
    font-family: 'Ubuntu', sans-serif;
    background: linear-gradient(to bottom, rgba(5, 11, 26, 0.4), var(--dark-blue) 100%), url('../img/logo.png') center/cover no-repeat fixed;
    color: var(--text-white);
    overflow-x: hidden;
}
/* body { margin: 0; padding: 0; font-family: 'Ubuntu', sans-serif; background-color: var(--dark-blue); color: var(--text-white); overflow-x: hidden; } /*

/* Логотип */
.logo { font-family: 'Press Start 2P', cursive; font-size: 1.1rem; color: var(--cyan); text-decoration: none; transition: 0.4s ease; }
.logo:hover { color: #fff; text-shadow: 0 0 10px var(--cyan), 0 0 30px var(--cyan); transform: scale(1.05); }

/* Шапка */
header { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: rgba(5, 11, 26, 0.95); backdrop-filter: blur(15px); border-bottom: 2px solid var(--accent-blue); position: fixed; top: 0; width: 90%; z-index: 1000; }
nav ul { list-style: none; display: flex; gap: 25px; margin: 0; }
nav a { text-decoration: none; color: var(--text-white); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; transition: 0.3s; }
nav a:hover { color: var(--cyan); }

/* Кнопки */
.btn-base { text-decoration: none; font-weight: bold; border-radius: 15px; transition: 0.3s; cursor: pointer; border: none; text-align: center; display: inline-block; }
.btn-base:hover { animation: shake 0.4s infinite; transform: scale(1.03); }
@keyframes shake { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(1deg); } 75% { transform: rotate(-1deg); } }

.download-btn { background: var(--minecraft-green); color: #000; padding: 12px 24px; box-shadow: 0 5px 0 #218838; }
.buy-btn-main { background: var(--gold); color: #000; padding: 14px 20px; width: 90%; box-shadow: 0 5px 0 #b38f00; margin-bottom: 12px; font-size: 0.95rem; }
.buy-btn-main.disabled { opacity: 0.6; cursor: not-allowed; pointer-events: none; box-shadow: none; background: #555; color: #aaa; }
.buy-btn-alt { background: rgba(100,255,218,0.05); color: var(--cyan); border: 2px solid var(--cyan)!important; padding: 10px 20px; width: 90%; border-radius: 15px; font-size: 0.85rem; }

/* Сетка и карточки */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; width: 100%; }
.card { background: rgba(15, 28, 63, 0.8); padding: 40px; border-radius: 25px; text-align: center; border: 1px solid rgba(255,255,255,0.05); transition: 0.4s; backdrop-filter: blur(5px); }
.card:hover { border-color: var(--cyan); transform: translateY(-10px); }
.price { font-size: 2.2rem; color: var(--gold); display: block; margin: 15px 0; font-weight: 800; }
.donate-desc { font-size: 0.9rem; color: #aaa; margin: 10px 0; min-height: 40px; }

/* Кнопка быстрой копии IP на карточке сервера */
.ip-copy-wrapper { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); padding: 10px 15px; border-radius: 12px; display: inline-block; cursor: pointer; transition: all 0.3s ease; margin-top: 10px; }
.ip-copy-wrapper:hover { background: rgba(100, 255, 218, 0.1); border-color: var(--cyan); }
.ip-clickable { font-weight: bold; color: #fff; display: block; font-size: 1.1rem; }
.copy-tooltip { font-size: 11px; color: #888; display: block; margin-top: 4px; transition: color 0.3s; }
.ip-copy-wrapper.copied .copy-tooltip { color: var(--minecraft-green); font-weight: bold; }

/* Соцсети (Центровка зафиксирована) */
.social-box { display: flex; gap: 20px; margin-top: 30px; justify-content: center; width: 100%; }
.social-link { padding: 15px 35px; color: #fff; border-radius: 15px; font-weight: bold; }
.ds { background: var(--discord); box-shadow: 0 5px 0 #3e49cc; }
.tg { background: var(--telegram); box-shadow: 0 5px 0 #006699; }

/* Уведомление */
.notification { position: fixed; top: 100px; right: -450px; width: 320px; background: rgba(15, 28, 63, 0.95); border: 1px solid var(--cyan); border-radius: 20px; padding: 20px; z-index: 2000; display: flex; gap: 15px; backdrop-filter: blur(10px); transition: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.notification.active { right: 20px; }
.notif-text strong { display: block; color: var(--cyan); font-size: 0.85rem; margin-bottom: 5px; }
.notif-text p { font-size: 0.8rem; margin: 0 0 10px; line-height: 1.4; }
.notif-link { color: var(--gold); font-size: 0.8rem; text-decoration: none; font-weight: bold; }
.notif-close { background: none; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; opacity: 0.5; }

/* Виджет статуса */
.status-widget { position: fixed; bottom: 20px; right: 20px; background: rgba(15, 28, 63, 0.9); border: 1px solid var(--cyan); padding: 12px 20px; border-radius: 15px; z-index: 1001; backdrop-filter: blur(10px); display: flex; align-items: center; gap: 10px; font-size: 0.85rem; }
.status-dot { width: 10px; height: 10px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 10px var(--gold); animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.3); opacity: 0.5; } }

/* Остальное */
#particles-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.particle { position: absolute; border-radius: 2px; animation: float-up linear infinite; }
@keyframes float-up { from { transform: translateY(110vh); opacity: 0; } to { transform: translateY(-10vh); opacity: 0; } }
#main { background: linear-gradient(to bottom, rgba(5,11,26,0.1), var(--dark-blue) 100%), url('../img/background.jpg') center/cover; min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.hero-content { text-align: center; background: rgba(5,11,26,0.75); padding: 50px; border-radius: 30px; backdrop-filter: blur(10px); border: 1px solid rgba(100,255,218,0.2); max-width: 850px; z-index: 10; }
h1 { font-family: 'Press Start 2P', cursive; font-size: 2.8rem; color: var(--cyan); margin-bottom: 20px; }
section { padding: 120px 10% 100px; display: flex; flex-direction: column; align-items: center; }
footer { text-align: center; padding: 60px; opacity: 0.5; }
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* СНЕС ДЛЯ СТРОКИ СТИЛИ ТВОИХ КОНТАКТОВ И СДЕЛАЛ КРАСИВЫЕ СОЦСЕТИ */
.contacts-section { padding: 80px 20px; background: var(--dark-blue); color: #ffffff; text-align: center; width: 100%; box-sizing: border-box; }
.contacts-container { max-width: 1200px; margin: 0 auto; width: 100%; }
.contacts-title { font-size: 2.5rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--cyan); font-family: 'Ubuntu', sans-serif; font-weight: 700; }
.contacts-subtitle { color: #aaaaaa; margin-bottom: 40px; font-size: 1.1rem; }

/* Контейнер-строка для карточек */
.social-row { display: flex; justify-content: center; gap: 25px; width: 100%; flex-wrap: wrap; }

/* Обновленный стиль карточек (ТВОЙ ЛЮБИМЫЙ ЦВЕТ СОХРАНЕН) */
.contact-card { background: #0F172A; border: 2px solid #2d2d2d; border-radius: 20px; padding: 35px 25px; text-decoration: none; color: #ffffff; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 280px; max-width: 340px; backdrop-filter: blur(5px); }
.contact-icon { font-size: 3rem; margin-bottom: 15px; transition: transform 0.3s ease; }
.contact-card h3 { font-size: 1.4rem; margin: 10px 0; font-weight: 700; }
.contact-card p { font-size: 0.95rem; color: #aaaaaa; margin: 0; }

/* Эффекты наведения со свечением под переменные */
.contact-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6); }
.contact-card:hover .contact-icon { transform: scale(1.15); }

.contact-card.telegram:hover { border-color: var(--telegram); box-shadow: 0 0 25px rgba(0, 136, 204, 0.35); }
.contact-card.telegram-chat:hover { border-color: #24a1de; box-shadow: 0 0 25px rgba(36, 161, 222, 0.35); }
.contact-card.discord:hover { border-color: var(--discord); box-shadow: 0 0 25px rgba(88, 101, 242, 0.35); }
