/* --- ELEVATED MODERN UI --- */
:root {
    --bg-grad: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --surface: rgba(255, 255, 255, 0.9);
    --surface-solid: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-glow: rgba(79, 70, 229, 0.2);
    --accent-hot: #ef4444;
    --accent-cold: #0ea5e9;
    --accent-gold: #f59e0b;
    --success: #10b981;
    --border: rgba(203, 213, 225, 0.6);
    --radius-lg: 20px;
    --radius-md: 12px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: #fbfbfb;
    color: var(--text-main);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

section.hero p {
    text-align: left !important;
}


.strategy-list {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
    border-left: 2px solid #e2e8f0;
    font-family: 'Inter', system-ui, sans-serif;
}

.strategy-item {
    padding: 8px 0 8px 24px;
    margin-bottom: 8px;
    color: #475569;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.strategy-item::before {
    content: "";
    position: absolute;
    left: -2px; /* Overlaps the track */
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #2563eb;
    transform: scaleY(0);
    transition: transform 0.2s ease;
    transform-origin: bottom;
}

.strategy-item:hover {
    color: #2563eb;
    font-weight: 600;
}

.strategy-item:hover::before {
    transform: scaleY(1);
}

/* The Grid Container */
.strategy-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 32px;
}

/* Individual Card Styling */
.strategy-info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover Effect: Gentle lift */
.strategy-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}

/* Card Headings */
.strategy-info-card h3 {
    font-size: 1.2rem;
    color: #0f172a;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px; /* Space between emoji and text */
}

