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

/* Updated color scheme to use OnGoingMedia brand colors (gold and dark blue) */
:root {
  --primary-gold: #d4a017;
  --primary-dark-blue: #003d5c;
  --accent-blue: #0075a2;
  --text-dark: #1a1a1a;
  --text-gray: #4a5568;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --warning-red: #dc3545;
  --success-green: #28a745;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Warning Banner */
.warning-banner {
  background: linear-gradient(135deg, var(--warning-red) 0%, #c82333 100%);
  color: white;
  padding: 12px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.warning-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 20px;
}

.age-badge {
  background-color: white;
  color: var(--warning-red);
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
}

.warning-banner a {
  color: white;
  text-decoration: underline;
  font-weight: 600;
}

/* Header */
.header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 40px;
  z-index: 99;
}

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

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

/* Updated logo styling to accommodate image logo */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 45px;
  width: auto;
}

.logo a {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-dark-blue);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

.nav-list {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-list a {
  color: var(--text-gray);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--primary-dark-blue);
}

.nav-list a.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--primary-gold);
  border-radius: 2px;
}

/* Hero Section */
/* Updated hero gradient to use brand colors */
.hero {
  background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--accent-blue) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.ggl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 24px;
  font-weight: 600;
}

.badge-icon {
  background-color: white;
  color: var(--success-green);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 32px;
  line-height: 1.6;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  border: 2px solid transparent;
  cursor: pointer;
}

/* Updated button colors to use brand gold */
.btn-primary {
  background-color: var(--primary-gold);
  color: white;
}

.btn-primary:hover {
  background-color: #c59416;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background-color: var(--bg-light);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-dark-blue);
  border: 2px solid var(--primary-dark-blue);
}

.btn-outline:hover {
  background-color: var(--primary-dark-blue);
  color: white;
}

.btn-small {
  padding: 10px 24px;
  font-size: 14px;
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

/* Added minimalist icon styling */
.trust-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--bg-light);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 18px;
  text-align: center;
  color: var(--text-gray);
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* Lottery Grid */
.lottery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 20px;
}

.lottery-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
}

.lottery-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary-dark-blue);
}

/* Updated lottery icon styling for minimalist icons */
.lottery-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-light);
  border-radius: 12px;
}

.lottery-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--primary-dark-blue);
}

.lottery-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.lottery-jackpot {
  color: var(--primary-gold);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}

.lottery-desc {
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.lottery-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.link-button {
  padding: 10px 20px;
  background-color: var(--primary-dark-blue);
  color: white;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s;
}

.link-button:hover {
  background-color: var(--accent-blue);
}

/* Comparison Table */
.comparison-table {
  background-color: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border-color);
}

.comparison-row:last-child {
  border-bottom: none;
}

/* Updated comparison header to use brand colors */
.comparison-header {
  background-color: var(--primary-dark-blue);
  color: white;
  font-weight: 700;
}

.comparison-cell {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.comparison-cell:not(:last-child) {
  border-right: 1px solid var(--border-color);
}

.comparison-header .comparison-cell:not(:last-child) {
  border-right-color: rgba(255, 255, 255, 0.2);
}

/* Added platform logo image styling */
.platform-logo {
  font-weight: 700;
  font-size: 16px;
}

.platform-logo img {
  height: 35px;
  width: auto;
}

.comparison-cta-row {
  background-color: var(--bg-light);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 32px;
}

/* Updated feature icon styling for minimalist icons */
.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-light);
  border-radius: 16px;
}

.feature-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--primary-dark-blue);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Trust Section */
.trust-section {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.trust-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 40px;
}

.trust-badges {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* Updated trust badge to use brand colors */
.trust-badge {
  background-color: var(--bg-white);
  border: 2px solid var(--primary-dark-blue);
  border-radius: 12px;
  padding: 24px 32px;
  min-width: 200px;
}

.badge-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.badge-content strong {
  font-size: 18px;
  color: var(--primary-dark-blue);
}

.badge-content span {
  font-size: 14px;
  color: var(--text-gray);
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

/* Updated footer section heading color to brand gold */
.footer-section h4 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--primary-gold);
}

.footer-section p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-gold);
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: color 0.3s;
}

.footer-legal-links a:hover {
  color: var(--primary-gold);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-disclaimer {
  background-color: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 8px;
  padding: 20px;
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Page Content Styles */
/* Updated page header to use brand colors */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--accent-blue) 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-subtitle {
  font-size: 18px;
  opacity: 0.95;
}

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

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.content-block {
  margin-bottom: 40px;
}

.content-block h2 {
  font-size: 28px;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.content-block h3 {
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 12px;
  margin-top: 24px;
}

.content-block p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-block ul,
.content-block ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

.content-block li {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 8px;
}

.content-block ul li {
  list-style: disc;
}

.content-block ol li {
  list-style: decimal;
}

.info-box {
  background-color: var(--bg-light);
  border-left: 4px solid var(--primary-dark-blue);
  padding: 24px;
  margin: 24px 0;
  border-radius: 8px;
}

.warning-box {
  background-color: #fff3cd;
  border-left: 4px solid var(--primary-gold);
  padding: 24px;
  margin: 24px 0;
  border-radius: 8px;
}

.alert-box {
  background-color: #f8d7da;
  border-left: 4px solid var(--warning-red);
  padding: 24px;
  margin: 24px 0;
  border-radius: 8px;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-dark-blue);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Added modal styles for registration popup */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 20px;
}

.modal-content {
  background-color: var(--bg-white);
  border-radius: 16px;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  margin: auto;
}

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

.modal-close:hover {
  color: var(--text-dark);
}

.modal-content h2 {
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.modal-subtitle {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 24px;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text-gray);
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  width: auto;
  cursor: pointer;
}

.checkbox-group a {
  color: var(--primary-dark-blue);
  text-decoration: underline;
}

.btn-full {
  width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav-list.active {
    display: flex;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-cell:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  .comparison-cell:last-child {
    border-bottom: none;
  }

  .footer-legal {
    flex-direction: column;
    text-align: center;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .modal-content {
    padding: 30px 20px;
  }

  .modal-content h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .lottery-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}
