:root {
    /* Spacing */
    --space-4xs: clamp(0.31rem, calc(0.21vw + 0.26rem), 0.44rem);
    --space-3xs: clamp(0.38rem, calc(0.38vw + 0.31rem), 0.62rem);
    --space-2xs: clamp(0.48rem, calc(0.65vw + 0.35rem), 0.88rem);
    --space-xs: clamp(0.6rem, calc(1.04vw + 0.39rem), 1.24rem);
    --space-s: clamp(0.75rem, calc(1.63vw + 0.42rem), 1.75rem);
    --space-m: clamp(0.94rem, calc(2.51vw + 0.44rem), 2.47rem);
    --space-l: clamp(1.17rem, calc(3.8vw + 0.41rem), 3.5rem);
    --space-xl: clamp(1.47rem, calc(5.69vw + 0.33rem), 4.95rem);
    --space-2xl: clamp(1.83rem, calc(8.43vw + 0.14rem), 7rem);
    --space-3xl: clamp(2.29rem, calc(12.41vw + -0.19rem), 9.89rem);
    --space-4xl: clamp(2.86rem, calc(18.17vw + -0.77rem), 13.99rem);

    /* Text */
    --text-xs: clamp(0.48rem, calc(0.39vw + 0.4rem), 0.72rem);
    --text-s: clamp(0.6rem, calc(0.49vw + 0.5rem), 0.9rem);
    --text-m: clamp(0.75rem, calc(0.61vw + 0.63rem), 1.13rem);
    --text-l: clamp(0.94rem, calc(0.77vw + 0.78rem), 1.41rem);
    --text-xl: clamp(1.17rem, calc(0.96vw + 0.98rem), 1.76rem);
    --text-2xl: clamp(1.47rem, calc(1.2vw + 1.23rem), 2.2rem);
    --text-3xl: clamp(1.83rem, calc(1.49vw + 1.53rem), 2.75rem);
    --text-4xl: clamp(2.29rem, calc(1.87vw + 1.92rem), 3.43rem);

    /* Colors */
    --background-color: #011111;
    --text-color: #E2EEEE;
    --nav-wrapper-bg: #FFFFFF1A;
    --accent-color-1: #98B6B6;
    --accent-color-2: #154747;
    
    /* Header Colors */
    --header-text: #FFFFFF;
    --casino-btn-bg: #4ADE80;
    --casino-btn-text: #FFFFFF;
    --sports-btn-bg: #1F2937;
    --sports-btn-text: #FFFFFF;
    --login-btn-bg: #1F2937;
    --login-btn-text: #FFFFFF;
    --signup-btn-bg: #3B82F6;
    --signup-btn-text: #FFFFFF;
    
    /* Sidebar Colors */
    --sidebar-bg: #061F1F;
    --sidebar-item-hover: rgba(255, 255, 255, 0.1);
    --sidebar-item-text: #C8D6E5;
    --sidebar-item-bg: #092929;

    /* Promo Banner Colors */
    --promo-banner-text: #FFD700;

}

@font-face {
    font-family: 'ElmsSans';
    src: url('/assets/fonts/ElmsSans-VariableFont_wght.ttf') format('truetype');
    font-weight: 300 800;
    font-style: normal;
}

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

body {
    font-family: 'ElmsSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    font-size: 16px;
}

html {
    scroll-behavior: smooth;
}

h1 {
    margin: 0.67em;
    font-size: 2em;
}

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

/* Header Styles */
.header {
    background-color: var(--background-color);
    padding: var(--space-2xs) var(--space-m);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px 0 #0000003D,0 0 1px 0 #00000052;
}

.header-container {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-m);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: var(--space-3xs);
    margin-right: var(--space-xs);
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    opacity: 0.8;
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    display: block;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
    flex-shrink: 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: var(--space-m);
}

