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

@font-face {
  font-family: 'Poppins';
  src: url('/font/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #0b1628 0%, #152a4c 50%, #0b1628 100%);
  color: #ffffff;
  min-height: 100vh;
  padding-bottom: 80px;
}

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

header {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: bold;
}

.logo a {
  text-decoration: none;
  color: #ffffff;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: #2d7a3d;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
}

.logo-text span {
  color: #2d7a3d;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  transition: background 0.3s, transform 0.3s;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
}

.nav-toggle:focus-visible {
  outline: 2px solid #2d7a3d;
  outline-offset: 4px;
}

.nav-toggle.is-active {
  background: rgba(45, 122, 61, 0.12);
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.site-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.site-nav a:hover {
  color: #2d7a3d;
}

.site-nav .btn-nav {
  padding: 8px 16px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
}

.site-nav .btn-nav:hover {
  border-color: #2d7a3d;
  color: #2d7a3d;
}

.site-nav .btn-register {
  background: #2d7a3d;
  border-color: #2d7a3d;
  color: #fff;
}

.site-nav .btn-register:hover {
  background: #3a8f4f;
  border-color: #3a8f4f;
  color: #fff;
}

.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero.hero-photo {
  background:
    linear-gradient(180deg, rgba(11, 22, 40, 0.85) 0%, rgba(21, 42, 76, 0.85) 100%),
    url('/img/Photo1.webp') center/cover no-repeat;
  padding: 100px 40px 80px;
  border-radius: 12px;
  margin-top: 40px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 24px;
  line-height: 1.2;
  color: #2d7a3d;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.draws-section {
  margin-top: 80px;
}

.draws-section h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
  color: #2d7a3d;
}

.draws-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.draw-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
}

.draw-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  border-color: rgba(45, 122, 61, 0.4);
}

.draw-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.lotto-649 {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.lotto-649-logo {
  font-size: 48px;
  color: #fff;
  font-weight: 900;
  position: relative;
}

.lotto-649-logo::before {
  content: 'LOTTO';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  font-weight: 600;
}

.lotto-max {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
}

.lotto-max-logo {
  font-size: 32px;
  color: #fff;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.daily-grand {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  border-radius: 50%;
}

.daily-grand-logo {
  font-size: 18px;
  color: #fff;
  font-weight: 900;
  text-align: center;
  line-height: 1.2;
}

.draw-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: #fff;
}

.draw-card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.process-section {
  margin-top: 80px;
  padding: 60px 40px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

.process-section h2 {
  font-size: 36px;
  margin-bottom: 50px;
  text-align: center;
  color: #2d7a3d;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.process-step {
  text-align: center;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff8a3d 0%, #ff6b35 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin: 0 auto 20px;
}

.process-step h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #fff;
}

.process-step p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.features-section {
  margin-top: 80px;
}

.features-section h2 {
  font-size: 36px;
  margin-bottom: 50px;
  text-align: center;
  color: #2d7a3d;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  border-color: rgba(45, 122, 61, 0.4);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  color: #2d7a3d;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #fff;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.responsibility-section {
  margin-top: 80px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

.responsibility-section h2 {
  font-size: 36px;
  margin-bottom: 30px;
  text-align: center;
  color: #2d7a3d;
}

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

.responsibility-content p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}

.responsibility-content a {
  color: #2d7a3d;
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 122, 61, 0.3);
  transition: border-color 0.3s;
}

.responsibility-content a:hover {
  border-color: #2d7a3d;
}

.btn {
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  text-align: center;
  display: inline-block;
}

.btn-primary {
  background: #ff8a3d;
  color: #000;
}

.btn-primary:hover {
  background: #ff9f5f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 138, 61, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #2d7a3d;
}

.btn-secondary:hover {
  background: #2d7a3d;
  color: #fff;
  transform: translateY(-2px);
}

.footer-info {
  margin-top: 80px;
  padding: 50px 40px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  text-align: center;
}

