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-color: #111217;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 50%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 50%, rgba(138, 43, 226, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: #ffd700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
}

.nav-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    transition: width 0.3s ease;
}

.nav-menu li a:hover {
    color: #ffd700;
}

.nav-menu li a:hover::after {
    width: 100%;
}

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

.btn-login {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-login:hover {
    border-color: #ffd700;
    color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.btn-register {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 24px;
    height: 20px;
    justify-content: space-between;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    z-index: 9;
    padding: 30px 20px;
}

.mobile-menu.active {
    display: block;
}

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

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

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

.mobile-nav li a:hover {
    color: #ffd700;
    padding-left: 10px;
}

.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.mobile-auth-buttons .btn-login,
.mobile-auth-buttons .btn-register {
    text-align: center;
    padding: 15px 20px;
    font-size: 16px;
}

/* Адаптивність */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .auth-buttons {
        display: none;
    }
}

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

    .logo {
        font-size: 20px;
    }

    .mobile-menu {
        top: 0;
        height: calc(100vh - 65px);
        padding: 25px 15px;
    }

    .mobile-nav li a {
        font-size: 16px;
        padding: 12px 0;
    }

    .mobile-auth-buttons .btn-login,
    .mobile-auth-buttons .btn-register {
        padding: 12px 20px;
        font-size: 15px;
    }
}

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

    .logo {
        font-size: 18px;
    }

    .mobile-menu {
        top: 50px;
        height: calc(100vh - 60px);
        padding: 20px 15px;
    }

    .hamburger {
        width: 22px;
        height: 18px;
    }

    .hamburger span {
        height: 2px;
    }
}

/* Анімація появи мобільного меню */
.mobile-menu {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    transform: translateY(0);
}

/* Overlay для закриття меню */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 8;
}

.menu-overlay.active {
    display: block;
}

