/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0410;
    --bg-secondary: #9d4edd;
    --neon-purple: #582d3e;
    --neon-pink: #ff00ff;
    --neon-blue: #00e5ff;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --shadow-neon: 0 0 10px rgba(157, 78, 221, 0.5);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #1a0b2e 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
header {
    background-color: rgba(10, 4, 16, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--neon-purple);
    box-shadow: var(--shadow-neon);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(157, 78, 221, 0.3);
}

/* Навигация для ПК */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple);
}

.nav-links a.active {
    color: var(--neon-purple);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--neon-purple);
    box-shadow: 0 0 10px var(--neon-purple);
}

/* Кнопки авторизации */
.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-login {
    background: transparent;
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
}

.btn-login:hover {
    background: var(--neon-blue);
    color: var(--bg-primary);
    box-shadow: 0 0 15px var(--neon-blue);
}

.btn-register {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    color: var(--text-white);
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(157, 78, 221, 0.4);
}

/* Бургер-меню */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.burger-line {
    width: 30px;
    height: 3px;
    background: var(--neon-purple);
    border-radius: 2px;
    transition: 0.3s;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Мобильное меню */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-top: 1px solid var(--neon-purple);
}

.mobile-menu.active {
    display: block;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-links a {
    color: var(--text-white);
    text-decoration: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 18px;
    transition: background 0.3s;
}

.mobile-links a:hover {
    background: rgba(157, 78, 221, 0.1);
}

/* Основной контент */
.main-content {
    margin-top: 100px;
    padding: 40px 0;
}

h1, h2, h3 {
    color: var(--text-white);
    margin-bottom: 20px;
}

h1 {
    font-size: 42px;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
}

h2 {
    font-size: 32px;
    color: var(--neon-purple);
    border-left: 4px solid var(--neon-pink);
    padding-left: 15px;
}

h3 {
    font-size: 24px;
    color: var(--neon-blue);
}

/* Баннер */
.hero-banner {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1), rgba(255, 0, 255, 0.1));
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 60px;
    text-align: center;
    border: 1px solid rgba(157, 78, 221, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.1) 0%, transparent 70%);
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    color: white;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--neon-blue);
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--neon-blue);
}

/* Рейтинг казино */
.casino-rating {
    margin: 60px 0;
}

.rating-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.casino-card {
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(157, 78, 221, 0.3);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.casino-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-purple);
    box-shadow: var(--shadow-neon);
}

.rating-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #ffd700, #ff9800);
    color: var(--bg-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.casino-features {
    list-style: none;
    margin: 20px 0;
}

.casino-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: var(--text-gray);
}

.casino-features li:last-child {
    border-bottom: none;
}

.casino-features strong {
    color: var(--neon-blue);
}

.play-btn {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    color: white;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(157, 78, 221, 0.4);
}

/* Топ слотов */
.slots-rating {
    margin: 60px 0;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.slot-card {
    background: var(--bg-secondary);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(157, 78, 221, 0.3);
    transition: transform 0.3s ease;
}

.slot-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-purple);
    box-shadow: var(--shadow-neon);
}

.slot-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 2px solid var(--neon-purple);
}

.slot-info {
    padding: 20px;
}

.slot-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-demo {
    background: transparent;
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    flex: 1;
    transition: all 0.3s ease;
}

.btn-demo:hover {
    background: var(--neon-blue);
    color: var(--bg-primary);
}

.btn-play {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    flex: 1;
    transition: all 0.3s ease;
}

.btn-play:hover {
    transform: scale(1.05);
}

/* Подвал */
footer {
    background: var(--bg-secondary);
    border-top: 2px solid var(--neon-purple);
    margin-top: 80px;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--neon-purple);
}

.disclaimer {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
}

/* Контент страниц */
.page-content {
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 40px;
    margin-top: 30px;
    border: 1px solid rgba(157, 78, 221, 0.3);
}

.page-content p {
    margin-bottom: 20px;
    color: var(--text-gray);
    font-size: 18px;
    line-height: 1.8;
}

.page-content ul, .page-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.page-content li {
    margin-bottom: 10px;
    color: var(--text-gray);
    font-size: 18px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-content {
        padding: 15px 0;
    }
    
    .nav-links, .auth-buttons {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 26px;
    }
    
    .hero-banner {
        padding: 30px 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .rating-grid, .slots-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-content {
        margin-top: 80px;
        padding: 20px 0;
    }
    
    .page-content {
        padding: 25px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .rating-grid, .slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}