/* Variables y Reset */
:root {
  --primary-color: #1a0e2e;
  --secondary-color: #3a1c54;
  --accent-color: #8a2be2;
  --accent-glow: #b76eff;
  --text-color: #d8d8d8;
  --text-shadow: 0 0 8px rgba(138, 43, 226, 0.6);
  --border-color: #4a2b6a;
  --bg-dark: #0a0612;
  --bg-darker: #050309;
  --panel-bg: rgba(26, 14, 46, 0.8);
  --panel-border: 1px solid var(--border-color);
  --panel-shadow: 0 0 15px rgba(138, 43, 226, 0.2);
  --font-title: "Press Start 2P", cursive;
  --font-heading: "Cinzel", serif;
  --font-body: "Roboto Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-darker);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* Cursor personalizado */
.cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: width 0.2s, height 0.2s, border-color 0.2s;
  mix-blend-mode: difference;
}

/* Contenedor principal */
.game-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* Fondo con parallax */
.parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23050309"/><circle cx="50" cy="50" r="1" fill="%233a1c54" opacity="0.3"/><circle cx="25" cy="25" r="0.5" fill="%233a1c54" opacity="0.2"/><circle cx="75" cy="75" r="0.7" fill="%233a1c54" opacity="0.2"/><circle cx="85" cy="15" r="0.3" fill="%233a1c54" opacity="0.2"/><circle cx="15" cy="85" r="0.4" fill="%233a1c54" opacity="0.2"/></svg>'),
    radial-gradient(circle at 50% 50%, var(--primary-color) 0%, var(--bg-darker) 100%);
  background-size: 200px 200px, cover;
  z-index: -1;
  opacity: 0.8;
}

/* Paneles de juego */
.game-panel {
  background-color: var(--panel-bg);
  border: var(--panel-border);
  border-radius: 4px;
  box-shadow: var(--panel-shadow);
  margin: 2rem 1rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.game-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  opacity: 0.7;
}

.game-panel-inner {
  background-color: rgba(10, 6, 18, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.5rem;
  margin-top: 2rem;
}

/* Encabezado */
.game-header {
  text-align: center;
  padding: 4rem 1rem 2rem;
  position: relative;
}

.logo-container {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.game-title {
  font-family: var(--font-title);
  font-size: 3.5rem;
  color: var(--accent-color);
  text-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-glow), 0 0 30px var(--accent-glow);
  letter-spacing: 0.5rem;
  margin-bottom: 1rem;
  position: relative;
  animation: pulse 4s infinite alternate;
}

.glitch-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  opacity: 0.8;
  pointer-events: none;
}

.glitch-effect::before {
  content: "LUNACID";
  position: absolute;
  left: -2px;
  top: 0;
  width: 100%;
  height: 100%;
  color: #ff00ff;
  font-family: var(--font-title);
  font-size: 3.5rem;
  letter-spacing: 0.5rem;
  text-shadow: 2px 0 #00ffff;
  clip: rect(0, 900px, 0, 0);
  animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch-effect::after {
  content: "LUNACID";
  position: absolute;
  left: 2px;
  top: 0;
  width: 100%;
  height: 100%;
  color: #00ffff;
  font-family: var(--font-title);
  font-size: 3.5rem;
  letter-spacing: 0.5rem;
  text-shadow: -2px 0 #ff00ff;
  clip: rect(0, 900px, 0, 0);
  animation: glitch-anim2 4s infinite linear alternate-reverse;
}

.subtitle {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-color);
  text-shadow: var(--text-shadow);
  letter-spacing: 0.2rem;
  opacity: 0.8;
}

.header-decoration {
  position: relative;
  height: 40px;
  margin-top: 2rem;
}

.rune {
  position: absolute;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.7;
}

.rune.left {
  left: 30%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%238a2be2" stroke-width="2"><path d="M12 2L2 12L12 22M2 12H22"/></svg>');
  animation: float 3s ease-in-out infinite;
}

