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

:root {
    --primary-color: #e30a17;
    --secondary-color: #1a1d29;
    --accent-color: #ffd700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0f1116;
    --bg-card: #1a1d29;
    --border-color: #2a2d3a;
    --success-color: #2ecc71;
    --gradient-primary: linear-gradient(135deg, #e30a17 0%, #c41e3a 100%);
    --gradient-dark: linear-gradient(180deg, #1a1d29 0%, #0f1116 100%);
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-card);
    box-shadow: 0 2px 20px rgba(227, 10, 23, 0.1);
}

.header-top {
    background: var(--secondary-color);
    padding: 15px 0;
    border-bottom: 2px solid var(--primary-color);
}

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

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

.logo-flag {
    width: 40px;
    height: auto;
    border-radius: 4px;
}

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

.logo-highlight {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    gap: 10px;
}

.header-gift,
.header-search {
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary-color);
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-light);
}

.header-gift svg,
.header-search svg {
    transition: all 0.3s ease;
}

.header-gift:hover,
.header-search:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.header-gift:hover svg,
.header-search:hover svg {
    stroke: var(--text-light);
    transform: scale(1.1);
}

.header-nav {
    background: var(--bg-card);
    padding: 0;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 18px 24px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: rgba(227, 10, 23, 0.1);
}

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

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

.hero-section {
    position: relative;
    height: 290px;
    background: linear-gradient(135deg, #0f1116 0%, #1a1d29 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23e30a17" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(227, 10, 23, 0.2) 0%, rgba(15, 17, 22, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #e30a17 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-cta {
    display: inline-block;
    padding: 16px 48px;
    background: var(--gradient-primary);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 10px 30px rgba(227, 10, 23, 0.4);
    transition: all 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(227, 10, 23, 0.6);
}

.main-content {
    padding: 60px 0;
}

.casinos-section {
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title span {
    font-size: 36px;
    font-weight: 900;
    color: var(--text-light);
    position: relative;
    padding: 0 60px;
    display: inline-block;
}

.section-title span::before,
.section-title span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
}

.section-title span::before {
    left: 0;
}

.section-title span::after {
    right: 0;
}

.casino-list {
    display: grid;
    gap: 25px;
}

.casino-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    display: grid;
    grid-template-columns: auto 1fr auto auto auto auto;
    gap: 25px;
    align-items: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.casino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(227, 10, 23, 0.3);
    border-color: var(--primary-color);
}

.casino-card:hover::before {
    transform: scaleX(1);
}

.casino-rank {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 900;
    color: var(--text-light);
    box-shadow: 0 5px 20px rgba(227, 10, 23, 0.4);
}

.casino-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.casino-logo {
    width: 100px;
    height: 100px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}

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

.casino-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 8px;
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: var(--accent-color);
    font-size: 18px;
    letter-spacing: 2px;
}

.rating-value {
    font-weight: 700;
    color: var(--text-light);
    font-size: 16px;
}

.casino-bonus {
    text-align: center;
    padding: 20px;
    background: rgba(227, 10, 23, 0.1);
    border-radius: 12px;
    min-width: 200px;
}

.casino-license,
.casino-deposit {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    min-width: 130px;
}

.license-label,
.deposit-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.license-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 4px;
}

.license-number {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-family: monospace;
}

.deposit-value {
    font-size: 20px;
    font-weight: 900;
    color: var(--text-light);
}

.bonus-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.bonus-amount {
    font-size: 28px;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.bonus-terms {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

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

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-play {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: 0 5px 20px rgba(227, 10, 23, 0.4);
}

.btn-play:hover {
    box-shadow: 0 8px 25px rgba(227, 10, 23, 0.6);
    transform: translateY(-2px);
}

.btn-review {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--border-color);
}

.btn-review:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.content-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 50px;
    border: 2px solid var(--border-color);
}

.content-block h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 20px;
}

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

.content-block p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.content-image {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
}

.content-block ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.content-block ul li {
    padding: 12px 0 12px 30px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.content-block ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 900;
    font-size: 18px;
}

.info-box {
    background: rgba(227, 10, 23, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

.info-box p {
    margin: 0;
    color: var(--text-light);
}

.footer {
    background: var(--secondary-color);
    margin-top: 80px;
}

.footer-trust {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-logos img {
    height: 40px;
    width: auto;
    opacity: 0.7;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.trust-logos img:hover {
    opacity: 1;
}

.footer-main {
    padding: 50px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    max-width: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-flag {
    width: 35px;
    height: auto;
    border-radius: 4px;
}

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

.footer-logo-highlight {
    color: var(--primary-color);
}

.footer-brand-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.payment-logos {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-logos img {
    height: 40px;
    width: auto;
    background: white;
    padding: 8px;
    border-radius: 6px;
    object-fit: contain;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-warning {
    background: rgba(227, 10, 23, 0.1);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
}

.warning-box {
    max-width: 900px;
    margin: 0 auto;
}

.warning-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: left;
}

.warning-box p:last-child {
    margin-bottom: 0;
}

.warning-box strong {
    color: var(--primary-color);
    font-weight: 700;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
}

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

    .mobile-menu-toggle {
        display: flex;
    }

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

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

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

    .casino-rank {
        margin: 0 auto;
    }

    .casino-info {
        flex-direction: column;
    }
    
    .casino-license,
    .casino-deposit,
    .casino-bonus {
        width: 100%;
        min-width: auto;
    }

    .casino-actions {
        width: 100%;
    }

    .content-section {
        padding: 30px 20px;
    }

    .section-title span {
        font-size: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .payment-logos {
        justify-content: center;
    }
}

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

    .hero-title {
        font-size: 28px;
    }

    .bonus-amount {
        font-size: 24px;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    margin: 30px 0;
}

table tr:first-child {
    background: var(--gradient-primary);
}

table tr:first-child td p strong {
    color: #ffffff;
    font-size: 15px;
    letter-spacing: 0.5px;
}

table tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s ease;
}

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

table tr:not(:first-child):hover {
    background: rgba(227, 10, 23, 0.07);
}

table tr:nth-child(even):not(:first-child) {
    background: rgba(255, 255, 255, 0.02);
}

table td {
    padding: 16px 20px;
    border-right: 1px solid var(--border-color);
    vertical-align: middle;
}

table td:last-child {
    border-right: none;
}

table td p {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

table td:first-child p {
    font-weight: 600;
    color: var(--text-light);
}

table td:last-child p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.content-block table td p {
    margin-bottom: 0;
}

.content-block ol {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
    counter-reset: ol-counter;
}

.content-block ol li {
    padding: 14px 20px 14px 60px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid var(--border-color);
    counter-increment: ol-counter;
}

.content-block ol li:last-child {
    border-bottom: none;
}

.content-block ol li::before {
    content: counter(ol-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    color: #ffffff;
    font-weight: 900;
    font-size: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
