/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Marcellus&family=Raleway:wght@300;400;500;600;700&display=swap');

/* Base Styles */
:root {
  --background: #1e2434;
  --foreground: #f8fafc;
  --card: #09090b;
  --card-foreground: #f8fafc;
  --popover: #09090b;
  --popover-foreground: #f8fafc;
  --primary: #7e57c2;
  --primary-foreground: #f8fafc;
  --secondary: #1f2937;
  --secondary-foreground: #f8fafc;
  --muted: #1f2937;
  --muted-foreground: #94a3b8;
  --accent: #ffd700;
  --accent-foreground: #09090b;
  --destructive: #7f1d1d;
  --destructive-foreground: #f8fafc;
  --border: #1f2937;
  --input: #1f2937;
  --ring: #3b82f6;
  --radius: 0.5rem;
  --fantasy-dark: #1a1f2c;
  --fantasy-navy: #1e2434;
  --fantasy-purple: #7e57c2;
  --fantasy-light-purple: #9575cd;
  --fantasy-gold: #ffd700;
  --fantasy-amber: #ffab00;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--fantasy-dark);
  color: var(--foreground);
  font-family: 'Raleway', sans-serif;
  background-image: url('/background-pattern.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  line-height: 1.6;
  position: relative;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(26, 31, 44, 0.6) 0%, rgba(26, 31, 44, 0.9) 100%);
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  margin-bottom: 1rem;
}

h5, h6 {
  font-family: 'Marcellus', serif;
  margin-bottom: 0.5rem;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* Utility Classes */
.fantasy-container {
  padding: 0 1rem;
  margin: 0 auto;
  max-width: 1280px;
  width: 100%;
}

.text-fantasy-gold {
  color: var(--fantasy-gold);
}

.fantasy-title {
  font-family: 'Cinzel', serif;
  font-weight: bold;
  font-size: 2rem;
  color: white;
  position: relative;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fantasy-title::after {
  content: '';
  position: absolute;
  width: 25%;
  height: 2px;
  background: linear-gradient(to right, var(--fantasy-gold), transparent);
  bottom: -0.5rem;
  left: 0;
}

.section-title {
  position: relative;
  display: inline-block;
  font-size: 1.75rem;
  color: white;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.section-title::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--fantasy-gold), transparent);
  bottom: 0;
  left: 0;
}

