/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a5f;
    --secondary-color: #2d5a87;
    --accent-color: #e8a838;
    --bg-light: #f5f7fa;
    --bg-white: #ffffff;
    --text-dark: #2c3e50;
    --text-gray: #5a6c7d;
    --border-color: #d1d9e0;
    --success-green: #3a7d6a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.65;
    color: var(--text-dark);
    background-color: var(--bg-light);
    font-size: 16px;
}

/* Some unused styles for uniqueness */
.unused-class-one { display: block; }
.special-hidden-block { visibility: hidden; }
.extra-margin-helper { margin: 15px; }

a {
    text-decoration: none;
    color: var(--primary-color);
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 15px;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.75rem;  margin-top: 10px; }
h3 { font-size: 1.35rem; color: var(--text-gray); }

p {
    margin-bottom: 16px;
    color: var(--text-dark);
}

ul {
    list-style: none;
    padding-left: 0;
}

/* Header Styles */
.site-header {
    background-color: var(--primary-color);
    padding: 15px 25px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.logo-co {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 2px 8px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Burger Menu */
.burger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.burger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    background-color: var(--secondary-color);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.mobile-nav.active {
    display: block;
    max-height: 300px;
    padding: 15px 25px;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-nav ul li a {
    color: #fff;
    font-size: 1.1rem;
    padding: 8px 0;
    display: block;
}

.mobile-nav ul li a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 25px;
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(232, 168, 56, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    animation: heroFloat 8s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(2deg); }
}

.roulette-wheel-bg {
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 400px;
    height: 400px;
    border: 20px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: wheelSpin 20s linear infinite;
}

@keyframes wheelSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    color: #fff;
    font-size: 2.4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 650px;
}

/* Main Wrapper */
.main-wrapper {
    padding: 30px 15px;
    max-width: 1500px;
    margin: 0 auto;
}

.main-content {
    padding-right: 25px;
}

/* Table of Content */
.toc-block {
    background: var(--bg-white);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.toc-header {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--primary-color);
    color: #fff;
}

.toc-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc-arrow {
    transition: transform 0.3s;
}

.toc-header.active .toc-arrow {
    transform: rotate(180deg);
}

.toc-content {
    display: none;
    padding: 20px;
    background: #fff;
}

.toc-content.active {
    display: block;
}

.toc-content ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.toc-content ul li {
    flex: 0 0 calc(50% - 10px);
}

.toc-content ul li a {
    display: block;
    padding: 10px 15px;
    background: var(--bg-light);
    color: var(--text-dark);
    border-left: 3px solid var(--accent-color);
}

.toc-content ul li a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Content Section */
.content-section {
    background: var(--bg-white);
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.content-section h2 {
    color: var(--text-dark);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    margin-bottom: 20px;
}

.content-section h3 {
    margin-top: 5px;
    margin-bottom: 20px;
}

/* Casino Cards */
.casino-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.casino-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.casino-card.top-1 {
    border-left: 4px solid #ffd700;
}

.casino-card.top-2 {
    border-left: 4px solid #c0c0c0;
}

.casino-card.top-3 {
    border-left: 4px solid #cd7f32;
}

.casino-rank {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 60px;
}

.casino-rank i {
    font-size: 1.8rem;
}

.casino-rank i.gold { color: #ffd700; }
.casino-rank i.silver { color: #c0c0c0; }
.casino-rank i.bronze { color: #cd7f32; }

.casino-rank span,
.rank-badge {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.casino-info {
    flex: 1;
    min-width: 200px;
}

.casino-info h4 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.casino-bonus {
    color: var(--success-green);
    font-weight: 600;
    margin-bottom: 10px;
}

.casino-features {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.casino-features span {
    font-size: 0.85rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.casino-rating {
    text-align: center;
    padding: 10px 20px;
    background: var(--primary-color);
}

.rating-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.rating-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
}

.btn-play {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    display: inline-block;
    transition: all 0.3s;
}

.btn-play:hover {
    background: #d4972f;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Lists */
.warning-list li,
.check-list li,
.bonus-list li,
.game-list li {
    padding: 12px 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--bg-light);
}

.warning-list li i { color: #d35400; }
.check-list li i { color: var(--success-green); }
.bonus-list li i { color: var(--accent-color); }
.game-list li i { color: var(--accent-color); }

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 25px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th,
.comparison-table td {
    padding: 15px 18px;
    border: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.comparison-table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

.comparison-table tbody tr:hover {
    background: #e8f0f7;
}

/* Roulette Types Grid */
.roulette-types-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
}

.roulette-type-card {
    flex: 0 0 calc(25% - 15px);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 20px;
    text-align: center;
}

.type-image {
    height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 15px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.type-image.american::after { content: "00"; font-size: 2.5rem; color: var(--accent-color); font-weight: 700; }
.type-image.european::after { content: "0"; font-size: 2.5rem; color: #27ae60; font-weight: 700; }
.type-image.french::after { content: "FR"; font-size: 2.5rem; color: #e74c3c; font-weight: 700; }
.type-image.multi::after { content: "x3"; font-size: 2.5rem; color: #9b59b6; font-weight: 700; }

.roulette-type-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.roulette-type-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.btn-play-sm {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
}

.btn-play-sm:hover {
    background: #d4972f;
    color: var(--primary-color);
}

/* Live Roulette Grid */
.live-roulette-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
}

.live-card {
    flex: 0 0 calc(33.333% - 14px);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.live-image {
    height: 140px;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.live-image.evolution::after { content: "EVOLUTION"; }
.live-image.ezugi::after { content: "EZUGI"; }
.live-image.vip::after { content: "VIP"; }

.live-info {
    padding: 20px;
    text-align: center;
}

.live-info h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.live-info p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

/* Sliders */
.providers-section,
.payments-section {
    background: var(--bg-white);
}

.providers-slider-wrapper,
.payments-slider-wrapper {
    position: relative;
    padding: 0 50px;
    margin-top: 20px;
}

.providers-slider,
.payments-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.providers-slider::-webkit-scrollbar,
.payments-slider::-webkit-scrollbar {
    display: none;
}

.provider-item,
.payment-item {
    flex: 0 0 120px;
    height: 70px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.provider-item img,
.payment-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    z-index: 10;
}

.slider-btn:hover {
    background: #d4972f;
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

/* FAQ Section */
.faq-section {
    background: var(--bg-white);
}

.faq-item {
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.faq-question {
    padding: 18px 20px;
    background: var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-question:hover {
    background: #e8f0f7;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 20px;
    background: #fff;
    border-top: 1px solid var(--border-color);
}

.faq-answer.active {
    display: block;
}

.faq-answer p {
    margin: 0;
}

/* Sidebar */
.sidebar {
    padding-left: 15px;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sidebar-block {
    background: var(--bg-white);
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.sidebar-block h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
}

.top-pick-block {
    border-top: 3px solid var(--accent-color);
}

.top-pick-content h5 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.pick-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.pick-rating .stars {
    color: var(--accent-color);
}

.btn-sidebar-play {
    display: block;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 12px;
    text-align: center;
    font-weight: 700;
    margin-top: 15px;
}

.btn-sidebar-play:hover {
    background: #d4972f;
    color: var(--primary-color);
}

.quick-links li {
    margin-bottom: 8px;
}

.quick-links li a {
    display: block;
    padding: 10px 15px;
    background: var(--bg-light);
    color: var(--text-dark);
    border-left: 3px solid var(--accent-color);
}

.quick-links li a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Newsletter */
.newsletter-block {
    background: var(--primary-color);
}

.newsletter-block h4,
.newsletter-block p {
    color: #fff;
}

.newsletter-form input {
    width: 100%;
    padding: 12px;
    border: none;
    margin-bottom: 10px;
    font-size: 1rem;
}

.newsletter-form button {
    width: 100%;
    padding: 12px;
    background: var(--accent-color);
    border: none;
    color: var(--primary-color);
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
}

.newsletter-form button:hover {
    background: #d4972f;
}

/* Info Block */
.info-block {
    background: #e8f4fc;
    border-left: 4px solid var(--secondary-color);
}

/* Responsible Block */
.responsible-block {
    background: var(--bg-light);
}

.responsible-icons {
    margin-top: 15px;
}

.responsible-icons img {
    height: 40px;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: #fff;
    padding: 50px 25px 20px;
    margin-top: 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    flex: 0 0 350px;
}

.footer-logo .logo-text {
    font-size: 1.4rem;
}

.footer-logo p {
    color: rgba(255,255,255,0.7);
    margin-top: 15px;
    font-size: 0.95rem;
}

.footer-links {
    flex: 0 0 200px;
}

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

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

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
}

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

.footer-badges {
    flex: 1;
}

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

.badge-icons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.badge-icons a,
.badge-icons img {
    display: inline-block;
}

.badge-icons img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* unused helper class */
.hidden-spacer { height: 20px; display: block; }
.old-layout-fix { clear: both; }

/* Responsive Styles */
@media (max-width: 1200px) {
    .roulette-type-card {
        flex: 0 0 calc(50% - 10px);
    }
    
    .live-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 991px) {
    .main-content {
        padding-right: 0;
    }
    
    .sidebar {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .sidebar-sticky {
        position: static;
    }
    
    .hero-content h1 {
        font-size: 1.9rem;
    }
    
    .toc-content ul li {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.15rem; }
    
    .hero-section {
        padding: 40px 20px;
        min-height: auto;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .roulette-wheel-bg {
        width: 200px;
        height: 200px;
        right: -50px;
        bottom: -50px;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .casino-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .casino-info {
        width: 100%;
    }
    
    .casino-features {
        justify-content: center;
    }
    
    .roulette-type-card {
        flex: 0 0 100%;
    }
    
    .live-card {
        flex: 0 0 100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-logo,
    .footer-links,
    .footer-badges {
        flex: 0 0 100%;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 12px 15px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .hero-section {
        padding: 30px 15px;
    }
    
    .hero-content h1 {
        font-size: 1.4rem;
    }
    
    .content-section {
        padding: 15px;
    }
    
    .providers-slider-wrapper,
    .payments-slider-wrapper {
        padding: 0 40px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
    }
}

/* extra unused style block */
.deprecated-grid-fix { display: grid; }
.legacy-float-clear { overflow: hidden; }
