/* Clean, minimal styles */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
  font-size: 18px;
}

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

/* Header */
.header {
  border-bottom: 1px solid #ddd;
  margin-bottom: 0;
  padding-bottom: 10px;
}

.header-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.site-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  color: #2c3e50;
}

.site-title a {
  color: #2c3e50;
  text-decoration: none;
}

.site-title a:hover {
  color: #16a085;
}

.site-nav {
  font-size: 20px;
  display: flex;
  gap: 20px;
  align-items: baseline;
}

.site-nav a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.site-nav a:hover {
  background-color: #f8f9fa;
  color: #16a085;
}

/* User auth section */
.user-section {
  text-align: right;
  font-size: 13px;
  margin-top: 3px;
  margin-bottom: 25px;
  color: #666;
}

.user-section a {
  color: #666;
  text-decoration: underline;
}

.user-section a:hover {
  color: #16a085;
}

/* Main content */
.section {
  margin-bottom: 60px;
}

.section h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #2c3e50;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 8px;
}

.section p {
  margin-bottom: 18px;
  color: #444;
}

.section a {
  color: #16a085;
  text-decoration: none;
  border-bottom: 1px solid #16a085;
}

.section a:hover {
  color: #138d75;
  border-bottom-color: #138d75;
}

/* Projects */
.project {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.project:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.project h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: #2c3e50;
  flex: 1;
}

.project h3 a {
  color: #2c3e50;
  text-decoration: none;
}

.project h3 a:hover {
  color: #16a085;
  text-decoration: underline;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  flex-shrink: 0;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-complete .status-dot {
  background-color: #16a085;
}

.status-functional .status-dot {
  background-color: #f39c12;
}

.status-beta .status-dot {
  background-color: #3498db;
}

.status-development .status-dot {
  background-color: #e74c3c;
}

.project p {
  margin-bottom: 12px;
  color: #555;
  line-height: 1.6;
}

/* Footer */
.footer {
  border-top: 1px solid #ddd;
  margin-top: 60px;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #666;
}

/* Buttons */
.btn {
  background-color: #16a085;
  color: white;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background-color: #138d75;
}

/* Lottery page styling */
.lotto-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 20px 40px 20px;
}

.lotto-title {
  font-size: 32px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 30px;
  text-align: center;
}

.numbers-section {
  text-align: center;
  margin: 40px 0;
  padding: 30px;
  background-color: #fafafa;
  border-radius: 8px;
  border: 1px solid #eee;
}

.numbers--container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
}

.numbers--list {
  list-style: none;
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.numbers--list li {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  width: 50px;
  height: 50px;
  font-size: 18px;
  border-radius: 50%;
  border: 2px solid #2c3e50;
  background-color: #fff;
  color: #2c3e50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  animation: singleRollSpin 2s ease-out forwards;
}

.numbers--list li:last-child {
  background-color: #e74c3c;
  color: #fff;
  border-color: #c0392b;
}

@keyframes singleRollSpin {
  0% { transform: rotateX(0deg) rotateY(0deg); }
  40% { transform: rotateX(180deg) rotateY(180deg); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}

.generate-form {
  text-align: center;
  margin: 30px 0;
}

.btn__generate {
  background-color: #2c3e50;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn__generate:hover {
  background-color: #1a252f;
}

.quantum-section {
  margin-top: 50px;
}

.quantum-section h2 {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
  margin-top: 30px;
}

.quantum-section h2:first-child {
  margin-top: 0;
}

.quantum-section p {
  margin-bottom: 20px;
  color: #555;
  line-height: 1.6;
}

.quantum-section a {
  color: #16a085;
  text-decoration: none;
  border-bottom: 1px solid #16a085;
}

.quantum-section a:hover {
  color: #138d75;
  border-bottom-color: #138d75;
}

/* Mobile responsiveness */
@media (max-width: 700px) {
  .container {
    padding: 20px 15px;
  }
  
  .site-title {
    font-size: 20px;
  }
  
  .site-nav {
    font-size: 17px;
    gap: 15px;
  }
  
  .section h2 {
    font-size: 24px;
  }
  
  .project h3 {
    font-size: 18px;
  }
  
  .project-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .project-status {
    order: -1;
    align-self: flex-end;
  }
}

@media (max-width: 480px) {
  .site-title {
    font-size: 18px;
  }
  
  .site-nav {
    font-size: 15px;
    gap: 12px;
  }
  
  .site-nav a {
    padding: 3px 6px;
  }
}