
/* =========================================
   1. Reset & Normalization
   ========================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul, ol {
    list-style: none;
}

img, svg {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* =========================================
   2. Variables & Theme (Custom Properties)
   ========================================= */
:root {
    /* Colors */
    --primary: #108de7;
    --primary-dark: #0855c4;
    --accent: #28a745;
    --accent-glow: rgba(40, 167, 69, 0.4);
    
    --bg-body: #0b1119;
    --bg-card: #15202b;
    --bg-header: rgba(11, 17, 25, 0.95);
    --bg-input: #1e2a38;
    
    --text-main: #ffffff;
    --text-muted: #8b9bb4;
    
    --gradient-primary: linear-gradient(135deg, #108de7 0%, #0855c4 100%);
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #fdb931 100%);
    
    /* Spacing */
    --gap-sm: 0.5rem;
    --gap-md: 1rem;
    --gap-lg: 2rem;
    --container-padding: 1.5rem;
    
    /* Shapes */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-pill: 50rem;
    
    /* Effects */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(16, 141, 231, 0.3);
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   3. Typography & Layout Utilities
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    margin-bottom: var(--gap-md);
    font-weight: 700;
}

h1 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.25rem, 3vw, 2rem); }

.szr6hc3wmu5, 
.footer__container,
.szr2cg72gqw,
.szr33szppxv {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* =========================================
   4. Header & Navigation
   ========================================= */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-header);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-shadow: var(--shadow-sm);
}

/* Top bar (Icons area) */
.szr33szppxv {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.szr24ga1cuw, .szrw4vjnfet {
    display: flex;
    gap: var(--gap-md);
    align-items: center;
}

.szrcz5gwtyq svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: var(--text-muted);
    transition: var(--transition-fast);
}

.szrcz5gwtyq:hover svg {
    fill: var(--primary);
    transform: scale(1.1);
}

/* Main Header */
.szr2cg72gqw {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--gap-md);
    padding-bottom: var(--gap-md);
}

/* Logo Area (Empty in HTML but needs space) */
.custom-logo-link {
    display: block;
    width: 120px;
    height: 40px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 30" xmlns="http://www.w3.org/2000/svg"><text x="0" y="20" fill="white" font-weight="bold" font-family="sans-serif" font-size="24">1WIN</text></svg>') no-repeat center left;
}

/* Desktop Navigation */
.szr8pp78pk9 {
    display: none; /* Mobile first hidden */
}

@media (min-width: 992px) {
    .szr8pp78pk9 {
        display: block;
    }
    .szr8pp78pk9 ul {
        display: flex;
        gap: 1.5rem;
    }
    .szr8pp78pk9 a {
        font-weight: 500;
        font-size: 0.9rem;
        position: relative;
    }
    .szr8pp78pk9 a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: var(--transition-fast);
    }
    .szr8pp78pk9 a:hover {
        color: var(--primary);
    }
    .szr8pp78pk9 a:hover::after {
        width: 100%;
    }
}

/* Header Buttons (Login/Register) */
.szr6x5xp92d {
    display: flex;
    align-items: center;
    gap: var(--gap-md);
}

.szr852qup5s {
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.szr85xcqfgg { /* Login */
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
}

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

.szr7rh2rsqm { /* Register */
    background: var(--gradient-primary);
    box-shadow: 0 4px 15px rgba(16, 141, 231, 0.4);
}

.szr7rh2rsqm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 141, 231, 0.6);
}

.szr6fj9q9ff svg {
    width: 0.8rem;
    height: 0.8rem;
    fill: white;
}

/* Hamburger */
.szrx3qv29ey {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    width: 30px;
}

.szrx3qv29ey span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: var(--transition-fast);
}

@media (min-width: 992px) {
    .szrx3qv29ey { display: none; }
}

/* Mobile Menu Container */
.szr2dmmf4wf {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-body);
    z-index: 2000;
    padding: 2rem;
    transform: translateX(-100%);
    transition: transform var(--transition-smooth);
    overflow-y: auto;
}

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

.szr4jq4psz3 {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.szr2dmmf4wf .menu-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.5rem;
}

.szr2dmmf4wf a {
    font-size: 1.2rem;
    font-weight: 600;
}

/* =========================================
   5. Hero Section
   ========================================= */
.szrjdss6uyu {
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: grid;
    gap: var(--gap-lg);
}

/* Slider Placeholder */
.szruqz9kuxs {
    display: flex;
    overflow-x: auto;
    gap: var(--gap-md);
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}

.szruqz9kuxs::-webkit-scrollbar {
    height: 6px;
}
.szruqz9kuxs::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.slider__inner {
    min-width: 100%;
    height: 300px; /* Min height */
    background: var(--bg-card);
    border-radius: var(--radius-md);
    scroll-snap-align: center;
    position: relative;
    background-image: linear-gradient(45deg, #1a2736 25%, transparent 25%, transparent 75%, #1a2736 75%, #1a2736), linear-gradient(45deg, #1a2736 25%, transparent 25%, transparent 75%, #1a2736 75%, #1a2736);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

/* Banner */
.szr85s23fms {
    background-color: var(--primary-dark);
    padding: 2rem;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 200px;
}

.szr85s23fms::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.szr85s23fms > * {
    position: relative;
    z-index: 2;
}

.szr321y1vtq {
    font-size: 1rem;
    color: #ffd700;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

.szr82zysuhm {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.szr636f16h5 {
    padding: 0.8rem 2rem;
    background: var(--gradient-gold);
    color: #000;
    border-radius: var(--radius-pill);
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.szr636f16h5:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.5);
}

/* =========================================
   6. Quick Links
   ========================================= */
.szrfce4388h {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--gap-md);
    margin-bottom: 3rem;
}

.szr4vrvd5r8 a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.05);
    font-weight: 600;
    height: 100%;
}

