/* KiwiSlotGlow - Oriental Night Garden Theme */

:root {
  --midnight-garden: #0a1628;
  --bamboo-shadow: #1a2d4a;
  --sakura-petal: #ff6b9d;
  --jade-glow: #4ecdc4;
  --lantern-gold: #ffd93d;
  --moonlight-silver: #e8f4f8;
  --night-bloom: #c44569;
  --zen-purple: #6c5ce7;
  --forest-mist: #2d5a45;
  --cherry-blossom: #ff8fab;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rosarivo', serif;
  background: linear-gradient(135deg, var(--midnight-garden) 0%, var(--bamboo-shadow) 50%, var(--forest-mist) 100%);
  min-height: 100vh;
  color: var(--moonlight-silver);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bubbler One', cursive;
}

/* ========== HEADER ========== */

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

.bamboo-header {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--jade-glow);
  box-shadow: 0 4px 20px rgba(78, 205, 196, 0.3);
}

.sakura-nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.kiwi-crest {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--moonlight-silver);
  transition: transform 0.3s ease;
}

.kiwi-crest:hover {
  transform: scale(1.05);
}

.glowing-emblem {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.luminous-brand {
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--jade-glow), var(--sakura-petal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.garden-path {
  display: flex;
  gap: 30px;
  list-style: none;
}

.pathway-link {
  color: var(--moonlight-silver);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.pathway-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--jade-glow);
  transition: width 0.3s ease;
}

.pathway-link:hover {
  color: var(--jade-glow);
}

.pathway-link:hover::after {
  width: 100%;
}

.lotus-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.petal-stripe {
  width: 25px;
  height: 3px;
  background: var(--jade-glow);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.lotus-toggle.active .petal-stripe:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.lotus-toggle.active .petal-stripe:nth-child(2) {
  opacity: 0;
}

.lotus-toggle.active .petal-stripe:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ========== HERO ========== */

.twilight-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 80px;
  background: linear-gradient(rgba(10, 22, 40, 0.7), rgba(10, 22, 40, 0.9)),
              url('../img/hero-img.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.mystical-content {
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
}

.radiant-title {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--jade-glow), var(--sakura-petal), var(--lantern-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(78, 205, 196, 0.3);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.enchanting-subtitle {
  font-size: 20px;
  color: var(--moonlight-silver);
  margin-bottom: 50px;
  opacity: 0.9;
}

.trinity-blessings {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.spirit-orb {
  background: rgba(78, 205, 196, 0.1);
  border: 2px solid var(--jade-glow);
  border-radius: 20px;
  padding: 30px 25px;
  transition: all 0.4s ease;
}

.spirit-orb:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(78, 205, 196, 0.3);
  background: rgba(78, 205, 196, 0.2);
}

.virtue-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--jade-glow);
  margin-bottom: 8px;
}


/* ========== ABOUT ========== */

.zen-garden-section {
  padding: 100px 20px;
  background: linear-gradient(180deg, rgba(26, 45, 74, 0.5) 0%, rgba(45, 90, 69, 0.3) 100%);
}

.lotus-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.wisdom-tale {
  font-size: 17px;
  line-height: 1.9;
  color: var(--moonlight-silver);
}

.wisdom-tale p {
  margin-bottom: 20px;
}

.night-vision-frame {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(108, 92, 231, 0.3);
  border: 3px solid var(--zen-purple);
}

/* ========== GAMES ========== */

.arcade-pavilion {
  padding: 100px 20px;
  background: rgba(10, 22, 40, 0.6);
}

.section-kanji {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 60px;
  background: linear-gradient(90deg, var(--sakura-petal), var(--lantern-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.entertainment-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.entertainment-grid .amusement-card {
  max-width: 400px;
}

.amusement-card {
  background: linear-gradient(135deg, rgba(26, 45, 74, 0.8), rgba(45, 90, 69, 0.6));
  border: 2px solid transparent;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.amusement-card:hover {
  border-color: var(--jade-glow);
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(78, 205, 196, 0.4);
}

.playground-preview {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.activity-details {
  padding: 25px;
  text-align: center;
}

.pastime-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--lantern-gold);
  margin-bottom: 15px;
}

.embark-btn {
  background: linear-gradient(135deg, var(--jade-glow), var(--sakura-petal));
  color: var(--midnight-garden);
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.embark-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
}

/* ========== FAQ ========== */

.inquiry-sanctuary {
  padding: 100px 20px;
  background: linear-gradient(180deg, rgba(45, 90, 69, 0.3) 0%, rgba(26, 45, 74, 0.5) 100%);
}

.riddle-collection {
  max-width: 900px;
  margin: 0 auto;
}

.mystery-envelope {
  background: rgba(26, 45, 74, 0.6);
  border: 1px solid var(--jade-glow);
  border-radius: 15px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mystery-envelope:hover {
  border-color: var(--sakura-petal);
}

.enigma-header {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(78, 205, 196, 0.05);
  transition: background 0.3s ease;
}

.enigma-header:hover {
  background: rgba(78, 205, 196, 0.15);
}

.puzzle-text {
  font-size: 17px;
  font-weight: 600;
  color: var(--moonlight-silver);
}

.unfold-icon {
  font-size: 24px;
  color: var(--jade-glow);
  transition: transform 0.3s ease;
}

.mystery-envelope.active .unfold-icon {
  transform: rotate(180deg);
}

.secret-revelation {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.mystery-envelope.active .secret-revelation {
  max-height: 300px;
  padding: 0 25px 25px;
}

.enlightenment {
  color: var(--moonlight-silver);
  opacity: 0.85;
  line-height: 1.7;
}

/* ========== REVIEWS ========== */

.testimonial-garden {
  padding: 100px 20px;
  background: rgba(10, 22, 40, 0.6);
}

.experience-shrine {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.voyager-scroll {
  background: linear-gradient(135deg, rgba(26, 45, 74, 0.7), rgba(108, 92, 231, 0.2));
  border: 1px solid var(--zen-purple);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.4s ease;
}

.voyager-scroll:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(108, 92, 231, 0.3);
  border-color: var(--jade-glow);
}

.wanderer-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--sakura-petal), var(--zen-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 15px;
}

.talespinner-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--lantern-gold);
  margin-bottom: 10px;
}

.odyssey-narrative {
  color: var(--moonlight-silver);
  line-height: 1.7;
  font-style: italic;
}

/* ========== CONTACT ========== */

.communion-altar {
  padding: 100px 20px;
  background: linear-gradient(180deg, rgba(26, 45, 74, 0.5) 0%, rgba(10, 22, 40, 0.8) 100%);
}

.message-temple {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.connection-essence {
  color: var(--moonlight-silver);
}

.contact-detail {
  margin-bottom: 25px;
}

.communion-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(78, 205, 196, 0.2);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 15px;
  color: var(--jade-glow);
}

.connection-info {
  color: var(--moonlight-silver);
  font-size: 16px;
}

.spirit-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tribute-input {
  background: rgba(26, 45, 74, 0.8);
  border: 1px solid var(--jade-glow);
  border-radius: 12px;
  padding: 15px 20px;
  color: var(--moonlight-silver);
  font-size: 16px;
  transition: all 0.3s ease;
}

.tribute-input:focus {
  outline: none;
  border-color: var(--sakura-petal);
  box-shadow: 0 0 20px rgba(255, 107, 157, 0.2);
}

.tribute-input::placeholder {
  color: var(--moonlight-silver);
  opacity: 0.5;
}

.message-offering {
  min-height: 150px;
  resize: vertical;
}

.invoke-btn {
  background: linear-gradient(135deg, var(--sakura-petal), var(--zen-purple));
  color: var(--moonlight-silver);
  border: none;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.invoke-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
}

/* ========== FOOTER ========== */

.mystical-footer {
  background: rgba(10, 22, 40, 0.95);
  padding: 60px 20px 30px;
  border-top: 2px solid var(--jade-glow);
}

.age-warning {
  background: linear-gradient(135deg, var(--night-bloom), var(--sakura-petal));
  color: var(--moonlight-silver);
  text-align: center;
  padding: 20px;
  border-radius: 15px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 10px 40px rgba(196, 69, 105, 0.4);
}

.realm-footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.territory-mark {
  margin-bottom: 20px;
}

.territory-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--jade-glow);
  margin-bottom: 15px;
}

.footpath-links {
  list-style: none;
}

.footpath-links li {
  margin-bottom: 12px;
}

.trail-link {
  color: var(--moonlight-silver);
  text-decoration: none;
  font-size: 15px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.trail-link:hover {
  color: var(--jade-glow);
  opacity: 1;
}

.copyright-seal {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(78, 205, 196, 0.2);
  color: var(--moonlight-silver);
  opacity: 0.7;
  font-size: 15px;
}

/* ========== COOKIE POPUP ========== */

.fortune-cookie {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  background: linear-gradient(135deg, rgba(26, 45, 74, 0.98), rgba(10, 22, 40, 0.98));
  border: 2px solid var(--jade-glow);
  border-radius: 20px;
  padding: 30px 40px;
  max-width: 600px;
  z-index: 9999;
  transition: transform 0.5s ease;
  box-shadow: 0 20px 60px rgba(78, 205, 196, 0.4);
}

.fortune-cookie.visible {
  transform: translateX(-50%) translateY(0);
}

.cookie-message {
  color: var(--moonlight-silver);
  margin-bottom: 20px;
  line-height: 1.6;
}

.treat-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.accept-treat {
  background: linear-gradient(135deg, var(--jade-glow), var(--sakura-petal));
  color: var(--midnight-garden);
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accept-treat:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(78, 205, 196, 0.4);
}

.decline-treat {
  background: transparent;
  color: var(--moonlight-silver);
  border: 2px solid var(--zen-purple);
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.decline-treat:hover {
  background: rgba(108, 92, 231, 0.2);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 992px) {
  .lotus-wrapper {
    grid-template-columns: 1fr;
  }

  .message-temple {
    grid-template-columns: 1fr;
  }

  .garden-illustration {
    height: 300px;
  }

  .trinity-blessings {
    flex-direction: column;
    align-items: center;
  }

  .spirit-orb {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .lotus-toggle {
    display: flex;
  }

  .garden-path {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }

  .garden-path.active {
    transform: translateX(0);
  }

  .radiant-title {
    font-size: 36px;
  }

  .enchanting-subtitle {
    font-size: 16px;
  }

  .section-kanji {
    font-size: 32px;
  }

  .fortune-cookie {
    left: 20px;
    right: 20px;
    transform: translateY(150%);
    max-width: none;
  }

  .fortune-cookie.visible {
    transform: translateY(0);
  }

  .treat-buttons {
    flex-direction: column;
  }

  .accept-treat,
  .decline-treat {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .luminous-brand {
    font-size: 20px;
  }

  .radiant-title {
    font-size: 28px;
  }

  .section-kanji {
    font-size: 24px;
  }
}
