
/* =========================================
   1. Reset & Variables
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

:root {
    /* Colors */
    --color-primary: #0d47a1;
    --color-primary-dark: #002171;
    --color-primary-light: #5472d3;
    --color-accent: #ff6f00;
    --color-accent-hover: #e65100;
    --color-text-main: #212121;
    --color-text-light: #757575;
    --color-bg-body: #f5f7fa;
    --color-bg-card: #ffffff;
    --color-white: #ffffff;
    
    /* Info Box Colors */
    --color-success: #e8f5e9;
    --color-success-text: #2e7d32;
    --color-info: #e3f2fd;
    --color-info-text: #1565c0;
    --color-warning: #fff8e1;
    --color-warning-text: #f57f17;
    --color-danger: #ffebee;
    --color-danger-text: #c62828;

    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.5;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 0.3125rem; /* 5px */
    --radius-md: 0.625rem; /* 10px */
    --radius-lg: 1.25rem;  /* 20px */
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    line-height: var(--line-height-base);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

ul, ol {
    list-style: none;
}

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

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

/* =========================================
   2. Layout & Utilities (Mapped from HTML)
   ========================================= */

#page {
    width: 100%;
    overflow-x: hidden;
}

.wrap, .wrap_2 {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.flex { display: flex; }
.aic { align-items: center; }
.jcc { justify-content: center; }
.fxs { flex-shrink: 0; }
.fxg { flex-grow: 1; }

/* Spacing Utilities */
.mr-20 { margin-right: 1.25rem; }
.ml-10 { margin-left: 0.625rem; }
.mt-40 { margin-top: 2.5rem; }
.mb-30 { margin-bottom: 1.875rem; }
.pt-10 { padding-top: 0.625rem; }
.pb-10 { padding-bottom: 0.625rem; }
.pt-20 { padding-top: 1.25rem; }
.pb-20 { padding-bottom: 1.25rem; }
.pl-20 { padding-left: 1.25rem; }
.pr-20 { padding-right: 1.25rem; }

/* Text Utilities */
.text-fff { color: var(--color-white); }
.text-white { color: var(--color-white); }
.center { text-align: center; }
.ttu { text-transform: uppercase; }
.fw500 { font-weight: 500; }
.fz18 { font-size: clamp(1rem, 2vw, 1.125rem); }
.lh140 { line-height: 1.4; }
.no-under { text-decoration: none; }

/* Backgrounds & Colors */
.bg-blue { background-color: var(--color-primary); }
.bg-orang { background-color: var(--color-accent); }
.bg-blue-049 { background-color: rgba(13, 71, 161, 0.9); }

/* Borders & Radius */
.round-20 { border-radius: var(--radius-lg); }
.border-5 { border-radius: var(--radius-sm); }

/* =========================================
   3. Header Styling
   ========================================= */

.header-content {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
}

.head {
    height: var(--header-height);
    justify-content: space-between;
}

/* Logo Placeholder */
.logo a {
    display: block;
    width: 140px;
    height: 40px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 40" fill="%230d47a1"><text x="50%25" y="50%25" dominant-baseline="middle" text-anchor="middle" font-family="sans-serif" font-weight="bold" font-size="24">MOSTBET</text></svg>') no-repeat center/contain;
}

/* Navigation */
.menu-main ul {
    padding: 0.5rem;
    gap: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.menu-main a {
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.menu-main a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.menu-main svg {
    fill: currentColor;
    width: auto;
    height: 1.5rem;
}

.link-aviator svg, .link-bonus svg {
    display: block;
    max-width: 100px;
}

/* Auth Buttons */
.head-top-left .h-42 {
    height: 42px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.head-top-left .bg-orang:hover {
    background-color: var(--color-accent-hover);
    box-shadow: 0 6px 14px rgba(255, 111, 0, 0.3);
    transform: translateY(-1px);
}

.head-top-left .bg-blue:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 6px 14px rgba(13, 71, 161, 0.3);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.open-menu a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border-radius: 50%;
}

/* =========================================
   4. Main Content & Typography
   ========================================= */

.main {
    padding-top: 2rem;
}

.content {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-text-main);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

h2 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--color-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    margin-bottom: 1.25rem;
    color: #444;
}

/* Figures / Images */
figure.image {
    margin: 2rem 0;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    background-color: #eee; /* Placeholder bg */
}

figure.image a {
    display: block;
    min-height: 200px; /* Placeholder height if image missing */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 100" fill="%23cccccc"><rect width="100%25" height="100%25" fill="%23eeeeee"/><text x="50%25" y="50%25" dominant-baseline="middle" text-anchor="middle" font-family="sans-serif" fill="%23999999">IMAGE PLACEHOLDER</text></svg>') no-repeat center/cover;
}

figure.image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform var(--transition-base);
}

figure.image:hover img {
    transform: scale(1.02);
}

/* =========================================
   5. Buttons (Generic)
   ========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.05em;
}

.btn.bg-orang {
    background: linear-gradient(135deg, var(--color-accent) 0%, #ff9100 100%);
    border: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* =========================================
   6. Info Boxes
   ========================================= */

.info-box {
    margin: 1.5rem 0;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 5px solid transparent;
    display: flex;
    align-items: flex-start;
    position: relative;
    isolation: isolate;
}

.info-box p {
    margin-bottom: 0;
}

.info-box-success {
    background-color: var(--color-success);
    color: var(--color-success-text);
    border-left-color: var(--color-success-text);
}

.info-box-info {
    background-color: var(--color-info);
    color: var(--color-info-text);
    border-left-color: var(--color-info-text);
}

.info-box-warning {
    background-color: var(--color-warning);
    color: var(--color-warning-text);
    border-left-color: var(--color-warning-text);
}

.info-box-danger {
    background-color: var(--color-danger);
    color: var(--color-danger-text);
    border-left-color: var(--color-danger-text);
}

/* Add generic icon via CSS */
.info-box::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 15px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.info-box-success::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232e7d32'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E"); }
.info-box-info::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231565c0'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E"); }
.info-box-warning::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f57f17'%3E%3Cpath d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/%3E%3C/svg%3E"); }
.info-box-danger::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c62828'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E"); }


/* =========================================
   7. Footer
   ========================================= */

.copy {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-light);
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 2rem;
}

footer {
    margin-top: auto;
    background: #263238;
    color: #fff;
    padding: 2rem 0;
}

/* =========================================
   8. Responsive Design
   ========================================= */

/* Helpers for hide/show */
.hide { display: none !important; }

@media (min-width: 993px) {
    .show_992 { display: none !important; }
}

@media (max-width: 992px) {
    .hide_992 { display: none !important; }
    .show_992 { display: block !important; }

    .menu-main {
        display: none; /* Hide main nav on tablets/mobile, assuming a burger menu logic would exist separately */
    }

    .head {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .content {
        padding: 1.5rem;
    }

    .btn {
        width: 100%; /* Full width buttons on mobile */
    }

    figure.image a {
        min-height: 150px;
    }
}

@media (max-width: 550px) {
    .hide_550 { display: none !important; }
    
    .head-top-left .bg-blue {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
        height: auto;
    }
    
    .logo a {
        width: 100px; /* Smaller logo */
    }
}
