* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden; /* Prevent horizontal scrolling */
}

body {
    font-family: 'Arial', sans-serif;
    color: white;
    overflow-y: auto;
}
h1, h2, h3 {
  margin-bottom: 1rem;
}

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 2rem;
    padding-left: 2rem;
}
@media (min-width: 1400px) {
    .container{
        max-width: 1400px;
    }
}


.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 20, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #333;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: auto;
}

.logo-area{
  display: flex;
  justify-items: center;
  align-items: center;
}

.logo {
  height: 50px;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(to right, #6a5acd, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 0.5rem;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: #ccc;
  font-size: 1.4rem;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #9ab9ff;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: #6a5acd;
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.btn.play-now {
  background: linear-gradient(to right, #6a5acd, #c084fc);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn.play-now:hover {
  background: linear-gradient(to right, #5b4cb3, #a857f5);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: #ccc;
  background: none;
  border: none;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 2rem;
  border-top: 1px solid #333;
  background-color: rgba(10, 10, 20, 0.95);
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav.show {
    display: flex;
  }
}
.hero {
  position: relative;
  min-height: 90vh;
  padding-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #eee;
  /*background: #0a0a14;*/
}

.hero-bg {
  position: absolute;
  inset: 0;
  /*background: radial-gradient(circle at center, #1c1c2b 0%, #0a0a14 100%);*/
  z-index: 0;
}

.float-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  animation: float 6s ease-in-out infinite;
}

.dot1 {
  top: 5rem;
  left: 2rem;
  width: 16px;
  height: 16px;
  background: #6a5acd;
}

.dot2 {
  top: 10rem;
  right: 5rem;
  width: 24px;
  height: 24px;
  background: #a855f7;
  animation-delay: 2s;
}

.dot3 {
  bottom: 10rem;
  left: 5rem;
  width: 12px;
  height: 12px;
  background: #9ab9ff;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.hero-title {
  width: 90%;
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.125rem;
  color: #999;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 600px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: bold;
}

.gradient-btn {
  background: linear-gradient(to right, #6a5acd, #a855f7);
  color: white;
}

.gradient-btn:hover {
  background: linear-gradient(to right, #5b4cb3, #9333ea);
}

.outline-btn {
  border: 2px solid #6a5acd;
  color: #9ab9ff;
}

.outline-btn:hover {
  background: #6a5acd;
  color: white;
}

.gradient-text {
  background: linear-gradient(to right, #6a5acd, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-shell {
  width: 24px;
  height: 40px;
  border: 2px solid #888;
  border-radius: 16px;
  display: flex;
  justify-content: center;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: #aaa;
  border-radius: 4px;
  margin-top: 6px;
  animation: pulse 1.2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -8px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

.games-section {
  display: flex;
  justify-content: center;
  padding: 5rem 1rem;
  background: #12121a;
  color: #ccc;
}
.games-container{
  width: 75%;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.section-header p {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 1.125rem;
  color: #aaa;
}

.game-card {
  background: #1c1c2b;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 0 15px rgba(100, 100, 255, 0.1);
  transition: all 0.3s ease;
}

@media (min-width: 1024px) {
  .game-card {
    flex-direction: row;
  }
}

.game-image {
  position: relative;
  flex: 1;
}

.game-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: 1rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  border-radius: 4px;
  font-weight: bold;
}

.status {
  left: 1rem;
  color: #fff;
}

.released {
  background: #22c55e;
}

.genre {
  right: 1rem;
  background: #ccc;
  color: #222;
}

.game-info {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.game-info h3 {
  font-size: 1.75rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0.5rem;
}

.game-info p {
  color: #bbb;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.rating {
  font-size: 1rem;
  color: #facc15;
}

.platforms .platform {
  border: 1px solid #666;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  font-size: 0.75rem;
}

.game-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  text-decoration: none;
}

.external-link {
  font-size: 0.875rem;
  display: inline-block;
  transition: transform 0.2s;
}

.game-btn:hover .external-link {
  transform: translateX(4px);
}

.about-section {
  padding: 2rem 1rem;
  color: #ccc;
  background: #0f0f1a;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2, .section-header h3 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-header .lead {
  font-size: 1.2rem;
  color: #bbb;
  margin-bottom: 0.75rem;
}

.section-header .sub-lead {
  font-size: 1rem;
  color: #999;
}

.highlight-text {
  color: #7db7ff;
  font-weight: bold;
  margin-top: 0.5rem;
}

.founder-profile {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .founder-profile {
    flex-direction: row;
  }
}

.founder-text {
  flex: 1;
  max-width: 600px;
}

.founder-text h3 {
  font-size: 2.6rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.founder-text h4 {
  font-size: 1.5rem;
  color: #7db7ff;
  margin-bottom: 0.25rem;
}

.founder-text .title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.founder-text p {
  font-size: 18px;
  margin-bottom: 1rem;
  color: #aaa;
  line-height: 1.6;
}

.founder-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  border: 4px solid #3c78d8;
}

.game-gallery{
  padding: 3rem 0;
}

.game-gallery-container{
  max-width: 1400px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.coming-soon-badge {
  margin-top: 2rem;
  text-align: center;
  padding: 1rem 2rem;
  border: 1px solid #3c78d8;
  border-radius: 9999px;
  background: rgba(60, 120, 216, 0.1);
  display: inline-flex;
  gap: 0.5rem;
  font-weight: 600;
  color: #7db7ff;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.contact-section {
  background: #12121a;
  padding: 5rem 1rem;
  color: #ccc;
}
.contact-section-container{
  max-width: 1400px;
  margin: auto;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}
.contact-form-card{
  background-color: #1c1c2b;
  padding: 2rem;
  border-radius: 12px;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-title {
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-row {
    flex-direction: row;
  }
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: #ccc;
}

.form-group input,
.form-group textarea {
  background: #1e1e2d;
  border: 1px solid #444;
  padding: 0.75rem;
  color: #eee;
  border-radius: 6px;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #6a5acd;
  outline: none;
}

.contact-info-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  color: #e5e7eb;
}

.info-card {
  background: #1c1c2b;
  padding: 2rem;
  border-radius: 12px;
}

.info-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #fff;
}

.info-card p {
  font-size: 0.95rem;
  color: #aaa;
  margin-bottom: 1.5rem;
}
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
  gap: 1rem;
}
.info-item a {
  color: #60a5fa;
  text-decoration: none;
}
.info-list li{
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.office-hours li {
  display: flex;
  justify-content: space-between;
}

.icon-circle {
  background: linear-gradient(to right, #6a5acd, #9333ea);
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}


.info-list a {
  color: #7db7ff;
  text-decoration: none;
}

.info-list a:hover {
  text-decoration: underline;
}
.office-hours {
  font-size: 0.95rem;
  line-height: 1.75;
}

.office-hours span:first-child {
  color: #a1a1aa;
  display: inline-block;
  width: 130px;
}

.office-hours span:last-child {
  color: #e5e7eb;
}

.footer {
  background: #0f0f1a;
  color: #aaa;
  border-top: 1px solid #333;
  padding: 4rem 1.5rem 0.5rem;
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1400px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  max-width: 400px;
}
.footer-social{
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
}

.footer-logo {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 16px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-social a {
  color: #aaa;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #7db7ff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.link-column h4 {
  font-weight: bold;
  color: #fff;
  margin-bottom: 1rem;
}

.link-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-column li {
  margin-bottom: 0.5rem;
}

.link-column a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}

.link-column a:hover {
  color: #7db7ff;
}

.footer-bottom {
  max-width: 1400px;
  border-top: 1px solid #222;
  margin: 3rem auto 1rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-legal a {
  margin-left: 1.5rem;
  color: #888;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: #7db7ff;
}

/*
==============Fire Sparks Background==========================
*/
.fire-sparks-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom, #1b0e0e, #0d0606 80%);
  overflow: hidden;
  z-index: -2;  /* Placing the sparks behind the content but above the canvas */
  pointer-events: none;
}
/* For the spark animation */
.fire-sparks-bg::before,
.fire-sparks-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 100, 0, 0.1) 0%, transparent 80%);
  animation: flame-pulse 6s infinite alternate ease-in-out;
}
/* After delay for the second flame pulse */
.fire-sparks-bg::after {
  animation-delay: 3s;
}
/* Flame pulse animation keyframes */
@keyframes flame-pulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.7; }
}
/* Canvas effect behind the sparks */
#ember-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1; /* Behind the fire sparks background */
  pointer-events: none;
}

/*
============== Toast Notification Message Alert==========================
*/
.toast {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4ade80; /* soft green */
  color: #111;
  padding: 1rem 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.toast.hidden {
  opacity: 0;
}
