/* CSS Variables */
:root {
  --primary-color: #ff6b35;
  /* Vibrant orange */
  --secondary-color: #f7931e;
  /* Warm yellow-orange */
  --accent-color: #ffcc02;
  /* Bright yellow */
  --text-dark: #2c3e50;
  /* Deep navy */
  --text-light: #ffffff;
  /* White */
  --bg-light: #fef9e7;
  /* Soft cream */
  --bg-white: #ffffff;
  /* Pure white */
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.2);
  --border-radius: 16px;
  /* Softer corners */
  --transition: all 0.4s ease;
  --font-display: "Comic Sans MS", cursive, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --egg-gradient: linear-gradient(135deg, #ffd700, #ffcc02);
  /* Golden egg effect */
  --privacy-gradient: linear-gradient(135deg, #ff6b35, #f7931e);
  /* Privacy-specific gradient */
  --terms-gradient: linear-gradient(135deg, #f7931e, #ffcc02);
  /* Terms-specific gradient */
  --thanks-gradient: linear-gradient(135deg, #ffcc02, #ffd700);
  /* Thanks-specific gradient */
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.section-title::after {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
}

#privacy-hero+.section .section-title::after,
#collection .section-title::after,
#use .section-title::after,
#transfer .section-title::after,
#disclosure .section-title::after,
#security .section-title::after,
#children .section-title::after,
#changes .section-title::after,
#contact .section-title::after {
  content: "🔒";
  animation: lockWobble 2s ease-in-out infinite;
}

#terms-hero+.section .section-title::after,
#agreement .section-title::after,
#representations .section-title::after,
#prohibited .section-title::after,
#ip .section-title::after,
#contributions .section-title::after,
#disclaimer .section-title::after,
#liability .section-title::after,
#law .section-title::after {
  content: "📜";
  animation: scrollWobble 2s ease-in-out infinite;
}

#thanks-hero+.section .section-title::after,
#message .section-title::after {
  content: "🥚";
  animation: eggWobble 2s ease-in-out infinite;
}

.section-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-dark);
  opacity: 0.9;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.btn:hover::before {
  left: 0;
}

.btn-primary {
  background: var(--egg-gradient);
  color: var(--text-dark);
  box-shadow: var(--shadow);
}

#privacy-hero .btn-primary {
  background: var(--privacy-gradient);
}

#terms-hero .btn-primary {
  background: var(--terms-gradient);
}

#thanks-hero .btn-primary {
  background: var(--thanks-gradient);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transition: var(--transition);
}

.nav-logo:hover {
  transform: rotate(360deg);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
}

.nav-tagline {
  font-size: 0.9rem;
  color: var(--text-dark);
  opacity: 0.7;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-menu a.nav-active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--accent-color);
}

.nav-cta {
  background: var(--egg-gradient);
  color: var(--text-dark);
  padding: 10px 20px;
  border-radius: var(--border-radius);
}

#privacy-hero~.header .nav-cta {
  background: var(--privacy-gradient);
}

#terms-hero~.header .nav-cta {
  background: var(--terms-gradient);
}

#thanks-hero~.header .nav-cta {
  background: var(--thanks-gradient);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger {
  width: 30px;
  height: 4px;
  background: var(--primary-color);
  margin: 4px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--egg-gradient);
  overflow: hidden;
  padding-top: 100px;
}

#privacy-hero {
  background: var(--privacy-gradient);
}

#terms-hero {
  background: var(--terms-gradient);
}

#thanks-hero {
  background: var(--thanks-gradient);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}


.hero-content {
  flex: 1;
  z-index: 2;
  padding: 0 20px;
  max-width: 600px;
}

.hero-title-main {
  display: block;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: bold;
  color: var(--text-light);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  animation: slideInLeft 1.2s ease-out;
}

.hero-title-sub {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-top: 0.8rem;
  animation: slideInLeft 1.2s ease-out 0.2s both;
}

.hero-description {
  font-size: 1.3rem;
  margin: 2rem 0;
  color: var(--text-light);
  animation: slideInLeft 1.2s ease-out 0.4s both;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  margin: 2.5rem 0;
  animation: slideInLeft 1.2s ease-out 0.6s both;
}

.hero-image {
  flex: 1;
  z-index: 2;
  text-align: center;
  animation: slideInRight 1.2s ease-out 0.4s both;
}

.hero-artwork {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.15));
  animation: float 4s ease-in-out infinite;
}

/* Policy Sections */
.introduction,
.collection,
.use,
.transfer,
.disclosure,
.security,
.children,
.changes,
.agreement,
.representations,
.prohibited,
.ip,
.contributions,
.disclaimer,
.liability,
.law,
.message,
.contact {
  background: var(--bg-white);
}

.policy-list {
  max-width: 800px;
  margin: 2rem auto;
  list-style: none;
}

.policy-list li {
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  transition: var(--transition);
  opacity: 0;
  transform: translateX(-20px);
}

.policy-list li.animate {
  opacity: 1;
  transform: translateX(0);
}

.policy-list li:hover {
  background: var(--bg-light);
  transform: translateX(5px);
  box-shadow: var(--shadow-hover);
}

/* Contact Section */
.contacts {
  max-width: 600px;
  margin: 2rem auto;
  text-align: center;
}

.contacts h4 {
  font-family: var(--font-display);
  color: var(--primary-color);
  margin-bottom: 1.2rem;
}

.contacts ul {
  list-style: none;
}

.contacts a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--transition);
}

.contacts a:hover {
  color: var(--primary-color);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-family: var(--font-display);
  color: var(--accent-color);
  margin-bottom: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-section a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.newsletter-form {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2rem;
  text-align: center;
  opacity: 0.7;
}

.footer-disclaimer {
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* Animations */
@keyframes lockWobble {

  0%,
  100% {
    transform: translateX(-50%) rotate(0deg);
  }

  50% {
    transform: translateX(-50%) rotate(10deg);
  }
}

@keyframes scrollWobble {

  0%,
  100% {
    transform: translateX(-50%) rotate(0deg);
  }

  50% {
    transform: translateX(-50%) rotate(10deg);
  }
}

@keyframes eggWobble {

  0%,
  100% {
    transform: translateX(-50%) rotate(0deg);
  }

  50% {
    transform: translateX(-50%) rotate(10deg);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
  }

  .nav-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -7px);
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 120px 20px 60px;
  }

  .hero-title-main {
    font-size: 3rem;
  }

  .hero-title-sub {
    font-size: 1.8rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .section {
    padding: 80px 0;
  }

  .hero-title-main {
    font-size: 2.5rem;
  }

  .hero-title-sub {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .parallax-layer,
  .hero-artwork,
  .policy-list li {
    animation: none !important;
    transform: none !important;
  }
}

@media (prefers-contrast: high) {
  :root {
    --primary-color: #000;
    --secondary-color: #333;
    --text-dark: #000;
    --bg-light: #fff;
    --bg-white: #fff;
    --accent-color: #000;
    --privacy-gradient: linear-gradient(135deg, #000, #333);
    --terms-gradient: linear-gradient(135deg, #333, #000);
    --thanks-gradient: linear-gradient(135deg, #000, #333);
    --egg-gradient: linear-gradient(135deg, #000, #333);
  }
}

*:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}