/*
Theme Name: India SEO Betting Theme
Theme URI: https://india-seo-bet.com
Description: High-performance, SEO-optimized theme for betting, casino, and sports booking affiliate sites in India.
Version: 1.0.0
Author: Antigravity
Author URI: https://india-seo-bet.com
License: GNU General Public License v2 or later
Text Domain: india-seo-bet
*/

/* ==========================================================================
   1. CORE DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    --bg-dark: #0b1426;       /* Deep Navy Background */
    --bg-card: #132238;       /* Slate Navy Card/Section Background */
    --bg-card-hover: #1a2d47; /* Slate Navy Hover State */
    --text-light: #ffffff;    /* High contrast text */
    --text-muted: #94a3b8;    /* Slate 400 secondary text */
    --accent-gold: #ffb703;   /* Bright Gold CTA Accent */
    --accent-gold-hover: #ffc83b;
    --accent-green: #00e676;  /* Success Green (UPI, Link verified, online) */
    --accent-red: #ff3366;    /* Cons lists, danger warnings */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(255, 183, 3, 0.3);
    --border-gold-hover: rgba(255, 183, 3, 0.8);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 10px 25px rgba(255, 183, 3, 0.15);
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    background-color: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-gold-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

/* ==========================================================================
   3. LAYOUT & GRID SYSTEM
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex-grow: 1;
    padding: 40px 0;
}

/* 3-Column post card grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   4. HEADER & NAV STYLING
   ========================================================================== */
.site-header {
    background: var(--bg-header, rgba(11, 20, 38, 0.95));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 9999;
    height: 75px;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
}
.header-container .brand-bet-card-widget {
    position: absolute;
    top: 80px;
    right: 20px;
    width: 320px;
    z-index: 99999;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3) !important;
}

.site-branding .logo-text {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.site-branding .logo-text span {
    color: var(--accent-gold);
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-navigation a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 0;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: var(--accent-gold);
}

/* Header CTA Sidebar widget zone container */
.header-cta-zone {
    display: flex;
    align-items: center;
}

/* Hamburger toggle for mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 5px 0;
    transition: var(--transition);
}

/* hamburger toggle state animation */
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-card);
    box-shadow: var(--shadow-md);
    z-index: 10000;
    transition: var(--transition);
    padding: 90px 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-menu-drawer.open {
    right: 0;
}

.mobile-menu-drawer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu-drawer a {
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(11, 20, 38, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-backdrop.open {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 900px) {
    .main-navigation, .header-cta-zone {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
}

/* ==========================================================================
   5. CUSTOM HOMEPAGE WIDGET SECTIONS
   ========================================================================== */
.home-section {
    padding: 70px 0;
}
.home-section:nth-child(even) {
    background-color: var(--bg-card);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    font-family: var(--font-heading);
}

.section-title span {
    color: var(--accent-gold);
}

/* Hero Widget Styling */
.hero-widget {
    text-align: center;
    padding: 60px 0;
    position: relative;
}

.hero-status-wrapper {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.hero-widget h1 {
    font-size: 52px;
    font-weight: 800;
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 1.2;
}

.hero-widget h1 span {
    color: var(--accent-gold);
}

.hero-widget p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

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

@media (max-width: 600px) {
    .hero-widget h1 { font-size: 34px; }
    .hero-btns { flex-direction: column; gap: 12px; }
}

/* Why Choose Us Grid */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-us-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent-gold);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
}

.why-us-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow-md);
}

.why-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.why-us-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.why-us-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .why-us-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
    .why-us-grid { grid-template-columns: 1fr; }
}

/* Game Lobbies Grid */
.games-lobby-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.game-lobby-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.home-section:nth-child(even) .game-lobby-card {
    background: var(--bg-dark);
}

.game-lobby-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-lg);
}

.game-lobby-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.game-lobby-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--accent-gold);
}

.game-lobby-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .games-lobby-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .games-lobby-grid { grid-template-columns: 1fr; }
}

