:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #ec4899;
    --secondary-dark: #db2777;
    --accent-color: #f59e0b;
    --accent-dark: #d97706;
    
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: #1e293b;
    --bg-card-hover: #2d3b52;
    
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    --border-color: #334155;
    --border-light: #475569;
    
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    --gradient-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

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

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

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

.header {
    background: var(--gradient-dark);
    padding: 60px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.header .container {
    position: relative;
    z-index: 1;
}

.header-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-lg);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 20px 30px -5px rgba(99, 102, 241, 0.5);
    }
}

.header-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    flex-wrap: nowrap;
    max-width: 100%;
}

.header-badge-item {
    background: transparent;
    border: 2px solid rgba(16, 185, 129, 0.5);
    color: rgba(16, 185, 129, 1);
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    flex-shrink: 1;
}

.header-badge-item:hover {
    border-color: rgba(16, 185, 129, 1);
    background: rgba(16, 185, 129, 0.1);
    transform: translateY(-2px);
}

.header-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.main-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 50%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.main-description {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

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

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

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

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

.btn-tertiary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.nav-tabs {
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.nav-tabs .container {
    display: flex;
    gap: 0;
    overflow-x: auto;
}

.nav-tab {
    padding: 18px 32px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    position: relative;
}

.nav-tab:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.1);
}

.nav-tab.active {
    color: var(--primary-light);
    border-bottom-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.15);
}

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

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.bookmakers-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 80px;
}

.bookmaker-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: grid;
    grid-template-columns: 140px 1fr auto auto;
    gap: 24px;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bookmaker-card::before {
    content: attr(data-rank);
    position: absolute;
    top: -10px;
    left: -10px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 0 0 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: white;
    box-shadow: var(--shadow-md);
}

.bookmaker-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    background: var(--bg-card-hover);
}

.bookmaker-logo {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-light);
}

.logo-image {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.bookmaker-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.bookmaker-info p {
    font-size: 14px;
    color: var(--text-muted);
}

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

.rating-score {
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.rating-text {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.rating-reviews {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
}

.stars {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.star {
    width: 18px;
    height: 18px;
    background: var(--border-color);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    transition: all 0.3s ease;
}

.star.filled {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.star.half {
    background: linear-gradient(90deg, #fbbf24 0%, #fbbf24 50%, var(--border-color) 50%, var(--border-color) 100%);
}

.bookmaker-card:hover .star.filled {
    filter: brightness(1.2);
    transform: scale(1.1);
}

.bookmaker-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.btn-action {
    background: var(--gradient-secondary);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.payment-methods {
    display: flex;
    gap: 8px;
}

.payment-icon {
    width: 32px;
    height: 32px;
    background: var(--bg-tertiary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.payment-icon:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.content-section {
    margin-bottom: 80px;
}

.content-block {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.content-block:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-lg);
}

.content-block h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

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

.content-block p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

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

.content-block li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.content-block strong {
    color: var(--text-primary);
    font-weight: 700;
}

.promo-section {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 80px;
    box-shadow: var(--shadow-lg);
}

.promo-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

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

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

.promo-content li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
}

.promo-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: 700;
    font-size: 18px;
}

.promo-content p {
    margin-bottom: 20px;
}

.features-section {
    margin-bottom: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-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;
}

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

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-section {
    margin-bottom: 80px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.faq-item {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.faq-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 12px;
    line-height: 1.4;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.testimonials-section {
    margin-bottom: 80px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.testimonial-author {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 16px;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.7;
    font-size: 14px;
}

.info-cards-section {
    margin-bottom: 60px;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.info-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    border-left: 4px solid var(--warning-color);
}

.info-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--warning-color);
    margin-bottom: 12px;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.footer {
    background: var(--bg-secondary);
    border-top: 2px solid var(--border-color);
    padding: 50px 20px 30px;
}

.footer-logos {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-logo {
    max-height: 40px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-responsible-gaming {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-rg-item a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-rg-item a:hover {
    transform: translateY(-3px);
}

.footer-rg-item img {
    max-height: 50px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    display: block;
}

.footer-rg-item a:hover img {
    opacity: 1;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-disclaimer {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 1024px) {
    .bookmaker-card {
        grid-template-columns: 120px 1fr;
        gap: 16px;
    }
    
    .bookmaker-rating,
    .bookmaker-actions {
        grid-column: 1 / -1;
    }
    
    .bookmaker-actions {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 40px 20px 30px;
    }
    
    .main-title {
        font-size: 28px;
    }
    
    .header-badges {
        gap: 8px;
    }
    
    .header-badge-item {
        padding: 8px 16px;
        font-size: 12px;
        letter-spacing: 0.3px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .bookmaker-card {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        padding: 16px;
        gap: 12px;
    }
    
    .bookmaker-logo {
        grid-row: 1 / 3;
        padding: 12px;
        width: 100px;
    }
    
    .logo-image {
        max-height: 50px;
    }
    
    .bookmaker-info {
        grid-column: 2;
        grid-row: 1;
    }
    
    .bookmaker-rating {
        grid-column: 2;
        grid-row: 2;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .rating-score {
        font-size: 28px;
        margin-bottom: 0;
    }
    
    .rating-text {
        display: none;
    }
    
    .stars {
        flex-direction: row;
    }
    
    .rating-reviews {
        margin-top: 0;
        margin-left: auto;
    }
    
    .bookmaker-actions {
        grid-column: 1 / -1;
        grid-row: 3;
        justify-content: center;
        align-items: center;
    }
    
    .btn-action {
        width: 100%;
        max-width: none;
    }
    
    .content-block {
        padding: 24px 20px;
    }
    
    .content-block h2 {
        font-size: 22px;
    }
    
    .content-block h3 {
        font-size: 18px;
    }
    
    .content-block p {
        font-size: 15px;
    }
    
    .promo-section {
        padding: 30px 20px;
    }
    
    .features-grid,
    .faq-grid,
    .testimonials-grid,
    .info-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
