
:root {
    /* Colors */
    --color-bg-body: #0b0e17;
    --color-bg-card: #151a27;
    --color-bg-card-hover: #1e2538;
    --color-bg-dark: #06080d;
    
    --color-primary: #ffc107;
    --color-primary-hover: #ffca2c;
    --color-secondary: #e91e63;
    --color-accent: #00d2ff;
    
    --color-text-main: #ffffff;
    --color-text-muted: #8b9bb4;
    --color-text-dark: #121212;

    --color-success: #28a745;
    --color-danger: #dc3545;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    --gradient-dark: linear-gradient(to bottom, #1a1f2e, #11141e);
    --gradient-btn-primary: linear-gradient(45deg, #ff9800, #ff5722);
    --gradient-btn-success: linear-gradient(45deg, #43a047, #66bb6a);

    /* Dimensions */
    --container-width: 120rem;
    --border-radius-sm: 0.4rem;
    --border-radius-md: 0.8rem;
    --border-radius-lg: 1.2rem;
    --header-height: 5rem;

    /* Shadows */
    --shadow-card: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 1rem 3rem rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 1rem rgba(255, 193, 7, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--color-text-main);
    background-color: var(--color-bg-body);
    background-image: radial-gradient(circle at 50% 0, #1b263b, #0b0e17 60%);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul, li {
    list-style: none;
}

img, picture {
    max-width: 100%;
    display: block;
    height: auto;
}

/* Layout */
.layout {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.wrapper {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.col__wr___2qWRn {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.mainContentWrapper___2o5c6 {
    flex: 1;
    min-width: 0; /* Fix flex child overflow */
}

.col__right___2tvpG {
    width: 32rem;
    flex-shrink: 0;
}

/* Header */
.header___YbVnv {
    background: var(--color-bg-card);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 0.4rem 2rem rgba(0,0,0,0.5);
}

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

.logoDefaultPosition {
    width: 15rem;
    height: 4rem;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 30"><text x="5" y="20" fill="gold" font-weight="bold" font-family="sans-serif">JOYCASINO</text></svg>') no-repeat center/contain;
}

/* User Panel */
.userPanel___26uYs {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.userPanelButtons___1YeZv {
    display: flex;
    gap: 1rem;
}

.btnDesktop___2gUIN {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 1.4rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    box-shadow: 0 0.4rem 0.6rem rgba(0,0,0,0.2);
}

.btnDesktop___2gUIN:hover {
    transform: translateY(-0.2rem);
    box-shadow: 0 0.6rem 1rem rgba(0,0,0,0.3);
}

.btnDesktop___2gUIN:active {
    transform: translateY(0);
}

.primary___34rvO {
    background: var(--gradient-btn-primary);
    color: white;
}

.loginBtn___3Hr9l {
    padding: 0.8rem 2rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-main);
    font-weight: 600;
    font-size: 1.4rem;
}

.loginBtn___3Hr9l:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* Socials */
.social___3NCzN {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.socialText___232Ub {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.2;
    text-align: right;
}

.socials___2fnEn {
    display: flex;
    gap: 0.5rem;
}

.socials___2fnEn li {
    width: 3rem;
    height: 3rem;
    background: #2c3547;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.socials___2fnEn li:hover {
    background: var(--color-primary);
    transform: scale(1.1);
}

/* Navigation */
.nav___ik0Zm {
    background: var(--color-bg-dark);
    padding: 0 1rem;
    border-radius: var(--border-radius-sm);
}

.navList___3lAlp {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.navItem___2xBXC {
    position: relative;
}

.navLink___3i3N2 {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--color-text-muted);
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.navLink___3i3N2:hover, 
.navItem___2xBXC.active .navLink___3i3N2 {
    color: var(--color-primary);
    text-shadow: 0 0 1rem rgba(255, 193, 7, 0.4);
}

/* Slider & Main Section */
.mainSectionHome___1IAuC {
    margin-bottom: 3rem;
}

.slick-slider.mainSlider___2AOxf {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-card);
    position: relative;
}

.slideWrapper___1u7Rh {
    position: absolute;
    top: 50%;
    left: 5rem;
    transform: translateY(-50%);
    z-index: 2;
}

.mainText___1CeFc {
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 0.2rem 1rem rgba(0,0,0,0.8);
}

.slideLink___2GdMi {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--gradient-btn-success);
    color: white;
    font-weight: bold;
    border-radius: 2.5rem;
    box-shadow: 0 0.5rem 1rem rgba(67, 160, 71, 0.4);
    font-size: 1.6rem;
}

.imgContainer___3Sam8 {
    display: block;
    width: 100%;
    height: 30rem;
    background: linear-gradient(to right, #2b32b2, #1488cc); /* Fallback */
    position: relative;
}

/* Jackpot Widget */
.jackpotWidgetWrap___1GExM {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect width="100%" height="100%" fill="%231a0b0b"/></svg>') repeat, linear-gradient(to right, #4a0e0e, #290505);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 215, 0, 0.3);
    margin-bottom: 2rem;
    box-shadow: 0 0 1.5rem rgba(255, 0, 0, 0.2);
}

.jackpotTitle___314Ax {
    color: var(--color-primary);
    font-size: 2.4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.moneyWrapper___1dUGR a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.figure___2NA7u {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3.2rem;
    font-weight: 900;
    font-family: 'Courier New', monospace;
}

.currency___v0FDV {
    color: var(--color-primary);
    font-size: 2.4rem;
}

/* Sub Navigation (Game Categories) */
.menuSearchWrapper___ryO0t {
    background: var(--color-bg-card);
    padding: 0.5rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 2rem;
}

.list___2XG25 {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.item___3ZPZM .link___-7qmj {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.03);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-muted);
    font-size: 1.3rem;
    white-space: nowrap;
    transition: var(--transition-base);
}

.item___3ZPZM .link___-7qmj:hover {
    background: var(--color-bg-card-hover);
    color: white;
}

/* Games Grid */
.gamesList__wrapper___ZWWGa {
    width: 100%;
}

/* Fix CSS Grid for generated classes structure */
.col__left___3179b {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.grid___1Y8bE {
    display: contents; /* Treat children as direct grid items if wrapper is unnecessary, or style wrapper */
}

/* Since HTML structure is nested: wrapper -> grid -> tmbDesktop. Let's target grid div as the cell */
.col__left___3179b > .grid___1Y8bE {
    display: block;
}

.tmbDesktop___29NkW {
    background: var(--color-bg-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    transition: var(--transition-base);
    box-shadow: var(--shadow-card);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tmbDesktop___29NkW:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-hover);
    z-index: 5;
}

.img___2sBEP {
    position: relative;
    padding-top: 66.66%; /* Aspect Ratio 3:2 */
    overflow: hidden;
    background: #000;
}

.imgWrapper___nlwBY {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.imgWrapper___nlwBY img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tmbDesktop___29NkW:hover .imgWrapper___nlwBY img {
    transform: scale(1.1);
    filter: brightness(0.4);
}

/* Game Actions (Hover Overlay) */
.action___1Q-bm {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 66.66%; /* Match image height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transition: var(--transition-base);
}

.tmbDesktop___29NkW:hover .action___1Q-bm {
    opacity: 1;
}

.tmbPlayButton___BSGOW {
    background: var(--gradient-btn-primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.2rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.5);
}

.tmbPlayButton___BSGOW:hover {
    filter: brightness(1.2);
}

.tmbDesktop___29NkW .default___3Jrb0 {
    background: rgba(255,255,255,0.2);
    padding: 0.6rem 2rem;
    font-size: 1.1rem;
    border-radius: 2rem;
    color: white;
}

.tmbDesktop___29NkW .default___3Jrb0:hover {
    background: rgba(255,255,255,0.4);
}

.title___TreeB {
    padding: 1rem;
    background: var(--color-bg-card);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.titleText___RZYO2 {
    color: var(--color-text-main);
    font-size: 1.3rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sidebar */
.sidebarWidget___2pE9o, .newsWidget___qnVbU {
    background: var(--color-bg-card);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.widgetTournamentTitle___6uuo_, .newsWidget___qnVbU .title___3VDKC {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.titleText___1MOyt, .titleText___8PSIl {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
}

.titleTextLink___1AdCh {
    display: block;
    color: var(--color-primary);
    font-size: 1.4rem;
}

/* Tournament Table */
.tournamentTable___2g6Jb {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.2rem;
}

.tournamentTable___2g6Jb th {
    text-align: left;
    color: var(--color-text-muted);
    padding: 0.5rem;
    font-weight: 400;
}

.tournamentTable___2g6Jb td {
    padding: 0.8rem 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.topPlaces___1_FIM td {
    color: var(--color-primary);
    font-weight: bold;
}

/* Tournament Timer */
.countdown___n7h1F {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.section___FXTbQ {
    background: #000;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    color: var(--color-danger);
    font-family: monospace;
    font-weight: bold;
}

/* News Widget */
.newsLink___37M6I {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding: 0.8rem;
    border-radius: var(--border-radius-sm);
    background: rgba(255,255,255,0.02);
}

.newsLink___37M6I:hover {
    background: rgba(255,255,255,0.05);
}

.newsLinkImg___1WXKr {
    width: 5rem;
    height: 5rem;
    background: #333;
    border-radius: var(--border-radius-sm);
    flex-shrink: 0;
}

.newsLinkName___tpKOr {
    font-size: 1.3rem;
    line-height: 1.3;
}

/* Footer & SEO Text */
.footer___uKQkK {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--color-primary);
    background: var(--color-bg-dark);
}

.payments___1-GL1 {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.payment___31Y3y {
    width: 5rem;
    height: 3rem;
    background: rgba(255,255,255,0.1); /* Placeholder for payment icon */
    border-radius: 0.3rem;
}

.footerNavigationList___2pL5T {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footerNavigationItem___3pEcE a {
    color: var(--color-text-muted);
    font-size: 1.3rem;
    text-transform: uppercase;
}

.footerNavigationItem___3pEcE a:hover {
    color: white;
    text-decoration: underline;
}

.footerCarousel___2ZAJ6 {
    background: var(--color-bg-card);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    color: var(--color-text-muted);
    font-size: 1.4rem;
    line-height: 1.8;
}

.sliderFooter___3EbIr h1, 
.sliderFooter___3EbIr h2 {
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.sliderFooter___3EbIr h1 { font-size: 2.2rem; }
.sliderFooter___3EbIr h2 { font-size: 1.8rem; }
.sliderFooter___3EbIr p { margin-bottom: 1.5rem; }
.sliderFooter___3EbIr a { color: var(--color-primary); text-decoration: underline; }

/* Winners Slider (Bottom) */
.winnersWidgetWrapper___1ltuQ {
    background: rgba(0,0,0,0.3);
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.item___3j6Fd {
    padding: 0 1rem;
    text-align: center;
}

.item___3j6Fd img {
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    margin: 0 auto 0.5rem;
    width: 6rem;
    height: 6rem;
    object-fit: cover;
}

.item___3j6Fd .name___OyrVI {
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .headerNavBlock___3RQxl {
        flex-direction: column;
        gap: 1.5rem;
    }

    .userPanel___26uYs {
        flex-direction: column;
        width: 100%;
    }

    .userPanelButtons___1YeZv {
        width: 100%;
        justify-content: center;
    }

    .navList___3lAlp {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
        gap: 1rem;
    }
    
    .navLink___3i3N2 {
        white-space: nowrap;
        background: rgba(255,255,255,0.05);
        border-radius: 2rem;
        padding: 0.8rem 1.5rem;
    }

    .col__wr___2qWRn {
        flex-direction: column;
    }

    .col__right___2tvpG {
        width: 100%;
    }

    .col__left___3179b {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    }

    .jackpotWidgetWrap___1GExM {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .mainText___1CeFc {
        font-size: 2.4rem;
    }
    
    .imgContainer___3Sam8 {
        height: 20rem;
    }
}

@media (max-width: 480px) {
    .col__left___3179b {
        grid-template-columns: 1fr; /* 1 column on small screens */
    }
    
    .figure___2NA7u {
        font-size: 2.4rem;
    }
}