.fantasy-card {
  background-color: rgba(30, 36, 52, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(126, 87, 194, 0.3);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fantasy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
}

.fantasy-button-fixed {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  background: linear-gradient(135deg, var(--fantasy-purple), var(--fantasy-light-purple));
  color: white;
  font-weight: 500;
  transition: all 0.3s;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(126, 87, 194, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.fantasy-button-fixed:hover {
  filter: brightness(110%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.fantasy-button-fixed:active {
  transform: translateY(1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.gold-button-fixed {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  background: linear-gradient(135deg, var(--fantasy-gold), var(--fantasy-amber));
  color: var(--fantasy-dark);
  font-weight: 500;
  transition: all 0.3s;
  text-align: center;
  border: 1px solid rgba(255, 171, 0, 0.4);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.gold-button-fixed:hover {
  filter: brightness(110%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.gold-button-fixed:active {
  transform: translateY(1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.section {
  padding: 5rem 0;
}

.hidden {
  display: none;
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s;
  padding: 1rem 0;
}

.navbar.scrolled {
  background-color: rgba(26, 31, 44, 0.9);
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-text {
  position: relative;
}

.logo-text span {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 10;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--fantasy-gold), transparent);
}

.desktop-nav {
  display: none;
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.5rem;
  transition: color 0.3s;
}

.mobile-menu-btn:hover {
  color: var(--fantasy-gold);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(26, 31, 44, 0.95);
  backdrop-filter: blur(10px);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 5rem;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  padding: 2rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  text-align: center;
}

.nav-link:hover, .nav-link.active {
  color: var(--fantasy-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--fantasy-gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: color 0.3s;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
}

.dropdown-icon {
  font-size: 0.7rem;
  transition: transform 0.3s;
}

.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  width: 12rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background-color: rgba(30, 36, 52, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(126, 87, 194, 0.2);
  border-radius: 0.375rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  z-index: 100;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.2s;
  border-radius: 0.25rem;
}

.dropdown-content a:hover {
  background-color: rgba(26, 31, 44, 0.6);
  color: var(--fantasy-gold);
}

.mobile-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: color 0.3s;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  width: 100%;
}

.mobile-dropdown-content {
  width: 100%;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  background-color: rgba(30, 36, 52, 0.5);
  border-radius: 0.375rem;
}

.mobile-dropdown-content a {
  display: block;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
  text-align: center;
}

.mobile-dropdown-content a:hover {
  color: var(--fantasy-gold);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 5rem;
}

.hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background-color: rgba(30, 36, 52, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(126, 87, 194, 0.3);
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.stat-value {
  font-size: 2.5rem;
  color: var(--fantasy-gold);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-weight: 500;
  opacity: 0.9;
}

/* Games Section */
.games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.game-card {
  background-color: rgba(30, 36, 52, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(126, 87, 194, 0.3);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
}

.game-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.game-content {
  padding: 1.5rem;
}

.game-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.game-description {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.game-tag {
  background-color: rgba(126, 87, 194, 0.2);
  color: var(--fantasy-light-purple);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  border: 1px solid rgba(126, 87, 194, 0.3);
  transition: all 0.3s ease;
}

.game-tag:hover {
  background-color: rgba(126, 87, 194, 0.3);
  transform: translateY(-2px);
}

/* Collaborators Section */
.collaborators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.collaborator-card {
  background-color: rgba(30, 36, 52, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(126, 87, 194, 0.3);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.collaborator-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 2px solid var(--fantasy-gold);
}

.collaborator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collaborator-name {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.collaborator-role {
  color: var(--fantasy-gold);
  font-weight: 500;
  margin-bottom: 1rem;
}

.collaborator-description {
  opacity: 0.9;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

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

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-form {
  background-color: rgba(30, 36, 52, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(126, 87, 194, 0.3);
  border-radius: 0.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
}

.form-group input, .form-group textarea {
  padding: 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(126, 87, 194, 0.3);
  background-color: rgba(26, 31, 44, 0.8);
  color: white;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--fantasy-purple);
  box-shadow: 0 0 0 3px rgba(126, 87, 194, 0.2);
}

/* Footer */
.footer {
  background-color: rgba(26, 31, 44, 0.9);
  backdrop-filter: blur(15px);
  padding: 4rem 0 2rem;
  position: relative;
  box-shadow: 0 -10px 25px -5px rgba(0, 0, 0, 0.1);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--fantasy-gold), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-tagline {
  margin-top: 0.5rem;
  opacity: 0.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.footer-links-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-links-title::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 1px;
  background: linear-gradient(to right, var(--fantasy-gold), transparent);
  bottom: 0;
  left: 0;
}

.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-column a {
  opacity: 0.8;
  transition: all 0.2s;
}

.footer-links-column a:hover {
  opacity: 1;
  color: var(--fantasy-gold);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.6;
  font-size: 0.875rem;
}

/* Scroll To Top Button */
.scroll-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fantasy-purple), var(--fantasy-light-purple));
  color: white;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 99;
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top-btn:hover {
  background: linear-gradient(135deg, var(--fantasy-light-purple), var(--fantasy-purple));
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Blog Page Styles */
.blog-header {
  padding: 8rem 0 4rem;
  text-align: center;
}

.blog-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.blog-section {
  padding: 2rem 0 5rem;
}

.featured-post {
  margin-bottom: 4rem;
  background-color: rgba(30, 36, 52, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(126, 87, 194, 0.3);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.featured-post-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.featured-post-content {
  padding: 2rem;
}

.post-date {
  display: block;
  color: var(--fantasy-gold);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.post-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.post-excerpt {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.blog-post-card {
  background-color: rgba(30, 36, 52, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(126, 87, 194, 0.3);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.post-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-content {
  padding: 1.5rem;
}

.post-link {
  display: inline-block;
  color: var(--fantasy-light-purple);
  font-weight: 500;
  transition: color 0.2s;
}

.post-link:hover {
  color: var(--fantasy-gold);
}

.blog-post-template {
  padding: 2rem;
}

.code-block {
  background-color: rgba(26, 31, 44, 0.8);
  padding: 1.5rem;
  border-radius: 0.375rem;
  overflow-x: auto;
  margin: 1rem 0;
  font-family: monospace;
  font-size: 0.875rem;
  white-space: pre-wrap;
  color: #e6e6e6;
}

/* Game Detail Page */
.game-detail-container {
  padding: 8rem 0 5rem;
}

.game-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  font-size: 1.2rem;
  color: var(--fantasy-gold);
}

.game-detail-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.game-detail-image {
  width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.3);
}

.game-detail-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.game-detail-info {
  padding: 2rem;
  background-color: rgba(30, 36, 52, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(126, 87, 194, 0.3);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.game-detail-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.game-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.game-detail-platform, .game-detail-status {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.game-detail-platform {
  background-color: rgba(126, 87, 194, 0.2);
  color: var(--fantasy-light-purple);
  border: 1px solid rgba(126, 87, 194, 0.3);
}

.game-detail-status {
  background-color: rgba(255, 215, 0, 0.2);
  color: var(--fantasy-gold);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.game-detail-description {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.game-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.game-tag {
  background-color: rgba(126, 87, 194, 0.2);
  color: var(--fantasy-light-purple);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  border: 1px solid rgba(126, 87, 194, 0.3);
  transition: all 0.3s ease;
}

.game-tag:hover {
  background-color: rgba(126, 87, 194, 0.3);
  transform: translateY(-2px);
}

.game-detail-features {
  margin-top: 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  padding: 1.5rem;
  background-color: rgba(30, 36, 52, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(126, 87, 194, 0.3);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.feature-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(126, 87, 194, 0.2);
  color: var(--fantasy-light-purple);
  border-radius: 0.375rem;
  font-size: 1.25rem;
  border: 1px solid rgba(126, 87, 194, 0.3);
}

.game-detail-screenshots {
  margin-top: 4rem;
}

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

.screenshot-item {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.screenshot-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.screenshot-item:hover img {
  transform: scale(1.05);
}

.game-detail-cta {
  margin-top: 4rem;
  text-align: center;
  padding: 3rem;
  background-color: rgba(30, 36, 52, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(126, 87, 194, 0.3);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.cta-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-description {
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.game-detail-updates {
  margin-top: 4rem;
}

.updates-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.update-card {
  padding: 1.5rem;
  background-color: rgba(30, 36, 52, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(126, 87, 194, 0.3);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.update-date {
  color: var(--fantasy-gold);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.update-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Media Queries */
@media (min-width: 768px) {
  .fantasy-container {
    padding: 0 1.5rem;
  }
  
  .fantasy-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .about-content {
    grid-template-columns: 1.5fr 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr 1.5fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr 2fr;
  }
  
  .game-detail-header {
    grid-template-columns: 1fr 1fr;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blog-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .fantasy-container {
    padding: 0 2rem;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blog-posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 404 Page Styles */
.not-found-container {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
}

.not-found-content {
  text-align: center;
  padding: 4rem 2rem;
  background-color: rgba(30, 36, 52, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(126, 87, 194, 0.3);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  margin: 0 auto;
}

.not-found-message {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.not-found-actions {
  margin-top: 2rem;
}

.blog-post-container {
  max-width: 800px;
  margin: 50px auto;
  padding: 30px;
  background: #1c1f26; /* Dark background */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.post-header {
  text-align: center;
  margin-bottom: 20px;
}

.back-to-blog {
  display: block;
  text-align: center;
  margin-bottom: 20px;
  font-size: 18px;
  color: #ffcc00;
  text-decoration: none;
  font-weight: bold;
}


h1 {
  font-size: 32px;
  text-align: center;
}

.post-date {
  font-size: 16px;
  color: #aaa;
  text-align: center;
}

.post-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.post-image {
  width: 100%;
  height: 180px;  /* Adjust height to keep cards uniform */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background: #222; /* Placeholder background */
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Makes sure images are scaled properly */
  border-radius: 10px;
}



#post-content {
  font-size: 18px;
  line-height: 1.6;
  color: #ddd;
  text-align: left;
  max-width: 90%;
}
.fantasy-subtle {
  background-color: #1e1e1e;
  color: #d4b27a;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(212, 178, 122, 0.3);
  transition: all 0.2s ease-in-out;
  margin-left: 0.75rem;
  animation: fantasyPulse 3s ease-in-out infinite;
}

.fantasy-subtle:hover {
  background-color: #282828;
  color: #f1d7a5;
  border-color: rgba(241, 215, 165, 0.5);
  box-shadow: 0 0 10px rgba(212, 178, 122, 0.25);
  transform: scale(1.03);
}

/* 🔮 Glow animation */
@keyframes fantasyPulse {
  0% {
      box-shadow: 0 0 0px rgba(212, 178, 122, 0.1);
  }
  50% {
      box-shadow: 0 0 6px rgba(212, 178, 122, 0.3);
  }
  100% {
      box-shadow: 0 0 0px rgba(212, 178, 122, 0.1);
  }
}

