@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Raleway:wght@900&display=swap');

:root {
  --bg-color: #1a1a1a;
  --text-color: #f0f0f0;
  --primary-color: #00aaff;
  --card-bg-color: #2a2a2a;
}

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 1200px;
  text-align: center;
  padding-top: 80px; /* Add padding for the fixed navbar */
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background-color: #222;
  border-bottom: 1px solid #333;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-brand {
  font-family: 'Raleway', sans-serif;
  font-size: 1.8em;
  font-weight: 900;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.3s;
}

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

/* Hero Section (Home Page) */
.hero {
  margin: 80px 0;
}

.hero h1 {
  font-size: 3.5em;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
}

.hero p {
  font-size: 1.3em;
  color: #aaa;
  margin-bottom: 40px;
}

/* Home Main Content */
.home-main h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.feature-cards {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
}

.card {
  background: var(--card-bg-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  flex-basis: 30%;
  min-width: 250px;
}

.card h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Generator Page */
#generate-btn {
    margin-bottom: 30px;
}

#numbers-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.lotto-set {
  background: var(--card-bg-color);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lotto-set strong {
    font-size: 1.2em;
    color: var(--primary-color);
}

.numbers {
    display: flex;
    gap: 10px;
}

.number {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #fff;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  box-shadow: 0 0 10px #fff;
}

.powerball {
  background-color: #ff4d4d;
  color: #fff;
  box-shadow: 0 0 10px #ff4d4d;
}

/* Other Pages (About, Contact, Privacy) */
.page-main {
    background: var(--card-bg-color);
    padding: 40px;
    border-radius: 10px;
    text-align: left;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-main h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-main p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #ccc;
}

.page-main a {
    color: var(--primary-color);
}

.page-main table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.page-main th, .page-main td {
    padding: 15px;
    border: 1px solid #444;
    text-align: left;
}

.page-main th {
    background-color: #333;
}

.faq-item, .blog-item {
    margin-bottom: 30px;
    border-bottom: 1px solid #444;
    padding-bottom: 20px;
}

.faq-item:last-child, .blog-item:last-child {
    border-bottom: none;
}

.faq-item h3, .blog-item h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.blog-item h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-item h3 a:hover {
    color: #fff;
}

.post-meta {
    font-size: 0.9em;
    color: #aaa;
    margin-bottom: 10px;
}


/* Footer */
.footer {
  width: 100%;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 40px;
}

/* Glowing Button (from previous style) */
.glowing-btn {
  position: relative;
  color: var(--primary-color);
  cursor: pointer;
  padding: 0.35em 1em;
  border: 0.15em solid var(--primary-color);
  border-radius: 0.45em;
  background: none;
  perspective: 2em;
  font-family: "Raleway", sans-serif;
  font-size: 1.5em;
  font-weight: 900;
  letter-spacing: 0.5em;
  text-decoration: none;
  -webkit-box-shadow: inset 0px 0px 0.5em 0px var(--primary-color),
    0px 0px 0.5em 0px var(--primary-color);
  -moz-box-shadow: inset 0px 0px 0.5em 0px var(--primary-color),
    0px 0px 0.5em 0px var(--primary-color);
  box-shadow: inset 0px 0px 0.5em 0px var(--primary-color),
    0px 0px 0.5em 0px var(--primary-color);
  animation: border-flicker 2s linear infinite;
}

.glowing-txt {
  float: left;
  margin-right: -0.8em;
  -webkit-text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3),
    0 0 0.45em var(--primary-color);
  -moz-text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3),
    0 0 0.45em var(--primary-color);
  text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3),
    0 0 0.45em var(--primary-color);
  animation: text-flicker 3s linear infinite;
}

/* ... (rest of glowing button animations are the same) */

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding-top: 100px; /* Adjust padding for taller navbar on mobile */
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .nav-links {
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 2.5em;
  }

  .hero p {
    font-size: 1.1em;
  }

  .glowing-btn {
    font-size: 1.2em;
    letter-spacing: 0.3em;
  }
  
  .home-main h2, .page-main h2 {
      font-size: 2em;
  }

  .lotto-set {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

  .lotto-set strong {
    margin-bottom: 15px;
  }
  
  .number {
    width: 35px;
    height: 35px;
    font-size: 1em;
  }
}

/* Animations for glowing button (unchanged) */
@keyframes faulty-flicker{0%{opacity:.1}2%{opacity:.1}4%{opacity:.5}19%{opacity:.5}21%{opacity:.1}23%{opacity:1}80%{opacity:.5}83%{opacity:.4}87%{opacity:1}}@keyframes text-flicker{0%{opacity:.1}2%{opacity:1}8%{opacity:.1}9%{opacity:1}12%{opacity:.1}20%{opacity:1}25%{opacity:.3}30%{opacity:1}70%{opacity:.7}72%{opacity:.2}77%{opacity:.9}100%{opacity:.9}}@keyframes border-flicker{0%{opacity:.1}2%{opacity:1}4%{opacity:.1}8%{opacity:1}70%{opacity:.7}100%{opacity:1}}
