/* ==========================================================================
   PORTACABA LANDING PAGE STYLES
   ========================================================================== */

/* Design Tokens & Custom Properties */
:root {
  --bg-primary: #EFA63C;
  --bg-gradient-top: #F4AE3F;
  --bg-gradient-bottom: #E4972D;
  --text-white: #FFFFFF;
  --text-white-muted: rgba(255, 255, 255, 0.92);
  --pill-bg: #FFFFFF;
  --pill-text: #1C2D42;
  --pill-hover-bg: #FAFAFA;
  --pill-active-bg: #F0F4F8;
  --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 30px -10px rgba(0, 0, 0, 0.2), 0 10px 15px -5px rgba(0, 0, 0, 0.1);
  --font-primary: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global Settings */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text-white);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 1rem;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Particles & Background Effects */
.bg-decoration {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.glow-orb {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.p1 {
  width: 8px;
  height: 8px;
  top: 10%;
  left: 15%;
  animation: floatAround 12s ease-in-out infinite;
}

.p2 {
  width: 12px;
  height: 12px;
  top: 75%;
  left: 85%;
  animation: floatAround 16s ease-in-out infinite reverse;
}

.p3 {
  width: 6px;
  height: 6px;
  top: 60%;
  left: 10%;
  animation: floatAround 10s ease-in-out infinite 2s;
}

@keyframes floatAround {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-20px) translateX(15px);
  }
}

@keyframes pulseGlow {
  0% {
    opacity: 0.5;
    transform: translateX(-50%) scale(0.9);
  }

  100% {
    opacity: 0.9;
    transform: translateX(-50%) scale(1.1);
  }
}

/* Main Container Card */
.landing-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: calc(100vh - 3rem);
  justify-content: space-between;
  animation: slideUpFade 0.8s var(--transition-smooth);
}

/* Hero & Header Section */
.hero-section {
  width: 100%;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Image Container */
.image-wrapper {
  width: 100%;
  max-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--transition-smooth);
}

.image-wrapper:hover {
  transform: scale(1.02);
}

.brand-image {
  max-width: 100%;
  max-height: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  display: block;
}

/* Bio Text Typography */
.bio-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0 0.5rem;
  color: #ffffff;
}

.headline-primary {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.headline-secondary {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.35;
  color: #FFFFFF;
}

.headline-badge {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  margin-top: 0.15rem;
}

.hashtag {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  opacity: 0.95;
  margin-top: 0.15rem;
}

/* Links Section */
.links-container {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 2.2rem 0;
}

.link-pill {
  width: 100%;
  min-height: 64px;
  background-color: var(--pill-bg);
  color: var(--pill-text);
  text-decoration: none;
  border-radius: 9999px;
  padding: 0 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.link-pill .link-icon {
  position: absolute;
  left: 1.5rem;
  display: flex;
  align-items: center;
  color: var(--pill-text);
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}

.link-pill .link-text {
  text-align: center;
}

.link-pill .link-arrow {
  position: absolute;
  right: 1.5rem;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.25s var(--transition-smooth);
}

/* Hover & Focus Micro-interactions */
.link-pill:hover {
  background-color: var(--pill-hover-bg);
  transform: translateY(-3px) scale(1.015);
  box-shadow: var(--shadow-hover);
}

.link-pill:hover .link-icon {
  opacity: 1;
  transform: scale(1.1);
}

.link-pill:hover .link-arrow {
  opacity: 0.8;
  transform: translateX(0);
}

.link-pill:active {
  transform: translateY(-1px) scale(0.985);
  background-color: var(--pill-active-bg);
}

.link-pill:focus-visible {
  outline: 3px solid var(--text-white);
  outline-offset: 3px;
}

/* Footer */
.footer {
  margin-top: auto;
  padding: 1.5rem 0 0.5rem;
}

.copyright {
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.02em;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1C2D42;
  color: #FFFFFF;
  padding: 0.8rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--transition-smooth), opacity 0.4s;
  z-index: 100;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Keyframe Animations */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 380px) {
  .landing-card {
    padding: 0 0.25rem;
  }

  .brand-image {
    max-height: 150px;
  }

  .headline-primary {
    font-size: 1.2rem;
  }

  .link-pill {
    min-height: 58px;
    font-size: 1.05rem;
    padding: 0 1.25rem;
  }
}