: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: #212529;
    --text-color: #ffffff;
    --accent-1: #28a745;
    --accent-2: #6c757d;
    --accent-3: #fcfdb0;
    --accent-4: #c3c3c3;
    --accent-5: #ea1821;
    --accent-6: #28a03b;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto-VariableFont_wdth,wght.woff2') format('woff2');
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -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;
}

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

ul, ol {
    padding-left: 1.5em;
    font-size: var(--text-m);
}

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

/* Header Styles */
.header {
    background-color: #1A1A1A;
    width: 100%;
    position: relative;
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xs);
    min-height: 70px;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.header-logo-img {
    height: auto;
    max-height: 50px;
    width: auto;
    display: block;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: var(--space-m);
    flex: 1;
    justify-content: center;
}

.header-nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: var(--text-m);
    font-weight: 500;
    padding: var(--space-3xs) var(--space-xs);
    transition: color 0.2s ease, filter 0.2s ease;
    white-space: nowrap;
}

.header-nav-link:hover {
    color: var(--accent-1);
    filter: brightness(1.1);
}

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

.header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xs) var(--space-s);
    color: var(--text-color);
    text-decoration: none;
    font-size: var(--text-m);
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    white-space: nowrap;
    transition: filter 0.2s ease, transform 0.1s ease;
}

.header-button:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.header-button:active {
    transform: translateY(0);
}

.header-button-register {
    background-color: var(--accent-1);
}

.header-button-login {
    background-color: var(--accent-2);
}

/* Mobile Menu Toggle Button */
.header-menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    position: relative;
}

.menu-toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header-menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header-menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
    opacity: 0;
}

.header-menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.header-mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #1A1A1A;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-mobile-menu.active {
    max-height: 1000px;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-mobile-link {
    display: block;
    padding: var(--space-s) var(--space-m);
    color: var(--text-color);
    text-decoration: none;
    font-size: var(--text-m);
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header-mobile-link:last-child {
    border-bottom: none;
}

.header-mobile-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent-1);
}

.header-mobile-button {
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    margin: var(--space-xs) var(--space-m);
    border-radius: 4px;
    border: none;
}

.header-mobile-button-register {
    background-color: var(--accent-1);
    color: var(--text-color);
}

.header-mobile-button-login {
    background-color: var(--accent-2);
    color: var(--text-color);
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.slider-wrapper {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.slide {
    min-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: var(--space-xl);
    right: var(--space-xl);
    z-index: 2;
}

.slide-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xs) var(--space-m);
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--accent-3);
    text-decoration: none;
    font-size: var(--text-l);
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.slide-button:active {
    transform: translateY(0);
}

.slide-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    border-radius: 50%;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.slider-arrow:active {
    transform: translateY(-50%) scale(1);
}

.slider-arrow-prev {
    left: var(--space-m);
}

.slider-arrow-next {
    right: var(--space-m);
}

.slider-arrow svg {
    width: 48px;
    height: 48px;
}

.slider-dots {
    position: absolute;
    bottom: var(--space-m);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-xs);
    z-index: 3;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--text-color);
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.slider-dot.active {
    background-color: var(--accent-3);
}

/* Category Navigation Bar Styles */
.category-nav {
    background-color: #000000;
    width: 100%;
    padding: var(--space-s) 0;
}

.category-nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--space-m);
}

.category-nav-scroll {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: var(--space-2xs);
}

.category-nav-scroll::-webkit-scrollbar {
    display: none;
}

.category-nav-search {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #2a2a2a;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.1s ease;
    padding: 0;
    text-decoration: none;
}

.category-nav-search:hover {
    background-color: #3a3a3a;
    transform: scale(1.05);
}

.category-nav-search:active {
    transform: scale(0.95);
}

.category-nav-search svg {
    width: 20px;
    height: 20px;
}

.category-nav-button {
    flex-shrink: 0;
    padding: var(--space-3xs) var(--space-2xs);
    border-radius: 999px;
    border: none;
    background-color: #2a2a2a;
    color: #c3c3c3;
    font-size: var(--text-s);
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
    text-transform: capitalize;
    text-decoration: none;
    display: inline-block;
}

