* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0a0f1e, #0c1222);
    font-family: 'Inter', system-ui;
    color: #fff;
    padding-top: 85px;
}

/* ---------- НАВИГАЦИОННОЕ МЕНЮ ---------- */
.main-nav {
    background: rgba(26, 31, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    height: 65px;
}

.main-nav .nav-brand {
    font-weight: 800;
    font-size: 26px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 30px;
    text-decoration: none;
}

.main-nav a {
    color: #ccc;
    text-decoration: none;
    margin: 0 18px;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
    white-space: nowrap;
}

.main-nav a:hover {
    color: #ffd700;
}

.main-nav a.active {
    color: #ffd700;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 4px;
}

/* ---------- ОБЩИЕ БЛОКИ ---------- */
.container {
    max-width: 1400px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 50px;
}

.logo {
    font-size: 64px;
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
    color: #fff;                    /* ← главное: белый цвет иконки */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
    margin-bottom: 20px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

h1 {
    font-size: 48px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: #888;
    font-size: 16px;
}

/* ---------- ТАБЛИЦА VIP ---------- */
.vip-table {
    background: rgba(26, 31, 46, 0.95);
    border-radius: 32px;
    padding: 20px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

th {
    color: #ffd700;
    font-weight: 600;
}

tr:hover {
    background: rgba(255, 215, 0, 0.05);
}

.status-active {
    color: #4caf50;
}

.status-expired {
    color: #f44336;
}

.server-badge {
    background: #ff9800;
    color: #000;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
}

/* ---------- КАРТОЧКИ ТОВАРОВ ---------- */
.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.product-card {
    background: rgba(26, 31, 46, 0.95);
    border-radius: 32px;
    padding: 30px;
    width: 380px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    transition: 0.3s;
}
.product-card:hover {
     transform: translateY(-10px); 
box-shadow: 0 10px 25px rgba(255, 215, 0, 0.15);
}

.product-card h2 {
    color: var(--card-color);
    text-align: center;
    margin-bottom: 15px;
}

.product-desc {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
}

.features-list {
    list-style: none;
    margin: 20px 0;
}

.features-list li {
    padding: 8px 0;
    color: #ccc;
    display: flex;
    gap: 8px;
}

.features-list li::before {
    content: "✓";
    color: #4caf50;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    color: #ffd700;
    font-size: 12px;
    display: block;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    background: #0a0f1e;
    border: 1px solid #2a2f3e;
    border-radius: 16px;
    color: #fff;
}

.duration-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
}

.duration-option {
    display: flex;
    justify-content: space-between;
    padding: 12px 18px;
    background: #0a0f1e;
    border-radius: 14px;
    cursor: pointer;
    border: 1px solid #2a2f3e;
}

.duration-option.selected {
    background: #1a3a2a;
    border-color: #4caf50;
}

.duration-price {
    color: #4caf50;
    font-weight: bold;
}

.btn-buy {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    border: none;
    border-radius: 20px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

/* ---------- СООБЩЕНИЯ ---------- */
.message {
    padding: 15px;
    border-radius: 16px;
    margin-bottom: 30px;
    text-align: center;
}

.message.error {
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid #f44336;
    color: #f44336;
}

/* ---------- ПОДВАЛ ---------- */
.footer {
    text-align: center;
    margin-top: 40px;
    color: #555;
    font-size: 12px;
}

.footer a {
    color: #ffd700;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* ---------- БЛОК ПОМОЩИ ---------- */
.help-box {
    background: rgba(26, 31, 46, 0.8);
    border-radius: 28px;
    padding: 30px;
    text-align: center;
    margin-top: 40px;
}

.help-box code {
    background: #0a0f1e;
    padding: 6px 12px;
    border-radius: 10px;
    color: #ffd700;
}

.emoji {
    -webkit-text-fill-color: initial !important;
    color: #ffd700 !important;
    text-shadow: 0 0 10px rgba(255,215,0,0.5);
}