/* Base styles */
:root {
  --primary-color: #993399;
  --secondary-color: #009933;
  --accent-color: #FF6600;
  --dark-color: #333;
  --light-color: #f8f9fa;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Heebo', sans-serif;
  color: var(--dark-color);
  background-color: #f5f5f5;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.breadcrumb {
  margin: 15px 0;
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb span {
  color: #666;
}
/* Header styles */
.hd {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.hd .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo h1 {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 700;
}

.menu {
  display: flex;
  align-items: center;
}

.btn-menu {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

.icon {
  width: 24px;
  height: 24px;
  color: var(--dark-color);
}

#mainMenu {
  display: flex;
  align-items: center;
  gap: 20px;
}

#mainMenu a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  transition: color 0.3s;
}

#mainMenu a:hover {
  color: var(--primary-color);
}

.btn-close-menu {
  display: none;
}

.account, .cart {
  display: flex;
  align-items: center;
}

.ac-button {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--dark-color);
  font-size: 0.85rem;
  font-weight: 500;
}

.ac-button span {
  margin-left: 5px;
}

.cart {
  margin-left: 20px;
}

.cart .icon {
  position: relative;
}

#cart-total-items {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: bold;
}

/* Hero section */
.hero-section {
  background: linear-gradient(135deg, #993399, #6a1b9a);
  color: white;
  border-radius: var(--border-radius);
  padding: 40px 20px;
  text-align: center;
  margin: 20px 0;
}

.default-title {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.lead {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.game-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.game-icon {
  margin: 0 auto 20px;
}

.game-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.game-card p {
  margin-bottom: 20px;
  color: #666;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: #7a297a;
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
}

.btn-success {
  background: var(--secondary-color);
  color: white;
}

.btn-success:hover {
  background: #007a29;
}

/* Featured games */
.sm-title {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 5px;
}

.filtro-boloes-wrapper {
  overflow-x: auto;
  padding: 10px 0;
}

.filtro-boloes {
  display: flex;
  gap: 15px;
  min-width: max-content;
}

.filtro-boloes-item {
  flex-shrink: 0;
}

.filtro-boloes-btn {
  background: white;
  border: 2px solid #eee;
  border-radius: var(--border-radius);
  padding: 15px 20px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
  min-width: 120px;
}

.filtro-boloes-btn:hover,
.filtro-boloes-btn.active {
  border-color: var(--primary-color);
  box-shadow: 0 4px 8px rgba(153, 51, 153, 0.2);
}

.filtro-boloes-btn strong {
  display: block;
  font-size: 1.1rem;
  color: var(--dark-color);
  margin-bottom: 5px;
}

.filtro-boloes-btn span {
  font-size: 0.9rem;
  color: #666;
}

.label-dia-semana div {
  background: #e9ecef;
  padding: 15px 20px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  height: 100%;
}

.label-dia-semana span {
  font-weight: 500;
  color: #495057;
}

.games-list {
  margin-top: 30px;
}

.game-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: var(--box-shadow);
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.game-header h3 {
  font-size: 1.4rem;
  color: var(--dark-color);
}

.prize {
  background: #e7f3ff;
  color: var(--secondary-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 700;
}

.game-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
}

.animal {
  background: #fff5e6;
  color: #cc5500;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: 500;
  margin: 5px;
}

.game-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Game details page styles */
.game-details {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
}

.game-info {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.game-description {
  flex: 1;
  min-width: 300px;
}

.game-description h2 {
  color: var(--dark-color);
  margin-bottom: 15px;
}

.game-description p {
  margin-bottom: 20px;
  color: #555;
}

.game-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  padding: 15px;
  background: #f8f9fa;
  border-radius: var(--border-radius);
  flex: 1;
  min-width: 120px;
}

.stat-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
}

.generator-controls {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  background: #f8f9fa;
  padding: 20px;
  border-radius: var(--border-radius);
  margin: 20px 0;
}

.control-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 200px;
}

.control-group label {
  margin-bottom: 8px;
  font-weight: 500;
}

.control-group select {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  background: white;
}

#generateBtn {
  align-self: flex-end;
  height: fit-content;
  margin-top: 20px;
}

