/* ============================================
   Цветовая палитра на основе дизайна
   ============================================ */

:root {
    /* Основные зеленые цвета */
    --color-primary-green: #00FF88;
    --color-emerald: #32CD32;
    --color-lime: #ADFF2F;
    --color-yellow-green: #CCFF00;
    
    /* Акцентные теплые цвета */
    --color-orange: #FF8C00;
    --color-orange-light: #FFA500;
    --color-red: #FF4500;
    --color-red-dark: #DC143C;
    
    /* Фоновые темные цвета */
    --color-bg-dark: #0A2E0A;
    --color-bg-darker: #0D2818;
    --color-bg-black: #000000;
    --color-bg-dark-green: #1A3A1A;
    
    /* Градиенты */
    --gradient-fire: linear-gradient(180deg, #FF4500 0%, #FF8C00 30%, #00FF88 70%, #32CD32 100%);
    --gradient-green: linear-gradient(135deg, #0A2E0A 0%, #1A3A1A 50%, #0D2818 100%);
    --gradient-hero: linear-gradient(180deg, #000000 0%, #0A2E0A 40%, #1A3A1A 100%);
    --gradient-button: linear-gradient(135deg, #FF8C00 0%, #00FF88 100%);
    
    /* Текст */
    --color-text-light: #FFFFFF;
    --color-text-gray: #CCCCCC;
    --color-text-dark: #333333;
    
    /* Тени */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* ============================================
   Базовые стили
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--color-bg-black);
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Типографика
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-orange);
    text-shadow: none;
}

/* ============================================
   Header / Навигация
   ============================================ */

header {
    background: rgba(10, 46, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary-green);
    text-shadow: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--color-text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
    color: var(--color-primary-green);
    background: rgba(0, 255, 136, 0.1);
    box-shadow: none;
}

.header-buttons {
    display: flex;
    gap: 1rem;
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 46, 10, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(0, 255, 136, 0.2);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.mobile-menu ul {
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
}

.mobile-menu-overlay.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Кнопки
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-button);
    color: var(--color-text-light);
    box-shadow: none;
}

.btn-primary:hover {
    box-shadow: none;
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.1rem;
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary-green);
    border: 2px solid var(--color-primary-green);
}

.btn-secondary:hover {
    background: rgba(0, 255, 136, 0.1);
    box-shadow: none;
}

/* Кнопка для перехода на игру в hero */
.hero-game-btn {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.25) 0%, rgba(255, 69, 0, 0.25) 100%);
    color: var(--color-orange);
    border: 2px solid var(--color-orange);
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-game-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-game-btn:hover {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.4) 0%, rgba(255, 69, 0, 0.4) 100%);
    border-color: var(--color-primary-green);
    color: var(--color-primary-green);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.hero-game-btn:hover::before {
    left: 100%;
}

.hero-game-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* ============================================
   Hero секция
   ============================================ */

.hero {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../image/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px);
    opacity: 0.4;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at bottom right, 
            rgba(255, 69, 0, 0.3) 0%,
            rgba(255, 140, 0, 0.2) 30%,
            rgba(0, 255, 136, 0.2) 60%,
            transparent 100%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(0,255,136,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.6;
    z-index: 1;
    animation: flamePulse 3s ease-in-out infinite;
}

@keyframes flamePulse {
    0%, 100% { 
        opacity: 0.6; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.05); 
    }
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    animation: fadeInUp 1s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

.hero-content > * {
    width: 100%;
    max-width: 900px;
}

.hero-content .hero-subtitle {
    text-align: center;
}

.hero-content .bonus-highlight {
    text-align: center;
    margin: 2rem auto;
    width: 100%;
    max-width: 900px;
}

.hero-content .card {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 900px;
}

.hero-content .card h3 {
    text-align: center;
    width: 100%;
}

.hero-content .btn {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.hero-image-container {
    width: 100%;
    max-width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease 0.2s both;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 500px;
    max-height: 700px;
    display: block;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 255, 136, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
}

.hero-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.6);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 4rem;
    text-align: center;
    width: 100%;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-gray);
    margin-bottom: 2rem;
}

