/*
Theme Name:  Lottery AI
Theme URI:   https://yoursite.com
Description: Dark, gold-accented theme built for the Lottery AI Predictor plugin.
Version:     1.0.0
Author:      Your Name
License:     GPL2
*/

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

:root {
  --gold:   #c8a951;
  --gold2:  #f0cc70;
  --dark:   #060a14;
  --dark2:  #090e1c;
  --card:   #0f1628;
  --border: rgba(200,169,81,.15);
  --text:   #e8ecf5;
  --muted:  #7080a0;
  --font:   'Inter', system-ui, sans-serif;
  --mono:   'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold2); text-decoration: underline; }

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

/* ── Layout ─────────────────────────────────────────────────────── */
.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── Header ─────────────────────────────────────────────────────── */
.site-header {
  background: rgba(6,10,20,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.site-branding { display: flex; align-items: center; gap: 10px; }
.site-logo {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--gold2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}
.site-tagline {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
}

/* ── Navigation ─────────────────────────────────────────────────── */
.main-nav ul { display: flex; gap: 4px; list-style: none; }
.main-nav a {
  display: block;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 7px;
  transition: all .15s;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav .current-menu-item a {
  color: var(--text);
  background: rgba(255,255,255,.06);
  text-decoration: none;
}

.header-cta { display: flex; gap: 8px; align-items: center; }
.header-btn {
  padding: 7px 16px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .15s;
  text-decoration: none;
  display: inline-block;
}
.header-btn-outline {
  color: var(--gold);
  border: 1px solid var(--border);
  background: transparent;
}
.header-btn-outline:hover { background: rgba(200,169,81,.08); text-decoration: none; color: var(--gold); }
.header-btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #000;
}
.header-btn-gold:hover { filter: brightness(1.1); text-decoration: none; color: #000; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
}

/* ── Main content ───────────────────────────────────────────────── */
.site-main { padding: 32px 20px; max-width: 1200px; margin: 0 auto; }
.entry-content { max-width: 100%; }

/* Page title */
.entry-header { margin-bottom: 28px; }
.entry-title {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

/* ── Cards ──────────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

/* ── Forms (WP login/register override) ─────────────────────────── */
.login #login,
.register #login {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  max-width: 400px;
  margin: 48px auto;
}
.login h1 a,
.register h1 a { display: none; }
.login form,
.register form { margin-top: 0; }
.login label,
.register label { color: var(--muted); font-size: 13px; }
.login input[type="text"],
.login input[type="password"],
.login input[type="email"],
.register input[type="text"],
.register input[type="password"],
.register input[type="email"] {
  background: rgba(255,255,255,.04) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  color: var(--text) !important;
  width: 100% !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
}
.login input[type="submit"],
.register input[type="submit"] {
  background: linear-gradient(135deg, var(--gold), var(--gold2)) !important;
  color: #000 !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 11px 24px !important;
  cursor: pointer !important;
  width: 100% !important;
  font-size: 15px !important;
}
.login #nav a,
.login #backtoblog a { color: var(--muted); font-size: 12px; }
.login #nav a:hover { color: var(--gold); }

/* After-login redirect chip */
.login .message,
.register .message {
  background: rgba(200,169,81,.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--gold);
  font-size: 13px;
}

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer {
  background: rgba(6,10,20,.9);
  border-top: 1px solid var(--border);
  padding: 40px 20px 24px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--muted); font-size: 13px; }
.footer-col a:hover { color: var(--text); text-decoration: none; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-disclaimer { font-size: 11px; color: rgba(112,128,160,.6); max-width: 600px; line-height: 1.5; }

/* ── Widgets ─────────────────────────────────────────────────────── */
.widget { margin-bottom: 20px; }
.widget-title { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open { display: block; position: absolute; top: 64px; left: 0; right: 0; background: rgba(6,10,20,.98); border-bottom: 1px solid var(--border); padding: 12px 16px; z-index: 99; }
  .main-nav.open ul { flex-direction: column; }
  .nav-toggle { display: block; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .header-cta .header-btn-outline { display: none; }
}