.banner {
    position: relative;
    min-height: 600px;
    max-width: 1200px;
    margin: auto;
    background: url("../images/header-bg.png") no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    font-family: 'Arial', sans-serif;
    border-radius: 10px;

    @media (max-width: 768px) {
        background: url("../images/header-bg-mobile.webp") no-repeat center center;
        background-size: cover;
    }
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.content-banner {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 800px;
    /*padding: 0 20px;*/
    background: rgba(0,0,0, .5);
    padding: 25px;
    border-radius: 20px;
}

.content-banner .welcome-text {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.content-banner .main-title {
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 900;
    color: #ffd700;
    background-size: 200% 200%;
    margin-bottom: 15px;
    animation: gradientShift 3s ease-in-out infinite;
    line-height: 0.9;
}

.content-banner .subtitle {
    font-size: clamp(16px, 3vw, 24px);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.content-banner .cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    padding: 18px 40px;
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

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

.content-banner .cta-button:hover::before {
    left: 100%;
}

.content-banner .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.5);
}

.content-banner .small-text {
    font-size: clamp(12px, 1.5vw, 14px);
    color: #cccccc;
    margin-top: 10px;
    font-style: italic;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(255, 215, 0, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 768px) {
    .banner {
        min-height: 350px;
        padding: 20px 10px;
    }

    .content-banner {
        padding: 15px;
    }

    .content-banner .welcome-text {
        margin-bottom: 8px;
    }

    .content-banner .main-title {
        margin-bottom: 12px;
    }

    .content-banner .subtitle {
        margin-bottom: 25px;
    }

    .content-banner .cta-button {
        padding: 15px 30px;
    }

    .shape:nth-child(1) {
        width: 60px;
        height: 60px;
    }

    .shape:nth-child(2) {
        width: 80px;
        height: 80px;
    }

    .shape:nth-child(3) {
        width: 45px;
        height: 45px;
    }

    .shape:nth-child(4) {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .banner {
        min-height: 300px;
    }

    .content-banner .cta-button {
        padding: 12px 25px;
    }
}

.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(138, 43, 226, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #ffd700;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-section ul li a:hover {
    color: #ffd700;
    padding-left: 5px;
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.footer-section ul li a:hover::before {
    width: 5px;
}

.footer-section p {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
}

.newsletter h3 {
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 12px 15px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: #aaaaaa;
}

.newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

.newsletter-form button {
    padding: 12px 20px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.social-links {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cccccc;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.payment-method {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 12px;
    color: #cccccc;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.payment-method:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: #ffd700;
}

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

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #888888;
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700;
}

.responsible-gaming {
    background: rgba(255, 69, 58, 0.1);
    border: 1px solid rgba(255, 69, 58, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.responsible-gaming h4 {
    color: #ff453a;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
}

.responsible-gaming p {
    font-size: 12px;
    color: #cccccc;
}

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

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

    .newsletter-form {
        flex-direction: column;
        gap: 12px;
    }

    .newsletter-form button {
        align-self: stretch;
        padding: 14px 20px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 20px;
    }

    .social-links {
        justify-content: center;
    }

    .payment-methods {
        justify-content: center;
    }
}

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

    .footer-content {
        gap: 25px;
    }

    .newsletter {
        padding: 20px 15px;
    }

    .newsletter-form {
        gap: 10px;
    }

    .newsletter-form input {
        padding: 12px 12px;
        font-size: 13px;
    }

    .newsletter-form button {
        padding: 12px 15px;
        font-size: 13px;
    }

    .footer-links {
        gap: 15px;
    }

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

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

/* Перший блок - Features Grid */
.features-section {
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 10px;
}

.feature-card {
    background: linear-gradient(135deg, #2a2d47 0%, #363b5e 100%);
    border-radius: 15px;
    padding: 25px 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.3);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.feature-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.feature-description {
    color: #cccccc;
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.9;
}

/* Другий блок - Support Features */
.support-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.support-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(138, 43, 226, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.support-card {
    text-align: left;
    padding: 0;
}

.support-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.support-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.support-description {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.6;
}

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

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

    .support-section {
        padding: 30px;
    }
}

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

    /* Перший блок стає скролним */
    .features-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding: 10px 5px 20px 5px;
        -webkit-overflow-scrolling: touch;
    }

    .features-grid::-webkit-scrollbar {
        height: 4px;
    }

    .features-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
    }

    .features-grid::-webkit-scrollbar-thumb {
        background: linear-gradient(45deg, #ffd700, #ffed4e);
        border-radius: 2px;
    }

    .feature-card {
        flex: 0 0 250px;
        scroll-snap-align: start;
        min-height: 180px;
        padding: 20px 15px;
    }

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

    .feature-description {
        font-size: 12px;
    }

    .feature-icon {
        font-size: 40px;
        margin-bottom: 12px;
    }

    /* Другий блок стає одноколонним */
    .support-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .support-section {
        padding: 25px 20px;
    }

    .support-title {
        font-size: 18px;
    }

    .support-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {

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

    .feature-card {
        flex: 0 0 220px;
        min-height: 160px;
        padding: 18px 12px;
    }

    .feature-title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .feature-icon {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .support-section {
        padding: 20px 15px;
    }

    .support-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
        margin-bottom: 15px;
    }

    .support-title {
        font-size: 17px;
        margin-bottom: 10px;
    }
}

/* Додаткові стилі для індикатора скролу */
.scroll-indicator {
    display: none;
    text-align: center;
    margin-top: 15px;
    color: #888;
    font-size: 12px;
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: block;
    }
}

.content-container {
    max-width: 1200px;
    margin: 20px auto;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.content-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(138, 43, 226, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.content-wrapper {
    position: relative;
    z-index: 2;
    padding: 50px 40px;
}

/* Typography */
h2 {
    color: #ffd700;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 40px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2:first-child {
    margin-top: 0;
}

h3 {
    color: #ffffff;
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

p {
    color: #cccccc;
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

strong {
    color: #ffd700;
    font-weight: 600;
}

/* Lists */
.content-container ul {
    margin: 20px 0;
    padding-left: 0;
}

.content-container li {
    color: #cccccc;
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    list-style: none;
}

.content-container li::before {
    content: '→';
    color: #ffd700;
    font-weight: 600;
    position: absolute;
    left: 0;
    top: 0;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin: 25px 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-overflow-scrolling: touch;
}

.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: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #ffed4e, #ffd700);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
    background: transparent;
}

table tbody {
    background: transparent;
}

table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

table tr:hover {
    background: rgba(255, 215, 0, 0.05);
}

table td {
    padding: 15px 20px;
    text-align: left;
    vertical-align: top;
    color: #cccccc;
    font-size: clamp(13px, 2vw, 15px);
    border: none;
}

table td:first-child {
    font-weight: 600;
    color: #ffffff;
}

table td p {
    margin: 0;
    text-align: left;
}

table td p strong {
    color: #ffd700;
}

/* Content sections styling */
.content-section {
    margin-bottom: 35px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.content-section:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 215, 0, 0.1);
}

/* Special styling for highlighted content */
p:has(strong:only-child) {
    background: rgba(255, 215, 0, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
    margin: 25px 0;
}

/* Responsive design */
@media (max-width: 768px) {

    .content-container {
        border-radius: 15px;
        margin: 0 10px;
    }

    .content-wrapper {
    }

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

    h2 {
        margin-top: 30px;
        margin-bottom: 15px;
    }

    h3 {
        margin-top: 25px;
        margin-bottom: 12px;
    }

    p {
        margin-bottom: 15px;
    }

    .content-container li {
        margin-bottom: 10px;
        padding-left: 20px;
    }

    .content-container table td {
        padding: 12px 15px;
    }

    .table-wrapper {
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    .content-container {
        margin: 0 5px;
        border-radius: 12px;
    }

    .content-wrapper {
        padding: 25px 20px;
    }

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

    h2 {
        margin-top: 25px;
        margin-bottom: 12px;
    }

    h3 {
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .content-container li {
        padding-left: 18px;
    }

    .content-container table td {
        padding: 10px 12px;
    }

    .content-container table {
        min-width: 400px;
    }

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

/* Animation for content appearance */
.content-wrapper > * {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.content-wrapper > *:nth-child(1) { animation-delay: 0.1s; }
.content-wrapper > *:nth-child(2) { animation-delay: 0.2s; }
.content-wrapper > *:nth-child(3) { animation-delay: 0.3s; }
.content-wrapper > *:nth-child(4) { animation-delay: 0.4s; }
.content-wrapper > *:nth-child(5) { animation-delay: 0.5s; }

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

/* Scroll hint for tables on mobile */
.table-wrapper::after {
    content: 'Swipe to scroll →';
    position: absolute;
    right: 10px;
    bottom: 5px;
    font-size: 11px;
    color: #888;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .table-wrapper {
        position: relative;
    }

    .table-wrapper::after {
        opacity: 1;
    }

    .table-wrapper:hover::after {
        opacity: 0;
    }
}

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

.section-title {
    text-align: center;
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 50px;
}

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

.game-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, #2a2d47 0%, #363b5e 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    aspect-ratio: 3/4;
    text-decoration: none;
    display: block;
}

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

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
            180deg,
            transparent 0%,
            transparent 60%,
            rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 2;
    pointer-events: none;
}

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

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

.game-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    z-index: 3;
    text-align: center;
}

.game-title {
    color: #ffffff;
    font-size: clamp(12px, 1.8vw, 16px);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.game-provider {
    color: #cccccc;
    font-size: clamp(10px, 1.4vw, 12px);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 4;
    backdrop-filter: blur(10px);
}

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

.favorite-btn::before {
    content: '♡';
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.favorite-btn:hover::before {
    content: '♥';
    color: #ffd700;
}

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

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

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

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

    .section-title {
        margin-bottom: 35px;
    }

    .game-info {
        padding: 12px;
    }

    .favorite-btn {
        width: 32px;
        height: 32px;
        top: 10px;
        right: 10px;
    }

    .favorite-btn::before {
        font-size: 14px;
    }
}

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

    .game-info {
        padding: 10px;
    }

    .game-title {
        margin-bottom: 3px;
    }
}

@media (max-width: 360px) {

    .container {
        padding: 0 10px;
    }

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

    .games-grid {
        gap: 10px;
    }

    .favorite-btn {
        width: 28px;
        height: 28px;
        top: 8px;
        right: 8px;
    }

    .favorite-btn::before {
        font-size: 12px;
    }
}

/* Анімація завантаження */
.game-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.game-card:nth-child(1) { animation-delay: 0.1s; }
.game-card:nth-child(2) { animation-delay: 0.2s; }
.game-card:nth-child(3) { animation-delay: 0.3s; }
.game-card:nth-child(4) { animation-delay: 0.4s; }
.game-card:nth-child(5) { animation-delay: 0.5s; }
.game-card:nth-child(6) { animation-delay: 0.6s; }
.game-card:nth-child(7) { animation-delay: 0.7s; }
.game-card:nth-child(8) { animation-delay: 0.8s; }
.game-card:nth-child(9) { animation-delay: 0.9s; }
.game-card:nth-child(10) { animation-delay: 1.0s; }

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

/* Hover ефект для всього блоку */
.games-section {
    position: relative;
    padding: 40px 0;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(138, 43, 226, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Placeholder для зображень що не завантажились */
.game-image {
    background: linear-gradient(135deg, #2a2d47 0%, #363b5e 100%);
}