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

* {
    min-width: 0;
    min-height: 0;
}


:root {
    --primary-dark: #20040a;
    --gradient-start: #20040a;
    --gradient-mid: #7a1015;
    --gradient-end: #e23a12;
    --accent-gold: #ffcc00;
    --accent-orange: #ff8a00;
    --white: #ffffff;
    --text-muted: #9ca3af;
    --overlay-light: rgba(255, 255, 255, 0.1);
    --overlay-dark: rgba(0, 0, 0, 0.35);
    --border-subtle: rgba(255, 255, 255, 0.12);
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 20px;
    --spacing-xl: 28px;
    --radius-sm: 15px;
    --radius-md: 20px;
    --radius-lg: 25px;
}


html {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'M PLUS Rounded 1c', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--gradient-start) 0%, #4a0b12 30%, var(--gradient-mid) 55%, #a51d14 75%, var(--gradient-end) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    line-height: 1.6;
    position: relative;
}


#app-root {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}


.top-bar {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: rgba(32, 4, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 100;
}

.container-fluid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--spacing-md);
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.brand-identity {
    display: grid;
    place-items: center;
    grid-column: 2;
    justify-self: start;
}

.logo-img {
    height: 40px;
    display: block;
}

.action-buttons {
    display: grid;
    grid-auto-flow: column;
    gap: var(--spacing-sm);
    list-style: none;
    grid-column: 3;
    justify-self: end;
}

.hamburger-btn {
    display: none;
    grid-column: 1;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    justify-content: space-around;
    z-index: 101;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.hamburger-btn:hover {
    background: rgba(255, 204, 0, 0.1);
}

.hamburger-btn:active {
    background: rgba(255, 204, 0, 0.2);
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}


button {
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
}

.button-ghost {
    padding: 10px var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 12px;
    background: var(--overlay-light);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.button-accent {
    padding: 10px var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 12px;
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-orange));
    color: #1a0a00;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--overlay-dark);
}

button:active {
    transform: translateY(0);
}

.button-full {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 700;
}

.button-border {
    background: transparent;
    color: #ffd7a1;
    border: 2px solid rgba(255, 204, 0, 0.7);
}


.grid-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - 70px);
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.modal-overlay {
    display: none;
}


.side-panel {
    grid-column: 1;
    background: linear-gradient(180deg, #2a0b10 0%, #1f0a0b 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--spacing-md);
    display: grid;
    grid-template-rows: auto 1fr;
    gap: var(--spacing-md);
    overflow-x: hidden;
    overflow-y: auto;
}

.user-actions {
    display: grid;
    gap: 14px;
    padding: 6px 0 8px;
}

.menu-list {
    list-style: none;
    display: grid;
    grid-auto-rows: min-content;
}

.menu-item {
    display: grid;
    place-items: center;
    padding: 14px var(--spacing-md);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.menu-item:hover {
    background: var(--overlay-light);
    color: var(--white);
}

.menu-item.is-selected {
    background: rgba(255, 138, 0, 0.2);
    color: var(--white);
    border-left: 3px solid var(--accent-gold);
}

.item-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}


.content-area {
    grid-column: 2;
    padding: var(--spacing-lg);
    overflow-y: auto;
    overflow-x: hidden;
    display: grid;
    grid-template-rows: auto auto auto auto 1fr;
    gap: var(--spacing-md);
    width: 100%;
    max-width: 100%;
}


.promo-banner {
    border-radius: var(--radius-md);
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    min-height: 280px;
    display: grid;
    place-items: center start;
    width: 100%;
    max-width: 100%;
}

.promo-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26, 10, 0, 0.86) 0%, rgba(26, 10, 0, 0.62) 40%, rgba(26, 10, 0, 0) 60%);
    z-index: 1;
}

.promo-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--banner-bg, url('assets/categories/roulette-DCOJBfn4.webp'));
    background-position: right 12px center;
    background-size: 50% auto;
    background-repeat: no-repeat;
    z-index: 0;
}

.banner-wrapper {
    position: relative;
    z-index: 2;
}

.offer-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: #ffd28a;
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.5px;
}

.offer-title {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    text-shadow: 2px 2px 6px var(--overlay-dark);
}

