@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Special+Elite&family=Creepster&display=swap');

:root {
  --bg: #151516;
  --black: #000000;
  --rust: #8b3a1a;
  --rust-light: #a0522d;
  --slate-blue: #4a5568;
  --cream: #d4c5a9;
  --text-dim: #3d3d42;
  --text: #8a8a8f;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Special Elite', 'Courier New', monospace;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}

/* === PHOTOCOPY GRAIN (very subtle) === */
body::before {
  content: '';
  position: fixed;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='6' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 200;
  opacity: 0.2;
  animation: grain 0.4s steps(4) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-0.5%, 0.5%); }
  66% { transform: translate(0.5%, -0.5%); }
}

/* === VIGNETTE === */
.vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(
  ellipse 90% 80% at 50% 45%,
  rgba(0,0,0,0) 40%,
  rgba(0,0,0,0.65) 80%,
  rgba(0,0,0,0.95) 100%
);
  pointer-events: none;
  z-index: 100;
}

/* === RUST STAINS === */
.rust-stain {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

.rust-stain-1 {
  width: 300px;
  height: 200px;
  top: 5%;
  left: -5%;
  background: radial-gradient(ellipse, rgba(139,58,26,0.07) 0%, transparent 70%);
}

.rust-stain-2 {
  width: 250px;
  height: 250px;
  bottom: 8%;
  right: -3%;
  background: radial-gradient(ellipse, rgba(107,68,35,0.05) 0%, transparent 70%);
}

.rust-stain-3 {
  width: 180px;
  height: 100px;
  top: 20%;
  right: 10%;
  background: radial-gradient(ellipse, rgba(139,58,26,0.03) 0%, transparent 70%);
}

/* === COLOR BLEED === */
.color-bleed {
  position: fixed;
  pointer-events: none;
  z-index: 197;
  mix-blend-mode: screen;
}

.color-bleed-cyan {
  top: 0; left: 0;
  width: 30%; height: 100%;
  background: linear-gradient(to right, rgba(74,85,104,0.025), transparent);
}

.color-bleed-rust {
  top: 0; right: 0;
  width: 25%; height: 100%;
  background: linear-gradient(to left, rgba(139,58,26,0.025), transparent);
}

/* === TEAR STAIN === */
.tear-stain {
  position: fixed;
  top: 0; right: 20%;
  width: 60px; height: 100%;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(to bottom, transparent 0%, rgba(60,60,65,0.015) 20%, rgba(60,60,65,0.03) 40%, rgba(60,60,65,0.015) 60%, transparent 100%);
  filter:);
}

/* === HORIZONTAL SCRATCHES (very subtle) === */
.scratches {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 198;
  background:
    linear-gradient(to right, transparent 0%, rgba(255,255,255,0.008) 30%, transparent 30.5%, transparent 100%),
    linear-gradient(to right, transparent 0%, rgba(255,255,255,0.005) 60%, transparent 60.3%, transparent 100%),
    linear-gradient(to right, transparent 0%, rgba(255,255,255,0.01) 82%, transparent 82.2%, transparent 100%);
  background-size: 100% 100%;
  opacity: 0.2;
}

/* === MAIN STAGE === */
.stage {
  position: relative;
  z-index: 50;
  text-align: center;
  padding: 2rem;
}

/* === DISTRESSED FRAME === */
.frame {
  position: relative;
  padding: 3rem 3.5rem;
  background: linear-gradient(178deg, rgba(20,20,24,0.95) 0%, rgba(10,10,12,0.98) 100%);
  border: 1px solid rgba(60,60,65,0.4);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.02), 0 20px 60px rgba(0,0,0,0.8);
  max-width: 560px;
  width: 90vw;
}

.frame::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 35px; height: 35px;
  border-top: 3px solid var(--rust);
  border-left: 3px solid var(--rust);
  opacity: 0.8;
  box-shadow: inset 6px 6px 8px rgba(139,58,26,0.15);
}

.corner-chip {
  position: absolute;
  bottom: -1px; right: -1px;
  width: 30px; height: 30px;
  border-bottom: 3px solid var(--slate-blue);
  border-right: 3px solid var(--slate-blue);
  opacity: 0.7;
}

.crack {
  position: absolute;
  top: 15%; right: 12%;
  width: 1px; height: 40%;
  background: linear-gradient(to bottom, rgba(60,60,65,0.5), transparent);
  transform: rotate(8deg);
}

.crack::after {
  content: '';
  position: absolute;
  top: 30%; left: 0;
  width: 12px; height: 1px;
  background: rgba(60,60,65,0.3);
  transform: rotate(-20deg);
  transform-origin: left;
}

