@font-face {
  font-family: "Minecraft";
  src: url("../fonts/Minecraft.ttf") format("truetype");
}

/* =====================
   root theme
===================== */
:root {
  --bg: #0b0b0f;
  --fg: #ffffff;
  --accent: #6cf2c2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Minecraft", monospace;
}

body {
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
}

/* =====================
  cursor
===================== */
.cursor {
  position: fixed;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease;
  z-index: 9999;
}

/* =====================
   hero
===================== */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.title {
  font-size: clamp(3rem, 6vw, 6rem);
  animation: fadeUp 1s ease forwards;
}

.subtitle {
  margin-top: 1rem;
  opacity: 0.7;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.2s;
}

/* =====================
   confess button
===================== */
.cta {
  margin-top: 2.5rem;
  padding: 1rem 2.2rem;
  background: none;
  border: 2px solid var(--accent);
  color: var(--accent);
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta:hover {
  background: var(--accent);
  color: #000;
}

/* =====================
   confessions section
===================== */
.section {
  padding: 6rem 10vw;
}

.confessions {
  min-height: 100vh;
  background: linear-gradient(
    to bottom,
    rgba(11,11,15,0) 0%,
    rgba(11,11,15,1) 25%
  );
}

.confessions h2 {
  text-align: center;
  margin-bottom: 3rem;
  opacity: 0.8;
}

/* confession input */
.confession-box {
  max-width: 600px;
  margin: 0 auto 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.confession-box textarea {
  resize: none;
  height: 140px;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--fg);
}

/* placeholder opacity */
.confession-box textarea::placeholder {
  opacity: 0.5;
}

/* enable submit button */
.confession-box button {
  padding: 0.8rem;
  background: none;
  border: 1px solid var(--accent);
  color: var(--accent);
  opacity: 1;           /* fully visible */
  cursor: pointer;       /* clickable */
  transition: all 0.2s ease;
}

.confession-box button:hover {
  background: var(--accent);
  color: #000;
}

/* confession list */
.confession-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.confession {
  padding: 1.5rem;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--accent);
  opacity: 0.75;
}

/* =====================
   animations
===================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================
   uptime footer under confess button
===================== */
.uptime {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  opacity: 0.6;
  text-align: center;
}
