/* ==========================================================================
   Guide Shared Styles
   Etalon: prop-firm-taxes.php
   ========================================================================== */

@import url('../assets/tokens.css');

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---------- CSS Variables ---------- */
:root {
    --bg-void: #0a0a0a;
    --bg-primary: #111111;
    --bg-secondary: #161616;
    --glass-bg: #1a1a1a;
    --glass-border: #222222;
    --glass-border-hover: #333333;
    --text-primary: #f0f0f2;
    --text-secondary: #9898a0;
    --text-tertiary: #6b6b75;
    --text-muted: #5c5c66;
    --accent: #fbbf24;
    --accent-secondary: #fcd34d;
    --green: #22c55e;
    --red: #ef4444;
    --blue: #60a5fa;
}

/* ---------- Body ---------- */
body {
    font-family: 'Instrument Sans', -apple-system, sans-serif;
    background: var(--bg-void);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.7;
}

/* ---------- Progress Bar ---------- */
.progress-bar-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--glass-border);
    z-index: 100;
}

.progress-bar {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.1s linear;
}

/* ---------- Background Glow ---------- */
.bg-glow {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(251, 191, 36, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ---------- Container ---------- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ---------- Page Layout (article + sidebar grid) ---------- */
.page-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}

.article-col { min-width: 0; }

.article-content {
    min-width: 0;
    overflow-wrap: break-word;
}

/* ---------- Sidebar ---------- */
.sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom:24px;
}

.sidebar-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 20px;
}

.sidebar-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
    gap: 8px;
}

.partner-item:last-child { border-bottom: none; }

.partner-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.partner-tag { font-size: 10px; color: var(--text-secondary); margin-top: 1px; }

.partner-btn {
    font-size: 11px;
    font-weight: 600;
    color: #000;
    background: var(--accent);
    padding: 5px 10px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.partner-btn:hover { opacity: 0.85; }

.sidebar-tools a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--glass-border);
    text-decoration: none;
    font-size: 13px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.sidebar-tools a:last-child { border-bottom: none; }
.sidebar-tools a:hover { color: var(--accent); }