.rune.right {
  right: 30%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%238a2be2" stroke-width="2"><path d="M12 2L22 12L12 22M22 12H2"/></svg>');
  animation: float 3s ease-in-out infinite reverse;
}

/* Sección de introducción */
.intro-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.intro-image-wrapper {
  flex: 1;
  min-height: 300px;
}

.game-screenshot {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.main-shot {
  background-image: url("/images/72.jpg");
  background-size: cover;
  background-position: center;
}

.screenshot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(26, 14, 46, 0.2), rgba(26, 14, 46, 0.6)),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 2px);
  pointer-events: none;
}

.intro-text-wrapper {
  flex: 1;
  position: relative;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  text-shadow: var(--text-shadow);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
}

.lore-text {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.highlight {
  color: var(--accent-color);
  font-weight: bold;
  text-shadow: var(--text-shadow);
}

.small-print {
  font-size: 0.9rem;
  opacity: 0.8;
  font-style: italic;
}

.rune-decoration {
  position: absolute;
  bottom: -20px;
  right: 0;
  width: 60px;
  height: 60px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%238a2be2" stroke-width="1" opacity="0.3"><circle cx="12" cy="12" r="10"/><path d="M12 2L12 22M2 12L22 12M17 7L7 17M7 7L17 17"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.3;
}

/* Sección de características */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  background-color: rgba(10, 6, 18, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-color);
  opacity: 0.7;
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  background-size: contain;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 5px var(--accent-glow));
}

.feature-icon.exploration {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%238a2be2" stroke-width="2"><path d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"/><path d="M12 2L12 22M2 12L22 12M17 3.5L7 20.5M20.5 7L3.5 17"/></svg>');
}

.feature-icon.combat {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%238a2be2" stroke-width="2"><path d="M14.5 17.5L3 6L6 3L17.5 14.5M13 6.5L17.5 11M12 19L19 12L22 15L15 22L12 19Z"/></svg>');
}

.feature-icon.magic {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%238a2be2" stroke-width="2"><path d="M12 2L15 8L21 9L17 14L18 20L12 17.5L6 20L7 14L3 9L9 8L12 2Z"/></svg>');
}

.feature-icon.secrets {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%238a2be2" stroke-width="2"><path d="M21 2L19 4M14 7L16.5 4.5M15 11L18 8M8.5 8.5L11 11M4.5 4.5L7 7M4 2L6 4M10 2V5M14 21V14M10 21V14M12 12C13.1046 12 14 11.1046 14 10C14 8.89543 13.1046 8 12 8C10.8954 8 10 8.89543 10 10C10 11.1046 10.8954 12 12 12Z"/></svg>');
}

.feature-item h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  text-shadow: var(--text-shadow);
}

/* Galería */
.gallery-section {
  padding-bottom: 3rem;
}

.gallery-container {
  position: relative;
  margin-top: 2rem;
}

.gallery-wrapper {
  position: relative;
  height: 400px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  border-radius: 4px;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.gallery-slide.active {
  opacity: 1;
  z-index: 2;
}

.gallery-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.gallery-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(5, 3, 9, 0), rgba(5, 3, 9, 0.8)),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 2px);
}

.image-caption {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  color: var(--text-color);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  padding: 0 20px;
}

.gallery-image.image-1 {
  background-image: url("/images/1.jpg");
  background-color: #1a0e2e;
}

.gallery-image.image-2 {
  background-image: url("/images/2.gif");
  background-color: #1a0e2e;
}

.gallery-image.image-3 {
  background-image: url("/images/3.jpg");
  background-color: #1a0e2e;
}

.gallery-image.image-4 {
  background-image: url("/images/4.jpg");
  background-color: #1a0e2e;
}

.gallery-image.image-5 {
  background-image: url("/images/5.jpg");
  background-color: #1a0e2e;
}

.gallery-image.image-6 {
  background-image: url("/images/6.jpg");
  background-color: #1a0e2e;
}

