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

:root {
    --primary-dark: #0a0e27;
    --secondary-dark: #1a1f3a;
    --accent-gold: #ffd700;
    --accent-teal: #00d4ff;
    --accent-emerald: #00ff9f;
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --card-bg: #151932;
    --hover-bg: #1f2541;
    --border-color: #2a3150;
    --success: #00ff9f;
    --warning: #ffaa00;
    --error: #ff4757;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent-teal);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-list li a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    display: block;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: var(--text-primary);
    background: var(--hover-bg);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Hero Section */
.hero {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
    border-bottom: 1px solid var(--border-color);
}

.hero-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    font-weight: 300;
}

/* Casinos Rating Section */
.casinos-rating {
    padding: 60px 0;
}

.section-title {
    font-size: clamp(28px, 4vw, 36px);
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.casinos-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.casino-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    display: grid;
    grid-template-columns: auto 100px 1fr auto;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
    border-color: var(--accent-teal);
}

.casino-rank {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: 60px;
    text-align: center;
}

.casino-logo {
    width: 100px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px;
}

.casino-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.casino-info {
    flex: 1;
}

.casino-name {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
}

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

.feature {
    background: rgba(0, 212, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--accent-teal);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.casino-action {
    display: flex;
    align-items: center;
}

.btn {
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    border: none;
}

.btn-play {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-emerald));
    color: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
    min-width: 120px;
}

.btn-play:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.6);
}

/* Content Section */
.content {
    padding: 60px 0;
}

.article {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.article h2 {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 20px;
    color: var(--accent-teal);
    font-weight: 700;
}

.article h3 {
    font-size: clamp(20px, 2.5vw, 26px);
    margin: 30px 0 15px;
    color: var(--accent-emerald);
    font-weight: 600;
}

.article h4 {
    font-size: clamp(18px, 2vw, 22px);
    margin: 20px 0 10px;
    color: var(--accent-gold);
    font-weight: 600;
}

.article p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.article a {
    color: var(--accent-teal);
    text-decoration: underline;
    transition: color 0.3s ease;
}

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

/* Info Blocks */
.info-block {
    background: rgba(0, 212, 255, 0.1);
    border-left: 4px solid var(--accent-teal);
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
}

.info-block.expert {
    background: rgba(255, 215, 0, 0.1);
    border-left-color: var(--accent-gold);
}

.info-block.warning {
    background: rgba(255, 71, 87, 0.1);
    border-left-color: var(--error);
}

.info-block h3 {
    margin-top: 0;
    font-size: 20px;
}

/* Lists */
.features-list,
.numbered-list,
ul,
ol {
    margin: 20px 0;
    padding-left: 25px;
}

.features-list li,
ul li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.numbered-list li,
ol li {
    margin-bottom: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 5px;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 25px 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--secondary-dark);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table thead {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 255, 159, 0.2));
}

.comparison-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--accent-teal);
    border-bottom: 2px solid var(--border-color);
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.comparison-table tr:hover {
    background: var(--hover-bg);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.game-type {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.game-type:hover {
    transform: translateY(-5px);
    border-color: var(--accent-teal);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

.game-type h4 {
    margin-top: 0;
}

/* Footer */
.footer {
    background: var(--secondary-dark);
    padding: 30px 0;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    text-align: center;
    color: var(--text-secondary);
}

.footer-disclaimer {
    margin-top: 10px;
    font-size: 14px;
    color: var(--warning);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-list {
        gap: 8px;
    }

    .nav-list li a {
        padding: 8px 12px;
        font-size: 13px;
    }

    .casino-card {
        grid-template-columns: auto 80px 1fr auto;
        gap: 15px;
        padding: 15px;
    }

    .casino-logo {
        width: 80px;
        height: 60px;
    }

    .casino-rank {
        font-size: 28px;
        width: 50px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--secondary-dark);
        transition: left 0.3s ease;
        padding: 80px 20px 20px;
        overflow-y: auto;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 5px;
    }

    .nav-list li a {
        padding: 12px 16px;
        font-size: 16px;
    }

    .casino-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }

    .casino-rank {
        grid-row: 1;
        grid-column: 1;
        justify-self: start;
        position: absolute;
        top: 15px;
        left: 15px;
        width: auto;
    }

    .casino-logo {
        grid-row: 2;
        grid-column: 1;
        width: 120px;
        height: 80px;
        margin: 0 auto;
    }

    .casino-info {
        grid-row: 3;
        grid-column: 1;
    }

    .casino-features {
        justify-content: center;
    }

    .casino-action {
        grid-row: 4;
        grid-column: 1;
        justify-content: center;
    }

    .btn-play {
        width: 100%;
        max-width: 200px;
    }

    .article {
        padding: 25px 20px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }

    .casinos-rating {
        padding: 40px 0;
    }

    .content {
        padding: 40px 0;
    }

    .article {
        padding: 20px 15px;
    }

    .comparison-table {
        font-size: 14px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.casino-card {
    animation: fadeIn 0.5s ease forwards;
}

.casino-card:nth-child(1) { animation-delay: 0.1s; }
.casino-card:nth-child(2) { animation-delay: 0.2s; }
.casino-card:nth-child(3) { animation-delay: 0.3s; }
.casino-card:nth-child(4) { animation-delay: 0.4s; }
.casino-card:nth-child(5) { animation-delay: 0.5s; }
.casino-card:nth-child(6) { animation-delay: 0.6s; }
.casino-card:nth-child(7) { animation-delay: 0.7s; }

/* Additional Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-teal);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-emerald);
}