/* Основные стили */
:root {
    --primary-dark: #1a0526;
    --secondary-dark: #2d0a4d;
    --accent-purple: #6b21a8;
    --neon-purple: #a855f7;
    --neon-pink: #ec4899;
    --light-text: #ffffff;
    --gray-text: #d1d5db;
    --border-color: #4c1d95;
    --card-bg: rgba(26, 5, 38, 0.8);
    --shadow: 0 10px 25px rgba(168, 85, 247, 0.1);
    --shadow-hover: 0 15px 35px rgba(168, 85, 247, 0.2);
    --neon-glow: 0 0 15px rgba(168, 85, 247, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-dark);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(107, 33, 168, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 20%);
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
}

a {
    color: var(--neon-purple);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--neon-pink);
}

.highlight {
    color: var(--neon-pink);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-login {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--neon-purple);
}

.btn-login:hover {
    background-color: var(--neon-purple);
    color: white;
    box-shadow: var(--neon-glow);
}

.btn-register {
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    color: white;
    margin-left: 15px;
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-bonus {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    color: var(--primary-dark);
    font-weight: 700;
    margin-right: 15px;
}

.btn-bonus:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.btn-play {
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    color: white;
    font-weight: 700;
}

.btn-play:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-demo {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--neon-purple);
    margin-right: 10px;
}

.btn-demo:hover {
    background-color: var(--neon-purple);
    color: white;
    box-shadow: var(--neon-glow);
}

/* Шапка */
.header {
    background-color: rgba(26, 5, 38, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
}

.logo-icon {
    color: var(--neon-purple);
    margin-right: 10px;
    font-size: 2rem;
}

.logo-highlight {
    color: var(--neon-pink);
}

.nav-desktop ul {
    display: flex;
    list-style: none;
}

.nav-desktop ul li {
    margin-left: 30px;
}

.nav-desktop ul li a {
    color: var(--gray-text);
    font-weight: 600;
    padding: 8px 0;
    position: relative;
}

.nav-desktop ul li a.active {
    color: white;
}

.nav-desktop ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    transition: width 0.3s ease;
}

.nav-desktop ul li a:hover::after,
.nav-desktop ul li a.active::after {
    width: 100%;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.burger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--neon-purple);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--secondary-dark);
    padding: 100px 30px 40px;
    z-index: 999;
    transition: right 0.4s ease;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
}

.nav-mobile.active {
    right: 0;
}

.nav-mobile ul {
    list-style: none;
}

.nav-mobile ul li {
    margin-bottom: 25px;
}

.nav-mobile ul li a {
    color: var(--gray-text);
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    padding: 8px 0;
}

.nav-mobile ul li a.active {
    color: white;
}

.nav-mobile ul li a:hover {
    color: var(--neon-purple);
}

.mobile-auth {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}

.mobile-auth .btn {
    margin: 0 0 15px 0;
    width: 100%;
}

/* Герой-баннер */
.hero {
    padding: 100px 0 80px;
    background: radial-gradient(ellipse at top, rgba(107, 33, 168, 0.2) 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Секции */
.section-title {
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-text);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* Рейтинг казино */
.casino-rating {
    padding: 80px 0;
    background-color: rgba(45, 10, 77, 0.3);
}

.rating-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.rating-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.rating-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--neon-purple);
}