.gallery-navigation {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 3;
}

.gallery-nav {
  background-color: rgba(26, 14, 46, 0.7);
  border: 1px solid var(--border-color);
  color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  font-size: 1.2rem;
}

.gallery-nav:hover {
  background-color: rgba(58, 28, 84, 0.8);
  transform: scale(1.1);
}

.gallery-indicators {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(138, 43, 226, 0.3);
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.indicator.active {
  background-color: var(--accent-color);
  transform: scale(1.2);
}

/* Sección de personajes */
.character-section {
  margin-top: 3rem;
}

.character-creation {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.character-preview {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.character-model {
  width: 200px;
  height: 300px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%238a2be2" stroke-width="1"><path d="M12 4C13.1046 4 14 3.10457 14 2C14 0.89543 13.1046 0 12 0C10.8954 0 10 0.89543 10 2C10 3.10457 10.8954 4 12 4Z"/><path d="M12 4V8M12 8L9 14H15L12 8Z"/><path d="M9 14L6 24M15 14L18 24"/><path d="M6 16H18"/></svg>');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 10px var(--accent-glow));
  transition: background-image 0.5s;
}

.character-stats {
  width: 100%;
  max-width: 300px;
}

.stat-item {
  margin-bottom: 1rem;
}

.stat-name {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  color: var(--text-color);
}

.stat-bar {
  height: 10px;
  background-color: rgba(10, 6, 18, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  background-color: var(--accent-color);
  background-image: linear-gradient(90deg, var(--accent-color), var(--accent-glow));
  transition: width 0.5s;
}

.character-description {
  flex: 1;
}

.character-description h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  text-shadow: var(--text-shadow);
}

.class-list {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.class-item {
  padding: 0.5rem 1rem;
  background-color: rgba(10, 6, 18, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.class-item:hover {
  background-color: rgba(58, 28, 84, 0.4);
}

.class-item.active {
  background-color: rgba(138, 43, 226, 0.3);
  border-color: var(--accent-color);
  transform: scale(1.05);
}

.class-description {
  font-style: italic;
  line-height: 1.8;
}

/* Sección de descarga */
.download-section {
  text-align: center;
  padding: 3rem 2rem;
}

.download-text {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.download-button {
  display: inline-block;
  position: relative;
  padding: 1rem 2rem;
  background-color: var(--accent-color);
  color: white;
  font-family: var(--font-title);
  font-size: 1.2rem;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 1;
}

.download-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.5);
}

.button-text {
  position: relative;
  z-index: 2;
}

.button-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2"><path d="M12 3V16M12 16L7 11M12 16L17 11M21 21H3"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 2;
  padding: 10px;
}

.button-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 1;
}

.download-button:hover .button-glow {
  opacity: 0.3;
  animation: rotate 10s linear infinite;
}

.download-note {
  margin-top: 1rem;
}

.reqs-container {
  max-width: 800px;
  margin: 0 auto;
}

.reqs-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  text-shadow: var(--text-shadow);
  text-align: center;
}

.system-reqs ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.system-reqs li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--border-color);
}

