/* ============================================
   ROOPOKIES - Privacy Policy Page
   Clean, Readable, Legal Document Style
   ============================================ */

/* CSS Variables */
:root {
  --bg-main: #060714;
  --bg-section: #0e1024;
  --bg-card: #171a36;
  --accent-primary: #f5a623;
  --accent-secondary: #b24bff;
  --accent-cta: #ff4b6e;
  --accent-success: #00d4aa;
  --accent-warning: #ff9500;
  --accent-privacy: #10b981;
  --text-main: #ffffff;
  --text-muted: #a0a3b1;
  --border-soft: rgba(255, 255, 255, 0.08);
  --shadow-glow: rgba(245, 166, 35, 0.3);
  --gradient-primary: linear-gradient(135deg, var(--accent-primary), #ff8c42);
  --gradient-privacy: linear-gradient(135deg, var(--accent-privacy), #34d399);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Ubuntu', 'Roboto', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 7, 20, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 997;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.hamburger-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  z-index: 1001;
  position: relative;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.hamburger-menu:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hamburger-menu span {
  width: 24px;
  height: 2.5px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: block;
  position: absolute;
}

.hamburger-menu span:nth-child(1) {
  top: 12px;
}

.hamburger-menu span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-menu span:nth-child(3) {
  bottom: 12px;
}

.hamburger-menu.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
  transform: translateY(-50%) scale(0);
}

.hamburger-menu.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

.logo {
  justify-self: center;
  grid-column: 2;
}

.logo img {
  height: 50px;
  width: auto;
}

.navbar-spacer {
  display: none;
}

.navbar-menu {
  display: none;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar-menu.active {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: rgba(6, 7, 20, 0.98);
  z-index: 1000;
  padding: 5rem 2rem 2rem;
  overflow-y: auto;
}

.navbar-menu li {
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
}

.navbar-menu li a {
  display: block;
  text-decoration: none;
  width: 100%;
  padding: 1rem;
  color: var(--text-main);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navbar-menu li a:hover,
.navbar-menu li a.active {
  color: var(--accent-primary);
  background: rgba(245, 166, 35, 0.1);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--bg-main);
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(245, 166, 35, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 2px solid var(--border-soft);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-primary);
  transform: translateY(-3px);
}

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.1rem;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 4rem 0;
  background: var(--bg-main);
}

.section--dark {
  background: var(--bg-section);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  background: rgba(14, 16, 36, 0.8);
  border-bottom: 1px solid var(--border-soft);
  padding: 0.75rem 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--accent-primary);
}

.breadcrumb-item:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
  opacity: 0.5;
}

.breadcrumb-item:last-child {
  color: var(--accent-primary);
}

/* ============================================
   HERO SECTION
   ============================================ */

.privacy-hero {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-main) 100%);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 70% 50%, rgba(245, 166, 35, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-privacy);
  margin-bottom: 1.5rem;
}

.badge-icon {
  font-size: 1.1rem;
}

.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-main) 0%, var(--accent-privacy) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.8;
}

/* ============================================
   TABLE OF CONTENTS
   ============================================ */

.toc-section {
  padding: 3rem 0;
  background: var(--bg-section);
}

.toc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 2rem;
}

.toc-card h3 {
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.toc-link {
  padding: 0.75rem 1rem;
  background: var(--bg-section);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.toc-link:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--accent-privacy);
  color: var(--text-main);
}

/* ============================================
   PRIVACY CONTENT
   ============================================ */

.privacy-content {
  padding: 4rem 0;
}

.privacy-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.privacy-section {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-soft);
}

.privacy-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.section-number {
  width: 50px;
  height: 50px;
  background: var(--gradient-privacy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--bg-main);
  flex-shrink: 0;
}

.section-body {
  flex: 1;
}

.section-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.section-body > p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.section-body > p:last-child {
  margin-bottom: 0;
}

.section-body a {
  color: var(--accent-primary);
  font-weight: 500;
}

.section-body a:hover {
  text-decoration: underline;
}

/* Info Categories */
.info-category {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.info-category h3 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-icon {
  color: var(--accent-privacy);
}

.info-category > p {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

/* Privacy Lists */
.privacy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.privacy-list li {
  padding: 0.4rem 0;
  padding-left: 1.75rem;
  color: var(--text-muted);
  position: relative;
  line-height: 1.7;
}

.privacy-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-privacy);
  font-size: 1.25rem;
}

.privacy-list.check-list li::before {
  content: '✔';
  font-size: 1rem;
  color: var(--accent-privacy);
}

/* Privacy Notes & Highlights */
.privacy-note {
  padding: 1rem 1.5rem;
  background: rgba(16, 185, 129, 0.1);
  border-left: 4px solid var(--accent-privacy);
  border-radius: 0 12px 12px 0;
  margin-top: 1rem;
}

.privacy-note p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}

.privacy-highlight {
  padding: 1rem 1.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  margin-top: 1rem;
  text-align: center;
}

.privacy-highlight p {
  color: var(--accent-privacy);
  margin: 0;
  line-height: 1.7;
}

.privacy-warning {
  padding: 1rem 1.5rem;
  background: rgba(255, 149, 0, 0.1);
  border: 1px solid rgba(255, 149, 0, 0.3);
  border-radius: 12px;
  margin-top: 1rem;
}

.privacy-warning p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}

.privacy-cta {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  margin-top: 1rem;
}

.privacy-cta p {
  margin: 0;
  color: var(--text-muted);
}

.contact-cta {
  margin-top: 1.5rem;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--bg-section) 0%, rgba(16, 185, 129, 0.05) 100%);
  border-top: 1px solid var(--border-soft);
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.age-badge {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--bg-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.responsible-badge {
  padding: 0.75rem 1.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-privacy);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-privacy);
  display: flex;
  align-items: center;
}

.cta-content h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.cta-content > p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--bg-main);
  border-top: 1px solid var(--border-soft);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 3rem;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-disclaimer {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-age-badge {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: var(--bg-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.gamble-responsibly {
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    grid-template-columns: auto 1fr;
    gap: 1rem;
  }

  .logo {
    grid-column: 2;
    justify-self: center;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 7, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 998;
    display: flex !important;
    list-style: none;
    margin: 0;
  }

  .navbar-menu.active {
    transform: translateX(0);
  }

  .navbar-menu li {
    width: 100%;
    border-bottom: 1px solid var(--border-soft);
  }

  .navbar-menu li:last-child {
    border-bottom: none;
  }

  .navbar-menu li a {
    display: block;
    padding: 1.25rem 1rem;
    font-size: 1.1rem;
  }

  .privacy-hero {
    padding: 4rem 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .privacy-section {
    flex-direction: column;
    gap: 1rem;
  }

  .section-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .section-body h2 {
    font-size: 1.3rem;
  }

  .toc-grid {
    grid-template-columns: 1fr;
  }

  .cta-content h2 {
    font-size: 1.85rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-column:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .navbar {
    padding: 1rem;
  }

  .hero-content h1 {
    font-size: 1.65rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .toc-card {
    padding: 1.5rem;
  }

  .info-category {
    padding: 1.25rem;
  }

  .privacy-note,
  .privacy-highlight,
  .privacy-warning,
  .privacy-cta {
    padding: 1rem;
  }
}

/* Accessibility */
*:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