.responsible-gaming-message {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.responsible-gaming-message p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.licensing-info {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.licensing-info p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.footer-info .footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-info .footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-info .footer-links a:hover {
  color: #ff8a3d;
}

.link-separator {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.age-warning {
  color: #ff4444 !important;
  font-weight: 600;
  font-size: 15px !important;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-logo {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 16px 20px;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.logo-21plus-content {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  text-align: center;
  position: relative;
  padding: 12px 20px;
  border: 3px solid #000;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  display: inline-block;
  background: #fff;
}

.logo-gambleaware-content {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  text-align: center;
}

.logo-gambleaware-content span {
  color: #ff8a3d;
}

.logo-gamblers-help-content {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #000;
}

.help-icon {
  font-size: 32px;
  line-height: 1;
}

.help-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.help-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e88e5;
  margin-bottom: 4px;
}

.help-phone {
  font-size: 12px;
  color: #1e88e5;
  font-weight: 600;
}

.copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.site-nav a.active {
  color: #2d7a3d;
  font-weight: 600;
}

/* About Page Styles */
.about-hero {
  text-align: center;
  padding: 60px 0 40px;
  margin-top: 40px;
}

.about-hero h1 {
  font-size: 42px;
  color: #2d7a3d;
  font-weight: 700;
  margin: 0;
}

.about-section {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-section:last-of-type {
  border-bottom: none;
}

.about-section h2 {
  font-size: 32px;
  color: #ff8a3d;
  font-weight: 700;
  margin-bottom: 24px;
}

.about-content {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.about-content p {
  font-size: 16px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
}

.about-content h3 {
  font-size: 20px;
  color: #2d7a3d;
  font-weight: 700;
  margin: 24px 0 12px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.principle-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
}

.principle-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  border-color: rgba(45, 122, 61, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.principle-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  color: #2d7a3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.principle-icon svg {
  width: 100%;
  height: 100%;
}

.principle-card h3 {
  font-size: 20px;
  color: #2d7a3d;
  font-weight: 700;
  margin-bottom: 12px;
}

.principle-card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Contact Page Styles */
.contact-hero {
  text-align: center;
  padding: 60px 0 40px;
  margin-top: 40px;
}

.contact-hero h1 {
  font-size: 42px;
  color: #2d7a3d;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-hero h2 {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-hero p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 80px;
}

.contact-form-section,
.contact-info-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px;
}

.contact-form-section h3,
.contact-info-section h3 {
  font-size: 28px;
  color: #ff8a3d;
  font-weight: 700;
  margin-bottom: 30px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group textarea {
  background: rgba(10, 7, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  transition: border 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2d7a3d;
  box-shadow: 0 0 0 3px rgba(45, 122, 61, 0.2);
}

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

.form-privacy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-top: 8px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.contact-details {
  flex: 1;
}

.contact-details strong {
  display: block;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-details p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

.contact-details a {
  color: #2d7a3d;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-details a:hover {
  color: #3a8f4f;
  text-decoration: underline;
}

/* Number Selection Page Styles */
.selection-hero {
  text-align: center;
  padding: 60px 0 40px;
  margin-top: 40px;
}

.selection-hero h1 {
  font-size: 42px;
  color: #2d7a3d;
  font-weight: 700;
  margin-bottom: 16px;
}

.selection-hero p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
}

.selection-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 80px;
}

.number-selection-section,
.entry-summary-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px;
}

.number-selection-section h2 {
  font-size: 28px;
  color: #2d7a3d;
  font-weight: 700;
  margin-bottom: 30px;
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.number-grid-50 {
  grid-template-columns: repeat(10, 1fr);
}

.grand-number-section {
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.grand-number-section h3 {
  font-size: 18px;
  color: #ff8a3d;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.grand-number-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.grand-number-btn {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Poppins', sans-serif;
}

.grand-number-btn:hover {
  background: rgba(255, 138, 61, 0.3);
  border-color: #ff8a3d;
  transform: scale(1.05);
}

.grand-number-btn.selected {
  background: #ff8a3d;
  border-color: #ff8a3d;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.3);
}

.number-btn {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Poppins', sans-serif;
}

.number-btn:hover {
  background: rgba(45, 122, 61, 0.3);
  border-color: #2d7a3d;
  transform: scale(1.05);
}

.number-btn.selected {
  background: #2d7a3d;
  border-color: #2d7a3d;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(45, 122, 61, 0.3);
}

.selection-actions {
  display: flex;
  gap: 16px;
}

.btn-clear {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Poppins', sans-serif;
}

.btn-clear:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.entry-summary-section h2 {
  font-size: 28px;
  color: #ff8a3d;
  font-weight: 700;
  margin-bottom: 30px;
}

.summary-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-item label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.summary-select,
.summary-input {
  background: rgba(10, 7, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  transition: border 0.3s, box-shadow 0.3s;
}

.summary-select:focus,
.summary-input:focus {
  outline: none;
  border-color: #2d7a3d;
  box-shadow: 0 0 0 3px rgba(45, 122, 61, 0.2);
}

.summary-value {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.summary-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 10px 0;
}

.summary-total {
  margin-top: 10px;
}

.summary-total label {
  font-size: 16px;
}

.summary-total-value {
  font-size: 24px;
  font-weight: 700;
  color: #2d7a3d;
  margin: 0;
}

.btn-proceed {
  width: 100%;
  margin-top: 10px;
  padding: 16px;
  font-size: 16px;
}

.summary-disclaimer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-top: 16px;
  text-align: center;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  background: rgba(11, 22, 40, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
}

.modal-content h3 {
  font-size: 28px;
  color: #2d7a3d;
  font-weight: 700;
  margin-bottom: 30px;
}

.review-details,
.confirmation-details {
  text-align: left;
  margin-bottom: 30px;
}

.review-item,
.confirmation-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.review-item:last-child,
.confirmation-item:last-child {
  border-bottom: none;
}

.review-item strong,
.confirmation-item strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.review-item span,
.confirmation-item span {
  color: rgba(255, 255, 255, 0.8);
}

.review-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 16px 0;
}

.review-total {
  margin-top: 10px;
  padding-top: 16px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.review-total strong,
.review-total span {
  font-size: 20px;
  color: #2d7a3d;
  font-weight: 700;
}

.review-note,
.confirmation-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
  line-height: 1.6;
}

.modal-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.modal-actions .btn {
  flex: 1;
  max-width: 200px;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: #ff8a3d;
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
}

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

.success-icon {
  width: 80px;
  height: 80px;
  background: #2d7a3d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 48px;
  color: #fff;
  font-weight: bold;
}

/* Login Page Styles */
.login-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 200px);
  padding: 60px 20px;
  margin-top: 40px;
}

.login-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 50px 40px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.login-card h1 {
  font-size: 36px;
  color: #2d7a3d;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.login-description {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  text-align: center;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.login-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-form label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.login-form input {
  background: rgba(10, 7, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  transition: border 0.3s, box-shadow 0.3s;
  width: 100%;
}

.login-form input:focus {
  outline: none;
  border-color: #2d7a3d;
  box-shadow: 0 0 0 3px rgba(45, 122, 61, 0.2);
}

.login-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.password-input-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.password-toggle:hover {
  color: rgba(255, 255, 255, 0.9);
}

.password-toggle svg {
  width: 20px;
  height: 20px;
}

.btn-login {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  margin-top: 10px;
}

.login-links {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-links p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.6;
}

.login-links a {
  color: #ff8a3d;
  text-decoration: none;
  transition: color 0.3s;
}

.login-links a:hover {
  color: #ff9f5f;
  text-decoration: underline;
}

/* Register Page Styles */
.register-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 200px);
  padding: 60px 20px;
  margin-top: 40px;
}

.register-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 50px 40px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.register-card h1 {
  font-size: 36px;
  color: #2d7a3d;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.register-description {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  text-align: center;
}

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

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

.register-form label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.register-form input {
  background: rgba(10, 7, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  transition: border 0.3s, box-shadow 0.3s;
  width: 100%;
}

.register-form input:focus {
  outline: none;
  border-color: #2d7a3d;
  box-shadow: 0 0 0 3px rgba(45, 122, 61, 0.2);
}

.register-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.password-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  margin-top: -4px;
  transition: color 0.3s;
}

.btn-register {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  margin-top: 10px;
}

.register-links {
  text-align: center;
  display: flex;
    flex-direction: column;
  gap: 12px;
}

.register-links p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.6;
}

.register-links a {
  color: #ff8a3d;
  text-decoration: none;
  transition: color 0.3s;
}

.register-links a:hover {
  color: #ff9f5f;
  text-decoration: underline;
}

/* Cookie Policy Page Styles */
.policy-hero {
  text-align: center;
  padding: 60px 0 40px;
  margin-top: 40px;
}

.policy-hero h1 {
  font-size: 42px;
  color: #2d7a3d;
  font-weight: 700;
  margin-bottom: 16px;
}

.effective-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.policy-section {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-section:last-of-type {
  border-bottom: none;
}

.policy-section h2 {
  font-size: 32px;
  color: #ff8a3d;
  font-weight: 700;
  margin-bottom: 24px;
}

.policy-content {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.policy-content p {
  font-size: 16px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
}

.policy-content ul {
  margin: 16px 0 20px 20px;
  padding: 0;
}

.policy-content li {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
  line-height: 1.6;
}

.policy-content strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.cookie-type {
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-type:last-child {
  margin-bottom: 0;
}

.cookie-type h3 {
  font-size: 24px;
  color: #2d7a3d;
  font-weight: 700;
  margin-bottom: 20px;
}

.cookie-preferences {
  margin-top: 30px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }

.cookie-preferences .btn {
  margin-bottom: 16px;
  padding: 14px 28px;
  font-size: 15px;
}

.preference-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.6;
}

/* Privacy Policy Info Types */
.info-type {
  margin-bottom: 30px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-type:last-child {
  margin-bottom: 0;
}

.info-type h3 {
  font-size: 20px;
  color: #2d7a3d;
  font-weight: 700;
  margin-bottom: 16px;
}

.policy-content .contact-info {
  margin-top: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-content .contact-info p {
  margin-bottom: 12px;
}

.policy-content .contact-info a {
  color: #2d7a3d;
  text-decoration: none;
  transition: color 0.3s;
}

.policy-content .contact-info a:hover {
  color: #3a8f4f;
  text-decoration: underline;
}

/* Responsible Gaming Page Styles */
.principle-card {
  margin-bottom: 30px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.principle-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(45, 122, 61, 0.4);
  transform: translateY(-2px);
}

.principle-card .principle-icon {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 20px;
  text-align: center;
}

.principle-card h3 {
  font-size: 24px;
  color: #2d7a3d;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.principle-card .policy-content {
  text-align: left;
}

.support-resource {
  margin-top: 30px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.support-resource h3 {
  font-size: 24px;
  color: #ff8a3d;
  font-weight: 700;
  margin-bottom: 20px;
}

.helpline-info {
  margin-top: 20px;
  padding: 20px;
  background: rgba(45, 122, 61, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(45, 122, 61, 0.3);
  text-align: center;
}

.helpline-number {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
}

.helpline-number strong {
  color: #2d7a3d;
  font-weight: 700;
  font-size: 24px;
}

.disclaimer-box {
  padding: 25px;
  background: rgba(255, 138, 61, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(255, 138, 61, 0.3);
  text-align: center;
}

.disclaimer-box p {
  margin-bottom: 12px;
}

.disclaimer-box strong {
  color: #ff8a3d;
  font-weight: 700;
}

@media (max-width: 968px) {
  .hero h1 {
    font-size: 36px;
  }

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

  .header-content {
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
    z-index: 104;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(80%, 280px);
    background: rgba(11, 22, 40, 0.96);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 18px;
    padding: 120px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 103;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    font-size: 16px;
    font-weight: 500;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(6, 10, 18, 0.55);
    backdrop-filter: blur(4px);
    z-index: 102;
  }

  .draws-grid,
  .process-steps,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .about-hero h1 {
    font-size: 32px;
  }

  .about-section h2 {
    font-size: 28px;
  }

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

  .contact-hero h1 {
    font-size: 32px;
  }

  .contact-hero h2 {
    font-size: 24px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form-section,
  .contact-info-section {
    padding: 30px 20px;
  }

  .selection-hero h1 {
    font-size: 32px;
  }

  .selection-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .number-selection-section,
  .entry-summary-section {
    padding: 30px 20px;
  }

  .number-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }

  .number-grid-50 {
    grid-template-columns: repeat(5, 1fr);
  }

  .grand-number-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
  }

  .number-btn {
    font-size: 16px;
  }

  .selection-actions {
    flex-direction: column;
  }

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

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn {
    max-width: 100%;
  }

  .login-section {
    min-height: auto;
    padding: 40px 20px;
  }

  .login-card {
    padding: 40px 30px;
  }

  .login-card h1 {
    font-size: 28px;
  }

  .register-section {
    min-height: auto;
    padding: 40px 20px;
  }

  .register-card {
    padding: 40px 30px;
  }

  .register-card h1 {
    font-size: 28px;
  }

  .policy-hero h1 {
    font-size: 32px;
  }

  .policy-section h2 {
    font-size: 28px;
  }

  .cookie-type {
    padding: 20px;
  }

  .cookie-type h3 {
    font-size: 20px;
  }

  .info-type {
    padding: 20px;
  }

  .info-type h3 {
    font-size: 18px;
  }

  .principle-card {
    padding: 20px;
  }

  .principle-card h3 {
    font-size: 20px;
  }

  .principle-card .principle-icon {
    font-size: 36px;
  }

  .support-resource {
    padding: 20px;
  }

  .support-resource h3 {
    font-size: 20px;
  }

  .helpline-number {
    font-size: 18px;
  }

  .helpline-number strong {
    font-size: 20px;
  }

  .footer-info {
    padding: 40px 20px;
  }

  .footer-logos {
    flex-direction: column;
    gap: 20px;
  }

  .footer-logo {
    width: 100%;
    max-width: 280px;
  }

  .responsible-gaming-message p {
    font-size: 15px;
  }
}

.footer-logos {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  margin: 40px auto;
  padding: 20px 0;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  padding: 18px 28px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.footer-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.footer-logo img {
  display: block;
  height: 58px;     /* Уніфікована висота логотипів */
  width: auto;      /* Пропорції зберігаються */
  object-fit: contain;
}

/* Додатково — адаптивність */
@media (max-width: 768px) {
  .footer-logos {
    gap: 20px;
  }

  .footer-logo {
    padding: 14px 22px;
  }

  .footer-logo img {
    height: 46px;
  }
}


.draw-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.draw-logo img.draw-img {
  width: 120px;      /* або 100px якщо хочеш менше */
  height: auto;
  object-fit: contain;
}
