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 {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    font-family: 'Arial', sans-serif;
    padding: 20px 0;
}


.header {
    /*background: #1a1a1a;*/
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1000;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.desktop-nav li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.desktop-nav li a:hover {
    color: #fff;
}

.desktop-nav li.active a {
    color: #fff;
}

.nav-icon {
    width: 20px;
    height: 20px;
    background: currentColor;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.casino-icon {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.sports-icon {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.94-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E");
}

.live-icon {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72h-1.7z'/%3E%3C/svg%3E");
}

.promotions-icon {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-btn {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-btn:hover {
    color: #fff;
}

.signup-btn {
    color: #000;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.signup-btn:hover {
    transform: translateY(-2px);
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 10001;
    position: relative;
}

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

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #161d37;
    z-index: 20;
    transition: left 0.3s ease;
    padding-top: 80px;
}

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

.mobile-nav-list {
    padding: 0;
    margin: 0;
}

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

.mobile-nav-item a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 20px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-item a:hover,
.mobile-nav-item.active a {
    color: #fff;
}

.mobile-auth {
    padding: 30px 20px;
}

.mobile-auth .login-btn {
    display: block;
    text-align: center;
    margin-bottom: 15px;
}

.mobile-auth .signup-btn {
    display: block;
    text-align: center;
}

/* Media Queries */
@media (max-width: 1064px) {
    .desktop-nav,
    .auth-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

@media (min-width: 1025px) {
    .mobile-menu {
        display: none !important;
    }
}

.sports-banner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    min-height: 400px;
    background: linear-gradient(135deg, #161d37 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
    font-family: 'Arial', sans-serif;
    padding: 40px 0;
    border-radius: 20px;
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    max-width: 600px;
    width: 100%;
}

.banner-subtitle {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #cccccc;
    margin-bottom: 10px;
    opacity: 0.9;
}

.banner-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.signup-btn {
    background: #e45809;
    color: #fff;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.signup-btn:hover {
    background: #fdd835;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 235, 59, 0.4);
}

.info-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.info-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.banner-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
}

/* Декоративні елементи */
.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 235, 59, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* Адаптивність */
@media (max-width: 768px) {
    .sports-banner {
        min-height: 350px;
        flex-direction: column;
        text-align: center;
    }

    .banner-content {
        padding: 30px 20px;
        max-width: 100%;
    }

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

    .banner-subtitle {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .banner-image {
        width: 100%;
        height: 400px;
        order: -1;
    }

    .signup-btn {
        padding: 12px 28px;
        font-size: 14px;
    }

    .info-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 28px;
    }

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

    .banner-cta {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

/* Анімації */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.banner-content > * {
    animation: slideInLeft 0.8s ease-out forwards;
}

.banner-subtitle {
    animation-delay: 0.2s;
}

.banner-title {
    animation-delay: 0.4s;
}

.banner-cta {
    animation-delay: 0.6s;
}





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

.top-blocks-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 30px;
}

.top-blocks {
    display: flex;
    gap: 20px;
}

.top-block {
    position: relative;
    flex: 1;
    min-width: 200px;
    background: linear-gradient(135deg, rgba(50, 50, 80, 0.9) 0%, rgba(35, 35, 65, 0.95) 100%);
    border-radius: 16px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 280px;
}

.top-block-title {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 15px;
    color: white;
    position: relative;
    z-index: 2;
    padding: 20px;
}

.top-block-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    margin-top: 10px;

}

.top-block img {
    position: absolute;
    bottom: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

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

.bottom-block {
    border-radius: 16px;
    padding: 25px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.bottom-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.bottom-block-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 5px;
}

.bottom-block-content h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: white;
}

.bottom-block-content p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.bottom-block:nth-child(1) .bottom-block-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.bottom-block:nth-child(2) .bottom-block-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.bottom-block:nth-child(3) .bottom-block-icon {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

@media (max-width: 1100px) {
    .top-blocks-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .top-blocks {
        min-width: 1100px;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
    }

    .top-block {
        flex: 0 0 200px;
        scroll-snap-align: start;
    }
}

@media (max-width: 992px) {
    .bottom-blocks {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .bottom-block {
        padding: 20px;
    }
}

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

    .top-block {
        flex: 0 0 180px;
        height: 250px;
        padding: 18px;
    }

    .top-block-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .top-block-image {
        font-size: 60px;
    }

    .bottom-block {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .bottom-block-icon {
        margin: 0 auto;
    }
}

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

    .container {
        padding: 0 10px;
    }

    .top-block {
        flex: 0 0 160px;
        height: 220px;
        padding: 15px;
    }

    .top-block-title {
        font-size: 14px;
    }

    .top-block-image {
        font-size: 50px;
    }

    .bottom-block-content h3 {
        font-size: 16px;
    }

    .bottom-block-content p {
        font-size: 13px;
    }
}

.top-blocks-wrapper::-webkit-scrollbar {
    height: 6px;
}

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

.top-blocks-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.footer {
    background: linear-gradient(135deg, #0f1419 0%, #1a1a2e 50%, #16213e 100%);
    border-top: 3px solid rgba(255, 255, 255, 0.1);
    padding: 80px 0 50px 0;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
    transparent 0%,
    #ff6b6b 15%,
    #4ecdc4 35%,
    #45b7d1 55%,
    #96ceb4 75%,
    #feca57 85%,
    transparent 100%
    );
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(72, 202, 228, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(150, 206, 180, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

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

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 35px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 50px;
    height: 4px;
    border-radius: 2px;
}

.footer-column:nth-child(1) .footer-title::after {
    background: linear-gradient(90deg, #ff6b6b, #ee5a52);
}

.footer-column:nth-child(2) .footer-title::after {
    background: linear-gradient(90deg, #4ecdc4, #44a08d);
}

.footer-column:nth-child(3) .footer-title::after {
    background: linear-gradient(90deg, #45b7d1, #3498db);
}

.footer-column:nth-child(4) .footer-title::after {
    background: linear-gradient(90deg, #96ceb4, #5fb3a3);
}

.footer-column:nth-child(5) .footer-title::after {
    background: linear-gradient(90deg, #feca57, #f39c12);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    transition: all 0.4s ease;
    padding: 10px 0;
    border-left: 4px solid transparent;
    padding-left: 0;
    position: relative;
    display: block;
}

.footer-links li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4ecdc4, #45b7d1);
    transition: width 0.4s ease;
}

.footer-links li a:hover {
    color: #4ecdc4;
    padding-left: 20px;
    transform: translateX(5px);
}

.footer-links li a:hover::before {
    width: 15px;
}

.footer-bottom {
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    padding-top: 50px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.7;
}

.footer-info a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-info a:hover {
    color: #ff6b6b;
    border-bottom-color: #ff6b6b;
}

.footer-copyright {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    line-height: 1.5;
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: white;
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 45px;
    }

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

@media (max-width: 992px) {
    .footer {
        padding: 60px 0 40px 0;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        margin-bottom: 50px;
    }

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

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

@media (max-width: 768px) {
    .footer {
        padding: 50px 0 35px 0;
    }

    .footer-container {
        padding: 0 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 40px;
    }

    .footer-title {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .footer-links {
        gap: 15px;
    }

    .footer-links li a {
        font-size: 16px;
        padding: 8px 0;
    }

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

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 30px 0;
    }

    .footer-container {
        padding: 0 10px;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .footer-links {
        gap: 12px;
    }

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

    .footer-info p,
    .footer-copyright p {
        font-size: 14px;
    }
}

.logos-section {

    margin: 40px 20px;
    position: relative;
    overflow: hidden;
}

.logos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
}

.logos-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.logos-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    scroll-snap-type: x mandatory;
}

.logos-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    padding: 0 20px;
}

.logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 180px;
    height: 90px;
    scroll-snap-align: start;
}

.logo-item img {
    max-width: 120px;
    max-height: 50px;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    transition: filter 0.3s ease;
}

.logo-item:hover img {
    filter: brightness(1.1) contrast(1.2);
}

.logos-wrapper::-webkit-scrollbar {
    height: 2px;
}

.logos-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.logos-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.logos-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .logos-section {
        margin: 20px 15px;
        border-radius: 15px;
    }

    .logos-track {
        gap: 40px;
    }

    .logo-item {

        min-width: 150px;
        height: 80px;
        padding: 15px 25px;
    }

    .logo-item img {
        max-width: 100px;
        max-height: 40px;
    }

    .logos-wrapper::-webkit-scrollbar {
        height: 6px;
    }
}

@media (max-width: 480px) {
    .logos-section {
        margin: 15px 10px;
    }

    .logos-track {
        gap: 30px;
    }

    .logo-item {
        min-width: 130px;
        height: 70px;
        padding: 12px 20px;
    }

    .logo-item img {
        max-width: 90px;
        max-height: 35px;
    }
}

.popular-games {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    color: white;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.game-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    padding: 20px 15px 15px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.game-card:hover .game-overlay {
    transform: translateY(0);
}

.game-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-provider {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.favorite-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ff6b6b;
    transform: scale(1.1);
}

.play-button {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.play-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.play-btn:hover {
    background: linear-gradient(135deg, #ee5a52 0%, #ff6b6b 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

/* Адаптивність */
@media (max-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }

    .section-title {
        font-size: 42px;
        margin-bottom: 40px;
    }
}

@media (max-width: 992px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

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

    .game-overlay {
        padding: 15px 12px 12px;
    }

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

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

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

    .popular-games {
        padding: 0 15px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .favorite-btn {
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
        font-size: 16px;
    }

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

@media (max-width: 480px) {
    body {
        padding: 20px 0;
    }

    .popular-games {
        padding: 0 10px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .game-overlay {
        padding: 12px 10px 10px;
    }

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

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

    .favorite-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .play-btn {
        padding: 14px 30px;
        font-size: 14px;
    }
}

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

.content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 60px 50px;
    backdrop-filter: blur(10px);
}

.content-container h2, h3, h4, h5, h6 {
    color: white;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 40px;
}

h1:first-child,
h2:first-child,
h3:first-child {
    margin-top: 0;
}

.content-container h2 {
    font-size: 28px;
    line-height: 1.4;
    position: relative;
    padding-left: 20px;
}

.content-container h3 {
    font-size: 22px;
    line-height: 1.4;
    color: #4ecdc4;
}

.content-container h4 {
    font-size: 18px;
    line-height: 1.5;
}

/* Параграфи */
.content-container p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
}

/* Посилання */
.content-container a {
    color: #4ecdc4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-container a:hover {
    color: #45b7d1;
    text-decoration: underline;
}

/* Списки */
.content-container ul, ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-container li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
}

.content-container ul li::marker {
    color: #4ecdc4;
}

.content-container ol li::marker {
    color: #4ecdc4;
    font-weight: bold;
}

/* Таблиці */
.table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

th {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: bold;
    padding: 15px 20px;
    text-align: left;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

td {
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Виділений текст */
strong {
    color: white;
    font-weight: bold;
}

em {
    color: #4ecdc4;
    font-style: italic;
}

/* Цитати */
blockquote {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #4ecdc4;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 8px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
}

/* Код */
code {
    background: rgba(255, 255, 255, 0.1);
    color: #feca57;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

pre {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

pre code {
    background: none;
    padding: 0;
}

/* Розділювач */
hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    margin: 40px 0;
}

/* Адаптивність */
@media (max-width: 1200px) {
    .content {
        padding: 50px 40px;
    }

    .content-container h2 {
        font-size: 26px;
    }

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

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

    .content {
        padding: 40px 30px;
        border-radius: 16px;
    }

    .content-container h2 {
        font-size: 24px;
        padding-left: 16px;
    }

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

    .content-container p, li {
        font-size: 15px;
    }

    .content-container ul, ol {
        padding-left: 25px;
    }

    .table-wrapper {
        margin: 25px -15px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    table {
        min-width: 500px;
    }

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

    th {
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .content-container {
        padding: 0 10px;
    }

    .content {
        padding: 30px 20px;
    }

    .content-container h2 {
        font-size: 20px;
        padding-left: 12px;
    }

    .content-container h2::before {
        width: 3px;
    }

    .content-container h3 {
        font-size: 16px;
    }

    .content-container p, li {
        font-size: 14px;
    }

    .content-container ul, ol {
        padding-left: 20px;
    }

    table {
        min-width: 400px;
    }

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

    th {
        font-size: 11px;
    }

    blockquote {
        padding: 15px 20px;
        margin: 20px 0;
    }
}

/* Скролбар для таблиць */
.table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}
