@font-face {
  font-family: 'Curzon';
  src: url('/fonts/Curzon-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* McFate Games - Core Style System */
:root {
  --bg-primary: #060709;
  --bg-secondary: #0c0e12;
  --bg-card: #12151c;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --accent-cyan: #00b4ff;
  --accent-cyan-rgb: 0, 180, 255;
  --accent-orange: #f95738;
  --accent-orange-rgb: 249, 87, 56;
  --accent-dark-cyan: #0e3e5c;
  
  --font-display: 'Curzon', 'Creepster', cursive;
  --font-header: 'Curzon', 'Outfit', sans-serif;
  --font-sans: 'Outfit', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 80px;
}

/* Global Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #0a1c2a 0%, var(--bg-primary) 70%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 800;
  letter-spacing: 0.05em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* Typography & Decorative Effects */
.text-glow-cyan {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(var(--accent-cyan-rgb), 0.5),
               0 0 20px rgba(var(--accent-cyan-rgb), 0.2);
}

.text-glow-orange {
  color: var(--accent-orange);
  text-shadow: 0 0 10px rgba(var(--accent-orange-rgb), 0.5),
               0 0 20px rgba(var(--accent-orange-rgb), 0.2);
}

.flicker-anim {
  animation: flicker 4s infinite alternate;
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow: 0 0 10px rgba(var(--accent-cyan-rgb), 0.6), 0 0 20px rgba(var(--accent-cyan-rgb), 0.3);
    opacity: 1;
  }
  20%, 24%, 55% {
    text-shadow: none;
    opacity: 0.7;
  }
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(6, 7, 9, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 180, 255, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.brand-spooky {
  font-family: var(--font-display);
  color: var(--accent-cyan);
  font-size: 2.2rem;
  text-shadow: 0 0 8px rgba(var(--accent-cyan-rgb), 0.4);
}

.brand-sub {
  color: var(--text-primary);
  font-size: 0.9rem;
  align-self: flex-end;
  margin-bottom: 0.4rem;
  border-left: 2px solid rgba(255, 255, 255, 0.3);
  padding-left: 0.5rem;
}

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

.nav-item {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-item:hover, .nav-item.active {
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(var(--accent-cyan-rgb), 0.3);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-cyan);
  transition: var(--transition-smooth);
  box-shadow: 0 0 8px var(--accent-cyan);
}

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

.header-cta {
  background: linear-gradient(135deg, #1b3a24 0%, #0d1f14 100%);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 15px rgba(var(--accent-cyan-rgb), 0.15);
}

.header-cta:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(var(--accent-cyan-rgb), 0.4);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle .bar {
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

/* Page Layout Wrappers */
.main-content {
  margin-top: var(--header-height);
  flex: 1 0 auto;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: calc(90vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  overflow: hidden;
}

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

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(6, 7, 9, 0.4) 0%, rgba(6, 7, 9, 0.95) 90%),
              linear-gradient(to top, var(--bg-primary) 0%, transparent 40%);
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-tagline {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--accent-orange);
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--text-primary);
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

.hero-desc {
  max-width: 650px;
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cta-button {
  position: relative;
  background: linear-gradient(135deg, var(--accent-orange) 0%, #b23b25 100%);
  color: #fff;
  padding: 1.2rem 2.5rem;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 0 25px rgba(var(--accent-orange-rgb), 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
  animation: pulse-ember 2s infinite;
}

.cta-button:hover {
  transform: scale(1.03) translateY(-3px);
  box-shadow: 0 0 35px rgba(var(--accent-orange-rgb), 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

@keyframes pulse-ember {
  0% {
    box-shadow: 0 0 20px rgba(var(--accent-orange-rgb), 0.3);
  }
  50% {
    box-shadow: 0 0 35px rgba(var(--accent-orange-rgb), 0.6);
  }
  100% {
    box-shadow: 0 0 20px rgba(var(--accent-orange-rgb), 0.3);
  }
}

/* Info Section (Suburbs & Gameplay details) */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-header-centered {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 180, 255, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

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

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 180, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 180, 255, 0.05);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Showcase Section */
.showcase-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.showcase-image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 180, 255, 0.2);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.showcase-image {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

.showcase-image-wrapper:hover .showcase-image {
  transform: scale(1.03);
}

.showcase-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(6, 7, 9, 0.8) 0%, transparent 50%);
  pointer-events: none;
}

.showcase-details h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.showcase-details p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.showcase-checklist {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.showcase-checklist li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
}

.showcase-checklist i {
  color: var(--accent-cyan);
  font-size: 1.2rem;
}

/* Screenshot Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 7, 9, 0.6);
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 2rem;
  color: var(--accent-cyan);
  text-shadow: 0 0 10px var(--accent-cyan);
}

/* Testimonials / Reviews */
.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, #0e1116 100%);
  border-left: 3px solid var(--accent-orange);
  padding: 2rem;
  border-radius: 0 8px 8px 0;
  position: relative;
}

.review-quote {
  font-style: italic;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.review-author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-steam-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.review-steam-badge i {
  font-size: 1.1rem;
}


/* Form Styles (Contact Form) */
.contact-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(0, 180, 255, 0.1);
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  background-color: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 180, 255, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  background: linear-gradient(135deg, #1b3a24 0%, #0d1f14 100%);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  width: 100%;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition-smooth);
  box-shadow: 0 0 15px rgba(0, 180, 255, 0.1);
}

.form-submit-btn:hover {
  background-color: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 25px rgba(0, 180, 255, 0.3);
  transform: translateY(-2px);
}

.form-alert {
  padding: 1rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  animation: alert-glow-pulse 2.5s ease-out forwards;
}

.form-alert.success {
  background: rgba(46, 117, 89, 0.2);
  border: 1px solid #2e7559;
  color: #a3e635;
  --glow-color: rgba(163, 230, 53, 0.6);
}

.form-alert.error {
  background: rgba(185, 28, 28, 0.2);
  border: 1px solid #b91c1c;
  color: #fca5a5;
  --glow-color: rgba(185, 28, 28, 0.6);
}

@keyframes alert-glow-pulse {
  0% {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  20% {
    box-shadow: 0 0 25px var(--glow-color);
  }
  100% {
    box-shadow: 0 0 10px var(--glow-color);
  }
}

/* Footer Section */
.site-footer {
  background-color: #030405;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 2rem 2rem;
  margin-top: 6rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand h3 {
  font-family: var(--font-display);
  color: var(--accent-cyan);
  font-size: 2rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
  text-shadow: 0 0 8px rgba(var(--accent-cyan-rgb), 0.3);
}

.footer-brand p {
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 320px;
}

.footer-links h4, .footer-games h4, .footer-social h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

.footer-links ul, .footer-games ul {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.footer-links a, .footer-games a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links a:hover, .footer-games a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.social-icons {
  display: flex;
  gap: 1.2rem;
}

.social-icons a {
  background: var(--bg-card);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icons a:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 180, 255, 0.2);
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* About Page Styles */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.about-image-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 180, 255, 0.15);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.about-image {
  width: 100%;
  display: block;
  filter: grayscale(30%);
  transition: var(--transition-smooth);
}

.about-image-card:hover .about-image {
  filter: grayscale(0%);
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3.8rem;
  }
  .showcase-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background: var(--bg-secondary);
    border-left: 1px solid rgba(0, 180, 255, 0.1);
    flex-direction: column;
    padding: 3rem 2rem;
    align-items: flex-start;
    gap: 2rem;
    transition: var(--transition-smooth);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Gallery Lightbox Modal */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(6, 7, 9, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-modal.show {
  display: flex;
  opacity: 1;
}

.gallery-modal-content-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: modalZoomIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalZoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.gallery-modal-content {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 8px;
  border: 1px solid rgba(0, 180, 255, 0.2);
  box-shadow: 0 0 40px rgba(0, 180, 255, 0.3);
  object-fit: contain;
}

.gallery-modal-caption {
  margin-top: 1.5rem;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-family: var(--font-header);
  font-weight: 600;
  text-shadow: 0 0 8px rgba(0, 180, 255, 0.6);
  text-align: center;
  letter-spacing: 0.05em;
}

.gallery-modal-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  color: var(--text-secondary);
  font-size: 3rem;
  font-weight: 300;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10000;
  line-height: 1;
}

.gallery-modal-close:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px var(--accent-cyan);
  transform: scale(1.1) rotate(90deg);
}

@media (max-width: 768px) {
  .gallery-modal-close {
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
  }
  .gallery-modal-caption {
    font-size: 1rem;
    margin-top: 1rem;
  }
  .gallery-modal-content {
    max-height: 65vh;
  }
}

