/* Best AU Lottery - Complete Design System */
:root {
  --bestaulottery-primary: #1B5E20;
  --bestaulottery-secondary: #FFD700;
  --bestaulottery-accent: #FF5722;
  --bestaulottery-success: #4CAF50;
  --bestaulottery-warning: #FF9800;
  --bestaulottery-error: #F44336;
  --bestaulottery-bg: #FAFAFA;
  --bestaulottery-white: #FFFFFF;
  --bestaulottery-dark: #212121;
  --bestaulottery-text: #333333;
  --bestaulottery-text-light: #666666;
  --bestaulottery-border: #E0E0E0;
  --bestaulottery-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --bestaulottery-gradient: linear-gradient(135deg, var(--bestaulottery-primary) 0%, #2E7D32 100%);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bestaulottery-bg);
  color: var(--bestaulottery-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Navigation */
.bestaulottery-navbar {
  background: var(--bestaulottery-white);
  box-shadow: var(--bestaulottery-shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
}

.bestaulottery-navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.bestaulottery-navbar-home-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--bestaulottery-text);
  font-weight: 700;
  font-size: 1.25rem;
}

.bestaulottery-navbar-logo {
  margin-right: 0.75rem;
  border-radius: 50%;
}

.bestaulottery-navbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.bestaulottery-nav-link {
  text-decoration: none;
  color: var(--bestaulottery-text);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.bestaulottery-nav-link:hover,
.bestaulottery-nav-link.active {
  background: var(--bestaulottery-primary);
  color: var(--bestaulottery-white);
}

.bestaulottery-auth-links {
  display: flex;
  gap: 0.75rem;
  margin-left: 1rem;
}

.bestaulottery-btn-login,
.bestaulottery-btn-register {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.bestaulottery-btn-login {
  color: var(--bestaulottery-primary);
  border: 2px solid var(--bestaulottery-primary);
  background: transparent;
}

.bestaulottery-btn-login:hover {
  background: var(--bestaulottery-primary);
  color: var(--bestaulottery-white);
}

.bestaulottery-btn-register {
  background: var(--bestaulottery-secondary);
  color: var(--bestaulottery-dark);
  border: 2px solid var(--bestaulottery-secondary);
}

.bestaulottery-btn-register:hover {
  background: #F9A825;
  border-color: #F9A825;
}

/* Mobile Navigation Toggle */
.bestaulottery-navbar-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.bestaulottery-navbar-toggle-bar {
  width: 25px;
  height: 3px;
  background: var(--bestaulottery-dark);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .bestaulottery-navbar-toggle {
    display: flex;
  }
  
  .bestaulottery-navbar-right {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bestaulottery-white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--bestaulottery-shadow);
    display: none;
  }
  
  .bestaulottery-navbar-right.show {
    display: flex;
  }
  
  .bestaulottery-auth-links {
    margin-left: 0;
    margin-top: 1rem;
  }
}

/* Hero Section */
.bestaulottery-hero {
  padding: 8rem 1rem 4rem;
  background: var(--bestaulottery-gradient);
  color: var(--bestaulottery-white);
  position: relative;
  overflow: hidden;
}

.bestaulottery-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  pointer-events: none;
}

.bestaulottery-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.bestaulottery-badge {
  background: var(--bestaulottery-secondary);
  color: var(--bestaulottery-dark);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
}

.bestaulottery-hero-title {
  font-size: 3rem;
  margin: 1rem 0;
  line-height: 1.1;
}

.bestaulottery-hero-highlight {
  color: var(--bestaulottery-secondary);
}

.bestaulottery-hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.bestaulottery-cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.bestaulottery-btn-primary,
.bestaulottery-btn-secondary {
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.bestaulottery-btn-primary {
  background: var(--bestaulottery-secondary);
  color: var(--bestaulottery-dark);
  border: 2px solid var(--bestaulottery-secondary);
}

.bestaulottery-btn-primary:hover {
  background: #F9A825;
  border-color: #F9A825;
  transform: translateY(-2px);
}

.bestaulottery-btn-secondary {
  background: transparent;
  color: var(--bestaulottery-white);
  border: 2px solid var(--bestaulottery-white);
}

.bestaulottery-btn-secondary:hover {
  background: var(--bestaulottery-white);
  color: var(--bestaulottery-primary);
}

.bestaulottery-trust-indicators {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.bestaulottery-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.bestaulottery-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bestaulottery-hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .bestaulottery-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .bestaulottery-hero-title {
    font-size: 2.5rem;
  }
  
  .bestaulottery-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .bestaulottery-trust-indicators {
    justify-content: center;
  }
}

/* Jackpots Section */
.bestaulottery-jackpots {
  padding: 4rem 1rem;
  background: var(--bestaulottery-white);
}

.bestaulottery-section-title {
  text-align: center;
  color: var(--bestaulottery-primary);
  margin-bottom: 3rem;
  position: relative;
}

.bestaulottery-section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--bestaulottery-secondary);
  border-radius: 2px;
}

.bestaulottery-jackpot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.bestaulottery-jackpot-card {
  background: var(--bestaulottery-white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--bestaulottery-shadow);
  border: 3px solid var(--bestaulottery-border);
  transition: all 0.3s ease;
}

.bestaulottery-jackpot-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--bestaulottery-secondary);
}

