
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

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

.logo-section {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-section:hover {
  color: inherit;
}

.logo-section img {
  width: 40px;
  height: 40px;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-weight: 500;
  color: var(--text-color);
  position: relative;
  padding: 0.5rem 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

.main-nav a:hover::after {
  width: 100%;
}

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

.main-nav a.active::after {
  width: 100%;
}


.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: 0.4s;
}


.hero {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  padding: 8rem 0;
  color: var(--secondary-color);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

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

.hero h1 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  opacity: 0.8;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}


.license-badge {
  background-color: var(--secondary-color);
  border-bottom: 1px solid var(--border-color);
  padding: 4rem 0;
}

.badge-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-light);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  border-left: 6px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.license-info {
  flex: 1;
}

.license-info h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.license-details {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.license-details li {
  font-size: 1rem;
  color: var(--text-color);
}

.license-details li strong {
  color: var(--primary-dark);
}

.license-logo-wrapper {
  margin-left: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.license-logo-wrapper img {
  max-height: 100px;
  opacity: 0.9;
}


.lottery-types {
  background-color: var(--bg-light);
}

.lottery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.lottery-card {
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.lottery-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lottery-card h3::before {
  content: '✦';
  color: var(--accent-color);
}

.lottery-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.lottery-rules {
  list-style: none;
  margin-bottom: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.lottery-rules li {
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.925rem;
}

.lottery-rules li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.learn-more {
  display: inline-block;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: underline;
  margin-top: auto;
}

.learn-more:hover {
  color: var(--primary-dark);
}


.lottery-info {
  background-color: var(--secondary-color);
}

.info-container {
  max-width: 800px;
  margin: 0 auto;
}

.lottery-article {
  margin-top: 2rem;
}

.lottery-article h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.rules-list {
  list-style: none;
  margin: 1.5rem 0;
}

.rules-list li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.rules-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
}


.responsible-gaming {
  background-color: var(--secondary-color);
}

.rg-container {
  background-color: var(--bg-warning);
  border: 2px solid var(--border-warning);
  border-radius: var(--border-radius);
  padding: 3.5rem;
  box-shadow: var(--shadow-sm);
}

.rg-container h2 {
  color: #92400e;
  margin-bottom: 1.5rem;
}

.rg-message {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  color: #78350f;
}

.rg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.rg-box {
  background-color: rgba(255, 255, 255, 0.6);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.rg-box h3 {
  font-size: 1.25rem;
  color: #92400e;
  margin-bottom: 0.75rem;
}

.rg-box p {
  font-size: 0.95rem;
  color: #78350f;
  margin-bottom: 0;
}

.rg-links {
  border-top: 1px solid rgba(245, 158, 11, 0.3);
  padding-top: 1.5rem;
  color: #78350f;
}

.rg-links p {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.rg-links ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.rg-links a {
  color: #b45309;
  text-decoration: underline;
  font-weight: 500;
}

.rg-links a:hover {
  color: #92400e;
}


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

.organizer-info {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-top: 2rem;
  align-items: center;
}

.organizer-details {
  background-color: var(--secondary-color);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.organizer-details p {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.organizer-details p strong {
  font-size: 1.3rem;
  color: var(--primary-color);
}

.organizer-map {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 350px;
  border: 1px solid var(--border-color);
}

.organizer-map iframe {
  width: 100%;
  height: 100%;
}


.main-footer {
  background-color: #1f2937;
  color: var(--secondary-color);
  padding: 5rem 0 2rem;
  border-top: 4px solid var(--primary-color);
}

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

.footer-section h4 {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

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

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul a {
  color: #9ca3af;
  transition: color 0.3s ease;
}

.footer-section ul a:hover {
  color: var(--secondary-color);
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.social-links a:hover {
  transform: scale(1.15);
  padding-left: 0;
  
}

.social-icon {
  width: 24px;
  height: 24px;
  filter: invert(1);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.social-icon:hover {
  opacity: 1;
}

.payment-methods {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.payment-methods svg,
.payment-methods img {
  height: 30px;
  border-radius: 4px;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}


.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal.hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background-color: var(--secondary-color);
  padding: 3rem;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  z-index: 1;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.modal.hidden .modal-content {
  transform: scale(0.9);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

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

.modal h2 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-size: 1.75rem;
}


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

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group label input[type="checkbox"] {
  margin-right: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15);
}

.form-group .error-message {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
}


.chatbot-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.chatbot-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.chatbot-button:hover {
  background-color: var(--primary-dark);
  transform: scale(1.05);
}

.chatbot-button svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.chatbot-window {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 360px;
  height: 480px;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
}

.chatbot-window.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.chatbot-header {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h4 {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.chatbot-close {
  background: none;
  border: none;
  color: var(--secondary-color);
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0.8;
}

.chatbot-close:hover {
  opacity: 1;
}

.chatbot-messages {
  flex-grow: 1;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: #f9fafb;
}

.chat-message {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.chat-message.bot {
  background-color: var(--border-color);
  color: var(--text-color);
  align-self: flex-start;
  border-bottom-left-radius: 0.25rem;
}

.chat-message.user {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  align-self: flex-end;
  border-bottom-right-radius: 0.25rem;
}

.chatbot-input-area {
  display: flex;
  padding: 1rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--secondary-color);
}

.chatbot-input-area input {
  flex-grow: 1;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  outline: none;
  font-family: var(--font-body);
}

.chatbot-input-area input:focus {
  border-color: var(--primary-color);
}

.chatbot-input-area button {
  background: none;
  border: none;
  color: var(--primary-color);
  margin-left: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-input-area button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}


.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #1f2937;
  color: var(--secondary-color);
  padding: 1.5rem 0;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: none;
  
}

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

.cookie-text {
  flex: 1;
  margin-right: 2rem;
  font-size: 0.95rem;
  color: #d1d5db;
}

.cookie-text a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn.accept {
  background-color: var(--accent-color);
  color: var(--secondary-color);
}

.cookie-btn.accept:hover {
  background-color: var(--accent-hover);
}

.cookie-btn.reject {
  background-color: transparent;
  border-color: #4b5563;
  color: #d1d5db;
}

.cookie-btn.reject:hover {
  background-color: #374151;
  color: var(--secondary-color);
}


.compliance-section {
  border-top: 1px solid #374151;
  padding: 2rem 0;
  display: flex;
  justify-content: center;
}

.compliance-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.compliance-badges a {
  display: inline-flex;
  align-items: center;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.compliance-badges a:hover {
  opacity: 1;
  transform: scale(1.05);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* --- Success Messages --- */
.success-message {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background-color: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
  border-radius: var(--border-radius, 8px);
  font-weight: 500;
  font-size: 0.95rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: block;
  animation: fadeInUp 0.4s ease forwards;
}

.success-message.hidden {
  display: none !important;
}