/* Aoprix - Relic Rifts & Neon Sigils Theme
   Color Palette:
   - Background: #0A0A1F (Deep Abyss Blue)
   - Primary Accent: #08FFE2 (Glowing Teal)
   - Secondary Accent: #FF00A6 (Magenta Sigil)
   - Typography Base: #F5F5F5 (White Mist)
   - Subdued Text/Labels: #888CA1
*/

/* Base Styles */
:root {
  --bg-color: #0A0A1F;
  --primary-accent: #08FFE2;
  --secondary-accent: #FF00A6;
  --text-color: #F5F5F5;
  --subdued-text: #888CA1;
  --card-bg: rgba(20, 20, 45, 0.7);
  --header-bg: rgba(10, 10, 31, 0.9);
  --glow-shadow: 0 0 15px rgba(8, 255, 226, 0.5);
  --magenta-glow: 0 0 15px rgba(255, 0, 166, 0.5);
}

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

body {
  font-family: 'Exo', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--text-color), var(--primary-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(8, 255, 226, 0.3);
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  color: var(--primary-accent);
  text-shadow: 0 0 8px rgba(8, 255, 226, 0.3);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--subdued-text);
}

a {
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-accent);
}

main {
  flex: 1;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(8, 255, 226, 0.2);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  stroke: var(--primary-accent);
  animation: pulse 4s infinite;
}

.logo span {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--text-color);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  position: relative;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--secondary-accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  box-shadow: var(--magenta-glow);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary-accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-accent);
  margin: 5px 0;
  transition: all 0.3s ease;
  box-shadow: var(--glow-shadow);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 31, 0.95);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transform: translateY(-100%);
  transition: transform 0.5s ease;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 1rem;
  text-transform: uppercase;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(20, 20, 45, 0.7) 0%, rgba(10, 10, 31, 1) 70%);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--subdued-text);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.glyph {
  position: absolute;
  opacity: 0.15;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(2px);
}

.glyph-1 {
  top: 20%;
  left: 10%;
  width: 300px;
  height: 300px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%2308FFE2' stroke-width='1'%3E%3Ccircle cx='50' cy='50' r='45'/%3E%3Cpath d='M50 5 L50 95 M5 50 L95 50 M15 15 L85 85 M15 85 L85 15'/%3E%3C/svg%3E");
  animation: float 15s infinite ease-in-out;
}

.glyph-2 {
  top: 60%;
  right: 15%;
  width: 250px;
  height: 250px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23FF00A6' stroke-width='1'%3E%3Cpolygon points='50,5 95,50 50,95 5,50'/%3E%3Cpolygon points='50,20 80,50 50,80 20,50'/%3E%3C/svg%3E");
  animation: float 20s infinite ease-in-out reverse;
}

.glyph-3 {
  bottom: 15%;
  left: 25%;
  width: 200px;
  height: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%2308FFE2' stroke-width='1'%3E%3Cpath d='M50 5 L95 50 L50 95 L5 50 Z'/%3E%3Cpath d='M50 20 L80 50 L50 80 L20 50 Z'/%3E%3Ccircle cx='50' cy='50' r='15'/%3E%3C/svg%3E");
  animation: float 18s infinite ease-in-out 2s;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, var(--primary-accent), rgba(8, 255, 226, 0.7));
  color: var(--bg-color);
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--glow-shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--secondary-accent), rgba(255, 0, 166, 0.7));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-5px);
  color: var(--text-color);
  box-shadow: 0 0 20px rgba(255, 0, 166, 0.7);
}

.cta-button:hover::before {
  opacity: 1;
}

/* Games Grid */
.games-grid {
  padding: 5rem 5%;
  text-align: center;
  background: linear-gradient(to bottom, var(--bg-color), rgba(20, 20, 45, 0.9));
}

.games-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.game-card {
  position: relative;
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(8, 255, 226, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(8, 255, 226, 0.1), rgba(255, 0, 166, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(8, 255, 226, 0.3);
  border-color: var(--primary-accent);
}

.game-card:hover::before {
  opacity: 1;
}

.game-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  padding: 1rem;
  background-color: rgba(10, 10, 31, 0.8);
}

.game-card:hover .game-image img {
  transform: scale(1.05);
}

.game-info {
  padding: 1.5rem;
  text-align: center;
  z-index: 2;
}

.game-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-accent);
}

.game-info p {
  font-size: 0.9rem;
  color: var(--subdued-text);
}

.sigil-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.game-card:hover .sigil-container {
  opacity: 1;
}

