:root {
  --surface: rgba(7, 7, 8, 0.92);
  --surface-2: rgba(7, 7, 8, 0.95);
  --text: #dddfed;
  --muted: #667085;
  --line: rgba(216, 222, 234, 0.9);
  --shadow: 0 10px 30px rgba(16, 24, 40, 0.14);
  --hero-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  --accent: #4f46e5;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  text-align: center;
  overflow-x: hidden;
  background: #0b0f19;
}

.background-wallpaper {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(8, 11, 19, 0.52), rgba(8, 11, 19, 0.72)),
    url("./oic-wallpaper-2.png") center / cover no-repeat;
}

.background-scene {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: hidden;
}

.sun-model {
  width: min(95vmin, 1050px);
  height: min(95vmin, 1050px);
  background: transparent;
  --poster-color: transparent;
  opacity: 0.92;
  filter:
    brightness(0.62)
    contrast(1.15)
    saturate(0.9)
    drop-shadow(0 0 20px rgba(0, 0, 0, 0.22));
  animation: sunFloat 9s ease-in-out infinite;
}

.page {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 72px;
}

.hero {
  max-width: 760px;
  margin: 0 auto 36px;
  padding: 30px 24px;
  border-radius: 28px;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.logo {
  width: 90px;
  height: 90px;
  margin: 0 auto 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.small {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

h1,
h2,
h3,
h5,
h6 {
  margin: 0;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1;
  margin-bottom: 14px;
  font-weight: 800;
  color: var(--white);
}

h2 {
  font-size: 1.9rem;
  margin-bottom: 18px;
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #d6d3e3
}

h5 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #ffffff
}

h6 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #ffffff
}

.intro,
.notice {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-size: 1.05rem;
  color: #5b6170
}

.intro {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.notice {
  font-weight: 600;
  color: #ffffff
}

.links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto 52px;
  max-width: 720px;
}

.links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px;
  background: rgba(7, 7, 8, 0.95);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 600;
  color: rgba(255, 255, 254, 0.92);;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.links a:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 193, 214, 1);
  background: var(--white);
}

.devs,
.games {
  margin-top: 48px;
}

.dev-scroll {
  overflow-x: auto;
  padding: 6px 2px 14px;
  scrollbar-width: thin;
  scrollbar-color: #c2cadd transparent;
}

.dev-scroll::-webkit-scrollbar {
  height: 10px;
}

.dev-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.dev-scroll::-webkit-scrollbar-thumb {
  background: #c2cadd;
  border-radius: 999px;
}

.dev-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(245px, 260px);
  gap: 18px;
  width: max-content;
  min-width: 100%;
  justify-content: center;
}

.dev-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 22px 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  color: #cccccc
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  overflow: visible;
}


.dev-text {
  margin: 0 0 16px;
  color: #cccccc;
  line-height: 1.7;
  max-width: 25ch;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  color: #090840
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
  color: #344054;
}

.games-grid {
  display: grid;
  gap: 18px;
}

.game-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
  text-align: left;
  color: #000000
}

.game-logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background: linear-gradient(135deg, #dde7ff, #eef2ff);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--accent);
  margin: 0 auto;
  overflow: hidden;
}

.game-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-info h3 {
  margin-bottom: 8px;
}

.game-info p {
  margin: 0;
  color: #344054;
  line-height: 1.7;
}

@keyframes sunFloat {
  0% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.01);
  }
  100% {
    transform: translateY(0px) scale(1);
  }
}

@media (max-width: 900px) {
  .sun-model {
    width: min(105vmin, 820px);
    height: min(105vmin, 820px);
  }
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 20px, 1100px);
    padding-top: 24px;
  }

  .hero {
    padding: 24px 16px;
  }

  .links {
    grid-template-columns: 1fr;
  }

  .sun-model {
    width: min(125vmin, 720px);
    height: min(125vmin, 720px);
    opacity: 0.88;
  }

  .game-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}