/* Language switcher styles for age verification page */

/* Page Body Styles */
body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
  text-align: center;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 800px;
  padding: 40px;
  box-sizing: border-box;
  background-color: var(--gray-1);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin: 20px;
  position: relative;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 182, 255, 0.6);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(255, 182, 255, 0.2);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 182, 255, 0);
  }
}

.warning-icon {
  width: 100px;
  height: 100px;
  background-color: #ffb6ff;
  border-radius: 50%;
  margin: 15px auto 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: pulse-glow 2s infinite;
}

.warning-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  box-shadow: 0 0 20px 5px rgba(255, 182, 255, 0.3);
  z-index: -1;
}

.warning-icon svg {
  width: 50px;
  height: 50px;
}

h1 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 600;
}

.message {
  margin-bottom: 30px;
  font-size: 22px;
  font-weight: 500;
}

.disclaimer {
  font-size: 16px;
  opacity: 0.95;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.disclaimer a {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 1px;
  transition: all 0.3s ease;
}

.disclaimer a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.disclaimer ul {
  padding-left: 20px;
  margin: 20px 0;
  list-style-type: none;
}

.disclaimer li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
}

.disclaimer li:before {
  content: "\2022";
  /* Unicode bullet character */
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 20px;
  line-height: 1;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 30px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
  margin: 30px 0;
}

/* ==== LANGUAGE DROPDOWN ==== */
.language-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.language-switcher {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.6rem;
  border-radius: 10px;
  transition: background-color 0.25s ease;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
}

.language-switcher:hover {
  background-color: rgba(255, 182, 255, 0.3);
}

.language-switcher .flag-icon {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  display: block;
  vertical-align: middle;
}

.language-switcher .chevron-icon {
  width: 14px;
  height: 14px;
  margin-left: 4px;
  display: inline-block;
}

/* Dropdown styles */
.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  right: -40px;
  left: auto;
  background: var(--gray-1);
  border: 1px solid #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 10px;
  display: none;
  min-width: 180px;
  width: auto;
  z-index: 999;
  max-height: none;
  overflow-y: visible;
  margin-top: 5px;
}

/* Show dropdown content as grid when active */
#languageDropdown.active .dropdown-content {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 8px;
}

.dropdown-content::before {
  content: '';
  position: absolute;
  height: 12px;
  width: 100%;
  top: -12px;
  left: 0;
}

/* Removed duplicate rule - grid display handled above */

/* Dropdown menu items */
.dropdown-content a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary-color);
  text-decoration: none;
  transition: background-color 0.25s ease;
  padding: 0.8rem 1rem;
  margin: 0;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
  font-size: 0.9rem;
}

.dropdown-content a img {
  height: 16px;
  width: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

.dropdown-content .flag-icon {
  width: 16px;
  height: 14px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 1px;
  display: block;
}

.dropdown-content a:hover {
  background-color: rgba(255, 182, 255, 0.3);
}

/* ==== RESPONSIVE STYLES ==== */

/* Tablet breakpoint */
@media (max-width: 1024px) {
  .language-menu {
    top: 20px;
    right: 20px;
  }

  .dropdown-content {
    min-width: 180px;
    right: -30px;
    left: auto;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 5px;
  }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .language-menu {
    top: 20px;
    right: 20px;
  }

  .language-switcher {
    padding: 8px 12px;
  }

  .flag-icon {
    width: 18px;
    height: 18px;
  }

  .chevron-icon {
    width: 12px;
    height: 12px;
  }

  .dropdown-content {
    position: absolute;
    top: 100%;
    right: -30px;
    left: auto;
    transform: none;
    width: 240px;
    min-width: 160px;
    margin-top: 5px;
    z-index: 9999;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  #languageDropdown.active .dropdown-content {
    display: grid;
    opacity: 1;
    visibility: visible;
    overflow: visible;
    pointer-events: auto;
    z-index: 2000;
    padding: 10px;
  }

  .dropdown-content a {
    font-size: 13px;
    padding: 8px 12px;
    margin: 0;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 20px;
  }

  h1 {
    font-size: 32px;
  }

  .message {
    font-size: 18px;
  }

  .buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* Very small mobile screens */
@media (max-width: 480px) {
  .language-menu {
    top: 15px;
    right: 20px;
  }

  .language-switcher {
    padding: 6px 10px;
  }

  .flag-icon {
    width: 16px;
    height: 16px;
  }

  .chevron-icon {
    width: 10px;
    height: 10px;
  }

  .dropdown-content {
    right: -40px;
    width: 200px;
    min-width: 160px;
  }

  .dropdown-content a {
    padding: 6px 10px;
    font-size: 12px;
  }

  .dropdown {
    max-width: 50px !important;
    margin-right: 0px !important;
  }

  .dropdown.active {
    max-width: 50px !important;
    margin-right: 0px !important;
  }
}

.age-verification-form h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 600;
}

.age-verification-form p {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  line-height: 1.6;
}

.age-verification-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary-color);
}