
:root {
    /* Color Palette - Cyber/Gaming Aesthetic */
    --primary-color: #ffb700;
    --primary-hover: #ffcf40;
    --secondary-color: #7c3aed;
    --accent-color: #06b6d4;
    
    --bg-body: #0f172a;
    --bg-card: #1e293b;
    --bg-dark: #020617;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, #ffb700 0%, #f59e0b 100%);
    --grad-secondary: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    --grad-glow: radial-gradient(circle at center, rgba(124, 58, 237, 0.15) 0%, transparent 70%);

    /* Spacing & Sizes */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 15px rgba(255, 183, 0, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: --bg-body;
    background: var(--bg-body);
    background-image: var(--grad-glow);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    /* Overriding inline style from HTML */
    margin-bottom: 1.5rem !important; 
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin-top: 2.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1rem;
}

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

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

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
header {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
}

.men1 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.men1 a {
    display: block;
    width: 180px;
    height: 50px;
    background-color: rgba(255,255,255,0.1); /* Fallback for missing logo img */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: var(--radius-sm);
}

/* Header Mob (Secondary Nav) */
header.mob {
    top: 80px; /* Below main header */
    background: var(--bg-card);
    padding: 0.75rem 0;
    z-index: 999;
}

header.mob .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

/* Navigation Buttons (.men3, .men4) */
.men3, .men4 {
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-fast);
    cursor: pointer;
    text-align: center;
}

.men3 {
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-main);
    background: transparent;
}

.men3:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 183, 0, 0.1);
}

.men4 {
    background: var(--grad-primary);
    color: var(--bg-dark);
    box-shadow: var(--shadow-glow);
}

.men4:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Hero Section */
.joyl-slide {
    position: relative;
    min-height: 400px;
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: radial-gradient(circle at 50% 50%, #2a3045 0%, #0f172a 100%);
    box-shadow: var(--shadow-md);
}

/* Main Content Layout */
.main {
    padding-bottom: 4rem;
}

/* Flex Container Override for Grid Layout */
.container > div[style*="display:flex"] {
    display: grid !important;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
}

/* Left Content Area */
.joy-left, .main-left {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.03);
    box-shadow: var(--shadow-sm);
}

/* Sidebar (.main-right) */
.main-right {
    position: sticky;
    top: 180px;
    background: var(--bg-card);
    min-height: 300px;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.03);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Sidebar placeholder content style */
.main-right a.href {
    display: block;
    width: 100%;
    height: 250px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
}

.main-right a.href::after {
    content: 'Banner / Promo';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0.2);
    font-weight: 700;
}

/* Buttons (CTA) */
.btn-box {
    margin: 2rem 0;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--grad-primary);
    color: var(--bg-dark);
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(255, 183, 0, 0.4);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f59e0b 0%, #ffb700 100%);
    z-index: -1;
    transition: opacity 0.3s;
    opacity: 0;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 183, 0, 0.6);
    color: #000;
}

.btn:hover::before {
    opacity: 1;
}

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

/* Tables (if any exist in content) */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

th, td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: left;
}

th {
    background: rgba(255,255,255,0.05);
    color: var(--primary-color);
}

/* Form Styles (Generic) */
input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: #fff;
    margin-bottom: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 183, 0, 0.1);
    background: rgba(0,0,0,0.4);
}

/* Image Effects */
img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

/* Footer */
footer {
    background: var(--bg-dark);
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: auto;
    text-align: center;
}

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

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

/* Scroll to Top Button */
#scroller {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 2px solid rgba(255,255,255,0.1);
}

#scroller:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.b-top-but {
    font-size: 0;
}

#scroller::after {
    content: '↑';
    font-size: 1.5rem;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 992px) {
    .container > div[style*="display:flex"] {
        grid-template-columns: 1fr; /* Stack sidebar below content */
    }
    
    .main-right {
        order: 2; /* Sidebar goes to bottom on tablet */
        min-height: auto;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 2rem;
    }

    .container > div[style*="display:flex"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem;
    }

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

    .joy-left, .main-left {
        padding: 1.5rem;
    }

    .btn {
        width: 100%;
        padding: 1rem;
    }
    
    #scroller {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}

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

.main-left, .joy-left {
    animation: fadeIn 0.6s ease-out;
}
