/* ═══════════════════════════════════════════════
   SBN BURAK — Solo Game Developer
   style.css  |  Aarimous-inspired, juicy dark
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── RESET ─────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #1a1f2e;
  color: #d4dde8;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0;
}

/* ── SCROLLBAR ─────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #141820;
}

::-webkit-scrollbar-thumb {
  background: #e8650a;
  border-radius: 3px;
}

/* ── CANVAS ────────────────────────────────── */
#particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── NAV ───────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 5%;
  background: rgba(22, 27, 40, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 0.02em;
}

.nav-logo-img {
  width: 55px;
  height: 55px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
  transition: filter 0.3s;
}

.nav-logo:hover .nav-logo-img {
  filter: brightness(1.2) drop-shadow(0 0 6px rgba(232, 101, 10, 0.75));
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin-left: 1.5rem;
}

.nav-links a {
  font-size: 0.88rem;
  color: #8899b0;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #c8d6e5;
  border-radius: 2px;
  transition: 0.28s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── WRAPPER ───────────────────────────────── */
.wrapper {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ── HERO / ABOUT ──────────────────────────── */
#about {
  position: relative;
  z-index: 1;
  padding: 70px 0 60px;
}

.about-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 12px;
  filter: grayscale(15%) contrast(1.05);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* photo placeholder */
.about-photo-placeholder {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/4;
  border-radius: 12px;
  background: linear-gradient(160deg, #1f263a, #293247);
  border: 2px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: #4a5875;
  font-size: 0.82rem;
  text-align: center;
  padding: 2rem;
}

.about-photo-placeholder .ph-icon {
  font-size: 3rem;
  opacity: 0.4;
}

.about-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.about-content p {
  color: #8899b0;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-content p strong {
  color: #d4dde8;
  font-weight: 500;
}

.about-content p em {
  color: #e8650a;
  font-style: normal;
  font-weight: 500;
}

.about-email {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #e8650a;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  transition: opacity 0.2s;
}

.about-email:hover {
  opacity: 0.75;
}

.loves-section {
  margin-top: 1.4rem;
}

.loves-section h4 {
  font-weight: 600;
  font-size: 0.95rem;
  color: #c8d6e5;
  margin-bottom: 0.6rem;
}

.loves-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.loves-section li {
  font-size: 0.93rem;
  color: #6a7d96;
  padding-left: 1rem;
  position: relative;
}

.loves-section li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #e8650a;
  font-size: 0.7rem;
  top: 0.18em;
}

.loves-section li em {
  color: #4a6080;
  font-style: italic;
}

/* social icons row */
.social-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #8899b0;
  font-size: 1.1rem;
  transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.22s;
}

.social-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.social-btn.yt:hover {
  background: rgba(255, 0, 0, 0.18);
  border-color: #ff4040;
  color: #ff4040;
}

.social-btn.twitch:hover {
  background: rgba(145, 71, 255, 0.18);
  border-color: #9147ff;
  color: #9147ff;
}

.social-btn.steam:hover {
  background: rgba(102, 192, 244, 0.15);
  border-color: #66c0f4;
  color: #66c0f4;
}

.social-btn.twitter:hover {
  background: rgba(29, 155, 240, 0.15);
  border-color: #1d9bf0;
  color: #1d9bf0;
}

/* ── DIVIDER ───────────────────────────────── */
.section-divider {
  position: relative;
  z-index: 1;
  padding: 0 5%;
}

/* ── GAME SECTION ──────────────────────────── */
.game-section {
  position: relative;
  z-index: 1;
  padding: 60px 0;
}

.game-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* flip even sections */
.game-layout.flip {}

.game-cover {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
}

.game-cover:hover {
  transform: scale(1.015);
}

.game-cover img {
  width: 100%;
  display: block;
}

.game-info {}

.game-num {
  font-size: 0.78rem;
  font-weight: 600;
  color: #e8650a;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.game-info h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.game-genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.genre-tag {
  font-size: 0.73rem;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  background: rgba(232, 101, 10, 0.12);
  border: 1px solid rgba(232, 101, 10, 0.3);
  color: #e8650a;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.game-info p {
  color: #7a8fa8;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.game-info p strong {
  color: #c8d6e5;
}

/* Steam widget */
.steam-widget-wrap {
  margin-top: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.steam-widget-wrap iframe {
  display: block;
  width: 100%;
  border: none;
}

/* Steam button fallback */
.btn-steam {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  background: rgba(102, 192, 244, 0.1);
  border: 1px solid rgba(102, 192, 244, 0.35);
  border-radius: 7px;
  color: #66c0f4;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1.5rem;
  transition: background 0.22s, transform 0.22s, border-color 0.22s;
}

.btn-steam:hover {
  background: rgba(102, 192, 244, 0.2);
  border-color: #66c0f4;
  transform: translateY(-2px);
}

.btn-steam svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* coming soon section */
.coming-soon-block {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.coming-soon-inner {
  border: 2px dashed rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 3.5rem 2rem;
  text-align: center;
}

.coming-soon-inner .cs-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.coming-soon-inner h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #3a4f6a;
  margin-bottom: 0.5rem;
}

.coming-soon-inner p {
  color: #2c3f55;
  font-size: 0.9rem;
}

/* ── FOOTER ────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.5rem 5%;
  color: #2c3f55;
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer .footer-logo {
  font-weight: 700;
  font-size: 1rem;
  color: #3a4f6a;
  margin-bottom: 0.4rem;
}

footer a {
  color: #e8650a;
}

/* ── REVEAL ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 820px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .about-photo,
  .about-photo-placeholder {
    max-width: 280px;
    aspect-ratio: 1/1;
  }

  .game-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .game-layout.flip .game-cover {
    order: 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    padding: 1.5rem 5%;
    gap: 1.2rem;
    background: rgba(22, 27, 40, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}