.logo-icon {
    max-width: 170px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-color);
    text-transform: lowercase;
    letter-spacing: -0.02em;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    background-color: var(--nav-wrapper-bg);
    border-radius: 9999px;
    gap: var(--space-4xs);
    overflow: hidden;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-3xs);
    color: var(--text-color);
    font-size: var(--text-s);
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.2s ease;
    text-decoration: none;
    padding: var(--space-4xs) var(--space-3xs);
}

.nav-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.nav-link-active {
    padding: var(--space-4xs);
    background-color: var(--accent-color-2);
    color: var(--accent-color-);
    border-radius: 9999px;
}

.nav-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    flex-shrink: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4xs) var(--space-xs);
    border-radius: 9999px;
    font-size: var(--text-s);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn:hover {
    filter: brightness(1.1);
}

.btn-login {
    border: 2px solid var(--accent-color-1);
    color: var(--login-btn-text);
}

.btn-signup {
    background-color: var(--signup-btn-bg);
    color: var(--signup-btn-text);
}

/* Main Layout */
.main {
    display: flex;
    min-height: calc(100vh - 80px);
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Sidebar Styles */
.sidebar {
    width: 320px;
    background-color: var(--sidebar-bg);
    padding: var(--space-2xs);
    display: flex;
    flex-direction: column;
    gap: var(--space-4xs);
    position: fixed;
    top: 66px;
    left: 0;
    height: calc(100vh - 66px);
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
}

.sidebar-section-expandable {
    margin-top: var(--space-s);
}

.sidebar-section-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: var(--space-4xs);
    gap: var(--space-4xs);
}

.sidebar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4xs);
    padding: var(--space-4xs) var(--space-4xs);
    color: var(--text-color);
    background: linear-gradient(96deg,#2D4B67 0,#0F3A3A 30%);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: var(--text-s);
    font-weight: 700;
}

.sidebar-item:hover {
    filter: brightness(1.1);
}

.sidebar-icon {
    width: 40px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.sidebar-icon-casino {
    width: 26px;
    height: auto;
    color: var(--sidebar-item-text);
}

.sidebar-item-expandable {
    justify-content: space-between;
    color: var(--sidebar-item-text);
    background: var(--sidebar-item-bg);
}

.sidebar-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-left: auto;
    transition: transform 0.2s ease;
}

.sidebar-language-wrapper.active .sidebar-language .sidebar-chevron {
    transform: rotate(180deg);
}

.sidebar-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
    padding-top: var(--space-l);
}

.sidebar-item-help {
    background-color: var(--signup-btn-bg);
    color: var(--signup-btn-text);
    justify-content: center;
}

.sidebar-item-help:hover {
    filter: brightness(1.1);
    background-color: var(--signup-btn-bg);
}

.sidebar-language-wrapper {
    position: relative;
    width: 100%;
}

.sidebar-language {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3xs) var(--space-s);
    background-color: var(--accent-color-2);
    color: var(--text-color);
    border: none;
    border-radius: 999px;
    font-size: var(--text-m);
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
}

.sidebar-language:hover {
    filter: brightness(1.1);
}

.sidebar-language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: var(--space-2xs);
    background-color: var(--sidebar-item-bg);
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sidebar-language-wrapper.active .sidebar-language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sidebar-language-item {
    display: flex;
    align-items: center;
    padding: var(--space-3xs) var(--space-s);
    color: var(--sidebar-item-text);
    text-decoration: none;
    font-size: var(--text-m);
    font-weight: 500;
    transition: background-color 0.2s ease;
    border: none;
    width: 100%;
    text-align: left;
}

.sidebar-language-item:hover {
    background-color: var(--sidebar-item-hover);
}

.sidebar-language-item-active {
    background-color: var(--accent-color-2);
    color: var(--text-color);
}

.sidebar-social {
    display: flex;
    gap: var(--space-2xs);
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    background-color: var(--accent-color-2);
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.social-link:hover {
    filter: brightness(1.1);
}

.social-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Content Area */
.content {
    flex: 1;
    padding: var(--space-2xs);
    padding-top: calc(66px + var(--space-2xs));
    background-color: var(--background-color);
    margin-left: 320px;
    max-width: 100%;
}

/* Promo Banners */
.promo-banners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-s);
    margin-bottom: var(--space-l);
}

