html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

*, *:after, *:before {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.tournaments-section {
    max-width: 1400px;
    margin: 40px auto 40px;

    @media(max-width: 768px){
        padding: 0 15px
    }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-title {
    color: white;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ff4757;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

.see-all-link {
    color: #64b5f6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.see-all-link:hover {
    color: #42a5f5;
}

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

.tournament-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.tournament-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.tournament-card.red-border {
    border: 2px solid #ff4757;
}

.tournament-card.green-border {
    border: 2px solid #2ed573;
}

.tournament-header {
    height: 120px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    position: relative;
}

.tournament-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
}

.tournament-header > * {
    position: relative;
    z-index: 2;
}

.summer-bg {
    background: linear-gradient(135deg, #74b9ff, #0984e3), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="8" fill="white" opacity="0.1"/><circle cx="80" cy="30" r="6" fill="white" opacity="0.15"/><circle cx="60" cy="70" r="10" fill="white" opacity="0.08"/></svg>');
}

.yggdrasil-bg {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="10" y="40" width="15" height="20" fill="white" opacity="0.1"/><rect x="70" y="20" width="12" height="25" fill="white" opacity="0.15"/><rect x="45" y="60" width="18" height="15" fill="white" opacity="0.08"/></svg>');
}

.tournament-badges {
    display: flex;
    gap: 8px;
}

.badge {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.live-badge {
    background: #ff4757;
    color: white;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.tournament-title {
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.tournament-content {
    padding: 20px;
}

.tournament-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

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

.info-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.type-icon {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.prize-icon {
    background: linear-gradient(135deg, #feca57, #ff9ff3);
}

.time-icon {
    background: linear-gradient(135deg, #48dbfb, #0abde3);
}

.info-label {
    color: #aaa;
    font-size: 12px;
    margin-bottom: 4px;
}

.info-value {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.tournament-actions {
    display: flex;
    gap: 12px;
}

.btn {
    flex: 1;
    text-decoration: none;
    text-align: center;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff3742, #ff2b36);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Мобільна адаптація */
@media (max-width: 768px) {

    .section-title {
        font-size: 20px;
    }

    .tournaments-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tournament-header {
        height: 100px;
        padding: 12px;
    }

    .tournament-title {
        font-size: 16px;
    }

    .tournament-content {
        padding: 16px;
    }

    .tournament-info {
        gap: 12px;
    }

    .info-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .tournament-actions {
        flex-direction: column;
        gap: 8px;
    }
}

/* Планшетна адаптація */
@media (min-width: 769px) and (max-width: 1024px) {
    .tournaments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


.footer {
    background: linear-gradient(135deg, #1e2749 0%, #2a3661 50%, #1a1a2e 100%);
    padding: 60px 20px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 30px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ff4757, #ff6b6b);
    border-radius: 2px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
    list-style: none;
}

.footer-links.single-column {
    grid-template-columns: 1fr;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 4px 0;
    display: block;
    position: relative;
}

.footer-links a:hover {
    color: #64b5f6;
    transform: translateX(4px);
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #64b5f6;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #666;
    font-size: 14px;
}

/* Анімації */
.footer-section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.footer-section:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-section:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивність для планшетів */
@media (max-width: 1024px) {
    .footer {
        padding: 50px 20px 30px;
    }

    .footer-content {
        gap: 40px;
    }

    .footer-section h3 {
        font-size: 18px;
        margin-bottom: 25px;
    }
}

/* Адаптивність для мобільних */
@media (max-width: 768px) {
    .footer {
        padding: 40px 16px 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-section h3 {
        font-size: 18px;
        margin-bottom: 20px;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }

    .footer-links a {
        padding: 8px 12px;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    .footer-links a:hover {
        background: rgba(100, 181, 246, 0.1);
        transform: none;
    }

    .footer-links a::before {
        display: none;
    }

    .footer-bottom {
        padding-top: 25px;
    }
}

/* Дуже маленькі екрани */
@media (max-width: 480px) {
    .footer {
        padding: 30px 12px 20px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-section h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-links a {
        font-size: 13px;
        padding: 6px 8px;
    }
}

/* Стилі для більших екранів */
@media (min-width: 1200px) {
    .footer-content {
        gap: 80px;
    }

    .footer-section h3 {
        font-size: 22px;
    }

    .footer-links a {
        font-size: 15px;
    }
}

.promo-container {
    max-width: 1400px;
    margin: 40px auto 0;

    @media (max-width: 768px) {
        padding: 0 15px;
    }
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.promo-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    text-decoration: none;
    color: white;
}

.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
    z-index: 1;
}

.promo-content {
    position: relative;
    z-index: 2;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.promo-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.promo-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.4;
}

.promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff4757, #ff3742);
    border-radius: 50%;
    font-size: 18px;
    color: white;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.promo-btn:hover {
    background: linear-gradient(135deg, #ff3742, #ff2b36);
    transform: scale(1.1);
}

.promo-btn-text {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #ff4757, #ff3742);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.promo-btn-text:hover {
    background: linear-gradient(135deg, #ff3742, #ff2b36);
    transform: translateY(-2px);
}

/* Специфічні стилі для карток */
.lucky-loot {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(88, 57, 193, 0.8), rgba(147, 51, 234, 0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="url(%23grad1)" width="400" height="300"/><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%235b21b6;stop-opacity:1" /><stop offset="100%" style="stop-color:%239333ea;stop-opacity:1" /></linearGradient></defs><circle cx="320" cy="80" r="40" fill="rgba(255,215,0,0.3)"/><circle cx="100" cy="200" r="25" fill="rgba(255,215,0,0.2)"/><rect x="50" y="50" width="60" height="80" rx="8" fill="rgba(139,69,19,0.4)"/></svg>');
}

.sports-betting {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.8), rgba(22, 163, 74, 0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="url(%23grad2)" width="400" height="300"/><defs><linearGradient id="grad2" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%2322c55e;stop-opacity:1" /><stop offset="100%" style="stop-color:%2316a34a;stop-opacity:1" /></linearGradient></defs><circle cx="200" cy="150" r="60" fill="rgba(255,255,255,0.1)" stroke="rgba(255,255,255,0.3)" stroke-width="2"/><rect x="180" y="130" width="40" height="40" fill="rgba(255,255,255,0.2)"/></svg>');
}

.no-max-cashout {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(37, 99, 235, 0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="url(%23grad3)" width="400" height="300"/><defs><linearGradient id="grad3" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%233b82f6;stop-opacity:1" /><stop offset="100%" style="stop-color:%232563eb;stop-opacity:1" /></linearGradient></defs><polygon points="200,50 250,150 150,150" fill="rgba(255,255,255,0.2)"/><circle cx="320" cy="200" r="30" fill="rgba(255,215,0,0.3)"/></svg>');
}

.cashback {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.8), rgba(147, 51, 234, 0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="url(%23grad4)" width="400" height="300"/><defs><linearGradient id="grad4" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23a855f7;stop-opacity:1" /><stop offset="100%" style="stop-color:%239333ea;stop-opacity:1" /></linearGradient></defs><rect x="100" y="100" width="200" height="100" rx="10" fill="rgba(255,255,255,0.1)"/><circle cx="200" cy="150" r="30" fill="rgba(255,215,0,0.4)"/></svg>');
}

.highroller {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.8), rgba(219, 39, 119, 0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="url(%23grad5)" width="400" height="300"/><defs><linearGradient id="grad5" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23ec4899;stop-opacity:1" /><stop offset="100%" style="stop-color:%23db2777;stop-opacity:1" /></linearGradient></defs><circle cx="150" cy="100" r="40" fill="rgba(255,192,203,0.3)"/><rect x="250" y="180" width="60" height="80" rx="8" fill="rgba(255,192,203,0.2)"/></svg>');
}

.shake-bonus {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.8), rgba(220, 38, 38, 0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="url(%23grad6)" width="400" height="300"/><defs><linearGradient id="grad6" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23ef4444;stop-opacity:1" /><stop offset="100%" style="stop-color:%23dc2626;stop-opacity:1" /></linearGradient></defs><rect x="180" y="120" width="40" height="60" rx="20" fill="rgba(255,215,0,0.4)"/><circle cx="200" cy="80" r="15" fill="rgba(255,215,0,0.6)"/></svg>');
}

.vulkan-app {
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.8), rgba(55, 65, 81, 0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="url(%23grad7)" width="400" height="300"/><defs><linearGradient id="grad7" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%234b5563;stop-opacity:1" /><stop offset="100%" style="stop-color:%23374151;stop-opacity:1" /></linearGradient></defs><rect x="150" y="80" width="100" height="140" rx="15" fill="rgba(255,255,255,0.1)" stroke="rgba(255,255,255,0.3)" stroke-width="2"/><circle cx="200" cy="200" r="8" fill="rgba(255,255,255,0.4)"/></svg>');
}

/* Адаптивність для планшетів */
@media (max-width: 1024px) {
    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 280px);
        gap: 16px;
    }

    .lucky-loot {
        grid-column: span 2;
    }

    .promo-title {
        font-size: 20px;
    }

    .promo-content {
        padding: 20px;
    }
}

/* Адаптивність для мобільних */
@media (max-width: 768px) {


    .promo-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(7, 250px);
        gap: 12px;
    }

    .lucky-loot {
        grid-column: span 1;
        grid-row: span 1;
    }

    .promo-content {
        padding: 18px;
    }

    .promo-title {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .promo-subtitle {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .promo-btn {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .promo-btn-text {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Дуже маленькі екрани */
@media (max-width: 480px) {
    .promo-grid {
        grid-template-rows: repeat(7, 220px);
        gap: 10px;
    }

    .promo-content {
        padding: 16px;
    }

    .promo-title {
        font-size: 16px;
    }

    .promo-subtitle {
        font-size: 12px;
        margin-bottom: 12px;
    }
}

/* Великі екрани */
@media (min-width: 1400px) {
    .promo-grid {
        grid-template-rows: repeat(2, 320px);
        gap: 24px;
    }

    .promo-content {
        padding: 28px;
    }

    .promo-title {
        font-size: 26px;
    }
}

.welcome-banner {
    position: relative;
    min-height: 400px;
    background: linear-gradient(
            135deg,
            rgba(52, 152, 219, 0.85) 0%,
            rgba(26, 188, 156, 0.85) 25%,
            rgba(46, 204, 113, 0.85) 50%,
            rgba(155, 89, 182, 0.85) 75%,
            rgba(52, 73, 94, 0.85) 100%
    ),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect width="1200" height="400" fill="url(%23mountainGrad)"/><defs><linearGradient id="mountainGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%2334a0db;stop-opacity:0.9" /><stop offset="25%" style="stop-color:%231abc9c;stop-opacity:0.9" /><stop offset="50%" style="stop-color:%232ecc71;stop-opacity:0.9" /><stop offset="75%" style="stop-color:%239b59b6;stop-opacity:0.9" /><stop offset="100%" style="stop-color:%2334495e;stop-opacity:0.9" /></linearGradient></defs><polygon points="0,400 200,200 400,300 600,150 800,250 1000,180 1200,220 1200,400" fill="rgba(44,62,80,0.3)"/><polygon points="0,400 150,250 350,320 550,180 750,280 950,200 1200,240 1200,400" fill="rgba(39,174,96,0.2)"/><polygon points="0,400 250,280 450,350 650,200 850,300 1050,220 1200,260 1200,400" fill="rgba(52,152,219,0.15)"/><circle cx="100" cy="100" r="8" fill="rgba(255,255,255,0.4)"/><circle cx="300" cy="80" r="6" fill="rgba(255,255,255,0.3)"/><circle cx="500" cy="120" r="10" fill="rgba(255,255,255,0.25)"/><circle cx="700" cy="90" r="7" fill="rgba(255,255,255,0.35)"/><circle cx="900" cy="110" r="9" fill="rgba(255,255,255,0.3)"/><circle cx="1100" cy="70" r="5" fill="rgba(255,255,255,0.4)"/><rect x="50" y="250" width="15" height="25" rx="2" fill="rgba(231,76,60,0.6)"/><rect x="180" y="220" width="12" height="30" rx="2" fill="rgba(230,126,34,0.6)"/><rect x="320" y="280" width="18" height="35" rx="3" fill="rgba(192,57,43,0.6)"/><rect x="480" y="240" width="14" height="28" rx="2" fill="rgba(211,84,0,0.6)"/><rect x="620" y="300" width="16" height="32" rx="2" fill="rgba(142,68,173,0.6)"/><rect x="780" y="260" width="13" height="26" rx="2" fill="rgba(41,128,185,0.6)"/><rect x="950" y="290" width="17" height="30" rx="3" fill="rgba(39,174,96,0.6)"/><polygon points="75,280 85,260 95,280" fill="rgba(46,125,50,0.7)"/><polygon points="205,250 215,230 225,250" fill="rgba(56,142,60,0.7)"/><polygon points="345,310 355,290 365,310" fill="rgba(76,175,80,0.7)"/><polygon points="505,270 515,250 525,270" fill="rgba(46,125,50,0.7)"/><polygon points="645,330 655,310 665,330" fill="rgba(56,142,60,0.7)"/><polygon points="805,290 815,270 825,290" fill="rgba(76,175,80,0.7)"/><polygon points="975,320 985,300 995,320" fill="rgba(46,125,50,0.7)"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-subtitle {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.banner-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 40px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.banner-title .bonus-amount {
    background: linear-gradient(45deg, #ffd700, #ffed4e, #fff59d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    font-weight: 900;
}

.banner-title .free-spins {
    color: #64ffda;
    display: block;
    margin-top: 10px;
}

.join-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.join-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.join-btn:hover::before {
    left: 100%;
}

.join-btn:hover {
    background: linear-gradient(135deg, #ff3742, #ff2b36);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 71, 87, 0.6);
}

.join-btn:active {
    transform: translateY(-1px);
}

/* Floating elements animation */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-coin {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    opacity: 0.7;
}

.floating-coin:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-coin:nth-child(2) {
    top: 60%;
    left: 85%;
    animation-delay: 2s;
}

.floating-coin:nth-child(3) {
    top: 30%;
    left: 75%;
    animation-delay: 4s;
}

.floating-coin:nth-child(4) {
    top: 80%;
    left: 15%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

/* Адаптивність для планшетів */
@media (max-width: 1024px) {
    .welcome-banner {
        min-height: 350px;
        background-attachment: scroll;
    }

    .banner-title {
        font-size: 48px;
        margin-bottom: 35px;
    }

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

    .join-btn {
        padding: 16px 35px;
        font-size: 16px;
    }
}

/* Адаптивність для мобільних */
@media (max-width: 768px) {
    .welcome-banner {
        min-height: 300px;
    }

    .banner-content {
        padding: 25px 16px;
        max-width: 100%;
    }

    .banner-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }

    .banner-title {
        font-size: 32px;
        margin-bottom: 25px;
        line-height: 1.2;
    }

    .banner-title .free-spins {
        margin-top: 8px;
    }

    .join-btn {
        padding: 14px 30px;
        font-size: 15px;
        border-radius: 40px;
    }

    .floating-coin {
        width: 15px;
        height: 15px;
    }
}

/* Дуже маленькі екрани */
@media (max-width: 480px) {
    .welcome-banner {
        min-height: 280px;
    }

    .banner-content {
        padding: 20px 12px;
    }

    .banner-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .banner-subtitle {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .join-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* Великі екрани */
@media (min-width: 1200px) {
    .welcome-banner {
        min-height: 450px;
    }

    .banner-title {
        font-size: 64px;
        margin-bottom: 45px;
    }

    .banner-content {
        padding: 50px 20px;
    }

    .join-btn {
        padding: 20px 45px;
        font-size: 20px;
    }
}

.navbar {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow-x: auto;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    min-width: fit-content;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: 900;
    font-size: 24px;
    letter-spacing: -0.5px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff4757, #ff6b6b, #ffa502);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.logo-text {
    background: linear-gradient(135deg, #ff4757, #ffa502, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 24px;
    flex-shrink: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff4757, #ffa502);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: white;
}

.nav-link:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.btn {
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-login {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-register {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.btn-register:hover {
    background: linear-gradient(135deg, #ff3742, #ff2b36);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.5);
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
    padding: 80px 30px 30px;
}

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

.mobile-nav-list {
    list-style: none;
    margin-bottom: 40px;
}

.mobile-nav-item {
    margin-bottom: 20px;
}

.mobile-nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #ff4757;
}

.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive design */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-container {
        padding: 0 16px;
    }

    .logo {
        font-size: 20px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
        margin-right: 10px;
    }

    .nav-menu {
        gap: 16px;
    }

    .nav-link {
        font-size: 13px;
    }

    .btn {
        padding: 7px 14px;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 60px;
        padding: 0 16px;
    }

    .logo {
        font-size: 20px;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
        margin-right: 10px;
    }

    .nav-menu,
    .auth-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 12px;
    }

    .logo {
        font-size: 18px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
        margin-right: 8px;
    }

    .mobile-menu {
        width: 100%;
        right: -100%;
        padding: 70px 20px 20px;
    }
}

/* Стилі для демонстрації контенту */
.demo-content {
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.demo-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.demo-content p {
    font-size: 16px;
    opacity: 0.6;
    max-width: 600px;
    margin: 0 auto;
}

.top-games-section {
    max-width: 1400px;
    margin: 0 auto 40px;
}

.section-header {
    margin-bottom: 24px;
}

.section-title {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.games-container {
    position: relative;
}

.games-scroll {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px;
    padding: 16px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.games-scroll::-webkit-scrollbar {
    height: 6px;
}

.games-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.games-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #ff4757, #ffa502);
    border-radius: 3px;
}

.games-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #ff3742, #ff9500);
}

.game-card {
    flex: 0 0 auto;
    width: 180px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.game-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image {
    transform: scale(1.05);
}

.game-info {
    padding: 12px;
}

.game-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-provider {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 4px;
}

.provider-logo {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4757, #ffa502);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* Scroll buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.scroll-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn-left {
    left: -20px;
}

.scroll-btn-right {
    right: -20px;
}

/* Адаптивність для планшетів */
@media (max-width: 1024px) {
    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .game-card {
        width: 160px;
    }

    .game-image {
        height: 110px;
    }

    .games-scroll {
        gap: 12px;
        padding: 12px 0;
    }

    .scroll-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .scroll-btn-left {
        left: -18px;
    }

    .scroll-btn-right {
        right: -18px;
    }
}

/* Адаптивність для мобільних */
@media (max-width: 768px) {

    .section-title {
        font-size: 22px;
    }

    .section-subtitle {
        font-size: 13px;
    }

    .game-card {
        width: 140px;
    }

    .game-image {
        height: 100px;
    }

    .game-info {
        padding: 10px;
    }

    .game-title {
        font-size: 13px;
    }

    .game-provider {
        font-size: 11px;
    }

    .games-scroll {
        gap: 10px;
        padding: 10px 0;
    }

    .scroll-btn {
        display: none;
    }
}

/* Дуже маленькі екрани */
@media (max-width: 480px) {
    .game-card {
        width: 130px;
    }

    .game-image {
        height: 90px;
    }

    .section-title {
        font-size: 20px;
    }
}

/* Великі екрани */
@media (min-width: 1400px) {
    .game-card {
        width: 200px;
    }

    .game-image {
        height: 140px;
    }

    .games-scroll {
        gap: 20px;
        padding: 20px 0;
    }
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff4757, #ffa502, #ff6b6b);
    border-radius: 16px 16px 0 0;
}

.content-section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff, #e8e8e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.content-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 32px 0 20px;
    color: #64b5f6;
    position: relative;
    padding-left: 20px;
}

.content-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #ff4757, #ffa502);
    border-radius: 2px;
}

.content-section p {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    text-align: justify;
}

.content-section strong {
    color: #ffa502;
    font-weight: 700;
}

/* Table styles */
.table-container {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th, td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 700;
    color: #64b5f6;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
}

tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

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

/* Highlight important information */
.highlight-box {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.1), rgba(255, 165, 2, 0.1));
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    position: relative;
}

.highlight-box::before {
    content: '💡';
    position: absolute;
    top: -10px;
    left: 20px;
    background: #1a1a2e;
    padding: 5px;
    font-size: 18px;
}

.highlight-box p {
    margin-bottom: 12px;
}

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

/* Special styling for bonus information */
.bonus-info {
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.1), rgba(255, 107, 107, 0.1));
    border: 1px solid rgba(100, 181, 246, 0.3);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    text-align: center;
}

.bonus-amount {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.bonus-description {
    font-size: 18px;
    color: #64ffda;
    margin-bottom: 16px;
}

/* Lists styling */
ul, ol {
    margin: 20px 0;
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.85);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 20px 16px;
    }

    .content-section {
        padding: 24px 20px;
        margin-bottom: 24px;
    }

    .content-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .content-section h3 {
        font-size: 20px;
        margin: 24px 0 16px;
        padding-left: 16px;
    }

    .content-section h3::before {
        height: 20px;
    }

    .content-section p {
        font-size: 15px;
        margin-bottom: 16px;
        text-align: left;
    }

    .table-container {
        margin: 16px -20px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    th, td {
        padding: 12px 16px;
        font-size: 13px;
    }

    th {
        font-size: 12px;
    }

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

    .bonus-description {
        font-size: 16px;
    }

    .highlight-box,
    .bonus-info {
        padding: 16px;
        margin: 16px 0;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 16px 12px;
    }

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

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

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

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

    table {
        min-width: 500px;
    }

    th, td {
        padding: 10px 12px;
        font-size: 12px;
    }

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

    .bonus-description {
        font-size: 15px;
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .content-section {
        padding: 50px;
    }

    .content-section h2 {
        font-size: 36px;
        margin-bottom: 28px;
    }

    .content-section p {
        font-size: 17px;
        margin-bottom: 24px;
    }
}