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: #1a1a2e;
    color: white;
}

.promo-banners {
    max-width: 1400px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0;
    position: relative;
    z-index: -1;
}

.promo-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: block;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.promo-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.welcome-banner {
    background: url("../images/banner-1.webp") no-repeat center center;
    background-size: cover;
}

.cashback-banner {
    background: url("../images/banner-2.webp") no-repeat center center;
    background-size: cover;
}


.promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    color: white;
}

.promo-header {
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.promo-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    margin: 15px 0;
}

.promo-amount {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.promo-description {
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 5px;
}

.promo-code {
    font-size: 0.9rem;
    font-weight: bold;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promo-button {
    background: #5BDCE5;
    color: #2c1810;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.promo-button:hover {
    background: linear-gradient(45deg, #FFA500, #FFD700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Додаткові декоративні елементи */
.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.promo-card:hover::before {
    transform: translateX(100%);
}

/* Мобільна адаптація */
@media (max-width: 1024px) {
    .promo-banners {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px 0;
    }

    .promo-card {
        height: 160px;
    }

    .promo-overlay {
        padding: 20px;
    }

    .promo-amount {
        font-size: 1.6rem;
    }

    .promo-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .promo-card {
        height: 140px;
    }

    .promo-overlay {
        padding: 18px;
    }

    .promo-header {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .promo-amount {
        font-size: 1.4rem;
    }

    .promo-description {
        font-size: 0.9rem;
    }

    .promo-code {
        font-size: 0.8rem;
    }

    .promo-button {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {

    .promo-banners {
        gap: 12px;
    }

    .promo-card {
        height: 130px;
    }

    .promo-overlay {
        padding: 15px;
    }

    .promo-amount {
        font-size: 1.2rem;
    }

    .promo-description {
        font-size: 0.85rem;
    }

    .promo-button {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

}

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

    .promo-card:nth-child(3) {
        grid-column: 1 / -1;
        height: 180px;
    }
}

/* Спеціальна адаптація для великих планшетів */
@media (min-width: 900px) and (max-width: 1024px) {
    .promo-banners {
        grid-template-columns: repeat(3, 1fr);
    }

    .promo-card:nth-child(3) {
        grid-column: auto;
        height: 160px;
    }
}

/* Анімація появи карток */
.promo-card {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
}

.promo-card:nth-child(1) { animation-delay: 0.1s; }
.promo-card:nth-child(2) { animation-delay: 0.2s; }
.promo-card:nth-child(3) { animation-delay: 0.3s; }

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

.header {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    position: relative;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #4fc3f7;
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 10px 0;
    position: relative;
}

.nav-menu a:hover {
    color: #4fc3f7;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #4fc3f7;
    transition: width 0.3s ease;
}

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

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

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

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

.register-btn {
    background: linear-gradient(45deg, #4fc3f7, #29b6f6);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.3);
}

.register-btn:hover {
    background: linear-gradient(45deg, #29b6f6, #0288d1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 195, 247, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 10px;
}

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

.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 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    z-index: 1000;
}

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

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

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

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

.mobile-nav a:hover {
    color: #4fc3f7;
}

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

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

/* Demo content */
.demo-content {
    padding: 60px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Tablet and Mobile styles */
@media (max-width: 1024px) {
    .nav-menu,
    .auth-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

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

    .logo {
        font-size: 1.6rem;
    }

    .mobile-nav a {
        font-size: 1rem;
        padding: 12px 0;
    }

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

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

    .logo {
        font-size: 1.4rem;
    }
}

.life-casino {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 10px;
}

.controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
    gap: 15px;
}

.casino-header h2{
    font-size: 28px;
    font-weight: bold;
}

.view-all {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-all:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 18px;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    overflow-x: hidden;
}

.game-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    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.3);
}

.game-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4757;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.favorite-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.favorite-btn:hover {
    background: rgba(255, 71, 87, 0.8);
    transform: scale(1.1);
}

.game-info {
    padding: 15px;
}

.game-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.game-provider {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Tablet styles */
@media (max-width: 1024px) {
    .header h2 {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: repeat(4, 280px);
        overflow-x: auto;
        scroll-behavior: smooth;
        padding-bottom: 10px;
    }

    .games-grid::-webkit-scrollbar {
        height: 8px;
    }

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

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

/* Mobile styles */
@media (max-width: 768px) {

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 25px;
    }

    .header h2 {
        font-size: 1.8rem;
    }

    .controls {
        align-self: stretch;
        justify-content: space-between;
    }

    .games-grid {
        grid-template-columns: repeat(6, 250px);
        gap: 15px;
    }

    .game-image {
        height: 160px;
    }

    .game-info {
        padding: 12px;
    }

    .game-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: repeat(6, 200px);
    }

    .game-image {
        height: 140px;
    }
}


.footer {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 20px 40px;
    margin-top: auto;
}

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

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

.footer-column h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #4fc3f7;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

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

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(79, 195, 247, 0.2);
    border-color: #4fc3f7;
    color: #4fc3f7;
    transform: translateY(-2px);
}

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

.payment-method {
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 15px;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.payment-method:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Tablet styles */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer {
        padding: 50px 20px 30px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer {
        padding: 40px 15px 25px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

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

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

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

@media (max-width: 480px) {
    .footer-bottom-links {
        flex-direction: column;
        gap: 15px;
    }

    .footer-column h3 {
        font-size: 1.2rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

.providers-section {
    max-width: 1400px;
    margin: 20px auto;
}

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

.providers-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.view-all-providers {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-all-providers:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

.provider-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    /*padding: 30px 20px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.provider-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.provider-card img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.provider-card:hover img {
    filter: brightness(1.1);
}

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

.payment-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    /*padding: 25px 15px;*/
    display: flex;
    /*align-items: center;*/
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.payment-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.payment-card img {
    max-width: 100%;
    max-height: 120px;
    object-fit: cover;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.payment-card:hover img {
    filter: brightness(1.1);
}

/* Tablet styles */
@media (max-width: 1024px) {
    .providers-header h2 {
        font-size: 2rem;
    }

    .providers-grid {
        grid-template-columns: repeat(2, 1fr);
        overflow-x: auto;
        scroll-behavior: smooth;
        padding-bottom: 10px;
    }

    .payments-grid {
        grid-template-columns: repeat(3, 1fr);
        overflow-x: auto;
        scroll-behavior: smooth;
        padding-bottom: 10px;
    }

    .providers-grid::-webkit-scrollbar,
    .payments-grid::-webkit-scrollbar {
        height: 8px;
    }

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

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

/* Mobile styles */
@media (max-width: 768px) {

    .providers-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 30px;
    }

    .providers-header h2 {
        font-size: 1.8rem;
    }

    .view-all-providers {
        align-self: stretch;
        justify-content: center;
    }

    .providers-grid {
        grid-template-columns: repeat(4, 280px);
        gap: 15px;
        margin-bottom: 50px;
    }

    .payments-grid {
        grid-template-columns: repeat(5, 200px);
        gap: 15px;
    }

    .provider-card,
    .payment-card {
        height: 100px;
        padding: 20px 15px;
    }

    .provider-card img {
        max-height: 50px;
    }

    .payment-card img {
        max-height: 40px;
    }
}

@media (max-width: 480px) {
    .providers-grid {
        grid-template-columns: repeat(4, 200px);
    }

    .payments-grid {
        grid-template-columns: repeat(5, 160px);
    }

    .provider-card,
    .payment-card {
        height: 80px;
        padding: 15px 10px;
    }

    .provider-card img {
        max-height: 40px;
    }

    .payment-card img {
        max-height: 30px;
    }
}

.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    line-height: 1.7;
}

.main-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin: 40px 0 20px 0;
    line-height: 1.3;
}

.main-content h2:first-child {
    margin-top: 0;
}

.main-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin: 30px 0 15px 0;
    line-height: 1.4;
}

.main-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.main-content p strong {
    color: white;
    font-weight: 600;
}

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

.main-content ul li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.main-content ul li::before {
    content: '•';
    color: #4fc3f7;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

.main-content .table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 25px 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    scroll-behavior: smooth;
}

.main-content .table-wrapper::-webkit-scrollbar {
    height: 8px;
}

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

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

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

.main-content table {
    width: 100%;
    min-width: 400px;
    border-collapse: collapse;
    background: transparent;
}

.main-content table th {
    padding: 18px 20px;
    background: rgba(79, 195, 247, 0.2);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-align: left;
    border-bottom: 2px solid rgba(79, 195, 247, 0.3);
    white-space: nowrap;
}

.main-content table td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    white-space: nowrap;
}

.main-content table td:first-child {
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.main-content table tr:last-child td {
    border-bottom: none;
}

.main-content table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.main-content a {
    color: #4fc3f7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-content a:hover {
    color: #29b6f6;
    text-decoration: underline;
}

.scroll-indicator {
    display: none;
    text-align: center;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Tablet styles */
@media (max-width: 1024px) {
    .main-content {
        padding: 30px 20px;
    }

    .main-content h2 {
        font-size: 1.9rem;
    }

    .main-content h3 {
        font-size: 1.3rem;
    }

    .main-content table {
        min-width: 500px;
        font-size: 0.9rem;
    }

    .main-content table th,
    .main-content table td {
        padding: 12px 15px;
    }

    .scroll-indicator {
        display: block;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .main-content {
        padding: 25px 15px;
    }

    .main-content h2 {
        font-size: 1.6rem;
        margin: 30px 0 15px 0;
    }

    .main-content h3 {
        font-size: 1.2rem;
        margin: 25px 0 12px 0;
    }

    .main-content p {
        font-size: 1rem;
        margin-bottom: 18px;
    }

    .main-content ul li {
        font-size: 1rem;
        padding-left: 20px;
    }

    .main-content .table-wrapper {
        margin: 20px -15px;
        border-radius: 0;
        padding: 0 15px;
    }

    .main-content table {
        min-width: 600px;
        font-size: 0.85rem;
    }

    .main-content table th,
    .main-content table td {
        padding: 10px 12px;
    }

    .scroll-indicator::before {
        content: '← Swipe to see more →';
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 20px 15px;
    }

    .main-content h2 {
        font-size: 1.4rem;
    }

    .main-content h3 {
        font-size: 1.1rem;
    }

    .main-content p,
    .main-content ul li {
        font-size: 0.95rem;
    }

    .main-content table {
        min-width: 500px;
        font-size: 0.8rem;
    }

    .main-content table th,
    .main-content table td {
        padding: 8px 10px;
    }
}