.promo-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    padding: var(--space-3xs);
    aspect-ratio: 16/9;
}

.promo-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.promo-badge {
    position: relative;
    z-index: 2;
    background-color: var(--accent-color-2);
    color: var(--text-color);
    font-size: var(--text-m);
    font-weight: 700;
    padding: var(--space-4xs) var(--space-4xs);
    border-radius: 6px;
    text-align: center;
    margin-bottom: var(--space-s);
    width: fit-content;
    align-self: flex-start;
}

.promo-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
}

.promo-offer {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xs);
    margin-bottom: var(--space-2xs);
}

.promo-amount {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--promo-banner-text);
    line-height: 1.2;
}

.promo-bonus {
    font-size: var(--text-l);
    font-weight: 600;
    color: var(--promo-banner-text);
    line-height: 1.2;
}

.promo-code {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--promo-banner-text);
    line-height: 1.2;
}

.promo-btn {
    position: relative;
    z-index: 2;
    background-color: var(--signup-btn-bg);
    color: var(--text-color);
    font-size: var(--text-l);
    font-weight: 600;
    padding: var(--space-4xs);
    border-radius: 999px;
    text-align: center;
    text-decoration: none;
    transition: filter 0.2s ease;
    margin-top: auto;
    display: block;
    width: 30%;
}

.promo-btn:hover {
    filter: brightness(1.1);
}

/* Games Slider */
.games-section {
    margin-bottom: var(--space-l);
    width: 100%;
    max-width: 100%;
}

.games-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-m);
}

.games-section-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.games-slider-nav-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
}

.games-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.games-slider-track {
    display: flex;
    transition: transform 0.3s ease;
    width: calc(100% * 3);
    will-change: transform;
}

.games-slide {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: var(--space-s);
    flex: 0 0 33.333%;
    width: 33.333%;
    max-width: 33.333%;
    min-width: 0;
    box-sizing: border-box;
}

.game-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.2s ease;
    min-width: 0;
    width: 100%;
}

.game-image-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--accent-color-2);
    margin-bottom: var(--space-3xs);
    max-width: 100%;
}

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

.game-item:hover .game-image {
    transform: scale(1.1);
}

.game-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-4xs);
}

.game-name {
    text-align: center;
    font-size: var(--text-m);
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
}

.game-provider {
    text-align: center;
    font-size: var(--text-s);
    color: var(--accent-color-1);
    line-height: 1.3;
}

.games-slider-nav {
    background-color: var(--accent-color-2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.games-slider-nav:hover {
    background-color: var(--accent-color-1);
    filter: brightness(1.1);
}

.games-slider-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.games-slider-nav svg {
    width: 20px;
    height: 20px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: var(--space-s);
    width: 100%;
}

/* Providers Section */
.providers-section {
    margin-bottom: var(--space-l);
    width: 100%;
    max-width: 100%;
}

.providers-section-header {
    margin-bottom: var(--space-m);
}

.providers-section-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: var(--space-s);
    width: 100%;
}

.payments-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-s);
    width: 100%;
    margin-top: var(--space-m);
}

.payments-item {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: var(--space-4xs);
}

.provider-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: var(--space-4xs);
    text-decoration: none;
    transition: all 0.2s ease;
    overflow: hidden;
}

.provider-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.provider-logo {
    max-width: 130px;
    height: auto;
    object-fit: contain;
}