.sigil {
  position: absolute;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 0 5px var(--secondary-accent));
}

.sigil-1 {
  top: 10%;
  left: 10%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23FF00A6' stroke-width='2'%3E%3Ccircle cx='50' cy='50' r='40'/%3E%3Cpath d='M30 50 L70 50 M50 30 L50 70'/%3E%3C/svg%3E");
  animation: floatSigil 3s infinite ease-in-out;
}

.sigil-2 {
  top: 10%;
  right: 10%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23FF00A6' stroke-width='2'%3E%3Cpolygon points='50,10 90,50 50,90 10,50'/%3E%3C/svg%3E");
  animation: floatSigil 3s infinite ease-in-out 0.5s;
}

.sigil-3 {
  bottom: 10%;
  left: 10%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23FF00A6' stroke-width='2'%3E%3Ccircle cx='50' cy='50' r='25'/%3E%3Ccircle cx='50' cy='50' r='40'/%3E%3C/svg%3E");
  animation: floatSigil 3s infinite ease-in-out 1s;
}

.sigil-4 {
  bottom: 10%;
  right: 10%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23FF00A6' stroke-width='2'%3E%3Cpath d='M20 50 C20 30, 80 30, 80 50 C80 70, 20 70, 20 50 Z'/%3E%3C/svg%3E");
  animation: floatSigil 3s infinite ease-in-out 1.5s;
}

/* Features Section */
.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 5rem 5%;
  background-color: rgba(20, 20, 45, 0.5);
  border-top: 1px solid rgba(8, 255, 226, 0.2);
  border-bottom: 1px solid rgba(8, 255, 226, 0.2);
  max-width: 1400px;
  margin: 0 auto;
}

.feature {
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  padding: 1rem;
  border-radius: 50%;
  background: rgba(10, 10, 31, 0.7);
  border: 1px solid var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-shadow);
}

.feature-icon svg {
  stroke: var(--primary-accent);
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* About Section */
.about {
  padding: 5rem 5%;
  text-align: center;
  background: radial-gradient(circle at center, rgba(20, 20, 45, 0.7) 0%, rgba(10, 10, 31, 1) 70%);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background-color: var(--card-bg);
  border-radius: 10px;
  border: 1px solid var(--primary-accent);
  box-shadow: var(--glow-shadow);
}

.rune-divider {
  height: 30px;
  margin: 1.5rem auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 30' fill='none' stroke='%2308FFE2' stroke-width='1'%3E%3Cpath d='M0 15 H300' stroke-dasharray='1 7'/%3E%3Ccircle cx='150' cy='15' r='5'/%3E%3Cpath d='M140 15 L130 5 L120 15 L130 25 Z'/%3E%3Cpath d='M160 15 L170 5 L180 15 L170 25 Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.7;
}

/* Disclaimer Section */
.disclaimer {
  padding: 3rem 5%;
  text-align: center;
  background-color: rgba(20, 20, 45, 0.7);
  border-top: 1px solid rgba(8, 255, 226, 0.2);
  max-width: 1400px;
  margin: 0 auto;
}

.spellbound-warning {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(10, 10, 31, 0.9), rgba(20, 20, 45, 0.7));
  border: 1px solid rgba(255, 0, 166, 0.3);
  box-shadow: 0 0 15px rgba(255, 0, 166, 0.2);
}

.spellbound-warning h3 {
  color: var(--secondary-accent);
  margin-bottom: 1rem;
}

.spellbound-warning p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* Footer */
footer {
  background-color: rgba(10, 10, 31, 0.9);
  border-top: 1px solid rgba(8, 255, 226, 0.2);
  padding: 3rem 5%;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.footer-links a {
  position: relative;
  padding: 0.5rem 0;
}

.footer-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--secondary-accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.footer-links a:hover::after,
.footer-links a.active::after {
  width: 100%;
}

.copyright {
  font-size: 0.9rem;
  color: var(--subdued-text);
  text-align: center;
}

/* Game Page Styles */
.game-page {
  padding-top: 80px;
}

.game-hero {
  padding: 5rem 5%;
  text-align: center;
  background: radial-gradient(circle at center, rgba(20, 20, 45, 0.7) 0%, rgba(10, 10, 31, 1) 70%);
}

.game-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.game-logo {
  max-width: 300px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 10px rgba(8, 255, 226, 0.5));
}

.game-container {
  padding: 2rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.game-frame {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--primary-accent);
  box-shadow: var(--glow-shadow);
  background-color: #000;
}

