/* =========================================
   MASTER STYLE SHEET - VERSION 5.4
   (Includes: Header, Footer, Premium Results)
   ========================================= */

:root {
    --primary-emerald: #005F3C;
    --primary-dark: #002e1d;
    --bg-beige: #F8F5EC;
    --accent-gold: #C9A227;
    --accent-gold-hover: #b08d1f;
    --text-dark: #333333;
    --white: #ffffff;
    --font-serif: 'Merriweather', serif;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-beige);
    color: var(--text-dark);
    font-family: var(--font-sans);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* --- TYPOGRAPHY --- */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; color: var(--primary-emerald); }
.container { width: 92%; max-width: 1200px; margin: 0 auto; }

/* =========================================
   1. HEADER & NAVIGATION
   ========================================= */
header {
    background: var(--primary-emerald);
    color: #fff;
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-area { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 50px; width: auto; }
.logo-text h1 { color: var(--accent-gold); font-size: 1.5rem; margin: 0; line-height: 1; }
.logo-text span { font-size: 0.75rem; letter-spacing: 1px; color: #eee; }

/* Menu */
nav ul { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; }
nav ul li a { color: #fff; font-weight: 500; font-size: 0.9rem; white-space: nowrap; }
nav ul li a:hover, nav ul li a.active { color: var(--accent-gold); }

/* Payment Button */
.nav-btn-payment {
    background: var(--accent-gold);
    padding: 8px 20px;
    border-radius: 50px;
    color: #fff !important;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: inline-block;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(201, 162, 39, 0); }
    100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0); }
}

/* Mobile Menu */
.menu-toggle { display: none; font-size: 1.8rem; cursor: pointer; color: var(--accent-gold); }
@media (max-width: 1024px) {
    .menu-toggle { display: block; }
    nav ul {
        display: none;
        flex-direction: column;
        background: var(--primary-dark);
        position: absolute;
        top: 100%; left: 0; width: 100%;
        padding: 20px;
        text-align: center;
        gap: 15px;
    }
    nav ul.active { display: flex; }
}

/* =========================================
   2. SCROLLING NOTICE
   ========================================= */
.news-ticker-wrap { background: #222; color: #fff; height: 40px; display: flex; align-items: center; overflow: hidden; }
.ticker-title { background: var(--accent-gold); color: #000; padding: 0 15px; height: 100%; display: flex; align-items: center; font-weight: bold; z-index: 2; }
.ticker-content { white-space: nowrap; animation: ticker 25s linear infinite; padding-left: 100%; color: #eee; }
@keyframes ticker { 100% { transform: translateX(-100%); } }

/* =========================================
   3. PREMIUM RESULT CARD (UPDATED)
   ========================================= */
.page-content { padding: 3rem 0; flex: 1; }
.section-title { text-align: center; margin-bottom: 3rem; }

/* Grid Layout */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive */
    gap: 30px;
    padding-bottom: 3rem;
}

/* Card Container */
.lottery-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: transform 0.3s ease;
}
.lottery-card:hover { transform: translateY(-5px); border-color: var(--accent-gold); }

/* Header */
.lc-header {
    background: var(--primary-emerald);
    color: #fff;
    padding: 10px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Date Section (Updated: Black on White) */
.lc-date-section {
    background: #fff;
    padding: 10px;
    border-bottom: 1px solid #eee;
}
.lc-date {
    font-family: 'Merriweather', serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #000; /* Black Color */
    margin: 0;
}

/* Body & Sections */
.lc-body { padding: 20px 15px; }
.lc-section { margin-bottom: 25px; }
.lc-label {
    font-size: 0.9rem; font-weight: 700; color: #555; 
    text-transform: uppercase; letter-spacing: 1px; 
    display: block; margin-bottom: 10px;
}

/* --- THE CIRCLES (NUMBERS) --- */
.digit-row {
    display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.digit-circle {
    width: 45px; height: 45px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--primary-emerald); /* Green Border */
    color: var(--text-dark);
    font-family: 'Roboto Mono', monospace;
    font-weight: 700; font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Specific Style for Down Number (Gold) */
.down-num .digit-circle {
    border-color: var(--accent-gold);
    color: var(--primary-emerald);
    width: 55px; height: 55px; font-size: 1.6rem; /* Bigger */
}

/* --- SPLIT ROW (3 Digits Side by Side) --- */
.split-row-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 10px;
    background: #f8f9fa;
    padding: 15px 5px;
    border-radius: 8px;
    border: 1px dashed #ccc;
}
.split-col { width: 48%; }
.split-col .digit-circle {
    width: 38px; height: 38px; font-size: 1.1rem; border-width: 2px;
    gap: 4px;
}
.split-col .digit-row { gap: 4px; }

/* Divider */
.lc-divider { height: 1px; background: #eee; margin: 20px auto; width: 80%; }

/* =========================================
   4. FLOATING BUTTONS
   ========================================= */
.floating-support {
    position: fixed; bottom: 20px; right: 20px;
    display: flex; flex-direction: column; gap: 15px; z-index: 9999;
}
.support-btn {
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    background: #fff; border: 2px solid #fff; overflow: hidden;
}
.support-btn img { width: 100%; height: 100%; object-fit: cover; }
.support-btn:hover { transform: scale(1.1); }

/* =========================================
   5. FOOTER
   ========================================= */
footer { background: var(--primary-dark); color: #fff; padding: 3rem 0 1rem 0; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.footer-col h4 { color: var(--accent-gold); margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: #ccc; font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--accent-gold); }
.copyright { text-align: center; border-top: 1px solid #444; padding-top: 1.5rem; margin-top: 2rem; color: #888; font-size: 0.85rem; }