.hero-bonus {
    background: rgba(10, 46, 10, 0.7);
    border: 2px solid var(--color-primary-green);
    border-radius: 12px;
    padding: 30px;
    margin: 2rem 0;
    box-shadow: none;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1.2s ease;
}

.hero-bonus h2 {
    color: var(--color-primary-green);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: none;
}

.bonus-main {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.hero-bonus strong {
    color: var(--color-primary-green);
    text-shadow: none;
    font-size: 1.4em;
}

/* Специальный стиль для бонуса 550 FS */
.bonus-amount {
    display: inline-block;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    line-height: 1;
    margin: 0 0.3rem;
}


.bonus-highlight {
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid var(--color-primary-green);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: none;
}

.bonus-highlight h3 {
    color: var(--color-primary-green);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: none;
}

.bonus-badge {
    display: inline-block;
    background: var(--gradient-button);
    color: var(--color-text-light);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: none;
    margin-bottom: 1rem;
}

.bonus-description {
    color: var(--color-text-gray);
    line-height: 1.8;
}

/* ============================================
   Карта Google Maps
   ============================================ */

/* ============================================
   Contact Grid
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-card {
    margin-bottom: 2rem;
}

.contact-hours-card {
    margin-top: 2rem;
}

.table-note {
    margin-top: 1rem;
    color: var(--color-text-gray);
    font-size: 0.9rem;
}

.accordion {
    margin-top: 1rem;
}

.table-container {
    margin-top: 1.5rem;
}

.support-articles-section {
    background: rgba(10, 46, 10, 0.3);
}

.contact-map {
    background: rgba(10, 46, 10, 0.3);
    padding: 80px 0;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(0, 255, 136, 0.3);
    margin-top: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    display: block;
    border: none;
}

/* ============================================
   Секции
   ============================================ */

section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-primary-green);
    text-shadow: none;
}

/* ============================================
   Карточки
   ============================================ */

.card {
    background: rgba(10, 46, 10, 0.6);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.card:hover {
    border-color: var(--color-primary-green);
    box-shadow: none;
    transform: translateY(-5px);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* ============================================
   Character Cards
   ============================================ */

.character-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.character-image-container {
    width: 100%;
    max-width: 300px;
    height: 250px;
    overflow: hidden;
    margin: 1.5rem auto;
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.character-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.character-card:hover .character-image {
    transform: scale(1.05);
}

.character-card h3 {
    margin-top: 0;
    margin-bottom: 0;
    color: var(--color-primary-green);
    text-shadow: none;
    text-align: center;
}

.character-card p {
    margin-bottom: 0;
    color: var(--color-text-gray);
    line-height: 1.6;
}

/* ============================================
   Формы
   ============================================ */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(10, 46, 10, 0.7);
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    color: var(--color-text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary-green);
    box-shadow: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-gray);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ============================================
   Footer
   ============================================ */

footer {
    background: var(--color-bg-darker);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--color-primary-green);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--color-text-gray);
}

.footer-section a:hover {
    color: var(--color-primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    color: var(--color-text-gray);
}

/* ============================================
   Cookie Banner
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 46, 10, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-top: 2px solid var(--color-primary-green);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
}

.cookie-banner.active {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
    color: var(--color-text-light);
}

.cookie-text a {
    color: var(--color-primary-green);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* ============================================
   Анимации появления элементов
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Утилиты
   ============================================ */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ============================================
   Аккордеоны
   ============================================ */

.accordion {
    margin: 1.5rem 0;
}

.accordion-item {
    background: rgba(10, 46, 10, 0.6);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: none;
}

.accordion-header {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 255, 136, 0.05);
    transition: background 0.3s ease;
    user-select: none;
}

.accordion-header:hover {
    background: rgba(0, 255, 136, 0.1);
}

.accordion-header h3,
.accordion-header h4 {
    margin: 0;
    color: var(--color-primary-green);
    font-size: 1.3rem;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--color-primary-green);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    padding: 1.5rem;
}

