/*
Theme Name: Generate Lottery Number
Theme URI: https://generatelotterynumber.com
Author: AntiGravity
Description: Custom, lightning-fast native WordPress theme for generating lottery numbers.
Version: 1.0.0
Text Domain: generate-lottery
*/


:root {
  --gold: #F5C842;
  --goldD: #C9A227;
  --red: #E8303A;
  --navy: #080F1E;
  --navy2: #0E1929;
  --navy3: #152238;
  --navy4: #1C2E4A;
  --white: #F0F4FF;
  --gray: #7A8FAF;
  --gray2: #B0BDD4;
  --green: #22C55E;
  --purple: #A78BFA;
  --orange: #FB923C;
  --blue: #38BDF8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--navy);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Nav */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 15, 30, 0.97);
  border-bottom: 1px solid rgba(245, 200, 66, 0.15);
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 58px;
  gap: 8px;
  backdrop-filter: blur(16px);
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--gold);
  cursor: pointer;
  white-space: nowrap;
  margin-right: 8px;
}

.logo-white {
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 2px;
  flex: 1;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .5px;
  border: 1px solid transparent;
  background: transparent;
  transition: all .2s;
}

.nav-link.active {
  color: var(--gold);
  border-color: rgba(245, 200, 66, 0.2);
  background: rgba(245, 200, 66, 0.06);
}

.nav-link:hover {
  color: var(--gold);
}

/* Layout Utilities */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.container-wide {
  max-width: 1040px;
  margin: 0 auto;
  padding: 36px 20px;
}

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

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

/* Balls */
.ball-set {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.ball-set.small {
  gap: 6px;
}

.ball {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.25);
  transform: scale(0);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  flex-shrink: 0;
}
.ball.show {
  transform: scale(1);
  opacity: 1;
}

.ball.size-normal {
  width: 54px;
  height: 54px;
  font-size: 21px;
}

.ball.size-small {
  width: 42px;
  height: 42px;
  font-size: 16px;
}

.ball.color-white {
  background: radial-gradient(circle at 35% 30%, #fff, #c8c8c8);
  color: #1a1a2e;
}
.ball.color-red {
  background: radial-gradient(circle at 35% 30%, #ff6b6b, #b02020);
  color: #fff;
}
.ball.color-gold {
  background: radial-gradient(circle at 35% 30%, #ffe066, #b8860b);
  color: #1a1a2e;
}
.ball.color-blue {
  background: radial-gradient(circle at 35% 30%, #60c8ff, #1a6bcc);
  color: #fff;
}
.ball.color-orange {
  background: radial-gradient(circle at 35% 30%, #ffba6e, #c05500);
  color: #fff;
}
.ball.color-purple {
  background: radial-gradient(circle at 35% 30%, #c8a0ff, #6020cc);
  color: #fff;
}

/* Widgets & Cards */
.widget {
  background: linear-gradient(145deg, var(--navy3), var(--navy2));
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 22px;
}

.widget-header {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.widget-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--gold);
}

.widget-body {
  padding: 22px;
}

.display-area {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 8px;
}

.empty-text {
  color: var(--gray);
  font-size: 13px;
}

/* Buttons */
.btn-primary {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 19px;
  letter-spacing: 3px;
  cursor: pointer;
  margin-bottom: 10px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), var(--goldD));
  box-shadow: 0 4px 24px rgba(245, 200, 66, 0.25);
  transition: opacity 0.2s;
}
.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  flex: 1;
  padding: 8px 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray2);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
}
.btn-secondary.active {
  background: rgba(34,197,94,0.15);
  border-color: rgba(34,197,94,0.4);
  color: var(--green);
}

.btn-actions {
  display: flex;
  gap: 8px;
}

/* Forms */
.form-row {
  margin-bottom: 14px;
}
.form-label {
  display: block;
  font-size: 11px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
  font-weight: 600;
}
.form-select, .form-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--white);
  font-size: 13px;
  font-family: 'DM Mono', monospace;
  outline: none;
}
.form-select option {
  background: var(--navy2);
}
.form-input::placeholder {
  color: rgba(255,255,255,0.3);
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sidebar-box {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  overflow: hidden;
}
.sidebar-header {
  padding: 11px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
}
.sidebar-content {
  padding: 16px;
  text-align: center;
}
.sidebar-link {
  padding: 9px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray2);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  text-decoration: none;
}
.sidebar-link:hover {
  background: rgba(255,255,255,0.06);
}

/* Breadcrumb */
.breadcrumb {
  padding: 13px 0;
  font-size: 11px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb-separator {
  color: rgba(255,255,255,0.2);
}
.breadcrumb-item {
  color: var(--gray2);
  cursor: pointer;
}
.breadcrumb-item:hover {
  color: var(--white);
}
.breadcrumb-item.active {
  color: var(--gold);
  cursor: default;
}

/* Header Sections */
.page-header {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 26px 26px 22px;
  margin-bottom: 22px;
}
.page-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid;
}
.page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  letter-spacing: 2px;
  margin-bottom: 8px;
  line-height: 1;
}
.page-desc {
  font-size: 13px;
  color: var(--gray2);
  line-height: 1.65;
  max-width: 560px;
}

