/* ==========================================================================
   SLOTAUTO.CO — HIGH PERFORMANCE COSMIC LUXURY STYLESHEET
   ========================================================================== */
:root {
  --bg-dark: #070810;
  --bg-card: rgba(15, 18, 32, 0.85);
  --bg-card-hover: rgba(22, 27, 48, 0.95);
  --border-color: rgba(139, 92, 246, 0.25);
  --border-gold: rgba(251, 191, 36, 0.4);
  --primary: #f97316;
  --primary-glow: rgba(249, 115, 22, 0.4);
  --purple-glow: rgba(139, 92, 246, 0.4);
  --gold: #fbbf24;
  --gold-glow: rgba(251, 191, 36, 0.4);
  --accent-cyan: #06b6d4;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #cbd5e1;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: var(--font-sans); background: var(--bg-dark); color: var(--text-main); line-height: 1.7; }
body { min-height: 100vh; overflow-x: hidden; position: relative; }

/* Animated Aurora Cosmic Ambient */
.animated-bg-wrap { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; overflow: hidden; background: radial-gradient(circle at 50% 0%, #170d2c 0%, #070810 70%); }
.aurora-beam { position: absolute; width: 65vw; height: 45vh; filter: blur(100px); opacity: 0.35; border-radius: 50%; }
.aurora-beam-1 { top: -10%; left: 15%; background: radial-gradient(circle, #7c3aed, transparent 70%); }
.aurora-beam-2 { top: 15%; right: -10%; background: radial-gradient(circle, #f97316, transparent 70%); }
.aurora-beam-3 { bottom: -10%; left: -10%; background: radial-gradient(circle, #06b6d4, transparent 70%); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }

/* Header & Nav */
.header { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); background: rgba(7, 8, 16, 0.88); border-bottom: 1px solid var(--border-color); }
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 0; gap: 1rem; }
.brand-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-logo img { height: 48px; width: auto; object-fit: contain; border-radius: 8px; filter: drop-shadow(0 2px 8px var(--purple-glow)); }

.nav-menu { display: flex; gap: 0.6rem 1.1rem; align-items: center; flex-wrap: nowrap; }
.nav-link { color: var(--text-light); text-decoration: none; font-size: 0.95rem; font-weight: 600; white-space: nowrap; transition: color 0.2s, text-shadow 0.2s; padding: 0.4rem 0.65rem; border-radius: 6px; }
.nav-link:hover, .nav-link.active { color: var(--gold); text-shadow: 0 0 12px var(--gold-glow); background: rgba(251, 191, 36, 0.08); }
.nav-cta { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 700; text-decoration: none; border-radius: 10px; transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; border: none; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; box-shadow: 0 4px 14px var(--primary-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249, 115, 22, 0.6); }
.btn-gold { background: linear-gradient(135deg, #fbbf24, #d97706); color: #000; box-shadow: 0 4px 14px var(--gold-glow); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6); }
.btn-outline { background: rgba(139, 92, 246, 0.1); color: var(--text-light); border: 1px solid var(--border-color); }
.btn-outline:hover { border-color: var(--gold); color: #fff; background: rgba(251, 191, 36, 0.15); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.9rem; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1.1rem; }

/* Badges */
.badge-glow { display: inline-block; font-size: 0.82rem; font-weight: 700; color: var(--gold); background: rgba(251, 191, 36, 0.15); border: 1px solid var(--border-gold); padding: 0.35rem 0.9rem; border-radius: 999px; text-transform: uppercase; margin-bottom: 0.85rem; letter-spacing: 0.5px; }

/* Bento Grid */
.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; margin: 2rem 0; }
.bento-box { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 2rem; backdrop-filter: blur(12px); transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; }
.bento-box:hover { border-color: var(--gold); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6); }

/* Content Cards & Article Layout */
.content-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; padding: 2.5rem; margin: 2.5rem 0; line-height: 1.85; }
.content-card h1 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1.25rem; line-height: 1.35; }
.content-card h2 { color: var(--gold); font-size: clamp(1.35rem, 2.5vw, 1.75rem); margin: 2rem 0 1rem; border-left: 4px solid var(--primary); padding-left: 0.85rem; }
.content-card h3 { color: #fff; font-size: 1.25rem; margin: 1.5rem 0 0.65rem; }
.content-card p { color: var(--text-light); margin-bottom: 1.35rem; font-size: 1.02rem; }
.content-card ul, .content-card ol { color: var(--text-light); padding-left: 1.75rem; margin-bottom: 1.35rem; }
.content-card li { margin-bottom: 0.6rem; }
.content-card a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }
.content-card a:hover { color: #fff; text-shadow: 0 0 10px var(--gold-glow); }

/* Hero Banner & Image Styling */
.hero-banner { width: 100%; max-width: 620px; aspect-ratio: 16/9; max-height: 260px; overflow: hidden; border-radius: 14px; margin: 1.5rem auto 2rem; position: relative; border: 1px solid var(--border-color); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); }
.hero-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-thumb { width: 100%; max-height: 160px; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; display: block; border: 1px solid rgba(255, 255, 255, 0.1); }
.article-img { width: 100%; max-width: 540px; border-radius: 12px; margin: 1.5rem auto; border: 1px solid var(--border-color); object-fit: cover; max-height: 260px; display: block; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 2rem 0; border-radius: 14px; border: 1px solid var(--border-color); }
.seo-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.98rem; }
.seo-table th { background: rgba(139, 92, 246, 0.2); color: #fff; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-color); }
.seo-table td { padding: 0.9rem 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: var(--text-light); }
.seo-table tr:hover td { background: rgba(255, 255, 255, 0.03); }

/* FAQ Accordion */
.faq-item { border: 1px solid var(--border-color); border-radius: 12px; margin-bottom: 1rem; background: rgba(15, 18, 32, 0.65); overflow: hidden; }
.faq-q { padding: 1.15rem 1.5rem; font-weight: 700; color: #fff; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-a { padding: 0 1.5rem 1.25rem; color: var(--text-light); display: none; line-height: 1.8; }
.faq-item.active .faq-a { display: block; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-icon { transition: transform 0.3s; color: var(--gold); }

/* Related Articles Grid */
.related-articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.related-card { display: block; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; overflow: hidden; text-decoration: none; transition: transform 0.3s, border-color 0.3s; }
.related-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.related-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; max-height: 150px; }
.related-card h3 { color: #fff; font-size: 1rem; margin: 1rem; line-height: 1.5; }

/* Live Toast */
.live-toast { position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 99; background: rgba(12, 15, 26, 0.95); border: 1px solid var(--gold); border-radius: 12px; padding: 0.85rem 1.35rem; display: flex; align-items: center; gap: 0.85rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7); transform: translateY(150%); opacity: 0; transition: transform 0.4s, opacity 0.4s; }
.live-toast.show { transform: translateY(0); opacity: 1; }
.live-toast-avatar { font-size: 1.6rem; }
.live-toast-text { font-size: 0.9rem; color: var(--text-light); }
.live-toast-text strong { color: var(--gold); }

/* Footer */
.footer { border-top: 1px solid var(--border-color); background: rgba(5, 6, 12, 0.96); padding: 3.5rem 0 2rem; margin-top: 5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-desc { color: var(--text-muted); font-size: 0.9rem; margin-top: 1rem; line-height: 1.7; }
.footer-heading { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 1.75rem; text-align: center; color: var(--text-muted); font-size: 0.85rem; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-menu { gap: 0.4rem 0.75rem; }
  .nav-link { font-size: 0.88rem; padding: 0.35rem 0.5rem; }
}

@media (max-width: 900px) {
  .nav-menu { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .bento-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .bento-box { grid-column: span 12 !important; padding: 1.5rem; }
  .content-card { padding: 1.5rem; }
}
