:root {
  --blood: #8B0000;
  --blood-bright: #CC0000;
  --pink: #FF6B9D;
  --pink-light: #FFB3C6;
  --white: #FFFAF0;
  --black: #0A0A0A;
  --gray: #2A2A2A;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Mono', monospace;
  background: linear-gradient(
    to bottom right,
      var(--pink) 0%,
      var(--black) 25%,
      var(--black) 75%,
      var(--blood) 100%
  );
  min-height: 100vh;


  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1000;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 2rem;
  background: linear-gradient(to bottom, var(--black) 0%, transparent 100%);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 50px;
  height: 50px;
  background: var(--blood);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Dela Gothic One', cursive;
  font-size: 1.2rem;
  color: var(--white);
  transform: rotate(-3deg);
  transition: transform 0.3s ease, background 0.3s ease;
}

.logo:hover {
  transform: rotate(3deg) scale(1.1);
  background: var(--blood-bright);
}

.brand-name {
  font-family: 'Dela Gothic One', cursive;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--pink);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.hero-title {
  font-family: 'Dela Gothic One', cursive;
  font-size: clamp(3rem, 12vw, 10rem);
  line-height: 0.9;
  margin-bottom: 1rem;
  animation: glitchIn 0.8s ease-out;
}

.hero-title .meat {
  color: var(--blood-bright);
  display: block;
  transform: rotate(-2deg);
}

.hero-title .soda {
  color: var(--pink);
  display: block;
  transform: rotate(1deg);
}

.hero-title .games {
  color: var(--white);
  display: block;
  font-size: 0.4em;
  letter-spacing: 0.3em;
  margin-top: 0.5rem;
  transform: rotate(-1deg);
}

@keyframes glitchIn {
  0% {
    opacity: 0;
    transform: translateY(50px) skewX(-5deg);
  }
  50% {
    transform: translateY(-10px) skewX(2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) skewX(0);
  }
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--pink-light);
  margin-bottom: 3rem;
  animation: fadeUp 0.8s ease-out 0.3s backwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--pink);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  animation: bounce 2s infinite;
}

.scroll-hint svg {
  width: 24px;
  height: 24px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Section styling */
section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Dela Gothic One', cursive;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 3rem;
  position: relative;
  display: block;
  text-align: center;
}

/* Games section */
#games {
  background: linear-gradient(180deg, transparent 0%, var(--gray) 50%, transparent 100%);
  max-width: none;
  padding: 6rem 2rem;
}

#games .section-content {
  max-width: 1200px;
  margin: 0 auto;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.game-card {
  background: var(--black);
  border: 2px solid var(--gray);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.game-card:hover {
  transform: translateY(-8px) rotate(1deg);
  border-color: var(--pink);
  box-shadow: 0 20px 40px rgba(139, 0, 0, 0.3);
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blood), var(--pink));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.game-card:hover::before {
  transform: scaleX(1);
}

.game-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--blood);
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-info {
  padding: 1.5rem;
}

.game-title {
  font-family: 'Dela Gothic One', cursive;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.game-desc {
  font-size: 0.85rem;
  color: var(--pink-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.game-status {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--blood);
  color: var(--white);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
}

.game-status.coming-soon {
  background: var(--pink);
  color: var(--black);
}

.game-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--pink);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.game-link:hover {
  color: var(--white);
}

/* About section */
#about {
  text-align: center;
}

.about-text {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--pink-light);
}

.about-text strong {
  color: var(--white);
}

/* Socials section */
#socials {
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  text-decoration: none;
  padding: 1.5rem;
  border: 2px solid var(--gray);
  border-radius: 12px;
  min-width: 120px;
  transition: all 0.3s ease;
}

.social-link:hover {
  border-color: var(--pink);
  background: var(--gray);
  transform: translateY(-5px);
}

.social-link svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
}

.social-link:hover svg {
  fill: var(--pink);
}

.social-link span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Newsletter section */
#newsletter {
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, var(--blood) 50%, transparent 100%);
  max-width: none;
  padding: 6rem 2rem;
}

#newsletter .section-content {
  max-width: 600px;
  margin: 0 auto;
}

#newsletter .section-title::after {
  background: var(--pink);
}

.newsletter-text {
  color: var(--pink-light);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 250px;
  padding: 1rem 1.5rem;
  font-family: 'Space Mono', monospace;
  font-size: 1rem;
  background: var(--black);
  border: 2px solid var(--pink);
  border-radius: 8px;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--gray);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--white);
  box-shadow: 0 0 20px rgba(255, 107, 157, 0.3);
}

.newsletter-form button {
  padding: 1rem 2rem;
  font-family: 'Dela Gothic One', cursive;
  font-size: 1rem;
  background: var(--pink);
  color: var(--black);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.newsletter-form button:hover {
  background: var(--white);
  transform: scale(1.05);
}

.newsletter-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--pink-light);
  opacity: 0.7;
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--gray);
  color: var(--pink-light);
  font-size: 0.85rem;
}

footer a {
  color: var(--pink);
  text-decoration: none;
}

footer a:hover {
  color: var(--white);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  header {
    padding: 1rem;
  }

  .nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.75rem;
  }

  .brand-name {
    font-size: 1rem;
  }

  section {
    padding: 4rem 1.5rem;
  }

  .social-links {
    gap: 1rem;
  }

  .social-link {
    min-width: 100px;
    padding: 1rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input[type="email"] {
    min-width: auto;
    width: 100%;
  }
}