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

a {
  color: inherit;
}

body {
  font-family: "Azeret Mono", monospace;
  background: linear-gradient(135deg, #4a1a2c 0%, #2d1018 100%);
  color: white;
  line-height: 1.6;
  min-height: 100vh;
}

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

/* Header Styles */
.header {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
}

.logo-icon {
  font-size: 1.5rem;
}

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

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #f4d03f;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: #f4d03f;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.burger-line {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active .burger-line:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

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

.mobile-menu-toggle.active .burger-line:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.desktop-nav {
  display: flex;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #4a1a2c 0%, #2d1018 100%);
  z-index: 9999;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-nav.active {
  display: flex;
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
}

.mobile-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.mobile-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 2rem 0;
  gap: 0;
}

.mobile-nav-links .nav-link {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav-links .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  padding-left: 2.5rem;
}

.mobile-nav-links .nav-link.active {
  background-color: rgba(244, 208, 63, 0.2);
  color: #f4d03f;
}

.mobile-nav-links .nav-link.active::after {
  display: none;
}

/* Mobile Menu Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Background Animation */
.coins-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(244, 208, 63, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(244, 208, 63, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 80%,
      rgba(244, 208, 63, 0.05) 0%,
      transparent 50%
    );
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Hero Section */
.hero {
  padding: 10rem 0;
  position: relative;
  overflow: hidden;
  background-image: url("../visualStack/layout/1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gift-box {
  font-size: 8rem;
  animation: bounce 2s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

.floating-coins {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.coin {
  position: absolute;
  font-size: 2rem;
  animation: coinFloat 3s ease-in-out infinite;
}

.coin:nth-child(1) {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}
.coin:nth-child(2) {
  top: 20%;
  right: 15%;
  animation-delay: 0.5s;
}
.coin:nth-child(3) {
  bottom: 30%;
  left: 10%;
  animation-delay: 1s;
}
.coin:nth-child(4) {
  bottom: 20%;
  right: 20%;
  animation-delay: 1.5s;
}
.coin:nth-child(5) {
  top: 50%;
  left: 50%;
  animation-delay: 2s;
}

@keyframes coinFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.play-now-btn {
  background: linear-gradient(45deg, #f4d03f, #f39c12);
  color: #2c3e50;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Azeret Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.play-now-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(244, 208, 63, 0.3);
}

/* Content Sections */
.enjoying-section,
.understanding-section,
.tools-section,
.support-section,
.commitment-section,
.contact-section {
  padding: 4rem 0;
  position: relative;
  z-index: 2;
}

.tips-grid,
.tools-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.support-card {
  img {
    margin-right: 12px;
  }
}

.tip-card,
.tool-card,
.support-card {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.tip-card:hover,
.tool-card:hover,
.support-card:hover {
  transform: translateY(-5px);
}

.tip-card h3,
.tool-card h3,
.support-card h3 {
  margin-bottom: 1rem;
  color: #2c3e50;
  font-size: 1.2rem;
}

/* Checklist Styles */
.checklist {
  max-width: 800px;
  margin: 0 auto;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.checkbox {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Accordion Styles */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
}

.accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.accordion-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
  max-height: 400px;
  padding: 1.5rem;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-icon.active {
  transform: rotate(180deg);
}

/* Auth Pages */
.auth-main {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  position: relative;
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  position: relative;
  z-index: 2;
}

.auth-card {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 450px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: #2c3e50;
}

.auth-button {
  background: linear-gradient(45deg, #f4d03f, #f39c12);
  color: #2c3e50;
  border: none;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Azeret Mono", monospace;
  margin-top: 1rem;
}

.auth-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(244, 208, 63, 0.3);
}

/* Success Page */
.success-main {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  position: relative;
}

.success-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  position: relative;
  z-index: 2;
}

.success-card {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 4rem 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
  max-width: 500px;
}

.success-button {
  display: inline-block;
  background: linear-gradient(45deg, #f4d03f, #f39c12);
  color: #2c3e50;
  text-decoration: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-family: "Azeret Mono", monospace;
}

.success-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(244, 208, 63, 0.3);
}

/* Policy Pages */
.policy-main {
  padding: 2rem 0;
  position: relative;
  z-index: 2;
}

.policy-content {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 1000px;
  margin: 0 auto;
}

.enjoying-section, .understanding-section, .tools-section, .support-section, .commitment-section, .contact-section {
  background-image: url("../visualStack/layout/2.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.policy-section {
  margin-bottom: 2.5rem;
}

.policy-section h2 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.policy-section ul {
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.policy-section li {
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.8);
  padding: 3rem 0 1rem;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

.footer-info {
  font-size: 0.9rem;
}

.footer-notice {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #f4d03f;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.footer-links a {
  color: #f4d03f;
  text-decoration: none;
  transition: color 0.3s ease;
  text-decoration: underline;
}

.footer-links a:hover {
  color: white;
}

.footer-logos {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-item {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 1.5rem;
  border-radius: 15px;
  max-width: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.cookie-consent.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.cookie-accept,
.cookie-decline {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Azeret Mono", monospace;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: #2ecc71;
  color: white;
}

.cookie-decline {
  background: #e74c3c;
  color: white;
}

.cookie-accept:hover,
.cookie-decline:hover {
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .header .container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    gap: 1rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .gift-box {
    font-size: 6rem;
  }

  .tips-grid,
  .tools-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-logos {
    gap: 1rem;
  }

  .cookie-consent {
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .auth-card,
  .policy-content {
    margin: 1rem;
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .gift-box {
    font-size: 4rem;
  }

  .tip-card,
  .tool-card,
  .support-card {
    padding: 1.5rem;
  }

  .auth-card {
    padding: 1.5rem;
  }

  .policy-content {
    padding: 1.5rem;
  }
}

/* Additional Help Page Styles */
.help-notice {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.confidence-section,
.chance-section,
.gambling-help-section,
.smart-play-section,
.positive-experience-section,
.pause-section {
  padding: 3rem 0;
}

.confidence-card,
.chance-card,
.smart-play-card,
.positive-card,
.pause-card {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.confidence-card:hover,
.chance-card:hover,
.smart-play-card:hover,
.positive-card:hover,
.pause-card:hover {
  transform: translateY(-5px);
}

.help-content {
  line-height: 1.8;
}

/* Responsive Updates */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }

  /* Prevent body scroll when mobile menu is open */
  body.mobile-menu-open {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .mobile-nav-links .nav-link {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  .mobile-nav-links .nav-link:hover {
    padding-left: 2rem;
  }
}

.age-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

.age-modal-content {
  background: black;
  padding: 48px;
  border-radius: 20px;
  text-align: center;
  max-width: 500px;
  margin: 1rem;
}

.age-modal-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.age-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.btn-confirm {
  background: #00F55A;
  color: black;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
}

.btn-deny {
  background: #F81717;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
}

.age-error {
  margin-top: 1rem;
  color: #F81717;
}

h1,h2,h3,h4,h5,h6,p,a {
word-break: break-all;
}

