/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Purple-Pink Dark Theme Colors */
  --primary-purple: #9333ea;
  --primary-pink: #ec4899;
  --dark-bg: #0f0a1a;
  --darker-bg: #080510;
  --card-bg: #1a0f2e;
  --text-primary: #f3e8ff;
  --text-secondary: #c4b5fd;
  --text-muted: #a78bfa;
  --border-color: #3b1f5f;
  --hover-purple: #a855f7;
  --hover-pink: #f472b6;
  --gradient-primary: linear-gradient(135deg, #9333ea 0%, #ec4899 100%);
  --gradient-secondary: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
  --shadow-glow: 0 0 20px rgba(147, 51, 234, 0.3);
  --shadow-glow-pink: 0 0 20px rgba(236, 72, 153, 0.3);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Styles */
header {
  background: rgba(15, 10, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.05);
}

.header-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.header-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.header-nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.header-nav a:hover {
  color: var(--text-primary);
  background: rgba(147, 51, 234, 0.1);
}

.header-nav a:hover::before {
  width: 80%;
}

.header-nav a.active {
  color: var(--primary-pink);
  background: rgba(236, 72, 153, 0.15);
}

.header-nav a.active::before {
  width: 80%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(147, 51, 234, 0.1);
  border-color: var(--primary-purple);
}

/* Main Wrapper with Sidebars */
.main-wrapper {
  display: flex;
  flex: 1;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

/* Main Content */
main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  width: 100%;
  min-width: 0;
}

/* Sidebar Styles */
.sidebar-left,
.sidebar-right {
  width: 200px;
  padding: 2rem 1rem;
  position: sticky;
  top: 100px;
  height: fit-content;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.sidebar-link {
  display: block;
  width: 100%;
  text-decoration: none;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.sidebar-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.1;
  transition: left 0.5s ease;
}

.sidebar-link:hover::before {
  left: 0;
}

.sidebar-link:hover {
  border-color: var(--primary-purple);
  box-shadow: var(--shadow-glow);
  transform: translateY(-5px);
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.sidebar-icon {
  font-size: 2.5rem;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(147, 51, 234, 0.5));
}

.sidebar-text {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-arrow {
  color: var(--primary-pink);
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.sidebar-link:hover .sidebar-arrow {
  transform: translateX(5px);
}

/* Banner Styles */
.banner-container {
  width: 100%;
  margin: 2rem 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-container:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow-pink);
}

.banner-container a {
  display: block;
  width: 100%;
  text-decoration: none;
}

.banner-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Section Styles */
section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

section:hover {
  border-color: var(--primary-purple);
  box-shadow: 0 8px 25px rgba(147, 51, 234, 0.2);
}

section h1 {
  color: var(--primary-pink);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

section h2 {
  color: var(--primary-purple);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
  line-height: 1.3;
}

section p {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

section ul,
section ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

section li {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

section li::marker {
  color: var(--primary-pink);
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--darker-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

table thead {
  background: var(--gradient-primary);
}

table th {
  padding: 1.25rem;
  text-align: left;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
}

table td {
  padding: 1rem 1.25rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-color);
  font-size: 1rem;
}

table tbody tr {
  transition: background 0.3s ease;
}

table tbody tr:hover {
  background: rgba(147, 51, 234, 0.1);
}

table tbody tr:nth-child(even) {
  background: rgba(26, 15, 46, 0.5);
}

/* FAQ Accordion Styles */
.faq-accordion {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--darker-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-purple);
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.2);
}

.faq-item.active {
  border-color: var(--primary-pink);
  box-shadow: var(--shadow-glow-pink);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: inherit;
}

.faq-question:hover {
  color: var(--primary-pink);
  background: rgba(236, 72, 153, 0.05);
}

.faq-question span:first-child {
  flex: 1;
  line-height: 1.5;
}

.faq-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  background: var(--gradient-secondary);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer div {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  padding-top: 0.5rem;
}

/* Footer Styles */
footer {
  background: var(--darker-bg);
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  margin-top: 4rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.footer-section p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-pink);
  background: rgba(236, 72, 153, 0.1);
}

.footer-age-restriction {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-color);
  width: 100%;
  margin-top: 1rem;
}

.footer-age-restriction p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
  font-weight: 500;
}

.footer-copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  width: 100%;
}

.footer-copyright p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.footer-copyright p::before {
  content: '© ';
  color: var(--primary-pink);
}

/* Responsive Design */
@media (max-width: 1400px) {
  .sidebar-left,
  .sidebar-right {
    width: 150px;
    padding: 2rem 0.75rem;
  }
  
  .sidebar-link {
    padding: 1.25rem;
  }
  
  .sidebar-icon {
    font-size: 2rem;
  }
  
  .sidebar-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 1200px) {
  .sidebar-left,
  .sidebar-right {
    display: none;
  }
  
  .main-wrapper {
    max-width: 1200px;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    padding: 0 1rem;
  }

  .header-logo img {
    height: 40px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .header-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
  }

  .header-nav.active {
    display: flex;
  }

  .header-nav a {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
  }

  main {
    padding: 2rem 1rem;
  }

  section {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  section h1 {
    font-size: 2rem;
  }

  section h2 {
    font-size: 1.75rem;
  }

  section p,
  section li {
    font-size: 1rem;
  }

  table {
    font-size: 0.9rem;
  }

  table th,
  table td {
    padding: 0.75rem;
  }

  footer {
    padding: 2rem 1rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .banner-container {
    margin: 1.5rem 0;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  section h1 {
    font-size: 1.75rem;
  }

  section h2 {
    font-size: 1.5rem;
  }

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header-logo img {
    height: 35px;
  }
}

/* Smooth Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section,
.banner-container {
  animation: fadeIn 0.6s ease-out;
}

/* Sticky Bottom Banner */
.sticky-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gradient-primary);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 2px solid var(--primary-pink);
}

.sticky-banner.visible {
  transform: translateY(0);
}

.sticky-banner-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
}

.sticky-banner-icon {
  font-size: 1.8rem;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.sticky-banner-text {
  flex: 1;
  line-height: 1.4;
}

.sticky-banner-button {
  background: var(--text-primary);
  color: var(--primary-purple);
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.sticky-banner-button:hover {
  background: var(--text-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.sticky-banner-button:active {
  transform: translateY(0);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  box-shadow: var(--shadow-glow);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.scroll-to-top.visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--gradient-secondary);
  box-shadow: var(--shadow-glow-pink);
  transform: translateY(-5px);
}

.scroll-to-top:active {
  transform: translateY(-2px);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .sticky-banner {
    padding: 0.875rem 1rem;
    flex-direction: column;
    gap: 1rem;
  }
  
  .sticky-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .sticky-banner-text {
    font-size: 0.95rem;
  }
  
  .sticky-banner-button {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .scroll-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
  }
  
  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-secondary);
}