.bestaulottery-jackpot-game {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bestaulottery-primary);
  margin-bottom: 1rem;
}

.bestaulottery-jackpot-amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--bestaulottery-secondary);
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.bestaulottery-jackpot-draw {
  color: var(--bestaulottery-text-light);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.bestaulottery-btn-play {
  background: var(--bestaulottery-accent);
  color: var(--bestaulottery-white);
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.bestaulottery-btn-play:hover {
  background: #E64A19;
  transform: scale(1.05);
}

/* How to Play Section */
.bestaulottery-howtoplay {
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
}

.bestaulottery-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.bestaulottery-step {
  text-align: center;
  padding: 2rem;
  background: var(--bestaulottery-white);
  border-radius: 15px;
  box-shadow: var(--bestaulottery-shadow);
  transition: transform 0.3s ease;
}

.bestaulottery-step:hover {
  transform: translateY(-5px);
}

.bestaulottery-step-icon {
  width: 80px;
  height: 80px;
  background: var(--bestaulottery-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--bestaulottery-white);
}

.bestaulottery-step-title {
  color: var(--bestaulottery-primary);
  margin-bottom: 1rem;
}

.bestaulottery-step-description {
  color: var(--bestaulottery-text-light);
  line-height: 1.6;
}

/* Features Section */
.bestaulottery-features {
  padding: 4rem 1rem;
  background: var(--bestaulottery-white);
}

.bestaulottery-feature-list {
  margin-top: 2rem;
}

.bestaulottery-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #F8F9FA;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.bestaulottery-feature-item:hover {
  background: #E9ECEF;
  transform: translateX(10px);
}

.bestaulottery-feature-icon {
  width: 60px;
  height: 60px;
  background: var(--bestaulottery-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bestaulottery-white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.bestaulottery-feature-item h4 {
  color: var(--bestaulottery-primary);
  margin-bottom: 0.5rem;
}

.bestaulottery-feature-item p {
  color: var(--bestaulottery-text-light);
  margin: 0;
}

.bestaulottery-feature-visual img {
  border-radius: 15px;
  box-shadow: var(--bestaulottery-shadow);
}

/* Winners Section */
.bestaulottery-winners {
  padding: 4rem 1rem;
  background: linear-gradient(135deg, var(--bestaulottery-primary) 0%, #2E7D32 100%);
  color: var(--bestaulottery-white);
}

.bestaulottery-winners .bestaulottery-section-title {
  color: var(--bestaulottery-white);
}

.bestaulottery-winners .bestaulottery-section-title::after {
  background: var(--bestaulottery-secondary);
}

.bestaulottery-winner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.bestaulottery-winner-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.bestaulottery-winner-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.bestaulottery-winner-amount {
  font-size: 2rem;
  font-weight: 900;
  color: var(--bestaulottery-secondary);
  margin-bottom: 0.5rem;
}

.bestaulottery-winner-game {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.bestaulottery-winner-location,
.bestaulottery-winner-date {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Final CTA Section */
.bestaulottery-final-cta {
  padding: 4rem 1rem;
  background: var(--bestaulottery-white);
  text-align: center;
}

.bestaulottery-cta-text {
  font-size: 1.25rem;
  color: var(--bestaulottery-text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.bestaulottery-btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
}

/* Footer */
.bestaulottery-footer {
  background: var(--bestaulottery-dark);
  color: var(--bestaulottery-white);
  padding: 3rem 1rem 1rem;
}

.bestaulottery-footer-brand {
  margin-bottom: 2rem;
}

.bestaulottery-footer-logo {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  border-radius: 50%;
}

.bestaulottery-footer h4,
.bestaulottery-footer h5 {
  color: var(--bestaulottery-secondary);
  margin-bottom: 1rem;
}

.bestaulottery-contact-info p,
.bestaulottery-footer-links a {
  color: #CCCCCC;
  margin-bottom: 0.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.bestaulottery-contact-info a:hover,
.bestaulottery-footer-links a:hover {
  color: var(--bestaulottery-secondary);
}

.bestaulottery-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bestaulottery-responsible-gaming {
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border-left: 4px solid var(--bestaulottery-secondary);
}

.bestaulottery-responsible-gaming h5 {
  margin-bottom: 1rem;
}

.bestaulottery-responsible-gaming p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.bestaulottery-responsible-gaming a {
  color: var(--bestaulottery-secondary);
  text-decoration: none;
}

.bestaulottery-responsible-gaming a:hover {
  text-decoration: underline;
}

.bestaulottery-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.bestaulottery-help-links a {
  background: var(--bestaulottery-primary);
  color: var(--bestaulottery-white);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.bestaulottery-help-links a:hover {
  background: #2E7D32;
}

.bestaulottery-footer-bottom {
  border-top: 1px solid #444;
  padding-top: 1rem;
  margin-top: 2rem;
}

.bestaulottery-age-badge {
  background: var(--bestaulottery-accent);
  color: var(--bestaulottery-white);
  border-radius: 50%;
  font-weight: 900;
  font-size: 1.5rem;
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
}

/* Cookie Consent */
.bestaulottery-cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bestaulottery-dark);
  color: var(--bestaulottery-white);
  padding: 1rem;
  z-index: 10000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.bestaulottery-cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bestaulottery-cookie-link {
  color: var(--bestaulottery-secondary);
  text-decoration: none;
}

.bestaulottery-cookie-link:hover {
  text-decoration: underline;
}

.bestaulottery-btn-cookie-accept {
  background: var(--bestaulottery-secondary);
  color: var(--bestaulottery-dark);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.bestaulottery-btn-cookie-accept:hover {
  background: #F9A825;
}

@media (max-width: 768px) {
  .bestaulottery-cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Form Styles */
.bestaulottery-form-container {
  max-width: 500px;
  margin: 8rem auto 4rem;
  padding: 2rem;
  background: var(--bestaulottery-white);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bestaulottery-form-title {
  text-align: center;
  color: var(--bestaulottery-primary);
  margin-bottom: 2rem;
}

.bestaulottery-form-group {
  margin-bottom: 1.5rem;
}

.bestaulottery-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--bestaulottery-text);
}

.bestaulottery-form-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--bestaulottery-border);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.bestaulottery-form-input:focus {
  outline: none;
  border-color: var(--bestaulottery-primary);
}

.bestaulottery-form-submit {
  width: 100%;
  background: var(--bestaulottery-primary);
  color: var(--bestaulottery-white);
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.bestaulottery-form-submit:hover {
  background: #2E7D32;
}

.bestaulottery-form-submit:disabled {
  background: #CCCCCC;
  cursor: not-allowed;
}

.bestaulottery-form-link {
  text-align: center;
  margin-top: 1rem;
}

.bestaulottery-form-link a {
  color: var(--bestaulottery-primary);
  text-decoration: none;
}

.bestaulottery-form-link a:hover {
  text-decoration: underline;
}

.bestaulottery-form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
}

.bestaulottery-form-message.success {
  background: #E8F5E8;
  color: var(--bestaulottery-success);
  border: 1px solid var(--bestaulottery-success);
}

.bestaulottery-form-message.error {
  background: #FFEBEE;
  color: var(--bestaulottery-error);
  border: 1px solid var(--bestaulottery-error);
}

/* Responsive Design */
@media (max-width: 992px) {
  .bestaulottery-hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .bestaulottery-features .row {
    flex-direction: column-reverse;
  }
}

@media (max-width: 576px) {
  .bestaulottery-hero {
    padding: 6rem 1rem 3rem;
  }
  
  .bestaulottery-hero-title {
    font-size: 2rem;
  }
  
  .bestaulottery-cta-buttons {
    flex-direction: column;
  }
  
  .bestaulottery-trust-indicators {
    flex-direction: column;
    gap: 1rem;
  }
  
  .bestaulottery-jackpot-amount {
    font-size: 2rem;
  }
  
  .bestaulottery-feature-item {
    flex-direction: column;
    text-align: center;
  }
  
  .bestaulottery-help-links {
    flex-direction: column;
  }
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center { text-align: center; }
.text-start { text-align: left; }
.text-end { text-align: right; }

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Loading Animation */
.bestaulottery-loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--bestaulottery-white);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Print Styles */
@media print {
  .bestaulottery-navbar,
  .bestaulottery-cookie-popup {
    display: none;
  }
  
  .bestaulottery-hero {
    background: var(--bestaulottery-white);
    color: var(--bestaulottery-text);
  }
} 