.payments-logo {
    width: 80px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-container {
        flex-wrap: nowrap;
    }
    
    .header-left {
        gap: var(--space-xs);
    }
    
    .logo-icon {
        max-width: 120px;
    }
    
    .nav {
        display: none;
    }
    
    .header-actions {
        gap: var(--space-3xs);
    }
    
    .btn {
        font-size: var(--text-m);
        padding: var(--space-4xs) var(--space-3xs);
    }
    
    .main {
        flex-direction: column;
    }
    
    .sidebar {
        width: 280px;
        transform: translateX(-100%);
        top: 50px;
        height: calc(100dvh - 50px);
        z-index: 999;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar-overlay.active {
        display: block;
    }
    
    .content {
        margin-left: 0;
        padding: var(--space-s);
        padding-top: calc(66px + var(--space-s));
    }
    
    .promo-banners {
        grid-template-columns: 1fr;
        gap: var(--space-m);
    }
    
    .promo-btn {
        width: 40%;
    }
    
    .games-section-header {
        margin-bottom: var(--space-s);
    }
    
    .games-section-title {
        font-size: var(--text-xl);
    }
    
    .games-slide {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xs);
    }
    
    .games-slide .game-item:nth-child(7) {
        display: none;
    }
    
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xs);
    }
    
    .games-grid .game-item:nth-child(7) {
        display: none;
    }
    
    .games-slider-nav {
        width: 32px;
        height: 32px;
    }
    
    .games-slider-nav svg {
        width: 16px;
        height: 16px;
    }
    
    .providers-section {
        padding: 0;
    }
    
    .providers-section-title {
        font-size: var(--text-2xl);
    }
    
    .providers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xs);
    }
    
    .provider-item {
        padding: var(--space-s);
    }
    
    .payments-item {
        padding: var(--space-3xs);
    }
    
    .payments-logo {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: var(--space-3xs) var(--space-xs);
    }
    
    .logo-icon {
        max-width: 100px;
    }s
    
    .sidebar {
        width: 260px;
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .content {
        padding: var(--space-xs);
        padding-top: calc(66px + var(--space-xs));
    }
    
    .promo-btn {
        width: 50%;
    }
    
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .providers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer Styles */
.footer {
    background-color: #0A171A;
    padding: var(--space-xl) var(--space-m);
    margin-top: var(--space-2xl);
}

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

.footer-top {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-l);
    flex-wrap: wrap;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo-icon {
    max-width: 170px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    flex: 1;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
}

.footer-link {
    color: #E2EEEE;
    text-decoration: none;
    font-size: var(--text-s);
    font-weight: 400;
    transition: opacity 0.2s ease;
    line-height: 1.5;
}

.footer-link:hover {
    opacity: 0.8;
}

.footer-divider {
    height: 1px;
    background-color: rgba(226, 238, 238, 0.2);
    margin-bottom: var(--space-m);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-m);
}

.footer-copyright {
    color: #E2EEEE;
    font-size: var(--text-s);
    font-weight: 400;
}

.footer-copyright p {
    margin: 0;
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: var(--space-m);
}

.footer-badge {
    display: flex;
    align-items: center;
}

.badge-18 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid #E2EEEE;
    border-radius: 50%;
    color: #E2EEEE;
    font-size: var(--text-l);
    font-weight: 700;
    position: relative;
}

.ssl-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
    color: #E2EEEE;
}

.ssl-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.ssl-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.ssl-label {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.ssl-secure {
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .footer {
        padding: var(--space-l) var(--space-s);
    }
    
    .footer-top {
        flex-direction: column;
        gap: var(--space-l);
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-l);
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-badges {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Article Content Styles */
.article-content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-l) var(--space-m);
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    line-height: 1.7;
}

/* Content Image with CTA */
.content-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-m);
    margin: var(--space-l) 0;
}

.content-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* All images in article content - centered, natural size up to container width */
.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: var(--space-l) auto;
    border-radius: 8px;
}

/* Override for images inside content-image wrapper */
.content-image img {
    margin: 0;
}

.content-cta {
    width: 100%;
    max-width: 389px;
    text-align: center;
    padding: var(--space-4xs) var(--space-s);
    font-size: var(--text-m);
    font-weight: 600;
}

.article-content h1 {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 var(--space-l) 0;
    padding-bottom: var(--space-s);
    border-bottom: 2px solid var(--accent-color-2);
    line-height: 1.3;
}

.article-content h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-color);
    margin: var(--space-xl) 0 var(--space-m) 0;
    padding-top: var(--space-m);
    line-height: 1.3;
}

