/* =========================
   Dreamy Shoegaze CSS
   ========================= */

:root {
  --grass-1: #cfeec8;
  --grass-2: #bde6a3;
  --mintish: #eafbe9;
  --dusk-purple: rgba(90,60,120,0.12);
  --indigo-haze: rgba(50,60,120,0.10);
  --text: #0f1a12;
  --muted: rgba(15,26,18,0.66);
  --glass: rgba(255,255,255,0.12);
  --accent: #9fa6ff;
  --grain-opacity: 0.03;
  --transition: 450ms cubic-bezier(.22,.9,.38,1);
}

.sirivennela-regular {
  font-family: "Sirivennela", sans-serif;
  font-weight: 400;
  font-style: normal;
}


/* Base reset */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(135deg, var(--grass-1) 0%, var(--grass-2) 40%, var(--mintish) 100%);
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}

/* Main container */
.page-wrap {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 4vh auto;
  padding: 48px;
  border-radius: 20px;
  backdrop-filter: blur(6px) saturate(1.05);
  -webkit-backdrop-filter: blur(6px) saturate(1.05);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow:
    0 10px 30px rgba(12,18,10,0.12),
    inset 0 1px 0 rgba(255,255,255,0.025);
  overflow: hidden;
}

/* Background effects */
.page-wrap::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(40% 60% at 10% 30%, rgba(120,80,140,0.12) 0%, transparent 30%),
    radial-gradient(30% 40% at 95% 80%, rgba(65,90,160,0.10) 0%, transparent 35%);
  filter: blur(40px);
  mix-blend-mode: multiply;
  animation: slowColorDrift 18s linear infinite;
}

.page-wrap::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(30% 20% at 70% 20%, rgba(255,255,255,0.06), transparent 30%),
    radial-gradient(20% 20% at 20% 80%, rgba(255,255,255,0.03), transparent 35%);
  filter: blur(28px);
  opacity: 0.9;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Grain texture */
.grain {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(0,0,0,var(--grain-opacity)) 0px, transparent 2px),
    radial-gradient(circle at 40% 80%, rgba(0,0,0,var(--grain-opacity)) 0px, transparent 2px),
    radial-gradient(circle at 80% 40%, rgba(0,0,0,var(--grain-opacity)) 0px, transparent 2px);
  background-size: 6px 6px, 7px 7px, 5px 5px;
  mix-blend-mode: multiply;
  opacity: 0.9;
  animation: grainShift 9s linear infinite;
}

/* Typography */
h1 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  margin: 0 0 10px 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: 0.02em;
  color: #07130b;
  text-shadow:
    0 6px 18px rgba(110,90,120,0.06),
    0 1px 0 rgba(255,255,255,0.6);
  transform: translateZ(0);
  animation: floatSlow 8s ease-in-out infinite;
}

.lead {
  margin: 0 0 20px 0;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--muted);
  line-height: 1.6;
  max-width: 58ch;
  opacity: 0.95;
}

/* Layout elements */
.content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(15,20,12,0.06);
  border: 1px solid rgba(255,255,255,0.03);
}

/* Badge style */
.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  color: rgba(8,12,8,0.8);
  backdrop-filter: blur(4px);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: #07130b;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.04);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(8,12,8,0.08);
}

/* Footer */
.footer {
  margin-top: 12px;
  font-size: 0.85rem;
  color: rgba(10,18,12,0.6);
}

/* Animations */
@keyframes floatSlow {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

@keyframes slowColorDrift {
  0% { transform: translate3d(0,0,0) scale(1) rotate(0deg); }
  50% { transform: translate3d(-6%, 2%, 0) scale(1.02) rotate(.5deg); }
  100% { transform: translate3d(0,0,0) scale(1) rotate(0deg); }
}

@keyframes grainShift {
  0% { transform: translate(0,0); }
  50% { transform: translate(6px, -6px); }
  100% { transform: translate(0,0); }
}

/* Responsive */
@media (max-width: 640px) {
  .page-wrap {
    padding: 28px;
    border-radius: 14px;
    margin: 3vh 12px;
  }
  .lead { font-size: 1rem; }
}