.rating-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    color: white;
    font-weight: 800;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.casino-logo {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.casino-icon {
    font-size: 2.5rem;
    color: var(--neon-purple);
    margin-right: 15px;
}

.casino-logo h3 {
    font-size: 1.8rem;
    margin: 0;
}

.rating-info {
    margin-bottom: 25px;
}

.rating-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rating-label {
    color: var(--gray-text);
}

.rating-value {
    font-weight: 600;
}

.rating-score {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.stars {
    color: #fbbf24;
}

.score {
    font-weight: 700;
    font-size: 1.2rem;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rating-buttons {
    display: flex;
    justify-content: space-between;
}

.rating-buttons .btn {
    width: 48%;
    padding: 12px 5px;
}

/* Слоты */
.slots-section {
    padding: 80px 0;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.slot-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.slot-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--neon-purple);
}

.slot-image {
    height: 200px;
    background: linear-gradient(135deg, var(--secondary-dark), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.slot-img-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 20px;
    background: rgba(168, 85, 247, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--neon-purple);
}

.slot-icon {
    font-size: 4rem;
    color: var(--neon-purple);
}

.slot-info {
    padding: 25px;
}

.slot-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.slot-info p {
    color: var(--gray-text);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.slot-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.slot-feature {
    display: flex;
    align-items: center;
    color: var(--gray-text);
    font-size: 0.9rem;
}

.slot-feature i {
    color: var(--neon-purple);
    margin-right: 5px;
}

.slot-buttons {
    display: flex;
    justify-content: space-between;
}

.slot-buttons .btn {
    width: 48%;
    padding: 12px 5px;
}

/* О сайте */
.about-preview {
    padding: 80px 0;
    background-color: rgba(45, 10, 77, 0.3);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.about-item {
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(26, 5, 38, 0.6);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.about-item:hover {
    transform: translateY(-5px);
    border-color: var(--neon-purple);
    box-shadow: var(--neon-glow);
}

.about-icon {
    font-size: 2.5rem;
    color: var(--neon-purple);
    margin-bottom: 20px;
}

.about-item h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Заголовок страницы */
.page-header {
    padding: 100px 0 60px;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(107, 33, 168, 0.2) 0%, transparent 70%);
}

.page-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-subtitle {
    color: var(--gray-text);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Контент страниц */
.page-content {
    padding: 60px 0 80px;
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.main-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.main-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--neon-purple);
}

.main-content ul, .main-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.main-content li {
    margin-bottom: 10px;
    padding-left: 10px;
}

/* Навигация по правилам */
.rules-navigation {
    background-color: rgba(45, 10, 77, 0.5);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.rules-navigation h3 {
    margin-bottom: 15px;
    color: var(--neon-purple);
}

.rules-navigation ul {
    list-style: none;
    margin-left: 0;
}

.rules-navigation li {
    margin-bottom: 10px;
    padding-left: 0;
}

.rules-navigation a {
    color: var(--gray-text);
    display: flex;
    align-items: center;
}

.rules-navigation a::before {
    content: '→';
    color: var(--neon-purple);
    margin-right: 10px;
    font-weight: bold;
}

.rules-navigation a:hover {
    color: white;
    padding-left: 5px;
}

/* Секции правил */
.rules-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.rules-section:last-of-type {
    border-bottom: none;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.criterion {
    background-color: rgba(26, 5, 38, 0.6);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.criterion-icon {
    font-size: 2rem;
    color: var(--neon-purple);
    margin-bottom: 15px;
}

.call-to-action {
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.2), rgba(236, 72, 153, 0.1));
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    border: 1px solid var(--border-color);
}

.responsible-gaming {
    background-color: rgba(26, 5, 38, 0.6);
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
    border-left: 5px solid var(--neon-pink);
}

.rules-update {
    background-color: rgba(45, 10, 77, 0.3);
    padding: 25px;
    border-radius: 15px;
    margin-top: 50px;
    text-align: center;
    border: 1px dashed var(--neon-purple);
}

/* Футер */
.footer {
    background-color: rgba(26, 5, 38, 0.95);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
    margin-bottom: 30px;
}

.footer-description {
    color: var(--gray-text);
    margin-top: 20px;
    max-width: 350px;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-column {
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--neon-purple);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--gray-text);
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--gray-text);
    font-size: 0.9rem;
}

.disclaimer {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 10px;
}

/* Адаптивность */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .rating-cards,
    .slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        justify-content: flex-start;
    }
    
    .footer-column {
        margin-right: 40px;
    }
}

@media (max-width: 768px) {
    .nav-desktop,
    .auth-buttons {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        margin: 0 0 15px 0;
        width: 100%;
        max-width: 300px;
    }
    
    .rating-cards,
    .slots-grid,
    .about-grid,
    .criteria-grid {
        grid-template-columns: 1fr;
    }
    
    .rating-buttons,
    .slot-buttons {
        flex-direction: column;
    }
    
    .rating-buttons .btn,
    .slot-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .rating-buttons .btn:last-child,
    .slot-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .page-title {
        font-size: 2.3rem;
    }
    
    .footer-column {
        min-width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 20px;
    }
    
    .rating-card,
    .slot-card,
    .about-item,
    .criterion {
        padding: 20px;
    }
}