.article-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
}

.article-content h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--accent-color-1);
    margin: var(--space-l) 0 var(--space-s) 0;
    line-height: 1.4;
}

.article-content h4 {
    font-size: var(--text-l);
    font-weight: 600;
    color: var(--accent-color-1);
    margin: var(--space-m) 0 var(--space-xs) 0;
    line-height: 1.4;
}

.article-content p {
    font-size: var(--text-l);
    color: var(--text-color);
    margin: 0 0 var(--space-m) 0;
    line-height: 1.7;
}

.article-content p:last-child {
    margin-bottom: 0;
}

.article-content strong {
    font-weight: 600;
    color: var(--accent-color-1);
}

.article-content ol,
.article-content ul {
    margin: var(--space-m) 0;
    padding-left: var(--space-l);
    color: var(--text-color);
}

.article-content ol ol,
.article-content ul ul {
    margin: var(--space-xs) 0;
    padding-left: var(--space-m);
}

.article-content li {
    font-size: var(--text-m);
    margin: var(--space-xs) 0;
    line-height: 1.7;
    color: var(--text-color);
}

.article-content li strong {
    color: var(--accent-color-1);
    font-weight: 600;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-l) 0;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.article-content table th {
    background-color: var(--accent-color-2);
    color: var(--text-color);
    font-weight: 600;
    font-size: var(--text-s);
    padding: var(--space-s) var(--space-xs);
    text-align: left;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.article-content table td {
    padding: var(--space-s) var(--space-xs);
    font-size: var(--text-s);
    color: var(--text-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.article-content table tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.2s ease;
}

.article-content table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

.article-content table tr:nth-child(even):hover {
    background-color: rgba(255, 255, 255, 0.07);
}

/* FAQ Accordion Styles */
.faq-accordion {
    margin: var(--space-l) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4xs) var(--space-s);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    color: var(--accent-color-1);
    font-size: var(--text-l);
    font-weight: 600;
    font-family: inherit;
    transition: color 0.2s ease;
    gap: var(--space-s);
}

.faq-question:hover {
    color: var(--text-color);
}

.faq-question span {
    flex: 1;
    line-height: 1.4;
}

.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--accent-color-1);
    transition: transform 0.3s ease, color 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--text-color);
}

.faq-item.active .faq-question {
    color: var(--text-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 var(--space-l);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 var(--space-l) var(--space-m) var(--space-l);
}

.faq-answer p {
    margin: 0;
    padding-top: var(--space-xs);
    color: var(--text-color);
    font-size: var(--text-m);
    line-height: 1.7;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: var(--space-m);
    right: var(--space-m);
    width: 50px;
    height: 50px;
    background-color: var(--signup-btn-bg);
    color: var(--text-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--signup-btn-bg);
    filter: brightness(1.15);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    display: block;
}

@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: var(--space-m);
        right: var(--space-m);
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
    
    .faq-question {
        padding: var(--space-s) var(--space-m);
        font-size: var(--text-l);
    }
    
    .faq-item.active .faq-answer {
        padding: 0 var(--space-m) var(--space-s) var(--space-m);
    }
    
    .faq-answer {
        padding: 0 var(--space-m);
    }
    
    .faq-icon {
        width: 18px;
        height: 18px;
    }
    
    .article-content {
        padding: var(--space-m) var(--space-s);
        margin: 0 var(--space-xs);
    }
    
    .article-content h1 {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-m);
    }
    
    .article-content h2 {
        font-size: var(--text-xl);
        margin-top: var(--space-l);
    }
    
    .article-content h3 {
        font-size: var(--text-l);
    }
    
    .article-content h4 {
        font-size: var(--text-m);
    }
    
    .article-content table {
        font-size: var(--text-xs);
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: var(--space-m) 0;
    }
    
    .article-content table th,
    .article-content table td {
        padding: var(--space-xs) var(--space-3xs);
        min-width: 80px;
    }
    
    .article-content ol,
    .article-content ul {
        padding-left: var(--space-m);
    }
}