/* Payment Methods Area */
.payments-bar-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.payments-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.payment-badge {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.payment-badge:hover {
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.payment-badge svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.payment-badge.upi { border-color: rgba(0, 230, 118, 0.3); }

/* FAQ Accordion Styling */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.home-section:nth-child(even) .faq-card {
    background: var(--bg-dark);
}

.faq-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    color: var(--accent-gold);
    transition: var(--transition);
}

.faq-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-body {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.faq-card.active .faq-body {
    padding: 0 25px 20px 25px;
    max-height: 300px;
}

.faq-icon::after {
    content: "+";
    font-size: 24px;
    font-weight: 400;
    color: var(--accent-gold);
}

.faq-card.active .faq-icon::after {
    content: "−";
}

/* ==========================================================================
   6. POST CARD GRID (ARCHIVES / CATEGORY)
   ========================================================================== */
.post-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold-hover);
    box-shadow: var(--shadow-lg);
}

.post-card-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    background-color: rgba(255,255,255,0.03);
}

.post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.post-card-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(11, 20, 38, 0.85);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
}

.post-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post-card-cat {
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.post-card-title {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 700;
}

.post-card-title a {
    color: var(--text-light);
}

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

.post-card-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.post-card-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-gold);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
}

.post-card-link svg {
    transition: var(--transition);
}

.post-card:hover .post-card-link svg {
    transform: translateX(4px);
}

/* ==========================================================================
   7. BUTTONS & STYLING TOKENS
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gold) !important;
    color: #000000 !important;
    padding: 14px 32px !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 183, 3, 0.25);
}

.btn-primary:hover {
    background: var(--accent-gold-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 183, 3, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    color: var(--accent-gold) !important;
    padding: 12px 30px !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 16px;
    border: 2px solid var(--accent-gold) !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 183, 3, 0.1) !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   8. SINGLE POSTS / PAGES ARCHITECTURE
   ========================================================================== */
.breadcrumbs {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.breadcrumbs a {
    color: var(--accent-gold);
}

.single-header {
    text-align: center;
    margin-bottom: 40px;
}

.single-category {
    display: inline-block;
    background: rgba(255, 183, 3, 0.1);
    color: var(--accent-gold);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 15px;
}

.single-title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.25;
}

.single-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 14px;
    flex-wrap: wrap;
}

.single-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.single-thumb {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.single-thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 520px;
}

/* Auto generated Table of Contents */
.toc-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 40px;
}

.toc-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.toc-title span {
    font-size: 14px;
    color: var(--accent-gold);
}

.toc-list {
    list-style: none;
    padding-left: 0;
    transition: max-height 0.3s ease-out;
    overflow: hidden;
}

.toc-list.collapsed {
    max-height: 0;
}

.toc-list li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.toc-list a {
    color: var(--text-muted);
    font-size: 15px;
}

.toc-list a:hover {
    color: var(--accent-gold);
}

.toc-list .toc-depth-h2 {
    font-weight: 700;
}

.toc-list .toc-depth-h3 {
    margin-left: 20px;
    font-size: 14px;
}

/* Post Typography (GP System Style) */
.post-body {
    font-size: 17px;
    line-height: 1.85;
    color: var(--text-light);
}

.post-body p {
    margin-bottom: 25px;
}

.post-body h2 {
    font-size: 28px;
    margin: 45px 0 20px;
    border-left: 4px solid var(--accent-gold);
    padding-left: 15px;
}

.post-body h3 {
    font-size: 22px;
    margin: 35px 0 15px;
}

.post-body blockquote {
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid var(--accent-gold);
    padding: 20px 25px;
    margin: 30px 0;
    font-style: italic;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.post-body ul, .post-body ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.post-body li {
    margin-bottom: 8px;
}

.post-body strong {
    color: var(--text-light);
}

/* Custom Table styling inside post contents */
.post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 15px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.post-body th {
    background-color: var(--bg-card) !important;
    color: var(--accent-gold) !important;
    font-weight: 700;
    text-align: left;
    padding: 15px 20px;
    border-bottom: 2px solid var(--border-color);
}

.post-body td {
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.01);
    border-bottom: 1px solid var(--border-color);
}

.post-body tr:hover td {
    background-color: rgba(255, 255, 255, 0.03);
}

@media (max-width: 768px) {
    .post-body table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Review / Affiliate shortcode styling */
.review-box {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.08) 0%, rgba(0, 230, 118, 0.03) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 30px;
    margin: 40px 0;
}