/* SEO Content */
.seo-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.seo-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.seo-tab {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--gray);
  cursor: pointer;
}
.seo-tab.active {
  background: rgba(245,200,66,0.1);
  border-color: rgba(245,200,66,0.35);
  color: var(--gold);
}
.seo-panel {
  display: none;
}
.seo-panel.active {
  display: block;
}
.seo-h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 10px;
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}
.seo-p {
  font-size: 13px;
  color: var(--gray2);
  line-height: 1.8;
  margin-bottom: 10px;
}
.seo-ul {
  list-style: none;
  padding: 0;
  margin-bottom: 10px;
}
.seo-li {
  font-size: 13px;
  color: var(--gray2);
  padding: 4px 0 4px 16px;
  position: relative;
  line-height: 1.6;
}
.seo-li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.faq-q {
  padding: 13px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-icon {
  color: var(--gold);
  font-size: 18px;
  transition: transform .25s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-a {
  font-size: 13px;
  color: var(--gray2);
  line-height: 1.75;
  padding-bottom: 13px;
  display: none;
}
.faq-item.open .faq-a {
  display: block;
}

/* Saved Numbers */
.saved-list {
  margin-top: 18px;
}
.saved-title {
  font-size: 10px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 8px;
}
.saved-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--gray2);
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}
.saved-del {
  cursor: pointer;
  color: var(--gray);
  font-size: 16px;
  line-height: 1;
}
.saved-del:hover {
  color: var(--red);
}

/* Colors for themes */
.theme-red { --bg: rgba(232,48,58,0.15); --border: rgba(232,48,58,0.4); --text: #ff8080; --glow: rgba(232,48,58,0.06); }
.theme-gold { --bg: rgba(245,200,66,0.15); --border: rgba(245,200,66,0.4); --text: var(--gold); --glow: rgba(245,200,66,0.06); }
.theme-orange { --bg: rgba(251,146,60,0.15); --border: rgba(251,146,60,0.4); --text: var(--orange); --glow: rgba(251,146,60,0.06); }
.theme-blue { --bg: rgba(56,189,248,0.15); --border: rgba(56,189,248,0.4); --text: var(--blue); --glow: rgba(56,189,248,0.06); }
.theme-purple { --bg: rgba(167,139,250,0.15); --border: rgba(167,139,250,0.4); --text: var(--purple); --glow: rgba(167,139,250,0.06); }
.theme-green { --bg: rgba(34,197,94,0.15); --border: rgba(34,197,94,0.4); --text: var(--green); --glow: rgba(34,197,94,0.06); }

.page-header { background: linear-gradient(180deg, var(--glow) 0%, transparent 100%); }
.page-tag { background: var(--bg); border-color: var(--border); color: var(--text); }

/* Custom Colors in Widgets */
.widget[data-theme="red"] { border: 1px solid rgba(232,48,58,0.25); }
.widget[data-theme="red"] .widget-header { background: rgba(232,48,58,0.1); border-bottom-color: rgba(232,48,58,0.2); }

.widget[data-theme="gold"] { border: 1px solid rgba(245,200,66,0.25); }
.widget[data-theme="gold"] .widget-header { background: rgba(245,200,66,0.1); border-bottom-color: rgba(245,200,66,0.2); }

.widget[data-theme="orange"] { border: 1px solid rgba(251,146,60,0.25); }
.widget[data-theme="orange"] .widget-header { background: rgba(251,146,60,0.1); border-bottom-color: rgba(251,146,60,0.2); }

.widget[data-theme="blue"] { border: 1px solid rgba(56,189,248,0.25); }
.widget[data-theme="blue"] .widget-header { background: rgba(56,189,248,0.1); border-bottom-color: rgba(56,189,248,0.2); }

.widget[data-theme="purple"] { border: 1px solid rgba(167,139,250,0.25); }
.widget[data-theme="purple"] .widget-header { background: rgba(167,139,250,0.1); border-bottom-color: rgba(167,139,250,0.2); }

/* Footer */
.site-footer {
  background: var(--navy2);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 32px 20px;
  text-align: center;
}

/* Home Grid Items */
.home-card {
  background: linear-gradient(145deg,var(--navy3),var(--navy2));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 18px 22px;
  min-width: 140px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
  text-decoration: none;
  display: block;
  color: var(--white);
}
.home-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.2);
}

.nat-game-card {
  background: linear-gradient(145deg,var(--navy3),var(--navy2));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 20px;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: transform 0.2s;
}
.nat-game-card:hover { transform: translateY(-2px); }

.state-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 11px 8px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: background 0.2s;
}
.state-card:hover { background: rgba(255,255,255,0.05); }

.tool-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.tool-card:hover { background: rgba(255,255,255,0.05); }

.blog-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
}
.blog-card:hover { transform: translateY(-2px); }