/* Card Text */
.strategy-info-card p {
    margin: 0;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Thematic Top Borders for each card */
.hot-card { border-top: 4px solid #ef4444; }      /* Red */
.cold-card { border-top: 4px solid #3b82f6; }     /* Blue */
.balanced-card { border-top: 4px solid #10b981; } /* Green */

/* Mobile Responsiveness: Stacks cards on smaller screens */
@media (max-width: 768px) {
    .strategy-cards-container {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}


.latest-price-link a {
    text-transform: capitalize !important;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
main { flex: 1; padding-top: 1px; padding-bottom: 80px; }

main.container {
    /* Light SVG Dot Grid Background for main wrapper */
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.5' fill='%234f46e5' fill-opacity='0.05'/%3E%3C/svg%3E");
    border-radius: var(--radius-lg);
}

/* --- MODERN UI FOR RAW HTML LIST --- */
.explanation-box ul {
    list-style: none; /* Removes standard bullets */
    padding: 0;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px; /* Spacing between the items */
}

header.hub-header {
    padding: 7px;
}

section.hero h1 {
    text-align: left !important;
}

header.hub-header {
    position: unset !important;
    z-index: unset !important;
    position: unset !important;
}

.explanation-box ul li {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #3b82f6; /* Modern blue accent line */
    border-radius: 12px;
    padding: 20px 24px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Optional: Make the second list item a different accent color (Gold/Orange) */
.explanation-box ul li:nth-child(2) {
    border-left-color: #f59e0b; 
}

.explanation-box ul li:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    transform: translateY(-3px); /* Slight lift on hover */
}

aside.lotto-sidebar {
    top: 0px !important;
}

header {
  position: unset !important;
  z-index: unset !important;
}

.footer-brand strong {
    margin-bottom: 18px !important;
    display: block;
}

/* Turns your <strong> tag into a modern Card Header */
.explanation-box ul li strong {
    display: block; /* Forces it onto its own line */
    font-size: 1.15rem;
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 8px; /* Adds space between the bold title and the text */
}


/* --- MODERN UI FOR RAW HTML LISTS --- */
.seo-content-box ul {
    list-style: none; /* Removes standard bullets */
    padding: 0;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px; /* Spacing between the items */
}

.seo-content-box ul li {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #3b82f6; /* Modern Blue accent for the 1st item */
    border-radius: 12px;
    padding: 20px 24px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.seo-content-box ul {
    padding-left: 0px !important;
}

/* Item 2: Gold/Orange accent */
.seo-content-box ul li:nth-child(2) {
    border-left-color: #f59e0b; 
}

/* Item 3: Red accent for "Hot Pool" */
.seo-content-box ul li:nth-child(3) {
    border-left-color: #ef4444; 
}

.seo-content-box ul li:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    transform: translateY(-3px); /* Slight lift on hover */
}

/* Turns your <strong> tag into a modern Card Header */
.seo-content-box ul li strong {
    display: block; /* Forces it onto its own line */
    font-size: 1.15rem;
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 8px; /* Adds space between the bold title and the text */
}

form.history-search-form {
    border-radius: 31px;
    background: #f1f5f9 !important;
}

.container.footer-bottom {
    padding-top: 13px !important;
}

.history-search-form {
    gap: 6px !important;}

.table-controls .records-count {
    padding: 8px 4px !important;}

/* --- LAST UPDATED BADGE --- */
.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    background: #f8fafc; /* Very subtle grey/blue background */
    padding: 6px 16px;
    border-radius: 20px; /* Pill shape */
    border: 1px solid var(--border);
    margin-bottom: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.container.footer-bottom a {
    text-decoration: underline;
}

p {
    padding: 0 0 14px;
}

a {
    color: #5743e5;
}

article.page-header {
    border-bottom: 1px solid #ededed;
}

/* Creates the pulsing green dot */
.last-updated::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background-color: var(--success); /* Uses your existing green variable */
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

/* The pulse animation keyframes */
@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* --- FAQ ACCORDION STYLES --- */
.faq-section {
    margin-top: 48px;
}

.lotto-ball.pb-ball.cold {
    color: #fff !important;
}

.lotto-ball.pb-ball.hot {
    color: #ffffff !important;
}
.faq-section h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}
.faq-section h3::before {
    content: ''; display: inline-block; width: 4px; height: 22px;
    background: linear-gradient(180deg, var(--primary), #9333ea); border-radius: 4px;
}
.faq-item {
    background: var(--surface-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.faq-item:hover { border-color: #cbd5e1; }
.faq-item summary {
    padding: 18px 24px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    transition: background 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; /* Hides default triangle */ }
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 400;
    transition: transform 0.3s ease;
    line-height: 1;
}
.faq-item[open] summary {
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}
.faq-item[open] summary::after {
    transform: rotate(45deg); /* Turns the + into an x */
    color: var(--accent-hot);
}
.faq-item p {
    padding: 18px 24px;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* SEO Pagination Block Container */
.seo-rich-content-pagination {
    background-color: #f8fafc; /* Very light, clean background */
    border-left: 5px solid #2563eb; /* Blue accent line to draw the eye */
    padding: 25px 30px;
    margin: 40px 0; /* Creates breathing room above and below */
    border-radius: 0 8px 8px 0; /* Rounds the right corners, keeps left flat against border */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Very subtle depth */
    font-family: Arial, Helvetica, sans-serif; /* Fallback safe web fonts */
}

/* Heading Styling */
.seo-rich-content-pagination h1 {
    font-size: 44px;
    font-weight: bold;
    color: #1e293b; /* Dark slate (softer than pure black) */
    margin-top: 0;
    margin-bottom: 12px;
    line-height: 1.3;
}

/* Paragraph Styling */
.seo-rich-content-pagination p {
    font-size: 16px;
    color: #475569; /* Medium gray for comfortable reading */
    line-height: 1.6; /* Increased line-height makes dense SEO text easier to scan */
    margin: 0; /* Removes default paragraph margin at the bottom */
}

/* Emphasize SEO Keywords */
.seo-rich-content-pagination strong {
    color: #0f172a; /* Almost black to make keywords pop */
    font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .seo-rich-content-pagination {
        padding: 15px 20px;
        margin: 25px 0;
    }
    .seo-rich-content-pagination h1 {
        font-size: 20px;
    }
    .seo-rich-content-pagination p {
        font-size: 15px;
    }
}


/* --- RELATED LINKS COMPONENT --- */
.related-links {
    margin-top: 32px;
    background: var(--surface-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.related-links h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Adds the matching gradient accent bar to the sub-heading */
.related-links h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, var(--primary), #9333ea);
    border-radius: 4px;
}

.related-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Styles the links as sleek, clickable blocks */
.related-links li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: #f8fafc;
    border-radius: 8px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

/* Automatically adds a sleek arrow to the right side of the link */
.related-links li a::after {
    content: '→';
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

/* Hover State: Highlights the border, changes text color, and pushes the arrow to the right */
.related-links li a:hover {
    background: #ffffff;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.related-links li a:hover::after {
    color: var(--primary);
    transform: translateX(4px);
}

.breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
    font-size: 14px;
}

.breadcrumb li::after {
    content: "›";
    margin: 0 6px;
    color: #aaa;
}

.breadcrumb li:last-child::after {
    content: "";
}

.breadcrumb a {
    color: #6b7280;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #111827;
    font-weight: 500;
}

/* --- NAVIGATION STYLES --- */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 0;
    border-bottom: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.nav-wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.logo { font-size: 1.5rem; font-weight: 800; background: linear-gradient(90deg, var(--primary), #9333ea); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -0.5px; }
.main-nav { margin: 0 auto; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); transition: var(--transition); padding: 4px 0; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0%; height: 2px; background: linear-gradient(90deg, var(--primary), #9333ea); transition: var(--transition); border-radius: 2px; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.btn-nav {
    background: var(--primary); color: white; padding: 8px 20px; border-radius: 20px; 
    font-size: 0.9rem; font-weight: 700; transition: var(--transition);
    box-shadow: 0 4px 10px var(--primary-glow); display: inline-block;
}
.btn-nav:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 15px var(--primary-glow); color: white; }

@media (max-width: 768px) {
    .main-nav { order: 3; width: 100%; display: flex; justify-content: center; overflow-x: auto; padding-top: 8px; }
    .nav-links { gap: 20px; }
}
@media (max-width: 480px) { .nav-actions { display: none; } }

/* --- PAGE HEADERS & HERO --- */
.page-header { text-align: center; margin-bottom: 48px; }
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.5px;}
article.page-header h1 { margin-top: 42px !important; }
.page-header p { color: var(--text-muted); font-size: 1.15rem; max-width: 100% !important; margin: 0 auto; }

.hero { padding: 48px 0 32px; text-align: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3rem); letter-spacing: -1.2px; margin-bottom: 16px; color: #1e293b; font-weight: 800; line-height: 1.1;}
.hero p { color: var(--text-muted); font-size: 1.15rem; max-width: 1200px; margin: 0 auto 0px; }

/* --- HOMEPAGE GRIDS & CARDS --- */
.grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; margin-bottom: 40px; }
@media (max-width: 960px) { .grid { grid-template-columns: 1fr; } }

.card {
    background: var(--surface); backdrop-filter: blur(16px);
    border-radius: var(--radius-lg); padding: 28px;
    box-shadow: var(--shadow-md); border: 1px solid var(--border);
}

.intro-text { background: var(--surface-solid); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 32px; box-shadow: var(--shadow-md); }
.intro-text h2 { font-size: 1.6rem; margin-bottom: 12px; }
.intro-text p { font-size: 1.05rem; color: var(--text-main); }

/* --- TABS & DROPDOWNS (Homepage) --- */
.tabs-wrapper { position: relative; margin-bottom: 28px; }
.tabs {
    display: flex; gap: 8px; background: rgba(0, 0, 0, 0.03); padding: 6px;
    border-radius: var(--radius-md); flex-wrap: wrap;
    position: relative; z-index: 20; border: 1px solid var(--border);
}
.tab-btn {
    flex: 0 0 auto; padding: 12px 24px; border-radius: 8px; font-size: 1rem;
    font-weight: 600; color: var(--text-muted); background: transparent;
    border: none; cursor: pointer; transition: var(--transition);
}
.tab-btn:hover:not(.active) { color: var(--text-main); background: rgba(255,255,255,0.6); }
.tab-btn.active { background: var(--surface-solid); color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-1px); }

.tab-content { display: none; animation: fadeIn 0.3s ease forwards; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.dropdown-wrapper { position: relative; display: inline-block; }
.dropdown-content {
    display: none; position: absolute; top: 100%; left: 0;
    background-color: var(--surface-solid); min-width: 180px;
    box-shadow: var(--shadow-lg); border-radius: var(--radius-md);
    border: 1px solid var(--border); z-index: 1000; padding: 8px;
    flex-direction: column; gap: 4px; margin-top: 0px;
}
.dropdown-wrapper:hover .dropdown-content { display: flex; animation: fadeInDropdown 0.2s ease forwards; }
.dropdown-btn {
    width: 100%; text-align: left; padding: 12px 20px; border-radius: 6px;
    font-size: 0.95rem; font-weight: 600; color: var(--text-muted);
    background: transparent; border: none; cursor: pointer; transition: var(--transition);
}
.dropdown-btn:hover { background: var(--bg-grad); color: var(--text-main); }
.dropdown-btn.active { background: var(--primary-glow); color: var(--primary); }
@keyframes fadeInDropdown { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

h2.pw-hp { border-top: 1px solid #e0e6ed; }

/* --- JACKPOT & DRAW INFO (Homepage) --- */
.draw-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.draw-date { color: var(--text-muted); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.status-dot { width: 10px; height: 10px; background: var(--success); border-radius: 50%; box-shadow: 0 0 10px var(--success); }

.jackpot-container {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(147, 51, 234, 0.03) 100%);
    padding: 28px; border-radius: var(--radius-md); border: 1px solid var(--primary-glow); margin-bottom: 28px; text-align: center;
}
.jackpot-label { display: block; font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; }
.jackpot-display { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; color: var(--primary); letter-spacing: -1.8px; line-height: 1; }

/* --- LOTTERY BALLS (Universal) --- */
.balls-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; justify-content: center; }
.ball, li.ball {
    width: clamp(52px, 8vw, 66px); height: clamp(52px, 8vw, 66px);
    display: flex; justify-content: center; align-items: center;
    border-radius: 50%; font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 700;
    border: 2px solid #d1d5db; color: #1e293b;
    box-shadow: inset -2px -2px 5px rgba(0,0,0,0.05), 2px 4px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg width='28' height='49' viewBox='0 0 28 49' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%234f46e5' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cg fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.ball:hover { transform: translateY(-4px) scale(1.05); }
.ball.bonus { background: radial-gradient(circle at 30% 30%, #fbbf24 0%, #d97706 100%); border: none; color: white; box-shadow: 0 6px 15px rgba(217, 119, 6, 0.3); }

/* --- HOMEPAGE ADVANCED STATS --- */
.advanced-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 28px; border-top: 1px dashed var(--border); }
.stat-box { background: rgba(255,255,255,0.6); padding: 20px; border-radius: var(--radius-md); text-align: center; border: 1px solid var(--border); transition: var(--transition); }
.stat-box:hover { background: var(--surface-solid); box-shadow: var(--shadow-sm); }
.stat-lbl, .stat-box .fin-lbl { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 6px; display: block;}
.stat-val, .stat-box strong { font-size: 1.6rem; font-weight: 800; color: var(--text-main); display: block; margin-top: 8px;}

.analytics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; margin-bottom: 40px;}
@media(max-width: 600px) { .analytics-grid { grid-template-columns: 1fr; } }

/* --- SIDEBAR & HOT/COLD WIDGETS --- */
aside > .card:first-of-type {
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg width='28' height='49' viewBox='0 0 28 49' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%234f46e5' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cg fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.sidebar-header h2 { font-size: 1.35rem; font-weight: 800; }
.dynamic-game-label { font-size: 0.85rem; background: var(--primary-glow); color: var(--primary); padding: 4px 14px; border-radius: 20px; font-weight: 700; }
.utility-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--border); }
.utility-row:last-child { border-bottom: none; }
.utility-label { font-weight: 600; color: var(--text-main); font-size: 1rem; }

.mini-balls { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end;}
.mini-ball { width: 34px; height: 34px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 0.9rem; font-weight: 700; color: white; box-shadow: 0 2px 4px rgba(0,0,0,0.1);}
.mini-ball.hot { background: linear-gradient(135deg, #f87171, #ef4444); }
.mini-ball.cold { background: linear-gradient(135deg, #38bdf8, #0ea5e9); }
.pair-badge { background: var(--surface-solid); border: 1px solid var(--border); padding: 7px 14px; border-radius: 20px; font-size: 0.9rem; font-weight: 700; color: var(--text-main); box-shadow: var(--shadow-sm);}

/* --- GENERATOR BOX --- */
.generator-box { 
    margin-top: 24px; padding: 36px 28px; 
    background-color: #0f172a;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 6px), linear-gradient(to bottom right, #0f172a, #020617);
    color: white; border-radius: var(--radius-lg); text-align: center; 
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.5); border: 1px solid #334155; 
    position: relative; overflow: hidden; 
}
.generator-box::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(245,158,11,0.05) 0%, transparent 60%); pointer-events: none; }
.generator-box h3 { margin-bottom: 10px; font-weight: 800; font-size: 1.6rem; }
.gen-desc { font-size: 0.95rem; color: #94a3b8; margin-bottom: 28px; line-height: 1.5; }
.gen-desc span { color: white; font-weight: 700; }
.gen-result { font-size: 1.85rem; font-weight: 800; margin: 28px 0; color: var(--accent-gold); min-height: 52px; display: flex; justify-content: center; align-items: center; gap: 12px; font-variant-numeric: tabular-nums; }
.gen-ball { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.25); color: white; font-size: 1.1rem; }
.gen-ball.bonus-pick { border-color: var(--accent-gold); color: var(--accent-gold); background: rgba(245, 158, 11, 0.12); }

/* --- BUTTONS & ANIMATIONS --- */
.btn { display: inline-flex; justify-content: center; align-items: center; width: 100%; padding: 16px 28px; background: var(--primary); color: white; border: none; border-radius: var(--radius-md); font-size: 1.05rem; font-weight: 600; cursor: pointer; transition: var(--transition); box-shadow: 0 4px 15px var(--primary-glow); }
.btn:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 20px var(--primary-glow); }
.btn:active { transform: translateY(0); }

.btn-outline { background: transparent; border: 2px solid var(--border); color: var(--text-main); box-shadow: none; margin-top: 28px; }
.btn-outline:hover { background: var(--surface-solid); border-color: var(--primary); color: var(--primary); }

a.btn.btn-outline { background: #111729 !important; color: #fff !important; }
a.btn.btn-gold { color: #fff; border: 2px solid #10b981; }

@keyframes breathe {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3); }
    50% { transform: scale(1.03); box-shadow: 0 10px 25px rgba(245, 158, 11, 0.6); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3); }
}

.btn-gold { 
    background: var(--accent-gold); color: #ffffff; 
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3); 
    animation: breathe 2.5s infinite ease-in-out; 
}
.btn-gold:hover { 
    background: #f5a623; animation-play-state: paused; 
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
}

.btn-sm-outline { display: inline-block; padding: 10px 3px; border: 2px solid #cbd5e1; border-radius: 8px; font-size: 0.85rem; font-weight: 700; color: var(--text-main); transition: var(--transition); white-space: nowrap; text-align: center; }
.btn-sm-outline:hover { background: var(--primary-glow); border-color: var(--primary); color: var(--primary); }

/* --- HISTORY PAGE TABLES --- */
.table-card { background: var(--surface-solid); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--border); padding: 8px; }
.table-controls { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 24px; }
.table-controls h2 { font-size: 1.25rem; font-weight: 800; color: var(--text-main); }
.table-controls .records-count { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; background: #f1f5f9; padding: 6px 12px; border-radius: 20px;}

.table-responsive { width: 100%; overflow-x: auto; border-radius: var(--radius-md); border: 1px solid #e2e8f0; }
.pro-table { width: 100%; border-collapse: collapse; text-align: left; background: #ffffff; }
.pro-table th { background: #0f172a; color: #ffffff; padding: 18px 24px; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.8px; white-space: nowrap; }
.pro-table td { padding: 20px 24px; border-bottom: 1px solid #e2e8f0; vertical-align: middle; color: var(--text-main); font-size: 0.95rem; }
.pro-table tbody tr { transition: var(--transition); }
.pro-table tbody tr:hover { background-color: #f8fafc; }
.pro-table tbody tr:last-child td { border-bottom: none; }

.td-date { font-weight: 600; white-space: nowrap; display: flex; flex-direction: column; gap: 4px;}
.td-date .day-badge { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); font-weight: 800; }
.td-jackpot, .td-winners { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.td-winners { color: var(--text-muted); }

.table-balls-wrap { display: flex; gap: 8px; }
.table-ball {
    width: 38px; height: 38px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-weight: 800; font-size: 1rem; border: 2px solid var(--primary); 
    color: var(--primary); background: var(--surface-solid); box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.pagination-container { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.page-btn { min-width: 40px; height: 40px; padding: 0 12px; display: flex; justify-content: center; align-items: center; border-radius: 8px; font-weight: 600; font-size: 0.95rem; border: 1px solid var(--border); background: #ffffff; color: var(--text-main); cursor: pointer; transition: var(--transition); }
.page-btn:hover:not(.active):not(.disabled) { background: #f1f5f9; color: var(--primary); border-color: var(--primary);}
.page-btn.active { background: var(--primary); color: #ffffff; border-color: var(--primary); cursor: default;}
.page-btn.disabled { opacity: 0.5; cursor: not-allowed; border: none; background: transparent;}

/* --- DETAILS PAGE COMPONENTS --- */
.detail-card { 
    background: var(--surface-solid); border-radius: var(--radius-lg); padding: 48px; 
    box-shadow: var(--shadow-md); border: 1px solid var(--border); text-align: center; 
    max-width: 1000px; margin: 0 auto 32px; 
}
.detail-card h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; }
.date-badge { display: inline-block; background: var(--primary-glow); color: var(--primary); padding: 6px 16px; border-radius: 20px; font-weight: 700; font-size: 0.95rem; margin-bottom: 32px; }
.draw-number-tag { font-size: 1.1rem; color: var(--text-muted); font-weight: 600; margin-bottom: 20px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text-muted); margin-bottom: 24px; transition: var(--transition); }
.back-link:hover { color: var(--primary); }

.card-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start;
    margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--border); text-align: left;
}
.section-title { font-size: 1.3rem; font-weight: 800; color: var(--text-main); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.section-title::before { content: ''; display: inline-block; width: 5px; height: 22px; background: linear-gradient(180deg, var(--primary), #9333ea); border-radius: 4px; }

.data-table {
    width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface-solid);
    border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 24px;
}
.data-table th { background: #f8fafc; color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.8px; padding: 16px 24px; text-align: left; font-weight: 800; border-bottom: 2px solid var(--border); }
.data-table td { padding: 16px 24px; border-bottom: 1px solid #f1f5f9; font-size: 0.95rem; font-weight: 600; color: var(--text-main); transition: var(--transition); }
.data-table tbody tr:hover td { background-color: #f8fafc; }
.data-table tr:last-child td { border-bottom: none; }
.data-table .num-col { text-align: right; font-variant-numeric: tabular-nums; }
.data-table tbody tr td:first-child { color: var(--text-muted); font-weight: 700; }
@media(max-width: 768px) { .card-grid { grid-template-columns: 1fr; gap: 24px; } }

/* --- FEATURES GRID --- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 40px; }
.feature-card { 
    text-align: center; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 32px 24px; 
    background-color: #ffffff; background-image: url("data:image/svg+xml,%3Csvg width='28' height='49' viewBox='0 0 28 49' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%234f46e5' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cg fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); 
}
.feature-icon { font-size: 2.8rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--text-main); font-weight: 800; line-height: 1.3; }
.feature-card p { font-size: 0.95rem; color: var(--text-muted); flex-grow: 1; margin-bottom: 20px; line-height: 1.6; }
@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

/* --- ERROR 404 STATE --- */
.error-state { text-align: center; padding: 80px 20px; }
.error-state h1 { font-size: 3rem; color: var(--primary); margin-bottom: 16px; }

/* --- MODERN FOOTER --- */
footer.modern-footer {
    margin-top: 60px; padding: 52px 28px 28px; 
    background-color: #0f172a;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 6px), linear-gradient(to bottom right, #0f172a, #020617);
    color: white; text-align: left; 
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.2); border-top: 1px solid #334155; 
}
footer.modern-footer p, footer.modern-footer a { color: #fff; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; margin-bottom: 40px; }
.footer-brand h3 { font-size: 1.6rem; background: linear-gradient(90deg, var(--primary), #9333ea); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800; margin-bottom: 12px; }
.footer-brand p { color: #cbd5e1; font-size: 1rem; max-width: 340px; line-height: 1.6; }
.footer-links-wrap { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { color: #f8fafc; font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.footer-col a { color: #94a3b8 !important; font-size: 0.95rem; font-weight: 500; transition: var(--transition); text-decoration: none !important;}
.footer-col a:hover { color: var(--primary) !important; transform: translateX(2px); }
.footer-bottom { text-align: center; padding-top: 28px; border-top: 1px solid #334155; color: #94a3b8; font-size: 0.9rem; font-weight: 500; }
.container.footer-bottom { color: #fff !important; font-style: italic; }


.breadcrumbs {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 20px;
            font-size: 0.85rem;
            color: var(--text-muted);
        }
        .breadcrumbs a {
            color: var(--text-muted);
            text-decoration: none;
            transition: color 0.2s;
        }
        .breadcrumbs a:hover {
            color: var(--primary);
        }
        .breadcrumbs span.separator {
            color: #cbd5e1;
        }
        .breadcrumbs span.current {
            color: var(--text-main);
            font-weight: 600;
        }
        
        /* --- DETAILS PAGE SPECIFIC STYLES --- */
        
        /* 1. Page Layout Grid */
        .layout-with-sidebar {
            display: grid;
            /* CHANGED: 1fr (content) comes first, 280px (sidebar) comes second */
            grid-template-columns: 1fr 280px; 
            gap: 7px !important;
            align-items: start;
        }

        /* 2. Modern Sidebar Styles */
        .lotto-sidebar {
            position: sticky;
            top: 100px; /* Sticks to the screen as user scrolls down */
            z-index: 10;
        }

        .sidebar-menu {
            background: #ffffff;
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-md);
            border: 1px solid var(--border);
        }

        .sidebar-menu-header {
            background: linear-gradient(135deg, var(--primary), #9333ea);
            color: #ffffff;
            padding: 20px 24px;
            font-weight: 800;
            font-size: 1.1rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .sidebar-links {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .sidebar-links li {
            border-bottom: 1px solid #f1f5f9;
        }

        .sidebar-links li:last-child {
            border-bottom: none;
        }

        .sidebar-links a {
            display: flex;
            align-items: center;
            padding: 16px 24px;
            color: var(--text-muted);
            font-weight: 600;
            font-size: 0.95rem;
            border-left: 4px solid transparent; 
            transition: all 0.2s ease;
            background: #ffffff;
        }

        .sidebar-links a:hover {
            background: #f8fafc;
            color: var(--text-main);
            border-left-color: #cbd5e1; 
        }

        .sidebar-links a.active {
            background: #f8fafc;
            color: var(--primary);
            border-left-color: var(--primary); 
            font-weight: 800;
        }

        .sidebar-links a.highlight {
            color: #d97706;
            font-weight: 700;
        }
        
        .sidebar-links a.highlight:hover {
            border-left-color: #d97706;
        }

        /* 3. SEO Cards Styles */
        .seo-article { margin-top: 56px; max-width: 1000px; margin-left: auto; margin-right: auto; }
        .seo-card { background: #ffffff; border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition); }
        .seo-card:hover { box-shadow: var(--shadow-md); }
        
        .highlight-list { list-style: none; padding: 0; margin: 0; }
        .highlight-list li { padding: 14px 0; border-bottom: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: center; font-size: 0.95rem; }
        .highlight-list li:last-child { border-bottom: none; padding-bottom: 0; }
        .highlight-list strong { color: var(--text-main); font-weight: 700; }
        
        /* 4. Mobile Responsiveness */
        @media(max-width: 1024px) {
            .layout-with-sidebar {
                grid-template-columns: 1fr; /* Stacks layout on single column for mobile */
            }
            .lotto-sidebar {
                position: relative;
                top: 0;
            }
        }
        
        @media(max-width: 600px) {
            .highlight-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
        }
        
        nav.breadcrumbs {
    border-bottom: 1px solid #f5f5f5;
}

.freshness-badge {
    margin-bottom: 17px;
}

.modern-disclaimer {
    border-left: 2px solid #4f46e5 !important;
}

/* --- MODERN INTERNAL LINKS (PILL STYLE) --- */
.modern-internal-links {
    margin-top: 40px;
    margin-bottom: 32px;
    background: #ffffff;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--border, #e2e8f0);
}

.modern-internal-links h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    margin-top: 0;
    margin-bottom: 20px;
}

.modern-internal-links .nav-pills {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap; /* Allows pills to flow to the next line naturally */
    gap: 12px;
}

.modern-internal-links .nav-pills li {
    margin: 0;
}

.modern-internal-links .nav-pills a {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    color: var(--text-main, #334155);
    text-decoration: none;
    padding: 12px 8px;
    border-radius: 999px; /* Gives the perfect pill shape */
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.modern-internal-links .nav-pills a svg {
    width: 16px;
    height: 16px;
    margin-left: 10px;
    color: var(--primary, #2563eb);
    transition: transform 0.2s ease;
}

/* Hover State */
.modern-internal-links .nav-pills a:hover {
    background: var(--primary, #2563eb);
    color: #ffffff;
    border-color: var(--primary, #2563eb);
    box-shadow: 0 4px 10px -2px rgba(37, 99, 235, 0.25);
}

.modern-internal-links .nav-pills a:hover svg {
    color: #ffffff;
    transform: translateX(4px); /* Arrow slides slightly to the right */
}

/* Mobile Adjustments */
@media(max-width: 768px) {
    .modern-internal-links {
        padding: 24px;
    }
    .modern-internal-links .nav-pills a {
        width: 100%; /* Makes buttons full-width on mobile for easier tapping */
        justify-content: space-between;
    }
}

.related-card{
text-align: center; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 32px 24px; 
    background-color: #ffffff; background-image: url("data:image/svg+xml,%3Csvg width='28' height='49' viewBox='0 0 28 49' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%234f46e5' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cg fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") !important; 
}


.seo-card {
    /* 1. Solid base color */
    background-color: #ffffff;
    
    /* 2. Modern subtle dot-grid SVG background */
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.5' fill='%2364748b' fill-opacity='0.06'/%3E%3C/svg%3E");
    background-position: center top;
    
    border-radius: 12px;
    padding: 32px 28px;
    border: 1px solid var(--border, #e2e8f0);
    border-top: 4px solid var(--primary, #2563eb); 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.seo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* Slightly darkens the dot pattern on hover for a nice interactive feel */
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.5' fill='%2364748b' fill-opacity='0.12'/%3E%3C/svg%3E");
}

section.seo-rich-content-pagination {
    margin-top: 0px;
}


.toc-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 32px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}
.toc-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toc-list li {
    position: relative;
    padding-left: 20px;
}
/* Adds a custom arrow instead of standard bullets */
.toc-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-gold, #ca8a04);
}
.toc-list a {
    color: #334155;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}
.toc-list a:hover {
    color: var(--accent-gold, #ca8a04);
    text-decoration: underline;
}
