/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Kelly Slab, serif;
  background: #0c0a06;
  color: #f7941d;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7.8,7.1,5.5,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #222;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}

.logo-text {
  color: #f7941d;
  font-family: Kelly Slab, serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.accent {
  color: #f7941d;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.2rem;
}

.nav-links a {
  color: #f7941d;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #f7941d;
}

.hero {
  min-height: 80px;
  height: auto;
  padding-top: 3rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-family: Kelly Slab, serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.hero .lead {
  font-size: 1.4rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
  color: #a4855e;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.btn.primary {
  background: #f7941d;
  color: #000;
  font-family: 'Kelly Slab', serif;
}

.btn.primary:hover {
  background: #f7941d;
  transform: translateY(-2px);
}

.btn.outline {
  border: 2px solid #f7941d;
  color: #f7941d;
}

.btn.outline:hover {
  background: #f7941d;
  color: #000;
}

.section {
  padding: 10rem 0;
}

.section h2 {
  font-family: 'Kelly Slab', serif;
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 4rem;
  background: linear-gradient(90deg, #f7941d, #f75555);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.dark {
  background: #080604;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat .number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #df7941;
  display: block;
}

.stat .label {
  font-size: 1.1rem;
  color: #a4855e;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
}

.game-card {
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #222;
  transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(96.9,58,11.4,0.12);
}

.game-image {
  width: 100%;
  height: 420px;                 /* keep your original height, or use auto for natural aspect */
  object-fit: cover;             /* crops to fill without distortion – best for game screenshots */
  object-position: center;       /* centers the image if cropped */
  display: block;
  border-bottom: 1px solid #222; /* optional subtle divider */
}

.game-info {
  padding: 1.8rem;
}

.game-info h3 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.genre {
  color: #a4855e;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  display: block;
}

.btn.small {
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  text-align: center;
}

.member-photo {
  width: 160px;                  /* your current size – adjust as needed */
  height: 160px;
  background: #222;              /* fallback color if image fails */
  border-radius: 50%;            /* keeps it circular */
  margin: 0 auto 1.2rem;
  border: 3px solid #333;
  overflow: hidden;              /* ensures image doesn't spill out */
  display: block;                /* for centering */
}

.member-photo img {              /* ← NEW: targets the <img> inside */
  width: 100%;
  height: 100%;
  object-fit: cover;             /* crops to fill circle without distortion – best for portraits */
  object-position: center;
  display: block;
}

.team-member {
  text-align: center;
}

/* Hover effect – optional but nice */
.member-photo {
  transition: border-color 0.3s, transform 0.3s;
}

.team-member:hover .member-photo {
  border-color: #df7941;
  transform: scale(1.08);
}

.role {
  color: #a4855e;
  font-size: 1rem;
}

.contact-form {
  max-width: 600px;
  margin: 3rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

input, textarea {
  padding: 1rem;
  border: 1px solid #333;
  border-radius: 6px;
  background: #111;
  color: white;
  font-family: inherit;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #f7941d;
  box-shadow: 0 0 0 3px rgba(96.9,58,11.4,0.12);
}

.social-links {
  text-align: center;
  margin: 2rem 0;
  color: #777;
}

.social-links a {
  color: #f7941d;
  text-decoration: none;
  margin: 0 0.8rem;
}

footer {
  text-align: center;
  padding-top: 3rem;
  color: #555;
  font-size: 0.95rem;
}

.kelly-slab-regular {
  font-family: "Kelly Slab", sans-serif;
  font-weight: 400;
  font-style: normal;
}


/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    gap: 1.2rem;
    font-size: 0.95rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 6rem 0;
  }
  .hero h1 {
    font-size: 3.8rem;
  }
}

/* Logo intro section – before hero */
.logo-intro {
  padding: 3rem 0 2rem;          /* generous top/bottom space – adjust as needed */
  text-align: center;
  background: #000000; 
  min-height: auto;              /* ensures it has presence even on tall screens */
}

.main-logo {
  max-width: 420px;              /* tune this: 280–420px depending on your logo shape */
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 8px 32px rgba(96.9,58,11.4,0.12)); /* stronger neon glow */
  transition: transform 0.5s ease, filter 0.5s ease;
}

.main-logo:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 12px 48px rgba(96.9,58,11.4,0.12));
}

.logo-tagline {
  font-family: 'Orbitron', monospace;
  font-size: 1.4rem;
  color: #f7941d;
  letter-spacing: 2px;
  opacity: 0.9;
  margin: 0;
}

/* Make it responsive */
@media (max-width: 768px) {
  .logo-intro {
    padding: 2.5rem 0 1.5rem;
  }
  .main-logo {
    max-width: 320px;
  }
  .logo-tagline {
    font-size: 1.2rem;
  }
}