.category-nav-button:hover {
    background-color: #3a3a3a;
    transform: translateY(-1px);
}

.category-nav-button:active {
    transform: translateY(0);
}

.category-nav-button.active {
    background-color: var(--accent-3);
    color: #2a2a2a;
    font-weight: 600;
}

.category-nav-button.active:hover {
    background-color: #f0f0a0;
}

/* Jackpot Section Styles */
.jackpot-section {
    background-color: #000000;
    width: 100%;
    padding: 0 20px 20px;
}

.jackpot-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-l);
}

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

.jackpot-logo-img {
    min-height: 45px;
    width: auto;
    display: block;
}

.jackpot-panels {
    display: flex;
    gap: var(--space-m);
    flex: 1;
    justify-content: flex-start;
}

.jackpot-item {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--space-xs);
}

.jackpot-panel {
    background-color: #2a2a2a;
    border-radius: 8px;
    padding: var(--space-4xs);
    display: flex;
    flex-direction: column;
    position: relative;
    background-image: radial-gradient(ellipse at top center, #5a5858, #2b2b2b 60%);
}

.jackpot-panel-mega {
    border: 2px solid #4dd0e1;
}

.jackpot-panel-major {
    border: 2px solid #ea1821;
}

.jackpot-panel-minor {
    border: 2px solid #28a745;
}

.jackpot-header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.jackpot-icons {
    height: auto;
    max-height: 24px;
    width: auto;
    display: block;
}

.jackpot-label {
    color: var(--text-color);
    font-size: var(--text-s);
    font-weight: 700;
    text-transform: uppercase;
}

.jackpot-value-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    position: relative;
    padding-right: var(--space-m);
}

.jackpot-value {
    color: var(--text-color);
    font-size: var(--text-2xl);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 0 3px rgb(255, 255, 255);
}

.jackpot-currency {
    color: #888888;
    font-size: var(--text-s);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Slots Section Styles */
.slots-section {
    background-color: var(--background-color);
    width: 100%;
    padding: var(--space-xl) var(--space-m);
}

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

.slots-category {
    margin-bottom: var(--space-l);
}

.slots-category:last-child {
    margin-bottom: 0;
}

.slots-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--space-s);
    text-align: left;
    text-transform: uppercase;
}

.slots-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-2) var(--background-color);
}

.slots-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.slots-scroll-wrapper::-webkit-scrollbar-track {
    background: var(--background-color);
    border-radius: 4px;
}

.slots-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--accent-2);
    border-radius: 4px;
}

.slots-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--accent-1);
}

.slots-scroll {
    display: flex;
    gap: var(--space-m);
    padding-bottom: var(--space-xs);
    min-width: min-content;
}

.slot-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.slot-item a {
    text-decoration: none;
    display: block;
    line-height: 0;
}

.slot-image {
    width: 220px;
    height: 125px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    cursor: pointer;
    transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.slot-image:hover {
    filter: brightness(1.1);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.slot-name {
    color: var(--text-color);
    font-size: var(--text-s);
    font-weight: 500;
    text-align: center;
    margin-top: var(--space-2xs);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

/* Article Styles */
article {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-m);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
}

article h1 {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 var(--space-l) 0;
    line-height: 1.2;
    text-align: left;
}

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

article h2:first-of-type {
    margin-top: var(--space-l);
}

article h2 strong {
    font-weight: 700;
}

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

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

.content-text {
    flex: 1;
}

.content-image {
    flex-shrink: 0;
    width: 350px;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
}

/* CTA Container */
.cta-container {
    text-align: center;
    margin: var(--space-m) 0;
}

/* Table wrapper for horizontal scroll */
article .table-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin: var(--space-l) 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-2) var(--background-color);
}

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

article .table-wrapper::-webkit-scrollbar-track {
    background: var(--background-color);
    border-radius: 4px;
}

article .table-wrapper::-webkit-scrollbar-thumb {
    background: var(--accent-2);
    border-radius: 4px;
}

article .table-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--accent-1);
}

