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

:root {
  --primary-color: #E31937;
  --secondary-color: #00BFB3;
  --dark-gray: #28222A;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;
  --orange: #F39200;
  --text-color: #333333;
  --border-color: #E0E0E0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  padding: 12px 32px;
  border-radius: 25px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

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

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

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

.btn-secondary:hover {
  background-color: var(--dark-gray);
  color: var(--white);
}

.btn-block {
  width: 100%;
  display: block;
}

/* Header */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background-color: var(--light-gray);
  padding: 8px 0;
  font-size: 12px;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-right {
  display: flex;
  gap: 15px;
}

.header-top-right a {
  color: var(--text-color);
  text-decoration: none;
}

.header-top-right a:hover {
  text-decoration: underline;
}

.header-main {
  padding: 15px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

.main-nav {
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: var(--dark-gray);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

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

.header-actions {
  display: flex;
  gap: 15px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--dark-gray);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Banner */
.hero-banner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  min-height: 500px;
}

.hero-content-left {
  background: linear-gradient(135deg, #F39200 0%, #E67E00 100%);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  text-align: center;
}

.hero-logo {
  width: 200px;
  margin-bottom: 30px;
}

.hero-content-left h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
}

.draw-times {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 16px;
}

.draw-times .icon {
  font-size: 24px;
}

.retail-badge {
  background-color: rgba(255,255,255,0.9);
  color: var(--orange);
  padding: 10px 30px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
}

.hero-content-right {
  background: linear-gradient(135deg, #00BFB3 0%, #009B92 100%);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

.draw-info h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.draw-number {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.winning-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.info-box {
  background-color: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 10px;
}

.info-box h3 {
  font-size: 14px;
  margin-bottom: 15px;
  opacity: 0.9;
  font-weight: 600;
}

.numbers {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.numbers span {
  background-color: var(--white);
  color: var(--secondary-color);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
  font-size: 20px;
}

.prize-amount {
  font-size: 28px;
  font-weight: 700;
}

.location {
  font-size: 14px;
  text-transform: capitalize;
}

.hero-links {
  display: flex;
  gap: 30px;
}

.hero-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.hero-links a:hover {
  opacity: 0.8;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background-color: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text h2 {
  font-size: 42px;
  color: var(--dark-gray);
  margin-bottom: 20px;
}

.about-text h3 {
  font-size: 24px;
  color: var(--text-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.about-text p {
  font-size: 18px;
  color: var(--text-color);
  line-height: 1.8;
}

/* Tabs Section */
.tabs-section {
  padding: 60px 0;
  background-color: var(--light-gray);
}

.tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 40px;
  border-bottom: 3px solid var(--border-color);
}

.tab {
  padding: 15px 30px;
  background-color: transparent;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-color);
  position: relative;
  transition: all 0.3s ease;
}

.tab:hover {
  color: var(--primary-color);
}

.tab.active {
  color: var(--primary-color);
}

.tab.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--primary-color);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-content h2 {
  font-size: 32px;
  color: var(--dark-gray);
  margin-bottom: 20px;
}

.tab-content h3 {
  font-size: 24px;
  color: var(--dark-gray);
  margin-top: 30px;
  margin-bottom: 15px;
}

.tab-content p {
  font-size: 16px;
  color: var(--text-color);
  margin-bottom: 15px;
  line-height: 1.8;
}

.tab-content ul {
  list-style-position: inside;
  margin: 20px 0;
}

.tab-content li {
  font-size: 16px;
  color: var(--text-color);
  margin-bottom: 10px;
  padding-left: 10px;
}

.tab-content a {
  color: var(--primary-color);
  text-decoration: none;
}

.tab-content a:hover {
  text-decoration: underline;
}

/* Winners Section */
.winners-section {
  padding: 80px 0;
  background-color: var(--white);
}

.winners-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.winners-badge {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 8px 25px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 15px;
}

.winners-header h2 {
  font-size: 48px;
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.winners-header p {
  font-size: 16px;
  color: var(--text-color);
}

.fireworks-icon {
  position: absolute;
  right: 0;
  top: 0;
  width: 100px;
}

.winners-table-wrapper {
  overflow-x: auto;
}

.winners-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
}

.winners-table thead {
  background-color: var(--dark-gray);
  color: var(--white);
}

.winners-table th {
  padding: 20px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

.winners-table td {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 16px;
}

.winners-table tbody tr:hover {
  background-color: var(--light-gray);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.pagination button {
  padding: 10px 20px;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  color: var(--text-color);
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.pagination button:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.pagination button.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Resources Section */
.resources-section {
  padding: 80px 0;
  background-color: var(--light-gray);
  text-align: center;
}

.resources-section h2 {
  font-size: 36px;
  color: var(--dark-gray);
  margin-bottom: 50px;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.resource-card {
  background-color: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
}

.resource-card img {
  width: 80px;
  margin-bottom: 20px;
}

.resource-card h3 {
  font-size: 24px;
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.resource-card p {
  font-size: 16px;
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.6;
}

.resource-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.resource-card a:hover {
  text-decoration: underline;
}

/* Disclaimer */
.disclaimer {
  padding: 30px 0;
  background-color: var(--dark-gray);
  color: var(--white);
  text-align: center;
}

.disclaimer p {
  font-size: 12px;
}

/* Footer */
.footer {
  background-color: var(--dark-gray);
  color: var(--white);
}

.payment-types {
  background-color: rgba(255,255,255,0.1);
  padding: 30px 0;
  text-align: center;
}

.payment-logos {
  height: 60px;
}

.footer-content {
  padding: 60px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--secondary-color);
}

.social-media {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.social-media a {
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.social-media a:hover {
  background-color: var(--secondary-color);
}

.social-media svg {
  width: 20px;
  height: 20px;
}

.bclc-logo {
  margin-top: 20px;
}

.bclc-logo p {
  font-size: 14px;
  margin-bottom: 10px;
}

.bclc-logo img {
  width: 150px;
}

.indigenous-reconciliation {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 40px;
}

.indigenous-reconciliation p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.indigenous-reconciliation a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
}

.indigenous-reconciliation a:hover {
  text-decoration: underline;
}

.footer-gamesense {
  background-color: rgba(255,255,255,0.05);
  padding: 40px 0;
}

.gamesense-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}

.gamesense-content img {
  width: 120px;
}

.gamesense-text p {
  font-size: 18px;
  font-weight: 600;
}

.footer-bottom {
  background-color: rgba(0,0,0,0.3);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.gamesense-logo {
  height: 40px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: var(--white);
  margin: 50px auto;
  padding: 40px;
  border-radius: 15px;
  max-width: 500px;
  position: relative;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 32px;
  font-weight: 300;
  color: var(--text-color);
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: var(--primary-color);
}

.modal-content h2 {
  font-size: 32px;
  color: var(--dark-gray);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-gray);
  font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

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

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-group.checkbox input {
  width: auto;
  margin-top: 4px;
}

.form-group.checkbox label {
  margin-bottom: 0;
  font-weight: 400;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-banner {
      grid-template-columns: 1fr;
  }
  
  .about-content {
      grid-template-columns: 1fr;
  }
  
  .winning-info {
      grid-template-columns: 1fr;
  }
  
  .footer-grid {
      grid-template-columns: 1fr;
  }
  
  .gamesense-content {
      grid-template-columns: 1fr;
      text-align: center;
  }
}

@media (max-width: 768px) {
  .container {
      padding: 0 15px;
  }
  
  .payment-types .container {
      padding: 0;
  }
  
  .payment-logos {
      display: none;
  }
  
  .header-main {
      padding: 10px 0;
  }
  
  .header-top {
      display: none;
  }
  
  .header-content {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      gap: 0;
  }
  
  .logo img {
      height: 30px;
  }
  
  .mobile-menu-toggle {
      display: flex;
  }
  
  .main-nav {
      display: none;
      position: fixed;
      top: 50px;
      left: 0;
      right: 0;
      background-color: var(--white);
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      padding: 0;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      z-index: 1000;
      border-top: 1px solid var(--border-color);
      max-height: calc(100vh - 50px);
      overflow-y: auto;
  }
  
  .main-nav.active {
      display: flex;
  }
  
  .main-nav a {
      padding: 15px 20px;
      border-bottom: 1px solid var(--border-color);
      text-align: left;
  }
  
  .main-nav a:last-child {
      border-bottom: 1px solid var(--border-color);
  }
  
  .header-actions {
      display: none;
      position: fixed;
      top: auto;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: var(--white);
      flex-direction: column;
      gap: 15px;
      padding: 20px;
      box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
      z-index: 1000;
      border-top: 1px solid var(--border-color);
  }
  
  .header-actions.active {
      display: flex;
  }
  
  .header-actions .btn {
      width: 100%;
      margin: 0;
  }
  
  .hero-content-left {
      padding: 40px 20px;
  }
  
  .hero-content-right {
      padding: 40px 20px;
  }
  
  .hero-content-left h1 {
      font-size: 32px;
  }
  
  .draw-info h2 {
      font-size: 28px;
  }
  
  .about-text h2 {
      font-size: 32px;
  }
  
  .tabs {
      flex-direction: column;
  }
  
  .resources-grid {
      grid-template-columns: 1fr;
  }
  
  .winners-table {
      font-size: 14px;
  }
  
  .winners-table th,
  .winners-table td {
      padding: 10px;
  }
  
  .modal-content {
      margin: 20px;
      padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .container {
      padding: 0 10px;
  }
  
  .payment-types .container {
      padding: 0;
  }
  
  .hero-content-left {
      padding: 30px 15px;
  }
  
  .hero-content-right {
      padding: 30px 15px;
  }
  
  .hero-content-left h1 {
      font-size: 24px;
  }
  
  .draw-info h2 {
      font-size: 22px;
  }
  
  .numbers span {
      width: 35px;
      height: 35px;
      font-size: 16px;
  }
  
  .about-text h2 {
      font-size: 28px;
  }
  
  .about-text h3 {
      font-size: 20px;
  }
  
  .winners-header h2 {
      font-size: 32px;
  }
  
  .resources-section h2 {
      font-size: 28px;
  }
}