.text-gold {
    color: var(--accent-gold);
}

.action-cta {
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-orange));
    color: #1a0a00;
    border: none;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(255, 138, 0, 0.35);
    letter-spacing: 0.6px;
}

.action-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 138, 0, 0.5);
}

.banner-dots {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-auto-flow: column;
    gap: var(--spacing-xs);
    z-index: 2;
    list-style: none;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.is-active {
    background: var(--white);
    width: 24px;
    border-radius: 4px;
}


.categories-grid {
    margin: var(--spacing-xl) 0 10px;
    width: 100%;
    max-width: 100%;
}

.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
    list-style: none;
    width: 100%;
    max-width: 100%;
}

.category-box {
    display: grid;
    place-items: center;
    grid-template-rows: auto auto;
    gap: var(--spacing-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: var(--spacing-xl) var(--spacing-md);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px var(--overlay-dark);
}

.box-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.box-title {
    font-weight: 900;
    font-size: 16px;
    color: var(--white);
    line-height: 1.2;
}


.filter-bar {
    margin-bottom: 26px;
}

.filters-wrapper {
    display: grid;
    grid-auto-flow: column;
    gap: var(--spacing-sm);
    justify-content: center;
}


.games-collection {
    display: grid;
    gap: var(--spacing-lg);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.collection-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}

.collection-heading {
    font-size: 24px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
}

.tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--spacing-lg);
    list-style: none;
    width: 100%;
    max-width: 100%;
}

.tile-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid var(--overlay-light);
    display: grid;
    grid-template-rows: 1fr auto;
}

.tile-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--overlay-dark);
    background: rgba(255, 255, 255, 0.14);
}

.rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-orange));
    color: #1a0a00;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 14px;
    z-index: 3;
    box-shadow: 0 2px 8px var(--overlay-dark);
}

.tile-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tile-item:hover .tile-img {
    transform: scale(1.05);
}

.tile-name {
    padding: var(--spacing-sm);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    color: var(--white);
    letter-spacing: 0.5px;
    background: var(--overlay-dark);
}


.payment-options {
    margin: 32px 0;
    padding: 10px 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.payment-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 24px;
    list-style: none;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.payment-list::-webkit-scrollbar {
    display: none;
}

.payment-item img {
    height: 36px;
    width: auto;
}


.text-content {
    max-width: 920px;
    margin: 48px auto 64px;
    padding: 0 var(--spacing-md);
}

.text-content h1 {
    font-weight: 800;
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 var(--spacing-md);
}

.text-content h2 {
    font-weight: 800;
    font-size: 22px;
    line-height: 1.3;
    margin: 32px 0 var(--spacing-sm);
}

.text-content h3 {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.35;
    margin: var(--spacing-lg) 0 var(--spacing-xs);
}

.text-content p {
    margin: 0 0 var(--spacing-sm);
    line-height: 1.7;
}

.text-content ul,
.text-content ol {
    margin: 0 0 var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.text-content li {
    margin: 6px 0;
}

.text-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-lg) 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.text-content thead {
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-orange));
}

.text-content th {
    padding: var(--spacing-md);
    text-align: left;
    font-weight: 800;
    font-size: 14px;
    color: #1a0a00;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.text-content td {
    padding: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.text-content tbody tr:last-child td {
    border-bottom: none;
}

.text-content tbody tr:hover {
    background: rgba(255, 255, 255, 0.08);
}


.bottom-footer {
    margin-top: 30px;
    border-top: 1px solid var(--border-subtle);
    background: rgba(32, 4, 10, 0.65);
    backdrop-filter: blur(8px);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: var(--spacing-md);
    width: 100%;
    box-sizing: border-box;
}

.brand-info {
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    height: 26px;
}

.legal-text {
    color: var(--text-muted);
    font-size: 12px;
}

.footer-menu {
    display: grid;
    grid-auto-flow: column;
    gap: 14px;
    justify-content: end;
    list-style: none;
}

.menu-anchor {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.menu-anchor:hover {
    opacity: 0.85;
}


@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeSlideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}


::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--overlay-light);
}

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

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


@media (hover: none) and (pointer: coarse) {
    button:hover {
        transform: none;
    }

    button:active {
        transform: scale(0.96);
    }

    .tile-item:hover {
        transform: none;
    }

    .tile-item:active {
        transform: scale(0.98);
        box-shadow: 0 4px 12px var(--overlay-dark);
    }

    .category-box:hover {
        transform: none;
    }

    .category-box:active {
        transform: scale(0.97);
    }

    .menu-item:hover {
        background: transparent;
    }

    .menu-item:active {
        background: var(--overlay-light);
    }

    .hamburger-btn:hover {
        background: transparent;
    }

    .hamburger-btn:active {
        background: rgba(255, 204, 0, 0.25);
    }

    * {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
    }
}


@media (min-width: 1024px) {
    .payment-item img {
        height: 44px;
    }
    
    .payment-list {
        gap: var(--spacing-lg);
    }
    
    .promo-banner::after {
        background-size: clamp(128px, 12vw, 228px) auto;
        background-position: right center;
    }

    .text-content h1 {
        font-size: 36px;
        margin-bottom: 18px;
    }

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

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

@media (min-width: 1440px) {
    .promo-banner::after {
        background-size: 213px auto;
    }
}

@media (min-width: 1920px) {
    .promo-banner::after {
        background-size: 228px auto;
    }
}

@media (max-width: 1200px) {
    .tiles-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .promo-banner {
        min-height: 250px;
    }

    .offer-title {
        font-size: 28px;
    }

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

    .tiles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }

    .tile-img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        width: 100%;
    }

    #app-root,
    .grid-layout,
    .content-area {
        overflow-x: hidden;
        max-width: 100vw;
        width: 100%;
    }

    .hamburger-btn {
        display: flex;
    }

    .top-bar {
        padding: var(--spacing-sm) var(--spacing-md);
        width: 100%;
        box-sizing: border-box;
    }

    .container-fluid {
        grid-template-columns: 40px 1fr auto;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .brand-identity {
        grid-column: 2;
        justify-self: center;
    }

    .action-buttons {
        grid-column: 3;
        gap: var(--spacing-xs);
    }

    .grid-layout {
        grid-template-columns: 1fr;
    }

    .side-panel {
        width: 280px;
        position: fixed;
        top: 65px;
        left: 0;
        bottom: 0;
        z-index: 1001;
        transform: translateX(-310px);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 4px 0 12px rgba(0, 0, 0, 0.3);
    }

    .side-panel.is-open {
        transform: translateX(0);
    }

    .modal-overlay {
        display: block;
        position: fixed;
        inset: 0;
        top: 65px;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(3px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 1000;
    }

    .modal-overlay.show {
        opacity: 1;
        pointer-events: auto;
    }

    .content-area {
        padding: var(--spacing-md);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .promo-banner {
        padding: var(--spacing-xl) var(--spacing-md);
        min-height: 240px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .promo-banner::before {
        background: linear-gradient(90deg, rgba(26, 10, 0, 0.92) 0%, rgba(26, 10, 0, 0.75) 50%, rgba(26, 10, 0, 0.3) 100%);
    }

    .promo-banner::after {
        background-position: center;
        background-size: 65% auto;
        opacity: 0.8;
    }

    .offer-subtitle {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .offer-title {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .action-cta {
        padding: 12px 24px;
        font-size: 14px;
    }

    .categories-grid {
        margin: var(--spacing-lg) 0 10px;
    }

    .grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        width: 100%;
        max-width: 100%;
    }

    .category-box {
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
    }

    .box-image {
        width: 80px;
        height: 80px;
    }

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

    .collection-heading {
        font-size: 20px;
    }

    .tiles-grid {
        grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
        gap: var(--spacing-sm);
        width: 100%;
        max-width: 100%;
    }

    .tile-img {
        height: 200px;
    }

    .tile-name {
        font-size: 11px;
        padding: 10px 8px;
    }

    .payment-options {
        margin: 24px 0;
        padding: 8px 0;
    }

    .payment-list {
        gap: 16px;
        justify-content: start;
    }

    .payment-item img {
        height: 32px;
    }

    .footer-wrapper {
        padding: var(--spacing-md);
        gap: var(--spacing-md);
    }

    .text-content {
        padding: 0 var(--spacing-xs);
    }

    .text-content h1 {
        font-size: 24px;
    }

    .text-content h2 {
        font-size: 20px;
    }

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

    .text-content table {
        font-size: 12px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .text-content th,
    .text-content td {
        padding: 10px 8px;
        font-size: 11px;
    }

    body.overflow-hidden {
        overflow: hidden;
        height: 100vh;
    }
}

@media (max-width: 480px) {
    * {
        box-sizing: border-box;
    }

    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        width: 100%;
    }

    #app-root,
    .grid-layout,
    .content-area,
    .promo-banner,
    .categories-grid,
    .grid-wrapper,
    .tiles-grid,
    .payment-list {
        overflow-x: hidden;
        max-width: 100vw;
        width: 100%;
    }

    .top-bar {
        padding: 10px 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .container-fluid {
        grid-template-columns: 36px 1fr auto;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hamburger-btn {
        width: 36px;
        height: 36px;
        padding: 6px;
    }

    .hamburger-line {
        height: 2.5px;
    }

    .brand-identity {
        justify-self: start;
        margin-left: 4px;
    }

    .logo-img {
        height: 30px;
    }

    .action-buttons {
        gap: 6px;
        grid-auto-flow: row;
    }

    .button-ghost,
    .button-accent {
        padding: 7px 12px;
        font-size: 10px;
        white-space: nowrap;
    }

    .side-panel {
        width: 260px;
        transform: translateX(-290px);
    }

    .content-area {
        padding: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .promo-banner {
        padding: var(--spacing-md);
        min-height: 220px;
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .promo-banner::before {
        background: linear-gradient(180deg, rgba(26, 10, 0, 0.95) 0%, rgba(26, 10, 0, 0.85) 60%, rgba(26, 10, 0, 0.5) 100%);
    }

    .promo-banner::after {
        background-position: center bottom;
        background-size: 90% auto;
        opacity: 0.6;
    }

    .offer-subtitle {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .offer-title {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 14px;
    }

    .action-cta {
        padding: 10px 20px;
        font-size: 13px;
    }

    .categories-grid {
        margin: 14px 0 8px;
    }

    .grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
        max-width: 100%;
    }

    .category-box {
        padding: 14px 10px;
        gap: 8px;
        width: 100%;
        max-width: 100%;
    }

    .box-image {
        width: 65px;
        height: 65px;
    }

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

    .collection-heading {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .tiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
        max-width: 100%;
    }

    .tile-img {
        height: 160px;
    }

    .tile-name {
        font-size: 10px;
        padding: 8px 6px;
    }

    .rank-badge {
        width: 26px;
        height: 26px;
        font-size: 12px;
        top: 8px;
        left: 8px;
    }

    .payment-options {
        margin: 20px 0;
        padding: 6px 0;
    }

    .payment-list {
        gap: 12px;
    }

    .payment-item img {
        height: 28px;
    }

    .footer-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding: var(--spacing-md) 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .brand-info {
        justify-content: center;
        gap: 8px;
    }

    .brand-icon {
        height: 22px;
    }

    .legal-text {
        font-size: 11px;
        text-align: center;
    }

    .footer-menu {
        justify-content: center;
        grid-auto-flow: row;
        gap: 10px;
        text-align: center;
    }

    .menu-anchor {
        font-size: 13px;
    }

    .text-content {
        padding: 0;
    }

    .text-content h1 {
        font-size: 22px;
    }

    .text-content h2 {
        font-size: 18px;
    }

    .text-content h3 {
        font-size: 15px;
    }

    .text-content p {
        font-size: 14px;
    }

    .text-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .text-content th,
    .text-content td {
        padding: 8px 6px;
        font-size: 10px;
        white-space: normal;
    }

    .text-content th {
        font-size: 10px;
    }
}

.hamburger-btn.is-open .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-btn.is-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.is-open .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 480px) {
    .hamburger-btn.is-open .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-btn.is-open .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (min-width: 769px) {
    .container-fluid {
        grid-template-columns: auto 1fr auto;
    }
    
    .brand-identity {
        justify-self: start;
    }
    
    .action-buttons {
        justify-self: end;
    }
}

