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

:root {
    /* Color Palette - Modern Dark Theme (Betting/Gaming Vibe) */
    --color-bg-body: #0f141f;
    --color-bg-card: #1c2431;
    --color-bg-card-hover: #232d3d;
    
    --color-primary: #3b82f6; /* Modern Blue */
    --color-primary-dark: #2563eb;
    --color-accent: #10b981; /* Success Green */
    --color-accent-glow: rgba(16, 185, 129, 0.4);
    
    --color-text-main: #f3f4f6;
    --color-text-muted: #9ca3af;
    --color-border: #374151;

    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --gradient-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-header: linear-gradient(180deg, rgba(15, 20, 31, 0.9) 0%, #0f141f 100%);

    /* Typography & Spacing */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --spacing-unit: 1rem;
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    
    /* Animation */
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================
   2. Typography
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-main);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    background: linear-gradient(to right, #fff, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

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

h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
}

p {
    margin-bottom: 1.25rem;
    color: var(--color-text-muted);
}

strong {
    color: var(--color-text-main);
}

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

a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* =========================================
   3. Layout Containers
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.col-xs-12 {
    width: 100%;
    flex: 0 0 100%;
}

/* =========================================
   4. Header & Top Bar
   ========================================= */
.line-menu-mobile {
    padding: 1rem 0;
    background: rgba(28, 36, 49, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 2rem;
}

.line-menu-mobile .row-center {
    justify-content: flex-end; /* Align login/reg to right */
    gap: 1rem;
}

.landing-header-right-login,
.landing-header-right-reg {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.landing-header-right-login {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
}

.landing-header-right-login:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-text-main);
}

.landing-header-right-reg {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.landing-header-right-reg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* Hero Section */
.header-box {
    position: relative;
    padding: 4rem 1rem;
    background: radial-gradient(circle at center, #1e293b 0%, var(--color-bg-body) 70%);
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
    overflow: hidden;
}

.header-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.header-box .ctr {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.text-head {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Promo Code Styling */
.promo {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-primary);
    padding: 0.2rem 0.75rem;
    border: 1px dashed var(--color-primary);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-family: monospace;
    font-size: 1.2em;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
}

.promo:hover {
    background: var(--color-primary);
    color: #fff;
    border-style: solid;
}

.promo::after {
    content: 'Click to copy';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    background: #000;
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.promo:hover::after {
    opacity: 1;
}

/* =========================================
   5. Components (Buttons, Images, Tables)
   ========================================= */

/* Main Buttons */
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy effect */
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 1.5rem 0;
    user-select: none;
}

.button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6);
    filter: brightness(1.1);
}

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

.inform-promo {
    font-size: 0.9rem;
    color: var(--color-accent);
    margin-top: -0.5rem;
    opacity: 0.8;
}

/* Images */
.img {
    margin: 2rem 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.4s ease;
}

.img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.img:hover {
    transform: translateY(-5px);
}

.img:hover img {
    transform: scale(1.03);
}

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

li {
    margin-bottom: 0.75rem;
    color: var(--color-text-muted);
    position: relative;
    list-style: none; /* Custom bullet override */
    padding-left: 1.5rem;
}

ul li::before {
    content: '•';
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.25rem;
}

ol li {
    counter-increment: list-counter;
}

ol li::before {
    content: counter(list-counter) ".";
    color: var(--color-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Tables */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

thead th {
    background: var(--color-bg-card-hover);
    color: var(--color-primary);
    font-weight: 700;
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid var(--color-border);
}

tbody td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

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

/* =========================================
   6. Forms (Generic Styles based on prompt req)
   ========================================= */
input, select, textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-main);
    font-family: inherit;
    margin-bottom: 1rem;
    transition: var(--transition-base);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* =========================================
   7. Content Formatting (Article)
   ========================================= */
.content {
    background: var(--color-bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    margin-bottom: 4rem;
}

/* Quote-like blocks for specific text chunks */
.content p:has(strong) {
    background: rgba(255,255,255,0.03);
    padding: 1rem;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-accent);
}

/* =========================================
   8. Animation Keyframes
   ========================================= */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.content > * {
    animation: fadeIn 0.6s ease-out forwards;
}

/* =========================================
   9. Media Queries (Responsiveness)
   ========================================= */
@media (max-width: 768px) {
    .content {
        padding: 1.5rem;
    }
    
    .line-menu-mobile .row-center {
        justify-content: center;
    }
    
    .header-box {
        padding: 2rem 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .button {
        width: 100%;
        padding: 1rem;
    }
}