.accordion-content p,
.accordion-content ul {
    color: var(--color-text-gray);
    line-height: 1.8;
}

/* ============================================
   Таблицы
   ============================================ */

.table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(10, 46, 10, 0.6);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

table thead {
    background: rgba(0, 255, 136, 0.15);
}

table th {
    padding: 1rem;
    text-align: left;
    color: var(--color-primary-green);
    font-weight: 600;
    border-bottom: 2px solid rgba(0, 255, 136, 0.3);
}

table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
    color: var(--color-text-gray);
}

table tbody tr {
    transition: background 0.3s ease;
}

table tbody tr:hover {
    background: rgba(0, 255, 136, 0.05);
}

table tbody tr:last-child td {
    border-bottom: none;
}

table tbody tr:nth-child(even) {
    background: rgba(0, 255, 136, 0.02);
}

/* ============================================
   Статьи
   ============================================ */

.article {
    background: rgba(10, 46, 10, 0.6);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.article:hover {
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: none;
}

.article-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 255, 136, 0.2);
}

.article-header h3 {
    color: var(--color-primary-green);
    margin-bottom: 0.5rem;
}

.article-meta {
    color: var(--color-text-gray);
    font-size: 0.9rem;
}

.article-content {
    color: var(--color-text-gray);
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1rem;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
}

.article-tag {
    background: rgba(0, 255, 136, 0.1);
    color: var(--color-primary-green);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

/* ============================================
   Удаление фона с изображений
   ============================================ */

.tournament-image-no-bg {
    mix-blend-mode: multiply;
    filter: brightness(1.2) contrast(1.4) saturate(1.3);
    background: transparent;
    position: relative;
}

.tournament-image-no-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 46, 10, 0.05);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: -1;
}

/* ============================================
   Мини-игра стили
   ============================================ */

#game-area {
    position: relative;
    background: linear-gradient(180deg, #0A2E0A 0%, #1A3A1A 50%, #0D2818 100%);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 140, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 69, 0, 0.05) 0%, transparent 70%);
    overflow: hidden;
}

#game-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 136, 0.03) 2px, rgba(0, 255, 136, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 140, 0, 0.03) 2px, rgba(255, 140, 0, 0.03) 4px);
    pointer-events: none;
    z-index: 1;
}

.lightning {
    position: absolute;
    background: radial-gradient(circle, #00FF88 0%, #32CD32 30%, #FF8C00 60%, #FF4500 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: none;
    animation: lightningPulse 1.2s ease-in-out infinite, lightningRotate 3s linear infinite;
    transition: all 0.3s ease;
    z-index: 100;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.lightning:hover {
    transform: scale(1.3) rotate(180deg) !important;
    box-shadow: none;
    filter: brightness(1.3);
}

.lightning::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, #FFFFFF 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.8;
    animation: lightningIconPulse 0.5s ease-in-out infinite;
    z-index: 101;
}

.lightning::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: lightningAura 2s ease-in-out infinite;
    z-index: 99;
}

@keyframes lightningPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes lightningRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes lightningIconPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        filter: brightness(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        filter: brightness(1.5);
    }
}

@keyframes lightningAura {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

@keyframes popupFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: brightness(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-25px) scale(1.3);
        filter: brightness(1.5);
    }
    100% {
        opacity: 0;
        transform: translateY(-60px) scale(1.5);
        filter: brightness(2);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}

.fs-popup {
    animation: popupFloat 1.2s ease-out forwards;
    font-weight: 900;
    text-shadow: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #00FF88 0%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    animation: sparkle 0.8s ease-out forwards;
    box-shadow: none;
}

.particle-orange {
    background: radial-gradient(circle, #FF8C00 0%, transparent 100%);
    box-shadow: none;
}

.particle-red {
    background: radial-gradient(circle, #FF4500 0%, transparent 100%);
    box-shadow: none;
}

@keyframes flashEffect {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.particle {
    transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                top 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

