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

:root {
    --primary-red: #d42b2b;
    --primary-teal: #00a896;
    --dark-bg: #1a1a2e;
    --light-bg: #16213e;
    --text-light: #ffffff;
    --text-gray: #d1d1d1;
    --accent-yellow: #f5e942;
    --accent-lime: #d4ff00;
    --card-bg: #0f3460;
    --border-color: #2a3f5f;
}

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

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

header {
    background: rgba(26, 26, 46, 0.95);
    padding: 20px 0;
    border-bottom: 3px solid var(--primary-red);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

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

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-light);
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 16px;
}

nav a:hover {
    color: var(--primary-red);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background: var(--text-light);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

.hero {
    background: linear-gradient(135deg, var(--primary-red) 0%, #8B0000 100%);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1" fill="%23ffffff"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--accent-yellow);
    color: #000;
    padding: 15px 40px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 233, 66, 0.4);
}

.cta-button:hover {
    background: var(--accent-lime);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 255, 0, 0.6);
}

.rating-table {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.rating-table h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--accent-yellow);
}

.casino-card {
    background: var(--light-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 43, 43, 0.3);
    border-color: var(--primary-red);
}

.casino-rank {
    font-size: 48px;
    font-weight: bold;
    color: var(--accent-yellow);
    min-width: 60px;
    text-align: center;
}

.casino-logo {
    width: 120px;
    height: 80px;
    object-fit: contain;
    background: #000;
    padding: 10px;
    border-radius: 8px;
}

.casino-info {
    flex: 1;
}

.casino-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-light);
}

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

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

.feature-badge {
    background: var(--primary-teal);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.casino-action {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 140px;
}

.casino-button {
    background: var(--primary-red);
    color: var(--text-light);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
}

.casino-button:hover {
    background: #ff4444;
    transform: scale(1.05);
}

.casino-button-secondary {
    background: transparent;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
}

.casino-button-secondary:hover {
    background: var(--primary-teal);
    color: var(--dark-bg);
    transform: scale(1.05);
}

.content-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.content-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--accent-yellow);
    border-bottom: 3px solid var(--primary-red);
    padding-bottom: 15px;
}

.content-section h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--primary-teal);
}

.content-section p {
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-section ul, 
.content-section ol {
    margin: 15px 0 15px 40px;
    color: var(--text-gray);
}

.content-section li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.content-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--light-bg);
}

.content-section table th,
.content-section table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.content-section table th {
    background: var(--primary-red);
    color: var(--text-light);
    font-weight: bold;
}

.content-section table tr:nth-child(even) {
    background: rgba(0, 168, 150, 0.1);
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.screenshot-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.05);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

footer {
    background: var(--dark-bg);
    padding: 40px 0 20px;
    margin-top: 60px;
    border-top: 3px solid var(--primary-red);
}

.footer-content {
    text-align: center;
}

.footer-content p {
    color: var(--text-gray);
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 46, 0.98);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 3px solid var(--primary-red);
    }

    nav.active {
        max-height: 400px;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        padding: 20px 0;
    }

    nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        padding: 15px 30px;
        text-align: center;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .casino-card {
        flex-direction: column;
        text-align: center;
    }

    .casino-rank {
        font-size: 36px;
    }

    .casino-logo {
        width: 100px;
        height: 70px;
    }

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

    .rating-table,
    .content-section {
        padding: 20px;
    }

    .content-section h2 {
        font-size: 24px;
    }

    .content-section h3 {
        font-size: 20px;
    }

    .logo-text {
        font-size: 20px;
    }

    .screenshot-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .rating-table,
    .content-section {
        padding: 15px;
    }

    .casino-card {
        padding: 15px;
    }

    .content-section table {
        font-size: 14px;
    }

    .content-section table th,
    .content-section table td {
        padding: 8px;
    }
}