/* === PAINTING === */
.painting-wrap {
  position: relative;
  max-width: 380px;
  width: 70%;
  margin: 0 auto 1.8rem;
}

.painting {
  display: block;
  width: 100%;
  border: 1px solid rgba(60,60,65,0.4);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.7),
    0 15px 50px rgba(0,0,0,0.75),
    0 0 60px rgba(139,58,26,0.04);
  opacity: 0.96;
}

.painting-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.015) 0%, transparent 35%, transparent 75%, rgba(0,0,0,0.08) 100%);
  mix-blend-mode: overlay;
}

/* === TITLE === */
.title {
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  font-size: 4.5rem;
  letter-spacing: 0.12em;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0.3rem;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.9), 0 0 30px rgba(139,58,26,0.15);
  position: relative;
}

.title::after {
  content: '';
  position: absolute;
  top: 45%; left: 10%;
  width: 80%; height: 2px;
  background: linear-gradient(to right, transparent, rgba(139,58,26,0.4) 30%, rgba(139,58,26,0.3) 70%, transparent);
  transform: rotate(-0.5deg);
}

.impasto {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--rust-light);
  border-radius: 50%;
  margin: 0 2px;
  opacity: 0.6;
  box-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* === TAGLINE === */
.tagline {
  font-family: 'Special Elite  color: var(--text-dim);
  font-size: 0.7rem;
  text-transform: uppercase;
 0.4em;
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* === DIVIDER === */
.divider {
  width: 80px; height: 2px;
  margin: 0 auto 1.8rem;
  background: linear-gradient(to right, transparent, var(--rust), transparent);
  position: relative;
  opacity: 0.6;
}

.divider::after {
  content: '';
  position: absolute;
  top: 2px; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 1px;
  background: rgba(20,20,24,0.9);
}

/* === PHOTO STRIP === */
.photo-strip {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1.5rem;
  opacity: 0.4;
}

.photo-slot {
  width: 50px; height: 50px;
  border: 1px solid rgba(60,60,65,0.4);
  background: linear-gradient(135deg, rgba(26,26,30,0.8) 0%, rgba(10,10,12,0.9) 100%);
  position: relative;
  overflow: hidden;
}

.photo-slot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(139,58,26,0.08) 0%, transparent 50%, rgba(0,0,0,0.3) 100%);
}

.photo-slot:nth-child(2) {
  background: linear-gradient(135deg, rgba(30,30,36,0.8) 0%, rgba(12,12,15,0.9) 100%);
  transform: translateY(3px);
}

.photo-slot:nth-child(3) {
  background: linear-gradient(135deg, rgba(22,22,28,0.8) 0%, rgba(8,8,10,0.9) 100%);
}

/* === STATUS === */
.status, .status button{
  font-family: 'Special Elite', monospace;
  color: var(--slate-blue);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  margin: 1.5rem;
  opacity: 0.9;
}
.status button{
    background:none;
    border:none;
    cursor:pointer;

}
.nav-link {
  margin-bottom: 1.5rem;
}

.nav-link a {
  font-family: 'Special Elite', monospace;
  color: var(--rust-light);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  border: 1px solid var(--text-dim);
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.nav-link a:hover {
  border-color: var(--rust);
  color: var(--cream);
}

/* === SIGNAL DOTS === */
.signal {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2rem;
}

.signal-dot {
  width: 4px; height: 4px;
  background: var(--rust);
  opacity: 0.3;
  animation: signal-pulse 2.4s ease-in-out infinite;
}

.signal-dot:nth-child(2) { animation-delay: 0.8s; background: var(--slate-blue); }
.signal-dot:nth-child(3) { animation-delay: 1.6s; }

@keyframes signal-pulse {
  0%, 100% { opacity: 0.15; transform: scale(0.8); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

/* === STAMP === */
.stamp {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: rgba(212,197,169,0.85);
  border: 2px solid rgba(212,197,169,0.35);
  padding: 2px 10px;
  display: inline-block;
  transform: rotate(-3deg);
  margin-top: 0.5rem;
  text-transform: uppercase;
}

/* === FOOTER === */
footer {
  position: fixed;
  bottom: 1.2rem;
  z-index: 50;
  font-family: 'Special Elite', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust-light);
}

#dev {
  position: fixed;
  bottom: 1.2rem;
  right: 1.5rem;
  z-index: 50;
  font-family: 'Special Elite', monospace;
  font-size: 0.5rem;
  color: rgba(40,40,45,0.4);
  letter-spacing: 0.1em;
}

/* === MOBILE === */
@media (max-width: 500px) {
  .title { font-size: 3rem; }
  .frame { padding: 2rem 1.5rem; }
  .photo-slot { width: 35px; height: 35px; }
  .painting-wrap { width: 85%; }
}