.game-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.game-description {
  padding: 3rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.game-info-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 2rem;
  border: 1px solid rgba(8, 255, 226, 0.3);
  box-shadow: var(--glow-shadow);
}

.game-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.game-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.game-feature svg {
  stroke: var(--primary-accent);
}

.more-games {
  padding: 3rem 5%;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
}

.more-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.more-game-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(8, 255, 226, 0.2);
  padding: 1rem;
}

.more-game-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-accent);
  box-shadow: var(--glow-shadow);
}

.more-game-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.more-game-card h3 {
  font-size: 1.1rem;
}

/* Contact Page Styles */
.contact-page {
  padding-top: 80px;
}

.contact-hero {
  padding: 5rem 5%;
  text-align: center;
  background: radial-gradient(circle at center, rgba(20, 20, 45, 0.7) 0%, rgba(10, 10, 31, 1) 70%);
}

.contact-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form-section {
  padding: 3rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 2rem;
  border: 1px solid var(--primary-accent);
  box-shadow: var(--glow-shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  color: var(--primary-accent);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background-color: rgba(10, 10, 31, 0.7);
  border: 1px solid rgba(8, 255, 226, 0.3);
  border-radius: 5px;
  color: var(--text-color);
  font-family: 'Exo', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: var(--glow-shadow);
}

.input-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-accent);
  transition: width 0.3s ease;
}

.textarea-glow {
  bottom: 5px;
}

.form-group input:focus ~ .input-glow,
.form-group textarea:focus ~ .input-glow {
  width: 100%;
}

.submit-button {
  padding: 1rem 2rem;
  background: linear-gradient(45deg, var(--primary-accent), rgba(8, 255, 226, 0.7));
  color: var(--bg-color);
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--glow-shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin-top: 1rem;
}

.submit-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--secondary-accent), rgba(255, 0, 166, 0.7));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.submit-button:hover {
  transform: translateY(-5px);
  color: var(--text-color);
  box-shadow: 0 0 20px rgba(255, 0, 166, 0.7);
}

.submit-button:hover::before {
  opacity: 1;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 31, 0.9);
  z-index: 1001;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  border: 1px solid var(--primary-accent);
  box-shadow: var(--glow-shadow);
  animation: modalAppear 0.5s ease;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--subdued-text);
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: var(--secondary-accent);
}

.modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  padding: 1rem;
  border-radius: 50%;
  background: rgba(10, 10, 31, 0.7);
  border: 1px solid var(--secondary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(255, 0, 166, 0.5);
}

.modal-icon svg {
  stroke: var(--secondary-accent);
}

/* Legal Pages */
.legal-page {
  padding-top: 80px;
}

.legal-hero {
  padding: 5rem 5%;
  text-align: center;
  background: radial-gradient(circle at center, rgba(20, 20, 45, 0.7) 0%, rgba(10, 10, 31, 1) 70%);
}

.legal-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content {
  padding: 3rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.scroll-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 2rem;
  border: 1px solid rgba(8, 255, 226, 0.3);
  box-shadow: var(--glow-shadow);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' fill='none'%3E%3Cpath d='M0 0 L100 100 M100 0 L0 100' stroke='%23FFFFFF' stroke-width='0.2' stroke-opacity='0.05'/%3E%3C/svg%3E");
}

.privacy-policy,
.terms-of-use {
  color: var(--text-color);
}

.last-updated {
  color: var(--subdued-text);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.privacy-policy h3,
.terms-of-use h3 {
  color: var(--primary-accent);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.privacy-policy ul,
.terms-of-use ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-policy li,
.terms-of-use li {
  margin-bottom: 0.5rem;
  color: var(--subdued-text);
}

/* Animations */
@keyframes pulse {
  0% {
    opacity: 0.7;
    filter: drop-shadow(0 0 2px var(--primary-accent));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 8px var(--primary-accent));
  }
  100% {
    opacity: 0.7;
    filter: drop-shadow(0 0 2px var(--primary-accent));
  }
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes floatSigil {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-5px) rotate(10deg);
    opacity: 1;
  }
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.7;
  }
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .games-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .features {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .nav-links a {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero {
    height: 80vh;
  }
  
  .games-container {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
  
  .features {
    flex-direction: column;
    align-items: center;
  }
  
  .feature {
    max-width: 100%;
  }
  
  .footer-links {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero {
    height: 70vh;
  }
  
  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .games-container {
    grid-template-columns: 1fr;
  }
  
  .game-image {
    height: 150px;
  }
  
  .form-container {
    padding: 1.5rem;
  }
}