:root {
    --primary-color: #2b7dff; /* Синий как на логотипе */
    --primary-hover: #1e6af0;
    --primary-glow: #4d94ff;
    
    --accent-color: #00ff88; /* Неоново-зеленый акцент из глаз медведя */
    --accent-glow: #33ff99;
    
    --secondary-color: #121520; /* Очень темный синий/серый для плашек */
    --secondary-hover: #1a1e2d;
    
    --bg-dark: #0a0d14; /* Основной очень темный фон */
    --bg-darker: #06080d;
    
    --text-light: #ffffff; /* Белый текст */
    --text-muted: #8b95a5;
    --border-color: #1e2436;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(43, 125, 255, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 255, 136, 0.03), transparent 25%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary-color); }
.mb-4 { margin-bottom: 20px; }

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 800;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-glow);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-color);
}

.glow-text {
    color: var(--primary-glow);
    text-shadow: 0 0 15px rgba(43, 125, 255, 0.6), 0 0 30px rgba(43, 125, 255, 0.4);
}

.glow-accent {
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.6), 0 0 30px rgba(0, 255, 136, 0.4);
}

p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

strong {
    color: #fff;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(43, 125, 255, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 12px;
}

.btn-full {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
}

/* Header */
.header {
    background-color: var(--bg-darker);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-highlight {
    color: var(--text-muted);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
}

.nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    margin-top: 70px;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Абстрактный фон для хиро */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(43, 125, 255, 0.15) 0%, rgba(15, 17, 26, 0) 70%);
    z-index: -1;
}

.hero-logo-large {
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
}

.hero-main-logo {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(43, 125, 255, 0.4));
    animation: float 6s ease-in-out infinite;
}

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

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-light);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Games Grid */
.games-grid-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.game-card-large {
    background: rgba(22, 24, 35, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(43, 125, 255, 0.2);
    border-radius: 25px;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.game-card-large:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(0, 255, 136, 0.6);
    box-shadow: 0 20px 50px rgba(43, 125, 255, 0.2), inset 0 0 30px rgba(0, 255, 136, 0.1);
}

.game-img-wrapper {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 25px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}

.game-img {
    height: 250px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: transform 0.5s ease;
}

.game-card-large:hover .game-img {
    transform: scale(1.05);
}

/* Градиент для затемнения низа картинки */
.game-img::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 70%;
    background: linear-gradient(to top, rgba(10, 13, 20, 0.9), transparent);
}

.game-overlay-title {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 2rem;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
    font-weight: 900;
    letter-spacing: 1px;
}

.game-info p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    min-height: 80px;
    color: #a0aabf;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: linear-gradient(145deg, rgba(22, 24, 35, 0.9), rgba(15, 17, 26, 0.9));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(43, 125, 255, 0.15);
    border-radius: 25px;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.7s ease;
}

.feature-card:hover::after {
    left: 200%;
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: rgba(0, 255, 136, 0.6);
    background: linear-gradient(145deg, rgba(30, 36, 54, 0.9), rgba(22, 24, 35, 0.9));
    box-shadow: 0 20px 50px rgba(43, 125, 255, 0.15);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
}

.feature-card h3 {
    color: var(--primary-glow);
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Bonus List */
.bonus-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.bonus-list li {
    background-color: var(--secondary-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

/* SEO Content Box & Text Blocks */
.text-blocks {
    max-width: 900px;
    margin: 0 auto;
}

.text-blocks p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.text-center-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.large-text {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.glow-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-top: 30px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.glow-subtitle.text-center {
    text-align: center;
}

.reviews-list p {
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    text-align: left;
    font-style: italic;
    margin: 0 auto 20px auto;
    max-width: 800px;
}

.seo-box {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
}

.seo-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.seo-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-glow);
}

.small-text {
    font-size: 0.85rem;
    color: #666;
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: var(--text-muted);
}

.footer ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(6, 8, 13, 0.9);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.close-btn:hover { color: #fff; }

.input-field {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: #fff;
    border-radius: 10px;
    outline: none;
    font-size: 1rem;
}

.input-field:focus {
    border-color: var(--primary-color);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* Bonus Modal Special Styles */
.bonus-content {
    background: linear-gradient(135deg, var(--bg-dark), var(--secondary-color));
    border: 2px solid var(--primary-color);
    text-align: center;
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.4);
}

.bonus-header {
    margin-bottom: 20px;
}

.bonus-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
}

.bonus-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.bonus-content p {
    font-size: 1.1rem;
    color: #fff;
}

/* Timer Styles */
.timer-container {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid var(--border-color);
}

.timer-title {
    color: #ff4757 !important;
    font-weight: bold;
    margin-bottom: 10px !important;
    text-transform: uppercase;
    font-size: 0.9rem !important;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-box span:first-child {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-glow);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.time-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.time-separator {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-glow);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Pulse Animation for Button */
.pulse-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(138, 43, 226, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(138, 43, 226, 0);
    }
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.6);
}

/* Responsive */
@media (max-width: 992px) {
    .games-grid-large { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .header-content { flex-direction: column; height: auto; padding: 15px 0; gap: 15px; }
    .nav { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .hero { margin-top: 130px; }
    .hero-title { font-size: 2rem; }
    .seo-columns { grid-template-columns: 1fr; }
    .game-img { height: 200px; }
}