.req-label {
  color: var(--accent-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Footer */
.game-footer {
  text-align: center;
  padding: 3rem 1rem;
  position: relative;
}

.footer-runes {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-rune {
  width: 30px;
  height: 30px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%238a2be2" stroke-width="1" opacity="0.5"><path d="M12 2L2 12L12 22M2 12H22"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.5;
}

.footer-copy {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-link {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--accent-glow);
  text-shadow: 0 0 5px var(--accent-glow);
}

.link-separator {
  color: var(--border-color);
}

/* Animaciones */
@keyframes pulse {
  0% {
    text-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-glow);
  }
  100% {
    text-shadow: 0 0 15px var(--accent-glow), 0 0 25px var(--accent-glow), 0 0 35px var(--accent-glow);
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes glitch-anim {
  0% {
    clip: rect(44px, 9999px, 56px, 0);
  }
  5% {
    clip: rect(12px, 9999px, 76px, 0);
  }
  10% {
    clip: rect(54px, 9999px, 98px, 0);
  }
  15% {
    clip: rect(82px, 9999px, 59px, 0);
  }
  20% {
    clip: rect(21px, 9999px, 49px, 0);
  }
  25% {
    clip: rect(30px, 9999px, 88px, 0);
  }
  30% {
    clip: rect(57px, 9999px, 18px, 0);
  }
  35% {
    clip: rect(65px, 9999px, 33px, 0);
  }
  40% {
    clip: rect(40px, 9999px, 78px, 0);
  }
  45% {
    clip: rect(19px, 9999px, 93px, 0);
  }
  50% {
    clip: rect(76px, 9999px, 42px, 0);
  }
  55% {
    clip: rect(25px, 9999px, 89px, 0);
  }
  60% {
    clip: rect(33px, 9999px, 66px, 0);
  }
  65% {
    clip: rect(10px, 9999px, 57px, 0);
  }
  70% {
    clip: rect(89px, 9999px, 24px, 0);
  }
  75% {
    clip: rect(37px, 9999px, 72px, 0);
  }
  80% {
    clip: rect(20px, 9999px, 44px, 0);
  }
  85% {
    clip: rect(68px, 9999px, 15px, 0);
  }
  90% {
    clip: rect(4px, 9999px, 86px, 0);
  }
  95% {
    clip: rect(52px, 9999px, 35px, 0);
  }
  100% {
    clip: rect(23px, 9999px, 63px, 0);
  }
}

@keyframes glitch-anim2 {
  0% {
    clip: rect(23px, 9999px, 63px, 0);
  }
  5% {
    clip: rect(52px, 9999px, 35px, 0);
  }
  10% {
    clip: rect(4px, 9999px, 86px, 0);
  }
  15% {
    clip: rect(68px, 9999px, 15px, 0);
  }
  20% {
    clip: rect(20px, 9999px, 44px, 0);
  }
  25% {
    clip: rect(37px, 9999px, 72px, 0);
  }
  30% {
    clip: rect(89px, 9999px, 24px, 0);
  }
  35% {
    clip: rect(10px, 9999px, 57px, 0);
  }
  40% {
    clip: rect(33px, 9999px, 66px, 0);
  }
  45% {
    clip: rect(25px, 9999px, 89px, 0);
  }
  50% {
    clip: rect(76px, 9999px, 42px, 0);
  }
  55% {
    clip: rect(19px, 9999px, 93px, 0);
  }
  60% {
    clip: rect(40px, 9999px, 78px, 0);
  }
  65% {
    clip: rect(65px, 9999px, 33px, 0);
  }
  70% {
    clip: rect(57px, 9999px, 18px, 0);
  }
  75% {
    clip: rect(30px, 9999px, 88px, 0);
  }
  80% {
    clip: rect(21px, 9999px, 49px, 0);
  }
  85% {
    clip: rect(82px, 9999px, 59px, 0);
  }
  90% {
    clip: rect(54px, 9999px, 98px, 0);
  }
  95% {
    clip: rect(12px, 9999px, 76px, 0);
  }
  100% {
    clip: rect(44px, 9999px, 56px, 0);
  }
}

/* Media Queries */
@media (min-width: 768px) {
  .intro-section {
    flex-direction: row;
  }

  .game-title {
    font-size: 4.5rem;
  }

  .glitch-effect::before,
  .glitch-effect::after {
    font-size: 4.5rem;
  }

  .subtitle {
    font-size: 1.5rem;
  }

  .character-creation {
    flex-direction: row;
  }
}

@media (max-width: 767px) {
  .game-title {
    font-size: 2.5rem;
  }

  .glitch-effect::before,
  .glitch-effect::after {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .gallery-wrapper {
    height: 300px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}
