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

:root {
    /* Color Palette - Dark Casino Theme */
    --bg-dark: #0f0c29;
    --bg-gradient: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    --text-main: #e0e0e0;
    --text-header: #ffffff;
    --accent-gold: #ffd700;
    --primary-red: #ff4b1f;
    --primary-gradient: linear-gradient(to right, #ff4b1f, #ff9068);
    --hover-gradient: linear-gradient(to right, #ff9068, #ff4b1f);
    
    /* Typography */
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Impact', 'Arial Black', sans-serif; /* Bold for casino vibe */
    
    /* Spacing & Sizing */
    --container-width: 1140px;
    --gap-md: 1.5rem;
    --gap-lg: 3rem;
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-full: 50px;
    
    /* Effects */
    --shadow-card: 0 10px 20px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 15px rgba(255, 75, 31, 0.6);
    --transition-fast: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-main);
    background: var(--bg-dark); /* Fallback */
    background: var(--bg-gradient);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* =========================================
   2. Layout Utilities (Grid & Flex)
   ========================================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.row-center {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

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

.table {
    display: table;
    width: 100%;
    height: 100%;
}

.center {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.text-center {
    text-align: center;
}

.pa-0 {
    padding: 0 !important;
}

/* =========================================
   3. Typography
   ========================================= */
h1, h2, h3 {
    color: var(--text-header);
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    margin-bottom: 1.5rem;
}

h1 span {
    color: var(--accent-gold);
    font-size: 0.6em;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--accent-gold);
    margin-top: 2rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 0.5rem;
    display: inline-block;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.text {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

/* =========================================
   4. Components: Header
   ========================================= */
header.bg-casino {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: radial-gradient(circle at center, rgba(48, 43, 99, 0.8) 0%, rgba(15, 12, 41, 0.95) 100%);
    overflow: hidden;
}

/* Background aesthetic element */
header.bg-casino::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 10px),
        repeating-linear-gradient(-45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 10px);
    z-index: -1;
}

/* =========================================
   5. Components: Buttons (Interactive)
   ========================================= */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    user-select: none;
    margin: 1rem 0 2rem 0;
    border: none;
    text-decoration: none;
    z-index: 1;
}

/* Button Hover State */
.button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 25px rgba(255, 75, 31, 0.5);
    background: var(--hover-gradient);
}

.button:active {
    transform: translateY(1px);
    box-shadow: 0 5px 10px rgba(255, 75, 31, 0.4);
}

/* Button Shine Effect Animation */
.button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.button:hover::after {
    left: 100%;
    transition: 0.7s ease-in-out;
}

/* Pulse Animation for main CTA importance */
@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(255, 75, 31, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 75, 31, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 75, 31, 0); }
}

header .button {
    animation: pulse-gold 2s infinite;
    font-size: 1.5rem;
    padding: 1.2rem 4rem;
}

/* =========================================
   6. Content Area
   ========================================= */
section.content {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Images Styling */
.img {
    margin: 2rem 0;
    text-align: center;
    position: relative;
}

img.lazyload {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: transform 0.4s ease, filter 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

img.lazyload:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* Lists Styling */
ul.ul1 {
    list-style: none;
    padding: 1rem 0;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

li.li1 {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

li.li1:hover {
    color: var(--accent-gold);
}

li.li1::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

/* =========================================
   7. Footer
   ========================================= */
footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

/* =========================================
   8. Responsive Design
   ========================================= */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    header.bg-casino {
        min-height: auto;
        padding-top: 6rem;
        padding-bottom: 3rem;
    }

    header .button {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
    }

    h1 span {
        font-size: 0.5em;
    }

    ul.ul1 {
        grid-template-columns: 1fr;
    }
}

/* Accessibility Focus States */
a:focus-visible,
.button:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 4px;
}
