/*
Theme Name: Huaysure Premium Theme
Theme URI: https://huaysure.vip
Description: A premium, highly optimized, and SEO-friendly WordPress Theme for huaysure.vip. Built with mobile-first responsive design, dark gold luxury aesthetics, live lottery results system, and Customizer CTA management.
Version: 1.0.0
Author: Antigravity Team
Author URI: https://huaysure.vip
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: huaysure
*/

/* ==========================================================================
   1. DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
    /* Colors */
    --primary: #061a1d;
    --primary-light: #0b2c31;
    --primary-lighter: #0e3d44;
    --primary-dark: #030d0e;
    --primary-glow: rgba(11, 44, 49, 0.4);
    
    --gold: #ffd700;
    --gold-light: #fbe695;
    --gold-dark: #cca247;
    --gold-gradient: linear-gradient(135deg, #ffd700 0%, #fbe695 50%, #cca247 100%);
    --gold-gradient-hover: linear-gradient(135deg, #fbe695 0%, #ffd700 50%, #b8860b 100%);
    
    --text-main: #ffffff;
    --text-sub: #bfe0e2;
    --text-muted: #6b8c90;
    
    --success: #2ecc71;
    --danger: #e74c3c;
    --warning: #f39c12;
    
    /* Typography */
    --font-sans: 'Kanit', sans-serif;
    --font-heading: 'Mitr', sans-serif;
    
    /* Cards & UI elements */
    --glass-bg: rgba(11, 44, 49, 0.55);
    --glass-border: rgba(230, 200, 117, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --card-radius: 16px;
    
    /* Layout */
    --container-width: 1200px;
}

/* ==========================================================================
   2. RESET & BASE LAYOUT
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background: radial-gradient(circle at top, var(--primary-light) 0%, var(--primary) 60%, var(--primary-dark) 100%);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--primary-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin-bottom: 0.5em;
}

/* Helper Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 16px;
}

.text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 700;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }

/* ==========================================================================
   3. BUTTONS & CTA
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 8px;
    font-size: 0.95rem;
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(204, 162, 71, 0.3);
}

.btn-gold:hover {
    background: var(--gold-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 230, 149, 0.45);
}

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

.btn-outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.btn-teal {
    background: var(--primary-light);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-teal:hover {
    background: var(--primary-lighter);
    border-color: var(--gold-dark);
}

/* ==========================================================================
   4. GLASS CARDS
   ========================================================================== */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 24px;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 40px rgba(11, 44, 49, 0.5), rgba(255, 215, 0, 0.05) 0 4px 20px;
}

/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */
.header-wrapper {
    background: rgba(6, 26, 29, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo {
    font-size: 1.7rem;
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo svg {
    color: var(--gold);
}

.nav-links {
    display: none;
    gap: 20px;
    font-family: var(--font-heading);
}

.nav-link {
    color: var(--text-sub);
    position: relative;
    padding: 8px 0;
    font-size: 0.95rem;
}

.nav-link:hover, .nav-links .current-menu-item a {
    color: var(--gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-gradient);
    border-radius: 99px;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    background: transparent;
    border: none;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-main);
    border-radius: 9px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    height: calc(100vh - 75px);
    background: rgba(6, 26, 29, 0.98);
    backdrop-filter: blur(15px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-overlay.open {
    transform: translateX(0);
}

.mobile-nav-overlay a {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ws-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(46, 204, 113, 0.08);
    border: 1px solid rgba(46, 204, 113, 0.25);
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    color: var(--success);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(46, 204, 113, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

/* ==========================================================================
   6. RESULTS MARQUEE (TICKER)
   ========================================================================== */
.results-ticker {
    background: rgba(3, 13, 14, 0.8);
    border-bottom: 1px solid rgba(230, 200, 117, 0.1);
    overflow: hidden;
    padding: 10px 0;
    width: 100%;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 25px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
}

.ticker-badge {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--gold-dark);
    color: var(--gold-light);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-heading);
}

.ticker-numbers {
    font-weight: 700;
    letter-spacing: 0.05em;
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   7. HERO BANNER
   ========================================================================== */
.hero-banner {
    position: relative;
    padding: 50px 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

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

.hero-subtitle {
    color: var(--gold);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.hero-title {
    font-size: 2.2rem;
    line-height: 1.25;
    margin-bottom: 20px;
}

.hero-description {
    color: var(--text-sub);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image-container {
    display: flex;
    justify-content: center;
}

.hero-image {
    max-width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(11, 44, 49, 0.4);
}

/* ==========================================================================
   8. LOTTERY GRID & COUNTDOWNS
   ========================================================================== */
.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 25px;
    border-left: 4px solid var(--gold);
    padding-left: 12px;
}

.lottery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.lotto-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lotto-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.lotto-title {
    font-size: 1.15rem;
    margin-bottom: 3px;
}

.lotto-category {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.lotto-status {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 99px;
    font-family: var(--font-heading);
}

.status-open {
    background: rgba(46, 204, 113, 0.15);
    color: var(--success);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.status-closed {
    background: rgba(231, 76, 60, 0.15);
    color: var(--danger);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.lotto-time-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.lotto-time-label {
    color: var(--text-sub);
}

.lotto-timer {
    font-weight: 500;
    color: var(--text-main);
}

.lotto-timer.countdown {
    color: var(--danger);
    font-weight: bold;
    animation: pulse-red 1.2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); color: #ff6b6b; }
    100% { transform: scale(1); }
}

.lotto-footer {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.lotto-payout {
    font-size: 0.8rem;
    color: var(--text-sub);
}

.lotto-payout strong {
    color: var(--gold);
    font-size: 0.9rem;
}

/* ==========================================================================
   9. LIVE RESULTS TABLE
   ========================================================================== */
.results-table-container {
    overflow-x: auto;
    border-radius: var(--card-radius);
    border: 1px solid var(--glass-border);
    margin-bottom: 40px;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--glass-bg);
    text-align: left;
}

.results-table th, .results-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.results-table th {
    background: rgba(3, 13, 14, 0.5);
    font-family: var(--font-heading);
    color: var(--gold-light);
    font-weight: 500;
}

.results-table tr:last-child td {
    border-bottom: none;
}

.results-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.result-name-col {
    display: flex;
    flex-direction: column;
}

.result-lotto-name {
    font-family: var(--font-heading);
    font-weight: 500;
}

.result-lotto-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.digit-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: monospace;
    letter-spacing: 0.05em;
    min-width: 70px;
    text-align: center;
}

.digit-pill.gold-pill {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gold-dark);
    color: var(--gold);
}

/* API Update Glow Effect */
.row-updating {
    animation: update-flash 1.5s ease;
}

@keyframes update-flash {
    0% { background-color: rgba(255, 215, 0, 0); }
    30% { background-color: rgba(255, 215, 0, 0.2); }
    100% { background-color: rgba(255, 215, 0, 0); }
}

/* ==========================================================================
   10. SEO BLOG CONTENT & GRID
   ========================================================================== */
.post-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.post-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.post-card:hover {
    border-color: rgba(255, 215, 0, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow);
}

.post-thumbnail {
    aspect-ratio: 16 / 9;
    background: rgba(3, 13, 14, 0.4);
    overflow: hidden;
    position: relative;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-category {
    font-size: 0.75rem;
    color: var(--gold);
    font-family: var(--font-heading);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.post-card-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-card-title a:hover {
    color: var(--gold);
}

.post-excerpt {
    color: var(--text-sub);
    font-size: 0.88rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.post-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
}

/* ==========================================================================
   11. SINGLE POST & READABILITY (single.php)
   ========================================================================== */
.post-layout-wrapper {
    padding: 40px 0;
}

.post-header-area {
    margin-bottom: 30px;
    text-align: center;
}

.single-post-title {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 15px;
}

.post-meta-details {
    display: flex;
    justify-content: center;
    gap: 15px;
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.post-meta-details span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.single-post-thumbnail {
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    margin-bottom: 35px;
    box-shadow: var(--glass-shadow);
}

.post-content-area {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #e2f1f2;
}

.post-content-area p {
    margin-bottom: 1.5rem;
}

.post-content-area h2, .post-content-area h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.post-content-area h2 { font-size: 1.6rem; }
.post-content-area h3 { font-size: 1.3rem; }

.post-content-area ul, .post-content-area ol {
    margin-bottom: 1.5rem;
    margin-left: 20px;
}

.post-content-area blockquote {
    background: rgba(255, 215, 0, 0.05);
    border-left: 4px solid var(--gold);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--gold-light);
}

/* CTA Ads Widget inside Single Post */
.content-cta-banner {
    background: linear-gradient(135deg, rgba(11, 44, 49, 0.9) 0%, rgba(6, 26, 29, 0.95) 1005);
    background: linear-gradient(135deg, rgba(11, 44, 49, 0.9) 0%, rgba(6, 26, 29, 0.95) 100%);
    border: 2px solid var(--gold-dark);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.content-cta-banner::before {
    content: 'ADVERTISEMENT / สปอนเซอร์';
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.cta-banner-title {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.cta-banner-desc {
    color: var(--text-sub);
    font-size: 0.9rem;
    margin-bottom: 18px;
}

/* ==========================================================================
   12. STICKY BOTTOM NAVIGATION BAR FOR MOBILE (footer.php)
   ========================================================================== */
.mobile-nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: rgba(6, 26, 29, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 90;
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-sub);
    font-size: 0.75rem;
    cursor: pointer;
    font-family: var(--font-heading);
    gap: 4px;
    flex: 1;
    text-align: center;
    padding: 8px 0;
    transition: all 0.2s ease;
}

.mobile-nav-item:hover, .mobile-nav-item.active {
    color: var(--gold);
}

.mobile-nav-item svg {
    margin-bottom: -2px;
}

/* Floating Line OA Button */
.line-floating-btn {
    position: fixed;
    bottom: 85px;
    right: 20px;
    background: #06c755;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4);
    z-index: 80;
    transition: transform 0.2s ease;
}

.line-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.6);
}

.line-floating-btn svg {
    width: 28px;
    height: 28px;
}

/* ==========================================================================
   13. FOOTER MAIN
   ========================================================================== */
.footer-main {
    background: #030d0e;
    border-top: 1px solid rgba(230, 200, 117, 0.1);
    padding: 50px 0 100px 0; /* extra padding bottom for mobile sticky bar */
    color: var(--text-sub);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget-title {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 10px;
}

.footer-links-list a {
    font-size: 0.9rem;
}

.footer-links-list a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    font-weight: 500;
}

.pagination .current, .pagination a:hover {
    background: var(--gold-gradient);
    color: var(--primary-dark);
    border-color: var(--gold);
}

/* ==========================================================================
   14. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (min-width: 576px) {
    .lottery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .header-container {
        height: 80px;
    }
    .logo {
        font-size: 1.9rem;
    }
    .menu-toggle {
        display: none;
    }
    .nav-links {
        display: flex;
    }
    .hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 50px;
    }
    .hero-content {
        text-align: left;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-btns {
        justify-content: flex-start;
    }
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-main {
        padding-bottom: 50px; /* standard padding on desktop (no sticky mobile bar needed) */
    }
}

@media (min-width: 992px) {
    .lottery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .post-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .single-post-content-container {
        max-width: 800px;
        margin: 0 auto;
    }
}
