:root {
  --bg-dark: #171758;
  --neon-pink: #499b23;
  --neon-blue: #cd4fff;
  --neon-green: #6aff8a;
  --text: #e7e7ff;
  --accent: var(--neon-pink);
  --panel: #111122;
  
            --primary: #84b6bd;
            --glow: 0 0 12px rgba(91, 61, 245, 0.7);
}

/* RESET */
* {
  scrollbar-width: none;
  box-sizing: border-box;
  cursor: url(https://cur.cursors-4u.net/nature/nat-10/nat982.cur), auto !important;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  background: #000;
  background-image: url('../pictures/backgrounds/bck-starnight black.gif');
  background-size: cover;
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Courier New', monospace;
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 100vw;
  overflow-x: hidden;
}

/* Titles */
h1, h2, h3 {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
}

a {
  color: var(--neon-blue);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: var(--neon-green);
  text-shadow: 0 0 10px var(--neon-green);
}

/* MAIN GRID */
.parent {
  display: grid;
  width: 85vw;
  margin: auto;
  gap: 12px;
  grid-template-columns: 300px 1fr 300px;
}

/* HEADER */
.div1 {
  grid-column: 1 / 4;
      position: sticky;
            top: 0;
            z-index: 10;
            background: linear-gradient(135deg, var(--primary), #f1b28e);
            text-align: center;
            padding: 4px;
            border-radius: 0 0 20px 20px;
            box-shadow: var(--glow);
            
            display: flex;
            flex-direction: row;
            justify-content: space-around;
            color: purple;
}

.div1 img {
  width: 80px;
}

/* LEFT + RIGHT COLUMNS */
.div2, .div4 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* CENTER COLUMN */
.div3 {
  background: rgba(10, 10, 20, 0.85);
  border: 1px solid var(--accent);
  border-radius: 16px;
  box-shadow: 0 0 30px var(--neon-blue);
  padding: 20px;
  overflow: hidden;
  margin-top: 30px;
}

.para {
  margin-bottom: 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

/* Boxes */
.box {
  background: rgba(15, 15, 25, 0.85);
  border: 1px solid var(--neon-pink);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 0 15px var(--neon-pink);
  text-align: center;
}

/* Buttons */
button {
  background: var(--neon-blue);
  border: none;
  color: #000;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: 0 0 12px var(--neon-blue);
  transition: 0.3s;
}

button:hover {
  background: var(--neon-green);
  box-shadow: 0 0 20px var(--neon-green);
}

/* Blinkies */
img.blink {
  border-radius: 8px;
  transition: transform 0.3s ease;
}

img.blink:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px var(--neon-blue));
}

/* Flip Card */
.flip-container {
  width: 150px;
  height: 150px;
  perspective: 1000px;
  margin: auto;
}

.flipper {
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  position: relative;
}

.flipped {
  transform: rotateY(180deg);
}

.front, .back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  backface-visibility: hidden;
}

.back {
  transform: rotateY(180deg);
}

/* ROW FIX (your Spotify + mood rows) */
.row {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* MOBILE FIXES */
@media (max-width: 900px) {
  .parent {
    grid-template-columns: 1fr;
    width: 95vw;
  }

  .div2,
  .div4 {
    display: none;
  }
}
