
/* =========================================
   1. Variables & Reset
   ========================================= */
:root {
    /* Color Palette - Cyberpunk/Dark Casino Theme */
    --color-bg-main: #0f172a;
    --color-bg-secondary: #1e293b;
    --color-bg-card: #162032;
    
    --color-primary: #f59e0b; /* Gold/Amber */
    --color-primary-hover: #d97706;
    --color-accent: #06b6d4; /* Cyan/Neon */
    
    --color-text-main: #f1f5f9;
    --color-text-muted: #94a3b8;
    --color-text-dark: #0f172a;
    
    --color-border: rgba(148, 163, 184, 0.1);
    --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 15px rgba(245, 158, 11, 0.3);
    
    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-size-base: 1rem;
    --line-height-body: 1.6;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --border-radius: 0.75rem;
    --border-radius-lg: 1rem;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s 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;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: var(--line-height-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--color-bg-secondary);
    border-radius: 5px;
    border: 2px solid var(--color-bg-main);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

/* Selection */
::selection {
    background: var(--color-primary);
    color: var(--color-text-dark);
}

/* Links */
a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover {
    color: var(--color-primary);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

/* =========================================
   2. Layout & Containers
   ========================================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.main {
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

/* Handling the inline flex style in HTML for layout */
div[style*="display:flex"] {
    gap: 2rem;
    align-items: flex-start;
}

/* =========================================
   3. Header Styles
   ========================================= */
header {
    background-color: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
}

/* Logo placeholder since <a> is empty */
.men1 a {
    display: block;
    width: 140px;
    height: 40px;
    background: url('path/to/logo.png') no-repeat center/contain; /* Fallback if image missing */
    background-color: rgba(255,255,255,0.05); /* Placeholder block */
    border-radius: 4px;
}

/* Mobile Header specific */
header.mob {
    display: none; /* Hidden on desktop by default */
}

.menn {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.menn a.href div {
    background: var(--color-bg-card);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.875rem;
    white-space: nowrap;
    border: 1px solid var(--color-border);
    transition: var(--transition-fast);
    color: var(--color-text-main);
}

.menn a.href div:hover {
    background: var(--color-accent);
    color: var(--color-text-dark);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

/* =========================================
   4. Hero / Slider Section
   ========================================= */
.joyl-slide {
    margin-bottom: 2.5rem;
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, #2d3748 100%);
    box-shadow: var(--shadow-card);
}

.jou-abs {
    padding: 3rem 0;
    text-align: center;
}

.main1 {
    min-height: 200px;
    background: radial-gradient(circle, rgba(6,182,212,0.1) 0%, rgba(0,0,0,0) 70%);
    /* Placeholder styling for hero visual */
}

/* =========================================
   5. Typography & Content
   ========================================= */
h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem) !important; /* Override inline style */
    font-weight: 800;
    margin-bottom: 1.5rem !important;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--color-primary);
    margin: 2rem 0 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px;
}

.joy-left p, .main-left p {
    margin-bottom: 1.25rem;
    color: var(--color-text-muted);
    font-size: 1rem;
}

.joy-left ul, .main-left ul, .joy-left ol, .main-left ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--color-text-muted);
}

.joy-left li, .main-left li {
    margin-bottom: 0.5rem;
}

.promoX_9b2f_accent, strong, b {
    color: var(--color-text-main);
    font-weight: 600;
}

/* =========================================
   6. Buttons & Interactions
   ========================================= */
.btn-box {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 2rem;
    border-radius: 50px;
    color: var(--color-text-dark);
    background: linear-gradient(90deg, var(--color-primary) 0%, #fbbf24 100%);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
    color: var(--color-text-dark);
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn:active {
    transform: translateY(-1px);
}

/* =========================================
   7. Sidebar (.main-right)
   ========================================= */
.main-right {
    flex: 0 0 300px; /* Fixed width sidebar */
    background: var(--color-bg-card);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    position: sticky;
    top: 6rem;
    box-shadow: var(--shadow-card);
}

.main-right b {
    display: block;
    color: var(--color-accent);
    font-size: 1.2rem;
    margin: 0.5rem 0 1rem;
}

/* =========================================
   8. Form Elements (Implicit)
   ========================================= */
input, select, textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    background: var(--color-bg-main);
    color: var(--color-text-main);
    font-family: var(--font-main);
    transition: var(--transition-fast);
    margin-bottom: 1rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

/* =========================================
   9. Footer
   ========================================= */
footer {
    background: var(--color-bg-secondary);
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--color-border);
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

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

.menu-fo a {
    color: var(--color-text-muted);
    margin: 0 0.5rem;
}

.menu-fo a:hover {
    color: var(--color-primary);
}

/* =========================================
   10. Back to Top Button
   ========================================= */
#scroller {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 900;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(6, 182, 212, 0.4);
}

.b-top-but {
    font-size: 0; /* Hide text */
}

#scroller::after {
    content: '↑';
    font-size: 1.5rem;
    color: var(--color-text-dark);
    font-weight: bold;
}

#scroller:hover {
    transform: translateY(-5px);
    background: var(--color-text-main);
}

/* =========================================
   11. Responsive Design (Media Queries)
   ========================================= */
@media (max-width: 768px) {
    /* Layout Collapse */
    div[style*="display:flex"] {
        flex-direction: column !important; /* Override inline style */
    }

    .main-right {
        width: 100%;
        flex: none;
        position: static;
        margin-top: 2rem;
    }

    /* Headers */
    header {
        display: none; /* Hide main header on mobile */
    }

    header.mob {
        display: block; /* Show mobile header */
        background: var(--color-bg-secondary);
        padding: 1rem 0;
    }

    /* Typography adjustment */
    html {
        font-size: 15px;
    }

    .joy-left, .main-left {
        width: 100%;
    }

    /* Buttons */
    .btn {
        width: 100%;
    }
    
    .menn {
        flex-wrap: wrap;
        justify-content: center;
    }
}
