/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0f051d;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(123, 31, 162, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(155, 39, 176, 0.15) 0%, transparent 20%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
.header {
    background: rgba(15, 5, 29, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(171, 71, 188, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: #ab47bc;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #d1c4e9;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ab47bc, #7b1fa2);
    border-radius: 2px;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 15px;
    gap: 8px;
    white-space: nowrap;
}

.btn-login {
    background: transparent;
    color: #d1c4e9;
    border: 1px solid rgba(171, 71, 188, 0.5);
}

.btn-reg {
    background: linear-gradient(90deg, #7b1fa2, #ab47bc);
    color: white;
    box-shadow: 0 4px 15px rgba(123, 31, 162, 0.3);
}

.btn-bonus {
    background: linear-gradient(90deg, #ff4081, #f50057);
    color: white;
    box-shadow: 0 4px 20px rgba(245, 0, 87, 0.4);
    padding: 14px 32px;
    font-size: 16px;
}

.btn-play {
    background: linear-gradient(90deg, #00e676, #00c853);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 200, 83, 0.4);
    padding: 14px 32px;
    font-size: 16px;
}

.btn-play-slot {
    background: linear-gradient(90deg, #2979ff, #2962ff);
    color: white;
}

.btn-demo-slot {
    background: transparent;
    color: #bb86fc;
    border: 1px solid #bb86fc;
}

.btn-review {
    background: transparent;
    color: #d1c4e9;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-login:hover {
    background: rgba(171, 71, 188, 0.1);
    border-color: #ab47bc;
}

.btn-reg:hover,
.btn-bonus:hover,
.btn-play:hover,
.btn-play-slot:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(171, 71, 188, 0.5);
}

.btn-demo-slot:hover {
    background: rgba(187, 134, 252, 0.1);
}

/* Бургер-меню */
.burger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #d1c4e9;
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(15, 5, 29, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(171, 71, 188, 0.3);
    padding: 20px;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    z-index: 999;
}

.mobile-link {
    color: #d1c4e9;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
}

.mobile-link.active {
    color: #ab47bc;
}

.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 15px;
}

/* Главный баннер */
.hero {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(123, 31, 162, 0.2) 0%, transparent 70%);
    z-index: -1;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.neon-text {
    color: #00e5ff;
    text-shadow: 0 0 10px #00e5ff, 0 0 20px #00e5ff, 0 0 30px #00e5ff;
}

.hero-text {
    font-size: 18px;
    color: #d1c4e9;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #ab47bc;
    margin-bottom: 5px;
}

.stat-text {
    color: #d1c4e9;
    font-size: 14px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Секции */
.section {
    padding: 80px 0;
}

.section.dark {
    background: rgba(20, 10, 35, 0.7);
    border-radius: 20px;
    margin: 40px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-subtitle {
    color: #bb86fc;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Рейтинг казино */
.rating-table {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.rating-item {
    background: rgba(30, 20, 45, 0.7);
    border-radius: 12px;
    padding: 25px;
    display: grid;
    grid-template-columns: auto 150px 1fr auto auto;
    align-items: center;
    gap: 25px;
    border: 1px solid rgba(171, 71, 188, 0.2);
    transition: all 0.3s ease;
}

.rating-item:hover {
    border-color: rgba(171, 71, 188, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.rating-item.rating-top {
    border: 2px solid #ff9800;
    background: rgba(30, 20, 45, 0.9);
}

.rating-number {
    font-size: 32px;
    font-weight: 800;
    color: #ab47bc;
    min-width: 50px;
}

.rating-logo {
    position: relative;
}

.rating-logo img {
    width: 120px;
    height: 60px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
}

.rating-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.rating-badge-green {
    background: linear-gradient(90deg, #00c853, #00e676);
    color: white;
}

.rating-badge-blue {
    background: linear-gradient(90deg, #2962ff, #2979ff);
    color: white;
}

.rating-badge-purple {
    background: linear-gradient(90deg, #7b1fa2, #ab47bc);
    color: white;
}

.rating-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #ffffff;
}

.rating-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-features span {
    color: #d1c4e9;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-score {
    text-align: center;
}

.score {
    font-size: 36px;
    font-weight: 700;
    color: #ffd600;
}

.score-text {
    color: #d1c4e9;
    font-size: 14px;
}

.rating-buttons {
    display: flex;
    gap: 10px;
}

/* Карточки слотов */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.slot-card {
    background: rgba(35, 25, 50, 0.7);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(171, 71, 188, 0.3);
    transition: all 0.3s ease;
}

.slot-card:hover {
    transform: translateY(-10px);
    border-color: rgba(171, 71, 188, 0.8);
    box-shadow: 0 15px 40px rgba(123, 31, 162, 0.2);
}

.slot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2);
}

.slot-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.slot-badge-hot {
    background: linear-gradient(90deg, #ff4081, #f50057);
    color: white;
}

.slot-badge-new {
    background: linear-gradient(90deg, #00e676, #00c853);
    color: white;
}

.slot-badge-popular {
    background: linear-gradient(90deg, #ff9800, #ff5722);
    color: white;
}

.slot-provider {
    color: #bb86fc;
    font-size: 14px;
    font-weight: 500;
}

.slot-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.slot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slot-card:hover .slot-image img {
    transform: scale(1.05);
}

.slot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slot-card:hover .slot-overlay {
    opacity: 1;
}

.btn-play-demo {
    background: rgba(171, 71, 188, 0.9);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slot-info {
    padding: 20px;
}

.slot-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ffffff;
}

.slot-desc {
    color: #d1c4e9;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.slot-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.slot-stats span {
    color: #bb86fc;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.slot-buttons {
    display: flex;
    gap: 10px;
}

/* Демо-игра */
.demo-game-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.demo-content {
    background: linear-gradient(135deg, #1a0b2e, #2d1b47);
    width: 100%;
    max-width: 600px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #7b1fa2;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.demo-header {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #7b1fa2;
}

.demo-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
}

.close-demo {
    background: transparent;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
}

.demo-body {
    padding: 30px;
}

.game-screen {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
}

.slot-reels {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.reel {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2d1b47, #1a0b2e);
    border: 2px solid #ab47bc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.game-controls {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.balance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    margin-bottom: 20px;
    color: #00e676;
}

.bet-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.bet-btn {
    background: rgba(171, 71, 188, 0.3);
    color: white;
    border: 1px solid #ab47bc;
    border-radius: 5px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bet-btn:hover {
    background: rgba(171, 71, 188, 0.5);
}

.current-bet {
    font-size: 18px;
    color: #ffffff;
}

.spin-btn {
    background: linear-gradient(90deg, #ff4081, #f50057);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    transition: all 0.3s ease;
}

.spin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 0, 87, 0.4);
}

.game-info {
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    font-size: 16px;
    color: #ffffff;
}

.demo-note {
    background: rgba(33, 150, 243, 0.1);
    border-left: 4px solid #2196f3;
    padding: 15px;
    border-radius: 5px;
}

.demo-note p {
    color: #90caf9;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Преимущества */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(30, 20, 45, 0.7);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(171, 71, 188, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(171, 71, 188, 0.5);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #7b1fa2, #ab47bc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-card p {
    color: #d1c4e9;
    font-size: 15px;
    line-height: 1.5;
}

/* Страницы контента */
.page-content {
    padding: 60px 0;
}

.page-title {
    font-size: 42px;
    margin-bottom: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.content-block {
    background: rgba(30, 20, 45, 0.7);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(171, 71, 188, 0.2);
}

.content-block h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #ffffff;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(171, 71, 188, 0.3);
}

.content-block p {
    color: #d1c4e9;
    margin-bottom: 15px;
    line-height: 1.6;
}

.content-block ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

.content-block li {
    color: #d1c4e9;
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Шаги работы */
.work-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.step {
    background: rgba(40, 30, 55, 0.5);
    border-radius: 10px;
    padding: 25px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7b1fa2, #ab47bc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.step h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffffff;
}

/* Принципы */
.principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.principle {
    text-align: center;
}

.principle i {
    font-size: 40px;
    color: #ab47bc;
    margin-bottom: 15px;
}

.principle h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffffff;
}

/* Критерии оценки */
.criteria {
    margin-top: 30px;
}

.criterion {
    margin-bottom: 25px;
}

.criterion h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #ffffff;
}

.criterion-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin-bottom: 8px;
    overflow: hidden;
}

.criterion-fill {
    height: 100%;
    background: linear-gradient(90deg, #7b1fa2, #ab47bc);
    border-radius: 5px;
}

.criterion p {
    font-size: 14px;
    color: #d1c4e9;
}

/* Контактная информация */
.contact-block {
    background: rgba(30, 20, 45, 0.9);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-info i {
    color: #ab47bc;
    width: 20px;
}

.contact-info .disclaimer {
    background: rgba(255, 152, 0, 0.1);
    border-left: 4px solid #ff9800;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

/* Футер */
.footer {
    background: rgba(10, 5, 20, 0.95);
    padding: 60px 0 30px;
    margin-top: 60px;
    border-top: 1px solid rgba(171, 71, 188, 0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-text {
    color: #d1c4e9;
    margin-bottom: 20px;
    line-height: 1.5;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #ab47bc;
    transform: translateY(-3px);
}

.footer-link {
    display: block;
    color: #d1c4e9;
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #ab47bc;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #d1c4e9;
    margin-bottom: 10px;
}

.footer-bottom .disclaimer {
    background: rgba(244, 67, 54, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.footer-links {
    color: #d1c4e9;
    font-size: 14px;
}

.footer-links a {
    color: #bb86fc;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 1100px) {
    .rating-item {
        grid-template-columns: auto 120px 1fr auto;
    }
    
    .rating-buttons {
        grid-column: 1 / -1;
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .rating-item {
        grid-template-columns: auto 100px 1fr;
        gap: 20px;
    }
    
    .rating-score {
        grid-column: 1 / -1;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .header-buttons {
        display: none;
    }
    
    .burger {
        display: flex;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .rating-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }
    
    .rating-features {
        justify-content: center;
    }
    
    .rating-features span {
        justify-content: center;
    }
    
    .slots-grid {
        grid-template-columns: 1fr;
    }
    
    .slot-buttons {
        flex-direction: column;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-bonus,
    .btn-play {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .content-block {
        padding: 25px;
    }
    
    .page-title {
        font-size: 32px;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .reel {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .slot-reels {
        gap: 10px;
    }
}