article table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    margin: 0;
    background-color: #2a2a2a;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: table;
}

article table thead {
    background-color: #1a1a1a;
}

article table th {
    padding: var(--space-s) var(--space-m);
    text-align: left;
    font-size: var(--text-m);
    font-weight: 600;
    color: var(--accent-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--accent-1);
}

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

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

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

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

article table tbody tr:nth-child(even):hover {
    background-color: rgba(255, 255, 255, 0.08);
}

/* FAQ Section Styling */
article h2:has(+ p strong) {
    margin-top: var(--space-2xl);
}

/* Footer Styles */
.footer {
    background-color: #1A1A1A;
    width: 100%;
    padding: var(--space-xl) var(--space-m);
    margin-top: var(--space-2xl);
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-m);
    text-align: center;
}


.footer-payments {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-s);
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.footer-payment-logo {
    height: 28px;
    width: auto;
    flex: 0 0 auto;
    object-fit: contain;
    display: block;
}

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

.footer-logo-img {
    height: auto;
    max-height: 50px;
    width: auto;
    display: block;
}

.footer-disclaimer {
    color: var(--accent-4);
    font-size: var(--text-s);
    max-width: 480px;
    line-height: 1.5;
    margin: 0;
}

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

.footer-badge {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
}

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

.footer-link {
    color: var(--text-color);
    font-size: var(--text-s);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--accent-1);
}

.footer-copyright {
    color: var(--accent-4);
    font-size: var(--text-xs);
    margin: 0;
}

/* FAQ Component Styles */
.faq-item {
    background-color: var(--background-color);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--text-color) 10%, transparent);
    transition: 0.3s;
    position: relative;
    z-index: 1;
    margin-bottom: var(--space-s);
}

.faq-item:hover {
    border-color: color-mix(in srgb, var(--accent-3) 30%, transparent);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--background-color) 80%, black);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-s) var(--space-m);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: 0.3s;
    font-family: inherit;
}

.faq-question-text {
    font-size: var(--text-l);
    font-weight: 600;
    color: var(--text-color);
    flex: 1;
    transition: color 0.3s;
}

.faq-question[aria-expanded="true"] .faq-question-text {
    color: var(--accent-3);
}

.faq-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--text-color) 15%, transparent);
    border-radius: 50%;
    flex-shrink: 0;
    transition: 0.3s;
    margin-left: var(--space-s);
}

.faq-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-color);
    stroke-width: 2.5;
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"] .faq-icon {
    background: color-mix(in srgb, var(--text-color) 25%, transparent);
}

.faq-question[aria-expanded="true"] .faq-icon svg {
    transform: rotate(180deg);
}

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

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

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

.faq-answer strong {
    color: var(--accent-3);
    font-weight: 600;
}

.faq-answer a {
    color: var(--accent-3);
    text-decoration: underline;
    transition: color 0.3s;
}

.faq-answer a:hover {
    color: var(--accent-3);
    filter: brightness(1.2);
}

/* 404 Error Section Styles */
.error-404-section {
    background-color: var(--background-color);
    width: 100%;
    padding: var(--space-3xl) var(--space-m);
    text-align: center;
}

.error-404-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-m);
}

.error-404-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.error-404-message {
    font-size: var(--text-l);
    color: var(--accent-4);
    margin: 0;
    line-height: 1.6;
    max-width: 600px;
}

.error-404-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-s) var(--space-xl);
    background-color: var(--accent-1);
    color: var(--text-color);
    text-decoration: none;
    font-size: var(--text-l);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 8px;
    transition: filter 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    margin-top: var(--space-xs);
}

.error-404-link:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.error-404-link:active {
    transform: translateY(0);
}

/* Media Queries */