.review-box h3 {
    color: var(--accent-gold);
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

.pros-cons {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.pros, .cons {
    flex: 1;
    background: rgba(11, 20, 38, 0.6);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.pros h4 { color: var(--accent-green); margin-bottom: 12px; font-size: 16px; }
.cons h4 { color: var(--accent-red); margin-bottom: 12px; font-size: 16px; }

.pros ul, .cons ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.pros li::before { content: "✓ "; color: var(--accent-green); font-weight: bold; margin-right: 5px; }
.cons li::before { content: "✕ "; color: var(--accent-red); font-weight: bold; margin-right: 5px; }

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

@media (max-width: 768px) {
    .pros-cons { flex-direction: column; }
    .single-title { font-size: 32px; }
}

/* ==========================================================================
   9. SIDEBARS & BRAND BET WIDGETS
   ========================================================================== */
.sidebar {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
}

.widget {
    margin-bottom: 35px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    font-family: var(--font-heading);
    position: relative;
}

.widget-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-gold);
}

/* Brand Card Widget inside layouts */
.brand-bet-card-widget {
    background: var(--bg-dark);
    border: 2px solid var(--border-gold);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.brand-bet-card-widget:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-lg);
}

.brand-card-logo-wrapper {
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.brand-card-logo-wrapper img {
    max-height: 45px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.brand-card-name {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.brand-card-rating {
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-size: 16px;
}

.brand-card-bonus-box {
    background: rgba(255, 183, 3, 0.08);
    border: 1px dashed var(--accent-gold);
    border-radius: 8px;
    padding: 12px;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.brand-card-highlights {
    list-style: none;
    padding-left: 0;
    text-align: left;
    margin-bottom: 25px;
    font-size: 13px;
    color: var(--text-muted);
}

.brand-card-highlights li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-card-highlights li::before {
    content: "⚡";
}

/* ==========================================================================
   10. FOOTER & STICKY MOBILE CTA
   ========================================================================== */
.site-footer {
    background-color: #050b14;
    color: var(--text-muted);
    padding: 60px 0 30px;
    border-top: 2px solid var(--border-color);
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col-desc { grid-column: span 5; }
.footer-col-nav { grid-column: span 3; }
.footer-col-contact { grid-column: span 4; }

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-col-desc, .footer-col-nav, .footer-col-contact {
        grid-column: span 12;
    }
}

.footer-widget-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

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

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: var(--text-muted);
}

.footer-nav a:hover {
    color: var(--accent-gold);
}

.footer-payments-desc {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-payments-desc h4 {
    font-size: 14px;
    margin-bottom: 12px;
    color: #fff;
}

.footer-payments-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-payment-badge {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

/* Mobile Sticky Footer CTA Banner */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 20, 38, 0.95);
    border-top: 2px solid var(--accent-gold);
    padding: 12px 20px;
    z-index: 9998;
    display: none;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-sticky-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.mobile-sticky-text {
    text-align: left;
}

.mobile-sticky-text h4 {
    font-size: 14px;
    margin-bottom: 2px;
    color: var(--accent-gold);
}

.mobile-sticky-text p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 0;
}

.mobile-sticky-cta .btn-primary {
    padding: 10px 20px !important;
    font-size: 14px;
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
    }
    /* Add padding to body to prevent footer from blocking content */
    body {
        padding-bottom: 75px;
    }
}

/* ==========================================================================
   11. DEFAULT SIDEBAR WIDGETS STYLING
   ========================================================================== */
/* Categories Widget */
.widget_categories ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.widget_categories li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}
.widget_categories li a {
    color: var(--text-light);
    font-weight: 500;
}
.widget_categories li a:hover {
    color: var(--accent-gold);
}
.widget_categories li .post_count,
.widget_categories li .count {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-gold);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid var(--border-color);
}

/* Recent Posts/Entries Widget */
.widget_recent_entries ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.widget_recent_entries li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}
.widget_recent_entries li:last-child {
    border-bottom: none;
}
.widget_recent_entries li a {
    color: var(--text-light) !important;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    display: block;
    margin-bottom: 5px;
}
.widget_recent_entries li a:hover {
    color: var(--accent-gold) !important;
}
.widget_recent_entries .post-date {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
}
