/* Base Styles */
body {
  font-family: 'Rubik', 'Saira', 'Roboto', sans-serif;
  margin: 0;
  background: #ffffC5;
  color: #111;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header & Logo */
header {
  margin-bottom: 2em;
}
.gc-logo {
  max-width: 120px;
  margin: 24px auto;
  display: block;
}

/* Navigation */
nav ul {
  display: flex;
  justify-content: center;
  gap: 2em;
  list-style: none;
  padding: 0;
  margin: 0;
}
nav ul li a {
  color: #ff8000;
  text-decoration: none;
  font-weight: 600;
  font-family: Rubik, Saira, Roboto, sans-serif;
  transition: color 0.15s;
}
nav ul li a.active,
nav ul li a:focus,
nav ul li a:hover {
  color: #530000;
}

/* Sections */
section {
  padding: 2em 0;
}
.centered-section {
  text-align: center;
  padding: 2em 0 1em 0;
}
.section-light {
  background: #f9f9fc;
}

/* Hero Image (Home, Studio) */
.hero-img {
  max-width: 740px;
  border-radius: 20px;
  margin: 0 auto 2em auto;
  display: block;
}
.team-img {
  max-width: 700px;
  border-radius: 18px;
  margin: 2em auto 1.5em auto;
  display: block;
}

/* Main Headings and Paragraphs */
h1, h2 {
  text-align: center;
  margin-bottom: 0.7em;
  color:#ff8000;
}
h1 { font-size: 2.2em; }
h2 { font-size: 2em; }
h3 {color: #530000; }
p {
  margin: 1em auto;
  max-width: 700px;
  font-size: 1.2em;
  color: #444;
}

/* Games Grid (Homepage) */
.games-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
}
.game-card {
  background: #ffcd17;
  border-radius: 10px;
  padding: 1.2em;
  max-width: 220px;
  min-width: 170px;
  box-shadow: 0 2px 8px #0001;
  text-align: center;
}
.game-card img {
  border-radius: 6px;
  margin-bottom: 0.6em;
}

/* Trailers / Video List */
.trailers {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
}
.trailers video,
.trailers iframe {
  width: 360px;
  height: 203px;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 2px 12px #0003;
}
@media (max-width: 600px) {
  .trailers video,
  .trailers iframe { width: 100%; height: 180px; }
}

/* Studio Values (ul) */
.studio-values,
.values-list {
  list-style: none;
  padding: 0;
  font-size: 1.15em;
  margin: 1.5em auto 2em;
  max-width: 500px;
}
.studio-values li,
.values-list li {
  margin: 1em 0;
}

/* Contact Info & Form */
.contact-info-list {
  list-style: none;
  font-size: 1.12em;
  margin: 1.5em auto 2em;
  padding: 0;
  max-width: 420px;
}
.contact-info-list li {
  margin: 1em 0;
}
.social-links {
  margin: 2em 0 1.5em;
  text-align: center;
}
.social-links a {
  margin: 0 0.3em;
}

.contact-form {
  background: #f7f7fb;
  border-radius: 14px;
  padding: 1.5em;
  margin: 2.5em auto 1em;
  max-width: 420px;
}
.contact-form label {
  display: block;
  margin-bottom: 0.6em;
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1em;
  padding: 0.7em;
  border-radius: 6px;
  border: 1px solid #bbb;
  font-size: 1em;
  font-family: inherit;
  resize: vertical;
  box-sizing: border-box;
}
.contact-form button {
  background: #222;
  color: #fff;
  padding: 0.9em 2em;
  border: none;
  border-radius: 7px;
  font-size: 1.1em;
  cursor: pointer;
}
.contact-form button:hover {
  background: #444;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 2em;
  padding: 1.2em 0;
  background: #222;
  color: #eee;
  font-size: 1em;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  nav ul { flex-direction: column; gap: 0.7em; }
  .games-grid { flex-direction: column; align-items: center; }
}
@media (max-width: 700px) {
  section, .section-light, .centered-section { padding: 1em 0; }
  .contact-form { padding: 1em; }
  h1 { font-size: 1.7em; }
  h2 { font-size: 1.3em; }
}
.hero-carousel {
  text-align: center;
  padding: 2em 0 1em 0;
}
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 740px;
  margin: 0 auto 2em auto;
}
#hero-carousel-img {
  width: 100%;
  max-width: 740px;
  border-radius: 20px;
  display: block;
}
.carousel-dots {
  margin: 1em 0 0 0;
  display: flex;
  justify-content: center;
  gap: 1em;
}
.carousel-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
}
.carousel-dot.active {
  background: #530000;
}
.hero-desc {
  max-width: 600px;
  margin: 1em auto 0;
  color: #530000;
  font-size: 1.3em;
}
.game-premium-desc {
  max-width: 820px;
  margin: 2.5em auto 2em auto;
  background: linear-gradient(105deg, #fffbe9 60%, #fbe9e7 100%);
  border-radius: 22px;
  box-shadow: 0 6px 24px #0001, 0 1.5px 6px #ffcd1740;
  padding: 2.4em 2em 2em 2em;
  text-align: left;
  position: relative;
}
.desc-inner h2 {
  color: #530000;
  font-size: 1.6em;
  margin-bottom: 0.8em;
  letter-spacing: 0.02em;
}
.game-premium-desc p {
  color: #3e2323;
  font-size: 1.16em;
  margin-bottom: 1.3em;
  line-height: 1.6;
}
.game-premium-desc strong {
  color: #ff8000;
  letter-spacing: 0.01em;
}
@media (max-width: 900px) {
  .game-premium-desc {
    padding: 1.4em 1em 1.2em 1em;
    font-size: 1em;
  }
}
.ss-carousel-section {
  max-width: 900px;
  margin: 2.5em auto 2em auto;
}
.ss-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5em;
  margin-bottom: 1em;
}
.ss-carousel img {
  max-width: 860px;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 2px 16px #0002;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: zoom-in;
  background: #fff;
}
.ss-arrow {
  background: none;
  border: none;
  padding: 0.3em;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.ss-arrow:focus, .ss-arrow:hover {
  background: #fffbe9;
  outline: none;
}
.ss-arrow svg {
  display: block;
}
.ss-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.8em;
}
.ss-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}
.ss-dot.active {
  background: #ff8000;
}
/* Responsive */
@media (max-width: 700px) {
  .ss-carousel-section { max-width: 99vw; }
  .ss-carousel img { max-width: 98vw; }
  .ss-arrow svg { width: 22px; height: 22px; }
  .ss-arrow { width: 28px; height: 28px; }
}
/* Lightbox styles */
#ss-lightbox {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ss-lightbox-bg {
  position: absolute;
  inset: 0;
  background: rgba(24, 18, 12, 0.93);
  cursor: zoom-out;
}
#ss-lightbox-img {
  position: relative;
  max-width: 96vw;
  max-height: 92vh;
  border-radius: 16px;
  box-shadow: 0 6px 36px #0007;
  z-index: 2;
  animation: fadein 0.22s;
}
@keyframes fadein {
  from { opacity: 0; transform: scale(0.97);}
  to { opacity: 1; transform: scale(1);}
}
.features-list {
  list-style: none;
  padding: 0;
  font-size: 1.14em;
  margin: 2em 0 0 0;
}
.features-list li {
  margin-bottom: 1em;
  background: #fff7de;
  border-radius: 8px;
  padding: 1em 1.3em 1em 1.3em;
  color: #2e150a;
  box-shadow: 0 1px 6px #0001;
}
.features-list li strong {
  color: #ff8000;
}
@media (max-width:700px) {
  .features-list li {
    padding: 0.9em 0.8em;
    font-size: 0.98em;
  }
}
.game-callout {
  background: #ff800012;
  color: #530000;
  border-left: 4px solid #ff8000;
  padding: 1em 1.3em;
  margin-bottom: 1.5em;
  border-radius: 9px;
  font-size: 1.17em;
  font-style: italic;
}
.game-callout .highlight {
  font-weight: bold;
  color: #ff8000;
  font-style: normal;
  letter-spacing: 0.01em;
}
.game-desc-container {
  max-width: 820px;
  margin: 2.5em auto 2em auto;
  padding: 2.4em 2em 2em 2em;
  text-align: left;
  position: relative;
}

.social-widget {
  position: fixed;
  top: 50%;
  right: 1.5em;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.8em;
  z-index: 9999;
}

.social-widget a {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}

.social-widget a:hover {
  transform: scale(1.15);
  opacity: 1;
}

.social-widget img {
  width: 58px;
  height: 58px;
  display: block;
}

@media (max-width: 600px) {
  .social-widget {
    right: 0.5em;
    gap: 1em;
  }

  .social-widget img {
    width: 36px;
    height: 36px;
  }
}

.steam-widget-left {
  position: fixed;
  top: 30%;
  left: 0;
  z-index: 999;
  width: 300px;
  height: 190px;
  background: rgba(0,0,0,0.8);
  padding: 6px;
  border-radius: 0 10px 10px 0;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
@media (max-width: 768px) {
  .steam-widget-left {
    display: none;
  }
}