.szr4vrvd5r8 a:hover {
    background: var(--bg-input);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* =========================================
   7. Game Grids
   ========================================= */
.szr3dwctc6a {
    margin-bottom: 4rem;
}

.szr5ghtdhps, .szr5z11gu3u {
    margin-bottom: 3rem;
}

.szr3b6ayqxr {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.szr3b6ayqxr span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
    background: rgba(255,255,255,0.1);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
}

.arg3mggwqck {
    float: right;
    margin-top: -3.5rem;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.arg3mggwqck:hover {
    text-decoration: underline;
}

.szre7x2r6fw, .szr7kdtxfqh {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Mobile default */
    gap: var(--gap-md);
}

@media (min-width: 576px) {
    .szre7x2r6fw, .szr7kdtxfqh {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.szr4g16kcrg {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1 / 1; /* Square cards */
    background: var(--bg-card);
    transition: var(--transition-smooth);
}

.szr4g16kcrg:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: var(--shadow-md);
    outline: 2px solid var(--primary);
}

.szr4g16kcrg a {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #232f3e;
    background-image: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
}

/* Add pseudo-label for empty images in dev */
.szr4g16kcrg a::after {
    content: attr(alt);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem;
    font-size: 0.75rem;
    background: rgba(0,0,0,0.8);
    text-align: center;
    color: white;
    opacity: 0.7;
}

/* =========================================
   8. Content & Text Areas
   ========================================= */
.szr4ys9pr8e {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
}

.szr4ys9pr8e h1 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.szr7z67y3vy {
    color: var(--text-muted);
    max-height: 200px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease;
}

.szr7z67y3vy.expanded {
    max-height: 10000px;
}

.szr7z67y3vy::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--bg-card));
    pointer-events: none;
}

.szr7z67y3vy p {
    margin-bottom: 1rem;
}

.szr7z67y3vy ul, .szr7z67y3vy ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.szr7z67y3vy li {
    margin-bottom: 0.5rem;
}

.owt7hsyzw8n {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
}

/* =========================================
   9. Promo Banners (Poker, TV)
   ========================================= */
.szr4mch87yt, .szr27nrczw5 {
    background: linear-gradient(135deg, #1e0b2b 0%, #3d1656 100%);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.szr6s33f9gf, .szr4bqgbjfk {
    font-size: 1.5rem;
    font-weight: 700;
}

.szr8tsby46v {
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition-fast);
}

.szr8tsby46v:hover {
    background: #218838;
    box-shadow: 0 0 15px var(--accent-glow);
}

/* =========================================
   10. Footer
   ========================================= */
.footer__container {
    margin-top: 4rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
    background: #080c11;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__container > div {
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer__container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        align-items: start;
    }
    .footer__container > div {
        margin-bottom: 0;
    }
    .Footer_logoContainer_19w9I {
        grid-column: 1 / -1;
        margin-bottom: 2rem;
    }
}

/* Footer Logo */
.logo-box svg {
    height: 50px;
    width: auto;
}

/* Contact Section */
.ContactSection_title_36IAS {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.ContactSection_phone_12eZr, .ContactSection_email_1_c64 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.SupportButton_button_kOo-a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.SupportButton_button_kOo-a svg {
    fill: white;
    width: 14px;
}

.ContactSection_link_unHlx {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.ContactSection_link_unHlx:hover {
    color: white;
}

/* Footer Nav */
.kpn7rj8b5tx {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.kpn2sm8qb8t ul li {
    margin-bottom: 0.5rem;
}

.kpn2sm8qb8t a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.kpn2sm8qb8t a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* App Buttons */
.FooterMobileApps_container_k_sjB {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.05);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.FooterMobileApps_container_k_sjB:hover {
    background: rgba(255,255,255,0.1);
}

.FooterMobileApps_icon_S3Jpn {
    width: 24px;
    fill: white;
}

.FooterMobileApps_title_1pzec {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.FooterMobileApps_subtitle_f8DoB {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
}

/* Social & Payment */
.footer__media {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem var(--container-padding);
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: #05080b;
}

.social-list {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.PaymentSection_container_37NPF {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.PaymentSection_icon_23iDF {
    height: 25px;
    width: auto;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.PaymentSection_icon_23iDF:hover {
    opacity: 1;
}

/* Sports Partners */
.Footer_sportsPromotion_a6VKI {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 0;
}

.Footer_sportsPromotion_a6VKI svg {
    height: 30px;
    width: auto;
    opacity: 0.7;
}

/* =========================================
   11. Animations
   ========================================= */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.szr85s23fms, .szr4ys9pr8e {
    animation: fadeIn 0.6s ease-out;
}

/* =========================================
   12. Language Selector & Utilities
   ========================================= */
.lang_container {
    display: flex;
    gap: 0.5rem;
}

.ChangeLaguageSection_button_3eABJ {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ChangeLaguageSection_button_3eABJ:hover {
    background: var(--primary);
}

/* Hide elements utility */
.js-hide-text {
    /* Handled by expanded class above */
}
