:root {
    --accent-primary: #ff0000;
    --accent-secondary: #ff7a00;
    --text-color: #4a5568;
    --heading-color: #2d3748;
    --bg-white: #ffffff;
    --bg-semi-transparent: rgba(255, 255, 255, 0.95);
    --bg-light: #f7fafc;
    --bg-gradient: linear-gradient(135deg, #ff0000 0%, #ff7a00 100%);
    --header-bg: #2d3748;
    --footer-bg: #1a202c;
    --header-text: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background: #f8f9fa;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
}

.site-header {
    background: var(--header-bg);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    min-height: 80px;
    gap: var(--spacing-md);
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--header-text);
}

.logo-flag {
    display: flex;
    align-items: center;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.logo-flag img {
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--header-text);
    margin: 0;
    line-height: 1.2;
}

.site-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.desktop-nav {
    display: block;
    flex: 1;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    justify-content: center;
}

.nav-menu a {
    color: var(--header-text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--accent-primary);
    transition: transform 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-primary);
}

.nav-menu a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.header-actions {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.header-gift,
.header-search {
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

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

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--header-bg);
    box-shadow: var(--shadow-xl);
    transition: right 0.3s ease;
    z-index: 2000;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-title {
    color: var(--header-text);
    font-weight: 700;
    font-size: 1.25rem;
}

.mobile-nav-close {
    background: transparent;
    border: none;
    color: var(--header-text);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-menu {
    padding: var(--spacing-md);
}

.mobile-nav-menu li {
    margin-bottom: var(--spacing-sm);
}

.mobile-nav-menu a {
    display: block;
    color: var(--header-text);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1.05rem;
}

.mobile-nav-menu a:hover {
    background: var(--accent-primary);
    color: white;
}

@media (max-width: 1024px) {
    .header-actions {
        display: none;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .site-title {
        font-size: 1.25rem;
    }
    
    .site-subtitle {
        font-size: 0.75rem;
    }
    
    .logo-flag img {
        width: 50px;
        height: 33px;
    }
}

.main-content {
    padding: var(--spacing-xl) 0;
}

.hero-section {
    text-align: center;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05) 0%, rgba(255, 122, 0, 0.05) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .hero-section {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
}

.casinos-table-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.casino-card {
    display: grid;
    grid-template-columns: auto 180px 1fr auto auto;
    gap: var(--spacing-md);
    align-items: center;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.casino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--bg-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.casino-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.casino-card:hover::before {
    opacity: 1;
}

.casino-rank {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.rank-badge {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.rank-label {
    font-size: 0.75rem;
    color: var(--text-color);
    font-weight: 500;
}

.casino-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 140px;
}

.casino-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.casino-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.casino-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
}

.casino-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 0, 0, 0.1);
    color: var(--accent-primary);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #e2e8f0;
    font-size: 1.125rem;
}

.star.filled {
    color: #fbbf24;
}

.star.half {
    background: linear-gradient(90deg, #fbbf24 50%, #e2e8f0 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-text {
    font-size: 0.875rem;
    color: var(--text-color);
    font-weight: 600;
}

.casino-bonus {
    text-align: center;
    padding: var(--spacing-sm);
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05) 0%, rgba(255, 122, 0, 0.05) 100%);
    border-radius: var(--radius-md);
}

.bonus-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.25rem;
}

.bonus-label {
    font-size: 0.875rem;
    color: var(--text-color);
}

.casino-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    min-width: 150px;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    white-space: nowrap;
}

.btn-primary {
    background: var(--bg-gradient);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
    background: var(--accent-primary);
    color: white;
}

.content-block {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
}

.content-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.content-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: var(--spacing-md) auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

#custom-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

#custom-content h2:first-child {
    margin-top: 0;
}

#custom-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

#custom-content p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

#custom-content ul {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

#custom-content li {
    list-style: disc;
    margin-bottom: var(--spacing-xs);
    line-height: 1.8;
}

#custom-content a {
    color: var(--accent-primary);
    text-decoration: underline;
}

#custom-content a:hover {
    color: var(--accent-secondary);
}

.site-footer {
    background: var(--footer-bg);
    color: rgba(255, 255, 255, 0.8);
    padding-top: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column h3 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.footer-column ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-primary);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.payment-methods img {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.footer-trust-section {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-trust-section .trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.footer-trust-section .trust-logos img {
    height: auto;
    max-height: 50px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: brightness(0) invert(1);
}

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

.footer-middle {
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.responsible-gaming {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.age-restriction {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 0, 0, 0.1);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-primary);
}

.age-text strong {
    color: white;
    display: block;
    margin-bottom: 0.25rem;
}

.responsible-text {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
}

.responsible-text p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.responsible-text p:last-child {
    margin-bottom: 0;
}

.responsible-text strong {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-copyright {
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

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

@media (max-width: 1024px) {
    .casino-card {
        grid-template-columns: auto 150px 1fr auto;
        gap: var(--spacing-sm);
    }
    
    .casino-bonus {
        grid-column: 1 / -1;
        margin-top: var(--spacing-sm);
    }
    
    .casino-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        min-width: auto;
    }
    
    .bonus-amount {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .casino-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--spacing-md);
    }
    
    .casino-rank {
        position: absolute;
        top: var(--spacing-sm);
        left: var(--spacing-sm);
    }
    
    .rank-badge {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .rank-label {
        display: none;
    }
    
    .casino-logo {
        order: -1;
        margin-top: var(--spacing-lg);
        width: 100%;
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .casino-info {
        align-items: center;
    }
    
    .casino-features {
        justify-content: center;
    }
    
    .casino-rating {
        justify-content: center;
    }
    
    .casino-actions {
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .content-wrapper {
        padding: var(--spacing-md);
    }
    
    #custom-content h2 {
        font-size: 1.5rem;
    }
    
    #custom-content h3 {
        font-size: 1.25rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .age-restriction {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.25rem;
    }
    
    .casino-name {
        font-size: 1.125rem;
    }
    
    .feature-badge {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
}

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

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin: var(--spacing-md) 0;
}

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

table tbody tr:first-child td {
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
    color: #ffffff;
    text-align: center;
}

table tbody tr {
    transition: background 0.2s ease;
}

table tbody tr:not(:first-child):hover {
    background: rgba(255, 0, 0, 0.04);
}

table tbody tr:not(:first-child) td {
    padding: 0.875rem 1.25rem;
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

table tbody tr:not(:first-child) td:first-child {
    font-weight: 600;
    color: var(--heading-color);
}

#custom-content table p {
    margin-bottom: 0;
}

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }