/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #4c1d95;
    color: #e9d5ff;
    line-height: 1.5;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout */
.site-wrapper {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-y: auto;
}

.content-wrapper {
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .content-wrapper {
        padding: 2rem;
    }
}

/* Desktop Sidebar */
.desktop-sidebar {
    width: 240px;
    display: none;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    height: 100vh;
    position: sticky;
    top: 0;
    background: #4c1d95;
}

@media (min-width: 1024px) {
    .desktop-sidebar {
        display: flex;
    }
}

.sidebar-inner {
    padding: 1.5rem;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: #22c55e;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 0 15px #22c55e66;
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: #ffffff;
    text-transform: uppercase;
}

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

/* Sidebar Navigation */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #c4b5fd;
    transition: all 0.2s;
}

.nav-item:hover {
    color: #e9d5ff;
}

.nav-item.active {
    background: #22c55e1a;
    color: #22c55e;
    border-right: 2px solid #22c55e;
}

.nav-icon {
    font-size: 1rem;
}

/* Sidebar Extra Links */
.sidebar-extra {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.extra-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #c4b5fd;
    transition: color 0.2s;
}

.extra-item:hover {
    color: #ffffff;
}

/* Sidebar Support */
.sidebar-support {
    margin-top: auto;
    padding: 1.5rem;
}

.support-block {
    padding: 1rem;
    background: #6b21a866;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.support-title {
    font-size: 9px;
    font-weight: 900;
    color: #c4b5fd;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.support-link {
    font-size: 10px;
    font-weight: 700;
    color: #22c55e;
}

.support-link:hover {
    text-decoration: underline;
}

/* Mobile Menu */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 288px;
    height: 100%;
    background: #4c1d95;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 51;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

.mobile-sidebar.active {
    transform: translateX(0);
}

.mobile-sidebar-inner {
    padding: 1.5rem;
    position: relative;
}

.mobile-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #c4b5fd;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-close-btn:hover {
    color: #ffffff;
}

.mobile-support {
    margin-top: 3rem;
}

@media (min-width: 1024px) {
    .mobile-overlay,
    .mobile-sidebar {
        display: none;
    }
}

/* Top Header */
.top-header {
    height: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    position: sticky;
    top: 0;
    background: #581c87f2;
    backdrop-filter: blur(12px);
    z-index: 40;
}

@media (min-width: 1024px) {
    .top-header {
        padding: 0 2rem;
    }
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: #c4b5fd;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn:hover {
    color: #ffffff;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Logo in Header */
.mobile-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 1024px) {
    .mobile-logo {
        display: none;
    }
}

.logo-icon-small {
    width: 24px;
    height: 24px;
    background: #22c55e;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    box-shadow: 0 0 10px #22c55e66;
}

.logo-text-small {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.125rem;
    letter-spacing: 0.1em;
    color: #ffffff;
    text-transform: uppercase;
}

.logo-img-small {
    max-height: 28px;
    width: auto;
}

/* Header Search */
.header-search {
    position: relative;
    max-width: 280px;
    width: 100%;
    display: none;
}

@media (min-width: 640px) {
    .header-search {
        display: block;
    }
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #c4b5fd;
    pointer-events: none;
}

.search-input {
    width: 100%;
    background: #6b21a866;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.375rem 1rem 0.375rem 2.25rem;
    font-size: 0.75rem;
    color: #ffffff;
    outline: none;
    transition: border-color 0.2s;
}

.search-input::placeholder {
    color: #c4b5fd;
}

.search-input:focus {
    border-color: #22c55e80;
}

/* Header Buttons */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .header-buttons {
        gap: 0.75rem;
    }
}

.btn-login {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #e9d5ff;
    transition: color 0.2s;
    border-radius: 8px;
}

@media (min-width: 640px) {
    .btn-login {
        padding: 0.5rem 1.25rem;
    }
}

.btn-login:hover {
    color: #ffffff;
}

.btn-register {
    background: #22c55e;
    color: #0f172a;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    transition: all 0.2s;
    box-shadow: 0 4px 12px #22c55e40;
}

@media (min-width: 640px) {
    .btn-register {
        padding: 0.5rem 1.5rem;
    }
}

.btn-register:hover {
    background: #16a34a;
}

/* Bonus Banner */
.bonus-banner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    height: 280px;
    display: flex;
    align-items: center;
}

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

.banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    transition: transform 1s;
}

.bonus-banner:hover .banner-bg {
    transform: scale(1.05);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #4c1d95, #4c1d95e6, transparent);
}

.banner-content {
    position: relative;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .banner-content {
        padding: 2.5rem 2rem;
    }
}

@media (min-width: 1024px) {
    .banner-content {
        padding: 2.5rem 4rem;
    }
}

.banner-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: -0.025em;
    color: #ffffff;
    line-height: 1;
}

@media (min-width: 640px) {
    .banner-title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .banner-title {
        font-size: 6rem;
    }
}

.banner-subtitle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.25rem;
    color: #22c55ecc;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (min-width: 640px) {
    .banner-subtitle {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .banner-subtitle {
        font-size: 2rem;
    }
}

.banner-btn {
    margin-top: 1.5rem;
    background: #22c55e;
    color: #0f172a;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    transition: all 0.2s;
    box-shadow: 0 10px 25px #22c55e40;
    display: inline-block;
}

@media (min-width: 640px) {
    .banner-btn {
        margin-top: 2rem;
        padding: 1rem 2.5rem;
    }
}

.banner-btn:hover {
    background: #16a34a;
    transform: scale(1.05);
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: #ffffff;
    text-transform: uppercase;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 1.875rem;
    }
}