/* Tablet and below (max-width: 1024px) */
@media (max-width: 1024px) {
    .jackpot-container {
        flex-direction: column;
        gap: var(--space-m);
    }
    
    .jackpot-panels {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    article {
        padding: var(--space-xl) var(--space-m);
    }
    
    article h1 {
        font-size: var(--text-3xl);
    }
    
    article h2 {
        font-size: var(--text-xl);
    }

    .content-with-image {
        flex-direction: column;
        gap: var(--space-m);
    }

    .content-image {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* Header */
    .header {
        position: relative;
    }
    
    .header-container {
        padding: var(--space-xs);    
    }
    
    .header-logo-img {
        max-height: 40px;
    }
    
    .header-nav {
        display: none;
    }
    
    .header-buttons {
        display: none;
    }
    
    .header-menu-toggle {
        display: flex;
    }
    
    .header-mobile-menu {
        display: flex;
    }

    /* Hero Slider */
    .slide-content {
        bottom: var(--space-m);
        right: var(--space-m);
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .slider-arrow-prev {
        left: var(--space-xs);
    }
    
    .slider-arrow-next {
        right: var(--space-xs);
    }
    
    .slider-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .slider-dots {
        bottom: var(--space-s);
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }

    /* Category Navigation */
    .jackpot-currency {
        display: none;
    }

    .category-nav {
        padding: var(--space-xs) 0;
    }
    
    .category-nav-container {
        padding: 0 var(--space-s);
    }
    
    .category-nav-scroll {
        gap: var(--space-2xs);
    }
    
    .category-nav-search {
        width: 36px;
        height: 36px;
    }
    
    .category-nav-search svg {
        width: 18px;
        height: 18px;
    }
    
    .category-nav-button {
        padding: var(--space-3xs) var(--space-s);
        font-size: var(--text-s);
    }

    /* Jackpot Section */
    .jackpot-container {
        gap: var(--space-s);
    }
    
    .jackpot-value {
        font-size: var(--text-m);
    }
    
    .jackpot-label {
        font-size: var(--text-m);
    }

    /* Slots Section */
    .slots-section {
        padding: var(--space-l) var(--space-s);
    }
    
    .slots-category {
        margin-bottom: var(--space-xl);
    }
    
    .slots-scroll {
        gap: var(--space-s);
    }
    
    .slot-image {
        width: 180px;
        height: 102px;
    }
    
    .slot-name {
        font-size: var(--text-xs);
        max-width: 180px;
        margin-top: var(--space-3xs);
    }

    /* Article */
    article {
        padding: var(--space-l) var(--space-s);
    }
    
    article h1 {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-m);
    }
    
    article h2 {
        font-size: var(--text-l);
        margin-top: var(--space-l);
        margin-bottom: var(--space-s);
    }
    
    article .table-wrapper {
        margin: var(--space-m) 0;
    }
    
    article table {
        font-size: var(--text-xs);
        min-width: 500px;
    }
    
    article table th,
    article table td {
        padding: var(--space-2xs) var(--space-xs);
        white-space: nowrap;
    }

    /* Content with Image */
    .content-with-image {
        flex-direction: column;
        gap: var(--space-m);
    }

    .content-image {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    /* Footer */
    .footer {
        padding: var(--space-l) var(--space-s);
    }

    .footer-payments {
        justify-content: flex-start;
        gap: var(--space-xs);
    }

    .footer-payment-logo {
        height: 24px;
    }

    .footer-logo-img {
        max-height: 40px;
    }

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

    /* FAQ Component */
    .faq-question {
        padding: var(--space-xs) var(--space-s);
    }

    .faq-question-text {
        font-size: var(--text-m);
    }

    .faq-icon {
        width: 28px;
        height: 28px;
        margin-left: var(--space-xs);
    }

    .faq-icon svg {
        width: 14px;
        height: 14px;
    }

    .faq-answer {
        padding: 0 var(--space-s);
    }

    .faq-item.active .faq-answer {
        padding: 0 var(--space-s) var(--space-xs);
    }

    /* 404 Error Section */
    .error-404-section {
        padding: var(--space-2xl) var(--space-s);
    }

    .error-404-title {
        font-size: var(--text-3xl);
    }

    .error-404-message {
        font-size: var(--text-m);
    }

    .error-404-link {
        padding: var(--space-xs) var(--space-l);
        font-size: var(--text-m);
        width: 100%;
        max-width: 300px;
    }
}
