:root {
  --gwen-blue: #0077ff;
  --sand: #e0f7fa;
  --dark: #004d40;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}
body {
  background: var(--sand);
  color: var(--dark);
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}
#bouncer-pool {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.bouncer {
  position: absolute;
  font-size: 36px;
  will-change: transform;
}
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  z-index: 1;
  background: url('img/hero-new.jpg') center/cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: -1;
}
.hero-img { display: none; }
.title {
  font-size: 4rem;
  color: white;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.subtitle {
  font-size: 1.5rem;
  color: white;
  margin-top: 0.5rem;
  animation: fade 2s ease-in;
}
#replay-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--gwen-blue);
  color: white;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
  z-index: 100;
}
#replay-btn:hover {
  transform: scale(1.1);
}
.spotify-bar {
  width: 100%;
  background: #0002;
  padding: 10px 0;
  display: flex;
  justify-content: center;
}
.spotify-bar iframe {
  max-width: 700px;
  width: 90%;
}
section {
  padding: 60px 20px;
  max-width: 800px;
  margin: auto;
  position: relative;
  z-index: 1;
}
h2 {
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 2rem;
}
.icon-row {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 2rem;
  margin: 15px 0;
}
.icon {
  width: 40px;
  height: 40px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
}
.twitter {
  background-image: url('img/twitter.svg');
}
.mc {
  background-image: url('img/mc.svg');
}
.arrow {
  font-size: 1.5rem;
}
.flashback video {
  width: 100%;
  max-width: 700px;
  border-radius: 8px;
  display: block;
  margin: auto;
}
.fav-pics .gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.fav-pics img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
}
.fav-pics img:hover {
  transform: scale(1.05);
}
.ref-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
}
.card {
  width: 180px;
  height: 120px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
  cursor: pointer;
}
.card.flip {
  transform: rotateY(180deg);
}
.front,
.back {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  backface-visibility: hidden;
  font-size: 15px;
}
.front {
  background: var(--gwen-blue);
  color: white;
  font-weight: 700;
}
.back {
  background: white;
  transform: rotateY(180deg);
}
.modal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.9);
}
.modal-content {
  margin: 10% auto;
  display: block;
  width: 90%;
  max-width: 700px;
}
.modal-img {
  width: 100%;
  border-radius: 8px;
}
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}