.sidebar-tsb {
    background: linear-gradient(135deg, #1a1505 0%, #111111 100%);
    border-color: rgba(251,191,36,0.3) !important;
    text-align: center;
}

.sidebar-tsb h4 { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.sidebar-tsb p { font-size: 12px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 14px; }

.sidebar-tsb a {
    display: block;
    background: var(--accent);
    color: #000;
    font-weight: 700;
    font-size: 13px;
    padding: 9px 16px;
    border-radius: 8px;
    text-decoration: none;
}

.sidebar-tsb a:hover { opacity: 0.85; }

@media (max-width: 900px) {
    .page-layout { grid-template-columns: 1fr; gap: 24px; }
    .sidebar { position: static; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .article-header { padding: 28px 0 24px; margin-bottom: 24px; }
    .article-content h2 { font-size: 22px; margin: 36px 0 14px; padding-top: 20px; }
    .article-content h3 { font-size: 17px; margin: 24px 0 10px; }
    .article-content p { font-size: 15px; }
    .article-content li { font-size: 15px; }
    .article-intro { font-size: 16px; }
    .toc { padding: 16px; }
    .info-box { padding: 16px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .cta-box { flex-direction: column; text-align: center; }
    .final-cta { padding: 28px 20px; }
}

/* ---------- Article Header ---------- */
.article-header {
    padding: 48px 0 40px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 48px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-text { font-size: 18px; font-weight: 600; }

.header-nav {
    display: flex;
    gap: 24px;
}

.header-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.header-nav a:hover { color: var(--text-primary); }

@media (max-width: 600px) {
    .header-nav { display: none; }
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 24px;
    transition: color 0.2s;
}

.back-link:hover { color: var(--accent); }
.back-link i { width: 14px; height: 14px; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

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

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.meta-item i { width: 14px; height: 14px; }

.category-badge {
    background: rgba(251, 191, 36, 0.15);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

h1 {
    font-size: clamp(28px, 5.5vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.article-intro {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- Table of Contents ---------- */
.toc {
    grid-column: 1 / -1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 8px;
}

.toc-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toc-title i { width: 16px; height: 16px; color: var(--accent); }

.toc-list { list-style: none; }
.toc-list li { margin-bottom: 8px; }

.toc-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

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

.toc-number {
    color: var(--text-muted);
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    min-width: 24px;
}

/* ---------- Article Typography ---------- */
.article-content h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 56px 0 20px;
    padding-top: 28px;
    border-top: 1px solid var(--glass-border);
    scroll-margin-top: 24px;
    letter-spacing: -0.01em;
}

.article-content h2:first-of-type {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.article-content h3 {
    font-size: 19px;
    font-weight: 600;
    margin: 32px 0 14px;
    color: var(--text-primary);
    scroll-margin-top: 24px;
}

.article-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 24px 0 10px;
    color: var(--text-primary);
}
.article-content .step-card h4{
    margin-top: 0;
}

.article-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
}

.article-content ul, .article-content ol {
    color: var(--text-secondary);
    margin: 0 0 24px 24px;
}

.article-content li {
    margin-bottom: 10px;
    font-size: 16px;
}

.article-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.article-content a {
    color: #000;
    text-decoration: none;
}

/* ---------- Info Boxes ---------- */
.info-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0;
}

.info-box.warning {
    background: rgba(251, 191, 36, 0.07);
    border-color: rgba(251, 191, 36, 0.2);
}

.info-box.danger {
    background: rgba(239, 68, 68, 0.07);
    border-color: rgba(239, 68, 68, 0.2);
}

.info-box.success {
    background: rgba(34, 197, 94, 0.07);
    border-color: rgba(34, 197, 94, 0.2);
}

.info-box.tip {
    background: rgba(96, 165, 250, 0.07);
    border-color: rgba(96, 165, 250, 0.2);
}

.info-box-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 14px;
}

.info-box-header i { width: 18px; height: 18px; }

.info-box.warning .info-box-header { color: var(--accent); }
.info-box.danger .info-box-header { color: var(--red); }
.info-box.success .info-box-header { color: var(--green); }
.info-box.tip .info-box-header { color: var(--blue); }

.info-box p { margin: 0; font-size: 14px; color: var(--text-secondary); }
.info-box ul { margin: 8px 0 0 20px; }
.info-box li { font-size: 14px; margin-bottom: 6px; }

/* ---------- Checklist ---------- */
.checklist {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.checklist-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checklist-title i { width: 20px; height: 20px; color: var(--accent); }

.checklist-items { list-style: none; }

.checklist-items li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: 14px;
    color: var(--text-secondary);
}

.checklist-items li:last-child { border-bottom: none; }

.check-icon {
    width: 20px;
    height: 20px;
    background: rgba(34, 197, 94, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-icon i { width: 12px; height: 12px; color: var(--green); }

/* ---------- Stats Grid ---------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 24px 0;
}

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

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    font-family: 'DM Mono', monospace;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---------- CTA Box ---------- */
.cta-box {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.09) 0%, rgba(251, 191, 36, 0.02) 100%);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 16px;
    padding: 28px 32px;
    margin: 32px 0;
    display: flex;
    align-items: center;
    gap: 24px;
}

@media (max-width: 600px) {
    .cta-box { flex-direction: column; text-align: center; }
}

.cta-box-icon {
    width: 56px;
    height: 56px;
    background: rgba(251, 191, 36, 0.14);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-box-icon i { width: 26px; height: 26px; color: var(--accent); }

.cta-box-content { flex: 1; }

.cta-box-content h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
}

.cta-box-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--accent);
    color: #000;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}

.cta-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-1px);
}

.cta-btn i { width: 15px; height: 15px; }

/* ---------- Calculator CTA (inline tool promo) ---------- */
.calculator-cta {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    margin: 32px 0;
    display: flex;
    align-items: center;
    gap: 24px;
}

@media (max-width: 600px) {
    .calculator-cta { flex-direction: column; text-align: center; }
}

.calculator-cta-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.calculator-cta-icon i { width: 24px; height: 24px; color: var(--text-secondary); }

.calculator-cta-content { flex: 1; }

.calculator-cta-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px;
}

.calculator-cta-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.calculator-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent);
    color: #000;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}

.calculator-cta-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-1px);
}

.calculator-cta-btn i { width: 15px; height: 15px; }

