* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

:root {
  color-scheme: light;
  --paper: #F1E6D2;
  --paper-deep: #E4D2AC;
  --cream: #FFFBF2;
  --citrus: #F2811D;
  --citrus-deep: #C9660F;
  --leaf: #2E6B3A;
  --leaf-deep: #1F4A28;
  --ink: #2A2620;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--ink);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
  padding: max(2.5rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(2.5rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));

  background:
    radial-gradient(ellipse 70% 50% at 20% -10%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 110%, rgba(0,0,0,0.05), transparent 60%),
    linear-gradient(160deg, var(--paper) 0%, var(--paper-deep) 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.55 0 0 0 0 0.45 0 0 0 0 0.3 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bag {
  position: relative;
  width: 100%;
  max-width: 26rem;
  z-index: 1;
}

.card {
  position: relative;
  background: var(--cream);
  border-radius: 1.75rem;
  padding: 3rem 1.75rem 2rem;
  text-align: center;
  box-shadow: 0 1.5rem 3rem rgba(31, 26, 15, 0.18);
}

.stamp {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  width: 6rem;
  height: 6rem;
  color: var(--leaf);
  transform: rotate(-10deg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
}
.stamp-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.stamp-text {
  position: relative;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  line-height: 1.15;
  color: var(--leaf);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.header { margin-top: 0.5rem; }

.logo {
  width: min(100%, 15rem);
  height: auto;
  display: block;
  margin: 0 auto;
}

.tagline {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--citrus-deep);
  margin-top: -0.25rem;
}

.tags {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 1.75rem;
}

.tag {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--paper);
  border-radius: 0.4rem 0.9rem 0.9rem 0.4rem;
  padding: 0.7rem 1.1rem 0.7rem 1.75rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 0.4rem 0.9rem rgba(31, 26, 15, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tag-tilt-1 { transform: rotate(-1.4deg); }
.tag-tilt-2 { transform: rotate(1.1deg); }
.tag:hover { transform: rotate(0deg) translateY(-3px); box-shadow: 0 0.7rem 1.3rem rgba(31, 26, 15, 0.2); }
.tag:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }

.tag-hole {
  position: absolute;
  left: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--paper-deep);
  box-shadow: inset 0 0 0 1px rgba(42, 38, 32, 0.25);
}

.tag-icon {
  width: 2.2rem;
  height: 2.2rem;
  min-width: 2.2rem;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(42, 38, 32, 0.08);
}

.tag-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.25;
}
.tag-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
.tag-sub {
  font-size: 0.82rem;
  color: rgba(42, 38, 32, 0.65);
}

.board {
  margin-top: 1.9rem;
  background: var(--leaf-deep);
  border-radius: 0.9rem;
  padding: 1.1rem 1.2rem 1rem;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.06), 0 0.5rem 1rem rgba(31,26,15,0.15);
}
.board-title {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.2rem;
}
.board-line {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: 1.35rem;
  color: #fff;
  line-height: 1.3;
}

.footer-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(42, 38, 32, 0.6);
  font-weight: 700;
}

@media (min-width: 640px) {
  .card { padding: 3.5rem 2.5rem 2.5rem; }
  .tagline { font-size: 1.85rem; }
  .board-line { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}


/* ============================================
    Background laranjas
   ============================================ */

.background-decorations {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none; 
  z-index: 0;
}

.floating-orange {
  position: absolute;
  opacity: 0.15;
  will-change: transform;
}

.orange-1 { top: 10%; left: 5%; width: 70px; animation: float 14s infinite ease-in-out; }
.orange-2 { top: 25%; right: 10%; width: 100px; animation: float 20s infinite ease-in-out 2s; }
.orange-3 { top: 60%; left: -2%; width: 130px; animation: float 18s infinite ease-in-out 1s; }
.orange-4 { top: 80%; right: 5%; width: 80px; animation: float 22s infinite ease-in-out 3s; }
.orange-5 { bottom: 15%; left: 20%; width: 60px; animation: float 12s infinite ease-in-out; }
.orange-6 { top: -5%; right: 40%; width: 110px; animation: float 16s infinite ease-in-out 4s; }

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(8deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

#loader-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}

#loader-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.pulse-anim {
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.6; }
}

#main-content {
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#main-content.content-hidden {
  opacity: 0;
  transform: translateY(20px);
}

body.tab-hidden .floating-orange {
  animation-play-state: paused;
}