
/* =========================================
   1. CSS Reset & Variables
   ========================================= */
:root {
    /* Color Palette - Dark Gaming/Betting Theme */
    --c-bg-body: #0f141f;
    --c-bg-card: #1c2438;
    --c-bg-dark: #090f1e;
    
    --c-primary: #0095ff;
    --c-primary-dark: #0077cc;
    --c-accent: #31bc69;
    --c-accent-hover: #28a058;
    
    --c-text-main: #ffffff;
    --c-text-secondary: #a0a5b1;
    --c-text-link: #a0a0ed;
    
    --c-gradient-blue: linear-gradient(135deg, #0095ff 0%, #0855c4 100%);
    --c-gradient-green: linear-gradient(70deg, #31bc69 -8%, #089e4e 96%);
    --c-gradient-dark: linear-gradient(110deg, #1e283f 0%, rgba(20, 27, 46, 0.9) 100%);

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --fz-xs: 0.75rem;
    --fz-sm: 0.875rem;
    --fz-md: 1rem;
    --fz-lg: 1.25rem;
    --fz-xl: clamp(1.5rem, 4vw, 2.5rem);
    --fz-hero: clamp(1.8rem, 5vw, 3.75rem);

    /* Spacing & Layout */
    --gap-sm: 0.5rem;
    --gap-md: 1rem;
    --gap-lg: 2rem;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --container-width: 75rem; /* ~1200px */

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-glow-blue: 0 6px 22px rgba(5, 109, 218, 0.3);
    --shadow-glow-green: 0 6px 18px rgba(14, 161, 81, 0.3);
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--c-bg-body);
    color: var(--c-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

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

ul {
    list-style: none;
}

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

/* =========================================
   2. Header Section (.hdr)
   ========================================= */
.hdr {
    background-color: var(--c-bg-card);
    padding: var(--gap-sm) var(--gap-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Header Left Items */
.hdr-wrap {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
}

.hdr-wrap-itm-btn, 
.hdr-wrap-itm-div {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

/* Icons placeholders since images are missing in HTML */
.hdr-wrap-itm-btn::after,
.hdr-wrap-itm-div::after {
    content: '';
    width: 1.2rem;
    height: 1.2rem;
    background-color: var(--c-text-secondary);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.hdr-wrap-itm:hover .hdr-wrap-itm-btn,
.hdr-wrap-itm:hover .hdr-wrap-itm-div {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.hdr-wrap-itm-free {
    color: var(--c-accent);
    font-weight: 700;
    font-size: var(--fz-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 var(--gap-sm);
    display: flex;
    align-items: center;
}

/* Header Bonus Section */
.hdr-bns-wrap {
    display: flex;
    align-items: center;
    gap: var(--gap-md);
}

@media (max-width: 991px) {
    .hdr-bns-wrap {
        display: none; /* Hide complex header items on smaller screens */
    }
}

.hdr-bns-wrap-itm-bns-lnk {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    font-size: var(--fz-sm);
    font-weight: 600;
}

.hdr-bns-wrap-itm-bns-lnk-crcl {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--c-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--c-accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.hdr-bns-wrap-itm-wndws {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    color: var(--c-text-secondary);
    font-size: var(--fz-xs);
    text-align: right;
}

.hdr-bns-wrap-itm-wndws span {
    display: block;
    color: var(--c-text-main);
    font-weight: 600;
}

/* Language Switcher */
.hdr-bns-wrap-itm-swtchr {
    background-color: rgba(255,255,255,0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fz-xs);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.hdr-bns-wrap-itm-swtchr:hover {
    background-color: rgba(255,255,255,0.1);
}

/* =========================================
   3. Mobile Header & Auth Buttons
   ========================================= */
.ams-mob-header {
    display: none;
    width: 100%;
    margin-top: var(--gap-sm);
}

@media (max-width: 768px) {
    .ams-mob-header {
        display: flex;
        justify-content: space-between;
        gap: var(--gap-sm);
    }
    
    .hdr-wrap {
        display: none; /* Simplify header on mobile */
    }
}

.ams-item-box {
    flex: 1;
}

.ams-item-log, 
.ams-item-reg {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--fz-sm);
    color: #fff;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Login Button */
.ams-item-log {
    background: var(--c-gradient-blue);
    box-shadow: var(--shadow-glow-blue);
}

/* Register Button */
.ams-item-reg {
    background: var(--c-gradient-green);
    box-shadow: var(--shadow-glow-green);
}

.ams-item-log:hover, 
.ams-item-reg:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.ams-item-log:active, 
.ams-item-reg:active {
    transform: translateY(0);
}

/* =========================================
   4. Navigation Bar (.nv)
   ========================================= */
.nv {
    background-color: var(--c-bg-dark);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--gap-md);
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.nv::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.nv-wrap {
    display: flex;
    align-items: center;
}

.nv-itm {
    padding: 1rem var(--gap-md);
    position: relative;
    cursor: pointer;
}

.nv-itm-txt {
    font-size: var(--fz-sm);
    font-weight: 500;
    color: var(--c-text-secondary);
    transition: var(--transition-fast);
}

.nv-itm:hover .nv-itm-txt,
.nv-itm-txt.active {
    color: var(--c-text-main);
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.nv-itm-txt.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--c-primary);
    border-radius: 3px 3px 0 0;
    box-shadow: 0 -2px 10px var(--c-primary);
}

/* Placeholder for navigation images/icons */
.nv-itm-img {
    width: 1.5rem;
    height: 1.5rem;
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
}

/* Auth buttons inside Nav (Desktop) */
.nv-itm-login,
.nv-itm-rgstr {
    font-size: var(--fz-sm);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
}

.nv-itm-login {
    color: var(--c-text-main);
}

.nv-itm-rgstr {
    background: var(--c-gradient-green);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-glow-green);
}

@media (max-width: 768px) {
    .nv {
        display: none; /* Hidden on mobile as per HTML logic, but style kept for tablets */
    }
}

/* =========================================
   5. Hero / Teaser Section
   ========================================= */
.tizpromik-box {
    position: relative;
    width: 100%;
    min-height: 80vh;
    background: url('/images/bg-1w.webp') no-repeat top center; /* Fallback in CSS */
    background-size: cover;
    background-attachment: fixed;
    background-color: var(--c-bg-dark); /* Fallback color */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tizer {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.3) 0%, rgba(15,20,31,0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--gap-lg);
}

.ctr {
    text-align: center;
    max-width: 50rem;
    z-index: 2;
}

.tizpromik-box h1 {
    font-size: var(--fz-hero);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: var(--gap-lg);
    line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    background: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Button */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    background-image: var(--c-gradient-green);
    color: #fff !important;
    font-size: var(--fz-lg);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-md) !important;
    text-decoration: none !important;
    box-shadow: var(--shadow-glow-green);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
    border: 1px solid rgba(255,255,255,0.2);
}

.button:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 25px rgba(14, 161, 81, 0.5);
}

.button:active {
    transform: scale(0.98);
}

.text-tiz {
    color: var(--c-text-secondary);
    margin-top: var(--gap-md);
    font-size: var(--fz-sm);
    text-decoration: none;
    opacity: 0.8;
}

.text-htiz {
    margin-top: var(--gap-lg);
    font-size: var(--fz-md) !important;
    background: rgba(255,255,255,0.05);
    padding: var(--gap-md);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

.text-htiz .promo {
    color: var(--c-accent);
    font-weight: 900;
    font-size: 1.2em;
    user-select: all;
    cursor: copy;
}

/* =========================================
   6. Main Content Area
   ========================================= */
.ams-main {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--gap-lg) var(--gap-md);
}

.wn-txt {
    background-color: var(--c-bg-card);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 5vw, 3rem);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--gap-lg);
}

/* Typography in Content */
.wn-txt h2 {
    font-size: var(--fz-xl);
    margin: 2rem 0 1rem;
    color: var(--c-text-main);
    position: relative;
    padding-bottom: 0.5rem;
}

.wn-txt h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--c-primary);
    border-radius: 2px;
}

.wn-txt p {
    font-size: var(--fz-md);
    color: var(--c-text-secondary);
    margin-bottom: 1.5rem;
}

.wn-txt a {
    color: var(--c-primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: var(--transition-fast);
}

.wn-txt a:hover {
    color: #fff;
    border-bottom-color: var(--c-primary);
}

/* Lists */
.wn-txt ul {
    margin: 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--gap-sm);
}

.wn-txt ul li {
    padding: 0.75rem 0.75rem 0.75rem 2rem;
    background-color: rgba(0,0,0,0.2);
    border-radius: var(--radius-sm);
    position: relative;
    color: var(--c-text-main);
    font-size: var(--fz-sm);
    transition: transform var(--transition-fast);
}

.wn-txt ul li:hover {
    transform: translateX(5px);
    background-color: rgba(255,255,255,0.05);
}

.wn-txt ul li::before {
    content: '✓';
    position: absolute;
    left: 0.75rem;
    color: var(--c-accent);
    font-weight: bold;
}

/* Tables */
.wn-txt table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.wn-txt tbody tr {
    transition: background-color var(--transition-fast);
}

.wn-txt tbody tr:nth-child(even) {
    background-color: rgba(255,255,255,0.02);
}

.wn-txt tbody tr:hover {
    background-color: rgba(255,255,255,0.05);
}

.wn-txt td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--c-text-secondary);
}

.wn-txt td:first-child {
    color: var(--c-primary);
    font-weight: 700;
    width: 50px;
    text-align: center;
}

.wn-txt td:nth-child(2) {
    font-weight: 500;
    color: var(--c-text-main);
}

/* Responsive Table */
@media (max-width: 600px) {
    .wn-txt table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* =========================================
   7. Slots / Interactive Elements
   ========================================= */
.ams-slots-list {
    background: var(--c-gradient-dark);
    border-radius: var(--radius-lg);
    padding: var(--gap-lg);
    border: 1px solid rgba(255,255,255,0.05);
}

.ams-slots-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--gap-md);
}

.ams-slots-wrap-item {
    aspect-ratio: 1/1;
    background-color: rgba(0,0,0,0.3);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.ams-slots-wrap-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 2;
}

.ams-slots-wrap-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ams-slots-wrap-item:hover img {
    transform: scale(1.1);
}

/* =========================================
   8. Form Elements (Generic)
   ========================================= */
input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: var(--font-main);
    transition: border-color var(--transition-fast);
}

input:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(0, 149, 255, 0.2);
}

/* =========================================
   9. Utilities & Micro-animations
   ========================================= */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

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

@media (max-width: 480px) {
    .wn-txt {
        padding: 1.5rem 1rem;
    }
    
    .tizpromik-box h1 {
        font-size: 1.8rem;
    }
}