/* ---------- FAQ Section ---------- */
.faq-section {
    margin: 48px 0;
    padding-top: 48px;
    border-top: 1px solid var(--glass-border);
}

.faq-section > h2 {
    font-size: 26px;
    margin-bottom: 24px;
    border-top: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
}

.faq-item:first-of-type { border-top: 1px solid var(--glass-border); }

.faq-question {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    user-select: none;
}

.faq-question i {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: transform 0.25s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    display: none;
    padding-bottom: 18px;
}

.faq-item.open .faq-answer { display: block; }

/* ---------- Related Articles ---------- */
.related-section {
    margin: 48px 0;
    padding-top: 48px;
    border-top: 1px solid var(--glass-border);
}

.related-section > h2 {
    font-size: 22px;
    margin-bottom: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

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

.related-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 18px;
    text-decoration: none;
    transition: all 0.2s;
    display: block;
}

.related-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
}

.related-card-category {
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 7px;
}

.related-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.related-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* ---------- Final CTA ---------- */
.final-cta {
    background: linear-gradient(135deg, var(--glass-bg) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    margin: 48px 0;
}

@media (max-width: 600px) {
    .final-cta { padding: 32px 24px; }
}

.final-cta h2 {
    font-size: 26px;
    margin-bottom: 14px;
    border: none !important;
    padding: 0 !important;
    margin-top: 0 !important;
}

.final-cta p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 28px;
    font-size: 15px;
}

.final-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #4DAB9A;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.final-cta-btn:hover {
    background: #5BC4B0;
    transform: translateY(-2px);
}

.final-cta-btn i { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.footer {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 13px;
}

.footer a { color: var(--text-secondary); text-decoration: none; }
.footer a:hover { color: #4DAB9A; }

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* ---------- Step Cards (how-to guides) ---------- */
.step-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    position: relative;
    padding-left: 80px;
}

.step-number {
    position: absolute;
    left: 24px;
    top: 24px;
    width: 40px;
    height: 40px;
    background: rgba(251, 191, 36, 0.14);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Mono', monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
}

.step-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 600px) {
    .step-card { padding-left: 24px; padding-top: 72px; }
}

/* ---------- Comparison Table ---------- */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: var(--glass-bg);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.comparison-table th {
    background: var(--bg-secondary);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table td {
    font-size: 14px;
    color: var(--text-secondary);
}

.comparison-table td:first-child {
    font-weight: 500;
    color: var(--text-primary);
}

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

.comparison-table .mono {
    font-family: 'DM Mono', monospace;
    color: var(--accent);
    font-weight: 500;
}

.comparison-table .green { color: var(--green); }
.comparison-table .red { color: var(--red); }

/* ---------- Verdict Box (comparison guides) ---------- */
.verdict-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    margin: 32px 0;
}

.verdict-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
}

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

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

.verdict-side {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 24px;
}

.verdict-side h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.verdict-side p,
.verdict-side li {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ---------- Pros/Cons Grid ---------- */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}

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

.pros-col, .cons-col {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
}

.pros-col h4 { color: var(--green); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.cons-col h4 { color: var(--red); font-size: 14px; font-weight: 600; margin-bottom: 12px; }

.pros-col li, .cons-col li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* ---------- Callout / Highlight Box ---------- */
.callout {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--accent);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0;
}

.callout.warning { border-left-color: var(--accent); background: rgba(251, 191, 36, 0.05); }
.callout.danger { border-left-color: var(--red); background: rgba(239, 68, 68, 0.05); }
.callout.info { border-left-color: var(--blue); background: rgba(96, 165, 250, 0.05); }
.callout.success { border-left-color: var(--green); background: rgba(34, 197, 94, 0.05); }

.callout p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* ---------- Formula/Code Box ---------- */
.formula-box {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    font-family: 'DM Mono', monospace;
    font-size: 14px;
    color: var(--accent);
    overflow-x: auto;
}

/* ---------- Rules Table ---------- */
.rules-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: var(--glass-bg);
    border-radius: 12px;
    overflow: hidden;
}

.rules-table th,
.rules-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.rules-table th {
    background: var(--bg-secondary);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rules-table td {
    font-size: 14px;
    color: var(--text-secondary);
}

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