.generated-games {
  margin-top: 30px;
}

.generated-game {
  background: #f8f9fa;
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 20px;
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.game-header h5 {
  margin: 0;
  color: var(--dark-color);
}

.copy-btn {
  padding: 5px 10px;
  font-size: 0.9rem;
}

.prediction-content {
  margin-top: 15px;
}

.animal-predictions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.animal-predictions .animal {
  background: #fff5e6;
  color: #cc5500;
  padding: 10px 15px;
  border-radius: 20px;
  font-weight: 500;
}

.number-predictions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.number-predictions .number {
  width: auto;
  padding: 10px 15px;
  min-width: 40px;
}

.game-history {
  margin-top: 40px;
}

.game-history h3 {
  margin-bottom: 20px;
  color: var(--dark-color);
}

.results-table .result-row {
  background: white;
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.result-concurse {
  font-weight: 700;
  margin-bottom: 15px;
  display: block;
}

.result-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 0.85rem;
}

.lotomania-numbers {
  max-height: 200px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: var(--border-radius);
}

/* Login page styles */
.login-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.login-form {
  flex: 1;
  min-width: 300px;
}

.login-info {
  flex: 1;
  min-width: 300px;
  background: #f8f9fa;
  padding: 20px;
  border-radius: var(--border-radius);
}

.form-header h3 {
  margin-bottom: 10px;
  color: var(--dark-color);
}

.form-header p {
  color: #666;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: 'Heebo', sans-serif;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-check input {
  width: auto;
}

.form-check label {
  margin: 0;
}

.form-footer {
  text-align: center;
  margin-top: 20px;
}

.form-footer a {
  color: var(--primary-color);
  text-decoration: none;
}

.form-footer a:hover {
  text-decoration: underline;
}

.login-info h3 {
  margin-bottom: 20px;
  color: var(--dark-color);
}

.login-info ul {
  list-style-type: none;
  padding: 0;
}

.login-info li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.login-info li:before {
  content: "✓";
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 10px;
}

/* Registration page styles */
.register-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.register-form {
  flex: 1;
  min-width: 300px;
}

.register-info {
  flex: 1;
  min-width: 300px;
  background: #f8f9fa;
  padding: 20px;
  border-radius: var(--border-radius);
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-row .form-group {
  flex: 1;
  min-width: 200px;
}

/* Cart page styles */
.cart-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.cart-items {
  flex: 3;
  min-width: 300px;
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.cart-summary {
  flex: 2;
  min-width: 300px;
}

.summary-box {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
}

.payment-methods {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.cart-item {
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.cart-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.item-info h4 {
  margin: 0 0 5px 0;
  color: var(--dark-color);
}

.item-info p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.item-price {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.item-details {
  margin-bottom: 15px;
}

.item-actions {
  display: flex;
  gap: 10px;
}

.summary-details {
  margin: 20px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.summary-row:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.summary-row.total {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark-color);
}

.payment-options {
  margin-top: 15px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.payment-option input {
  margin: 0;
}

.btn-danger {
  background: #dc3545;
  color: white;
}

.btn-danger:hover {
  background: #c82333;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 0.85rem;
}

.w-100 {
  width: 100%;
}

.mt-2 {
  margin-top: 10px;
}

/* Statistics page styles */
.stats-container {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.stats-content {
  margin-top: 30px;
}

.stats-category {
  margin-bottom: 40px;
}

.stats-category:last-child {
  margin-bottom: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.stat-card {
  background: #f8f9fa;
  border-radius: var(--border-radius);
  padding: 20px;
}

.stat-card h4 {
  margin-top: 0;
  color: var(--dark-color);
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.numbers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.numbers-list .number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
}

.numbers-list .hot {
  background: #ffebee;
  color: #c62828;
}

.numbers-list .cold {
  background: #e3f2fd;
  color: #1565c0;
}

.animals-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.animals-list .animal {
  padding: 10px 15px;
  border-radius: 20px;
  font-weight: 500;
  text-align: center;
}

.animals-list .hot {
  background: #ffebee;
  color: #c62828;
}

.animals-list .cold {
  background: #e3f2fd;
  color: #1565c0;
}

.pattern-stats, .probability-stats {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pattern, .probability {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.pattern:last-child, .probability:last-child {
  border-bottom: none;
}

.pattern span:first-child, .probability span:first-child {
  font-weight: 500;
}

/* FAQ page styles */
.faq-container {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.faq-search {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.faq-search input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: 'Heebo', sans-serif;
}

.faq-categories {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.category-btn {
  padding: 10px 20px;
}

.faq-category h3 {
  color: var(--dark-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid #eee;
  border-radius: var(--border-radius);
}

.faq-question {
  padding: 20px;
  background: #f8f9fa;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h4 {
  margin: 0;
  color: var(--dark-color);
}

.faq-answer {
  padding: 0 20px 20px;
  display: none;
}

.faq-answer p {
  margin: 15px 0 0;
  color: #555;
  line-height: 1.7;
}

.arrow {
  transition: transform 0.3s ease;
}

/* About page styles */
.about-container {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.about-section {
  margin-bottom: 40px;
}

.about-section:last-child {
  margin-bottom: 0;
}

.about-section h3 {
  color: var(--dark-color);
  margin-bottom: 20px;
}

.about-section p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.value-card {
  text-align: center;
  padding: 30px 20px;
  background: #f8f9fa;
  border-radius: var(--border-radius);
}

.value-icon {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.value-card h4 {
  margin-bottom: 15px;
  color: var(--dark-color);
}

.value-card p {
  margin: 0;
  font-size: 0.95rem;
}

.team-section {
  margin-top: 50px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.team-member {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: var(--border-radius);
}

.member-avatar {
  margin: 0 auto 20px;
  color: var(--primary-color);
}

.team-member h4 {
  margin-bottom: 5px;
  color: var(--dark-color);
}

.team-member p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.filters {
  text-align: center;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
}

.filter-btn.active {
  background: var(--primary-color);
  color: white;
}

.result-category {
  margin-bottom: 40px;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #eee;
}

.category-header h3 {
  margin: 0;
  color: var(--dark-color);
}

.results-list .result-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: var(--box-shadow);
}

.result-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.result-info .date,
.result-info .concurse {
  font-weight: 500;
}

.result-prize {
  margin-top: 15px;
  text-align: right;
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: white;
  padding: 50px 0 20px;
  margin-top: 50px;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h4 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
}

/* Responsive styles */
@media (max-width: 992px) {
  .game-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .game-actions {
    width: 100%;
  }
  
  .btn {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .btn-menu {
    display: block;
  }
  
  #mainMenu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1001;
  }
  
  #mainMenu.open-sidebox {
    right: 0;
  }
  
  #mainMenu a {
    padding: 15px 0;
    width: 100%;
    border-bottom: 1px solid #eee;
  }
  
  .btn-close-menu {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  .hd .container {
    flex-wrap: wrap;
  }
  
  .account {
    order: 3;
    margin-top: 15px;
  }
  
  .hero-section {
    padding: 30px 15px;
  }
  
  .default-title {
    font-size: 1.6rem;
  }
  
  .lead {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .filtro-boloes-btn {
    min-width: 100px;
    padding: 12px 15px;
  }
  
  .filtro-boloes-btn strong {
    font-size: 0.9rem;
  }
  
  .game-numbers {
    justify-content: center;
  }
  
  .game-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}