:root {
  --bg-color: #f0f0f0;
  --container-bg: white;
  --text-color: #333;
  --circle-bg: #eee;
  --btn-bg: #4CAF50;
  --btn-hover-bg: #45a049;
  --shadow-color: rgba(0, 0, 0, 0.19);
}

body.dark-mode {
  --bg-color: #121212;
  --container-bg: #1e1e1e;
  --text-color: #e0e0e0;
  --circle-bg: #333;
  --shadow-color: rgba(0, 0, 0, 0.5);
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  transition: background-color 0.3s, color 0.3s;
}

header {
  width: 100%;
  background-color: var(--container-bg);
  box-shadow: 0 2px 5px var(--shadow-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-color);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

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

.nav-links a:hover {
  color: #2196F3;
}

main {
  flex: 1;
  width: 100%;
  max-width: 1000px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

footer {
  width: 100%;
  padding: 2rem 0;
  text-align: center;
  background-color: var(--container-bg);
  margin-top: auto;
  border-top: 1px solid var(--circle-bg);
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.8;
}

.content-section {
  text-align: left;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Rest of the existing styles... */
.container {

  width: 100%;
  max-width: 400px;
}

h2 {
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

input[type="email"],
textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 5px;
  border: 1px solid var(--text-color);
  background-color: var(--container-bg);
  color: var(--text-color);
  box-sizing: border-box;
}

textarea {
  height: 100px;
  resize: vertical;
}

#submit-btn {
  background-color: #2196F3;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  width: 100%;
}

#submit-btn:hover {
  background-color: #0b7dda;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 20px rgba(33, 150, 243, 0.7);
}

.disqus-container {
  width: 100%;
  max-width: 800px;
  margin-bottom: 2rem;
}

.container {
  background-color: var(--container-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 20px var(--shadow-color), 0 6px 6px rgba(0, 0, 0, 0.23);
  text-align: center;
  transition: background-color 0.3s, box-shadow 0.3s;
}

h1 {
  color: var(--text-color);
  margin-bottom: 2rem;
}

.lotto-numbers {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--circle-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-color);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: background-color 0.3s, color 0.3s;
}

#generate-btn {
  background-color: var(--btn-bg);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#generate-btn:hover {
  background-color: var(--btn-hover-bg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 20px rgba(76, 175, 80, 0.7);
}

#theme-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: 1px solid var(--text-color);
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

#theme-toggle:hover {
  background-color: var(--text-color);
  color: var(--container-bg);
}
