@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Majestic-like Palette */
    --accent: #e11d48; /* Красный/Малиновый акцент */
    --accent-hover: #be123c;
    --accent-glow: rgba(225, 29, 72, 0.5);
    
    --vip-gold: #fbbf24;
    --vip-glow: rgba(251, 191, 36, 0.4);

    --bg-body: #050505; /* Глубокий черный */
    --bg-card: #121212;
    --bg-card-hover: #1a1a1a;
    --bg-overlay: rgba(0, 0, 0, 0.8);
    
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    
    --border: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.3);
    
    --radius: 4px; /* Более строгие углы */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Фоновый шум/градиент */
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(225, 29, 72, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(251, 191, 36, 0.05), transparent 25%);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1;
    letter-spacing: 1px;
}

h1 { font-size: 4.5rem; font-weight: 700; margin-bottom: 20px; }
h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 15px; position: relative; display: inline-block; }
h3 { font-size: 1.5rem; font-weight: 500; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
p { color: var(--text-muted); font-size: 1rem; margin-bottom: 20px; max-width: 700px; }

/* Акцент на тексте */
.text-accent { color: var(--accent); }
.text-vip { color: var(--vip-gold); }

/* ===== LAYOUT ===== */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.container-sm { max-width: 900px; }

.price-card-hot {
    position: relative;
    padding-top: 40px;
    border: 1px solid var(--vip-gold);
    box-shadow: 0 0 30px rgba(251,191,36,0.15);
}

.discount-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: #ef4444;
    color: #fff;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    box-shadow: 0 0 20px rgba(239,68,68,0.4);
    animation: pulse 1.5s infinite;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.new-price {
    margin-bottom: 15px;
}

.offer-timer {
    font-size: 0.9rem;
    color: #fcd34d;
}

#vip-countdown {
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 5px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand i { color: var(--accent); }

.navbar-menu { display: flex; gap: 30px; align-items: center; }

.navbar-link {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.navbar-link:hover, .navbar-link.active {
    color: #fff;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.navbar-link:hover::after, .navbar-link.active::after { width: 100%; }

/* ===== BUTTONS (MAJESTIC STYLE) ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    /* Скошенные углы как в игре */
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    color: #fff;
    gap: 10px;
}

.btn-primary {
    background: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    clip-path: none; 
    border-radius: 4px;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.btn-lg { padding: 18px 40px; font-size: 1.2rem; }
.btn-sm { padding: 8px 20px; font-size: 0.9rem; clip-path: none; border-radius: 4px; }

/* ===== CARDS & GRID ===== */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 30px;
    transition: var(--transition);
    position: relative;
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

/* Декоративная линия сверху карточки */
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0; height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}
.card:hover::before { width: 100%; }

.card h4 { font-size: 1.4rem; margin-bottom: 10px; }

/* ===== HERO SECTION ===== */
.hero-section {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    background: url('../img/hero-bg.jpg') no-repeat center center/cover; /* Замените на вашу картинку */
}

/* Затемнение фона */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(0deg, var(--bg-body) 0%, rgba(5,5,5,0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-tag {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

/* ===== STATS SECTION ===== */
.stats-bar {
    background: #0f0f0f;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
}

.stat-item { text-align: center; }
.stat-val { 
    font-family: var(--font-heading); 
    font-size: 2.5rem; 
    font-weight: 700; 
    color: #fff; 
    display: block;
}
.stat-label { 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    color: var(--text-muted); 
    letter-spacing: 1px;
}

/* ===== FOOTER ===== */
footer {
    background: #080808;
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 1.2rem; }
.footer-col a { 
    display: block; 
    color: var(--text-muted); 
    margin-bottom: 10px; 
    font-size: 0.9rem; 
    transition: 0.2s; 
}
.footer-col a:hover { color: var(--accent); padding-left: 5px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    .hero-section { min-height: auto; padding: 150px 0 100px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .navbar-menu { display: none; }
    .mobile-menu-btn { display: block; color: #fff; font-size: 1.5rem; }
}