.section-divider {
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 1rem;
    display: none;
}

@media (min-width: 768px) {
    .section-divider {
        display: block;
        margin: 0 1.5rem;
    }
}

.view-all-link {
    font-size: 10px;
    font-weight: 900;
    color: #c4b5fd;
    text-transform: uppercase;
    transition: color 0.2s;
}

.view-all-link:hover {
    color: #ffffff;
}

/* Games Grid */
.games-section {
    display: flex;
    flex-direction: column;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1280px) {
    .games-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Game Card */
.game-card {
    position: relative;
    background: #6b21a866;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: block;
}

.game-card:hover {
    border-color: #22c55e80;
}

.game-card.game-hidden {
    display: none;
}

.game-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge {
    font-size: 9px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.badge-hot {
    background: #dc2626;
    color: white;
}

.badge-new {
    background: #059669;
    color: white;
}

.game-image {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: #4c1d95;
}

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

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

.game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: opacity 0.3s;
    backdrop-filter: blur(1px);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-btn {
    width: 48px;
    height: 48px;
    background: #22c55e;
    color: #0f172a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(16px);
    transition: transform 0.3s;
    box-shadow: 0 0 20px #22c55e66;
}

.game-card:hover .play-btn {
    transform: translateY(0);
}

.game-overlay-text {
    text-align: center;
    transform: translateY(16px);
    transition: transform 0.3s 0.075s;
}

.game-card:hover .game-overlay-text {
    transform: translateY(0);
}

.play-text {
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.rtp-text {
    font-size: 8px;
    color: #c4b5fd;
}

.game-info {
    padding: 0.625rem;
    background: linear-gradient(to top, #4c1d95, #6b21a8cc);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4px;
}

.game-details {
    min-width: 0;
}

.game-title {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-provider {
    font-size: 9px;
    color: #c4b5fd;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-fav {
    color: #c4b5fd;
    flex-shrink: 0;
    transition: color 0.2s;
}

.game-fav:hover {
    color: #22c55e;
}

/* Games Toggle */
.games-toggle {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* Toggle Button (shared) */
.toggle-btn {
    background: none;
    border: none;
    font-size: 10px;
    font-weight: 900;
    color: #c4b5fd;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.toggle-btn:hover {
    color: #22c55e;
}

.toggle-btn svg {
    transition: transform 0.3s;
}

/* Providers Section */
.providers-section {
    padding: 2.5rem 0;
}

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

.providers-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    color: #ffffff;
    text-transform: uppercase;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .providers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .providers-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1rem;
    }
}

.provider-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    background: #6b21a8;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: default;
}

@media (min-width: 768px) {
    .provider-item {
        height: 80px;
    }
}

.provider-item:hover {
    background: #6b21a8dd;
}

.provider-item.provider-hidden {
    display: none;
}

.provider-item img {
    height: 32px;
    object-fit: contain;
    filter: brightness(3) contrast(1.25);
}

@media (min-width: 768px) {
    .provider-item img {
        height: 40px;
    }
}

/* SEO Section */
.seo-section {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08)80;
}

.seo-content {
    max-width: 56rem;
    margin: 0 auto;
}

.seo-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
}

.seo-content p {
    font-size: 12px;
    line-height: 1.75;
    color: #c4b5fd;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

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

.seo-content strong {
    color: #e9d5ff;
}

/* Footer */
.site-footer {
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .footer-main {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-payments {
    align-items: center;
}

@media (min-width: 768px) {
    .footer-payments {
        align-items: flex-start;
    }
}

.footer-title {
    font-size: 10px;
    font-weight: 900;
    color: #c4b5fd;
    text-transform: uppercase;
    letter-spacing: 0.4em;
}

.footer-title-light {
    color: #ffffff;
    letter-spacing: 0.1em;
    font-size: 11px;
}

.payments-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    opacity: 0.6;
    transition: opacity 0.5s;
    max-width: 280px;
}

@media (min-width: 768px) {
    .payments-grid {
        justify-content: flex-start;
    }
}

.payments-grid:hover {
    opacity: 0.9;
}

.payments-grid img {
    height: 24px;
    object-fit: contain;
    transition: transform 0.2s;
}

@media (min-width: 768px) {
    .payments-grid img {
        height: 28px;
    }
}

.payments-grid img:hover {
    transform: scale(1.1);
}

.footer-nav {
    align-items: center;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 11px;
    font-weight: 700;
    color: #c4b5fd;
    text-transform: uppercase;
    transition: color 0.2s;
}

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

.footer-licenses {
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-licenses {
        align-items: flex-end;
        text-align: right;
    }
}

.licenses-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.6;
    transition: opacity 0.5s;
}

.licenses-row:hover {
    opacity: 0.9;
}

.age-badge {
    font-size: 1.125rem;
    font-weight: 900;
    border: 2px solid #c4b5fd;
    padding: 2px 8px;
    border-radius: 4px;
    color: #c4b5fd;
}

.licenses-row img {
    height: 40px;
    object-fit: contain;
    transition: transform 0.2s;
}

.licenses-row img:hover {
    transform: scale(1.05);
}

.license-text {
    font-size: 10px;
    color: #c4b5fd;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.6;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08)50;
}

.responsible-badge {
    font-size: 9px;
    font-weight: 900;
    color: #c4b5fd80;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08)80;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
}

.copyright {
    font-size: 10px;
    font-weight: 700;
    color: #c4b5fd80;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-align: center;
}

/* Scrollbar Hide */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
