:root {
  --lake-deep: #071422;
  --hole-navy: #0f2740;
  --ice-cyan: #5ec8e8;
  --aurora-mint: #6dffc3;
  --lantern-amber: #ffb347;
  --snow-mist: #e6f3fb;
  --frost-muted: #8aa3b8;
  --glow-cyan: 0 0 18px rgba(94, 200, 232, 0.55);
  --glow-amber: 0 0 16px rgba(255, 179, 71, 0.45);
  --header-height: 72px;
  --font-heading: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden !important;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--snow-mist);
  min-height: 100vh;
  background-color: var(--lake-deep);
}

.skin-night {
  background-color: var(--lake-deep);
  background-image:
    radial-gradient(ellipse 70% 45% at 15% 0%, rgba(94, 200, 232, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 40% at 90% 15%, rgba(109, 255, 195, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255, 179, 71, 0.08), transparent 55%),
    linear-gradient(180deg, #06101c 0%, var(--lake-deep) 45%, #0a1a2e 100%);
  background-attachment: fixed;
}

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

a {
  color: var(--ice-cyan);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--aurora-mint);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 700;
  color: var(--snow-mist);
}

.object {
  display: block;
}

.object--flex {
  display: flex;
}

.object--grid {
  display: grid;
}

.skin-panel {
  background: rgba(15, 39, 64, 0.72);
  border: 1px solid rgba(94, 200, 232, 0.22);
  box-shadow: var(--glow-cyan);
}

.skin-glow {
  box-shadow: var(--glow-cyan);
}

.skin-amber {
  box-shadow: var(--glow-amber);
}

.tc-wrap {
  width: min(1100px, 100% - 2rem);
  margin-inline: auto;
}

.tc-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.tc-page__main {
  flex: 1;
  padding-bottom: 3rem;
}

.tc-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-height);
  backdrop-filter: blur(12px);
  background: rgba(7, 20, 34, 0.82);
  border-bottom: 1px solid rgba(94, 200, 232, 0.18);
  box-shadow: 0 0 24px rgba(94, 200, 232, 0.12);
}

.tc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

.tc-brand {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--snow-mist);
  letter-spacing: 0.02em;
  text-shadow: 0 0 12px rgba(94, 200, 232, 0.5);
}

.tc-brand span {
  color: var(--ice-cyan);
}

.tc-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(94, 200, 232, 0.4);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
}

.tc-burger span {
  display: block;
  height: 2px;
  background: var(--ice-cyan);
  box-shadow: 0 0 8px rgba(94, 200, 232, 0.8);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.tc-burger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.tc-burger.is-open span:nth-child(2) {
  opacity: 0;
}

.tc-burger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.tc-nav__list {
  display: flex;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tc-nav__link {
  text-decoration: none;
  color: var(--frost-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, text-shadow 0.2s ease;
}

.tc-nav__link:hover,
.tc-nav__link.is-active {
  color: var(--ice-cyan);
  border-bottom-color: var(--ice-cyan);
  text-shadow: 0 0 10px rgba(94, 200, 232, 0.55);
}

.tc-hero {
  padding: 3.5rem 0 2rem;
  text-align: center;
  animation: tc-rise 0.7s ease both;
}

.tc-hero__tag {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aurora-mint);
  text-shadow: 0 0 10px rgba(109, 255, 195, 0.45);
}

.tc-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.1rem);
  max-width: 16ch;
  margin-inline: auto;
}

.tc-hero__lead {
  margin: 0 auto;
  max-width: 42rem;
  color: var(--frost-muted);
  font-size: 1.1rem;
}

.tc-section {
  padding: 2.5rem 0;
}

.tc-section__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.tc-section__title--spaced {
  margin-bottom: 4rem;
}

.tc-section__title--center {
  text-align: center;
}

.tc-section__sub {
  margin: 0 0 2rem;
  color: var(--frost-muted);
  max-width: 40rem;
}

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

.tc-game {
  text-align: left;
  cursor: pointer;
  padding: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(15, 39, 64, 0.75);
  border: 1px solid rgba(94, 200, 232, 0.25);
  color: inherit;
  font: inherit;
  box-shadow: 0 0 0 rgba(94, 200, 232, 0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tc-game:hover,
.tc-game:focus-visible {
  transform: translateY(-4px);
  border-color: var(--ice-cyan);
  box-shadow: var(--glow-cyan);
  outline: none;
}

.tc-game__thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.tc-game__body {
  padding: 1rem 1.1rem 1.25rem;
}

.tc-game__name {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.tc-game__hint {
  margin: 0;
  font-size: 0.92rem;
  color: var(--frost-muted);
}

.tc-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tc-feature {
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(15, 39, 64, 0.65);
  border: 1px solid rgba(94, 200, 232, 0.2);
  transition: box-shadow 0.25s ease;
}

.tc-feature:hover {
  box-shadow: var(--glow-cyan);
}

.tc-feature__title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--ice-cyan);
}

.tc-feature__text {
  margin: 0;
  color: var(--frost-muted);
  font-size: 0.95rem;
}

.tc-faq {
  max-width: 720px;
  margin-inline: auto;
}

.tc-faq__item {
  border: 1px solid rgba(94, 200, 232, 0.2);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  background: rgba(15, 39, 64, 0.55);
  overflow: hidden;
}

.tc-faq__question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--snow-mist);
  font: inherit;
  font-weight: 600;
  padding: 1rem 1.15rem;
  cursor: pointer;
}

.tc-faq__question:hover {
  color: var(--ice-cyan);
}

.tc-faq__answer {
  display: none;
  padding: 0 1.15rem 1rem;
  color: var(--frost-muted);
}

.tc-faq__item.is-open .tc-faq__answer {
  display: block;
}

.tc-faq__answer p {
  margin: 0;
}

.tc-cta {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(15, 39, 64, 0.9), rgba(7, 20, 34, 0.95));
  border: 1px solid rgba(94, 200, 232, 0.35);
  box-shadow: var(--glow-cyan);
  margin: 1rem 0 2rem;
}

.tc-cta h2 {
  margin: 0 0 0.5rem;
}

.tc-cta p {
  margin: 0 0 1.25rem;
  color: var(--frost-muted);
}

.tc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.tc-btn--glow {
  background: transparent;
  color: var(--ice-cyan);
  border-color: var(--ice-cyan);
  box-shadow: var(--glow-cyan);
}

.tc-btn--glow:hover {
  background: rgba(94, 200, 232, 0.15);
  color: var(--snow-mist);
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(94, 200, 232, 0.75);
}

.tc-btn--fill {
  background: var(--lantern-amber);
  color: var(--lake-deep);
  border-color: var(--lantern-amber);
  box-shadow: var(--glow-amber);
}

.tc-btn--fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(255, 179, 71, 0.7);
}

.tc-footer {
  margin-top: auto;
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid rgba(94, 200, 232, 0.18);
  background: rgba(5, 14, 24, 0.9);
}

.tc-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.tc-footer__heading {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--ice-cyan);
}

.tc-footer p {
  margin: 0 0 0.5rem;
  color: var(--frost-muted);
  font-size: 0.92rem;
}

.tc-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tc-footer__links a {
  color: var(--frost-muted);
  text-decoration: none;
  display: inline-block;
  padding: 0.2rem 0;
}

.tc-footer__links a:hover {
  color: var(--ice-cyan);
}

.tc-footer__bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(94, 200, 232, 0.12);
  color: var(--frost-muted);
  font-size: 0.85rem;
}

.tc-cookie {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: min(360px, calc(100% - 2rem));
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(15, 39, 64, 0.95);
  border: 1px solid rgba(94, 200, 232, 0.35);
  box-shadow: var(--glow-cyan);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tc-cookie p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--snow-mist);
}

.tc-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(3, 10, 18, 0.88);
}

.tc-modal.is-open {
  display: flex;
}

.tc-modal__panel {
  width: min(960px, 100%);
  height: min(90vh, 640px);
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--hole-navy);
  border: 1px solid rgba(94, 200, 232, 0.4);
  box-shadow: var(--glow-cyan);
}

.tc-modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(94, 200, 232, 0.2);
}

.tc-modal__title {
  margin: 0;
  font-size: 1rem;
}

.tc-modal__close {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(94, 200, 232, 0.4);
  border-radius: 8px;
  background: transparent;
  color: var(--ice-cyan);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.tc-modal__close:hover {
  box-shadow: var(--glow-cyan);
}

.tc-modal__frame {
  flex: 1;
  width: 100%;
  border: 0;
  background: #000;
}

.tc-page-head {
  padding: 2.5rem 0 1.5rem;
}

.tc-page-head h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.tc-page-head__lead {
  margin: 0;
  color: var(--frost-muted);
  max-width: 40rem;
}

.tc-prose {
  max-width: 720px;
}

.tc-prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
  color: var(--ice-cyan);
}

.tc-prose p,
.tc-prose li {
  color: var(--frost-muted);
}

.tc-prose ul {
  padding-left: 1.2rem;
}

.tc-prose strong {
  color: var(--snow-mist);
}

.tc-form {
  max-width: 520px;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tc-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tc-form__label {
  font-weight: 600;
  font-size: 0.9rem;
}

.tc-form__input,
.tc-form__textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(94, 200, 232, 0.3);
  background: rgba(15, 39, 64, 0.8);
  color: var(--snow-mist);
  font: inherit;
}

.tc-form__input:focus,
.tc-form__textarea:focus {
  outline: none;
  border-color: var(--ice-cyan);
  box-shadow: var(--glow-cyan);
}

.tc-form__textarea {
  min-height: 140px;
  resize: vertical;
}

.tc-form__status {
  min-height: 1.25rem;
  margin: 0;
  color: var(--aurora-mint);
  font-size: 0.9rem;
}

.tc-blog {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tc-blog-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.25rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(15, 39, 64, 0.7);
  border: 1px solid rgba(94, 200, 232, 0.22);
  transition: box-shadow 0.25s ease;
}

.tc-blog-card:hover {
  box-shadow: var(--glow-cyan);
}

.tc-blog-card__thumb {
  border-radius: 0.75rem;
  overflow: hidden;
}

.tc-blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
}

.tc-blog-card__content h2 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.25rem;
}

.tc-blog-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--frost-muted);
  margin-bottom: 0.5rem;
}

.tc-blog-card__content p {
  margin: 0 0 1rem;
  color: var(--frost-muted);
}

.tc-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lake-deep);
  background: var(--ice-cyan);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  box-shadow: var(--glow-cyan);
}

.tc-article {
  padding: 2rem 0 3rem;
  max-width: 720px;
}

.tc-article__header {
  margin-bottom: 1.5rem;
}

.tc-article__header h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.tc-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  color: var(--frost-muted);
  font-size: 0.9rem;
}

.tc-article__content section {
  margin-bottom: 1.75rem;
}

.tc-article__content h2 {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
  color: var(--ice-cyan);
}

.tc-article__content p {
  margin: 0 0 0.9rem;
  color: var(--frost-muted);
}

@keyframes tc-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .tc-features {
    grid-template-columns: 1fr;
  }

  .tc-footer__grid {
    grid-template-columns: 1fr;
  }

  .tc-burger {
    display: flex;
  }

  .tc-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(7, 20, 34, 0.98);
    border-bottom: 1px solid rgba(94, 200, 232, 0.2);
    display: none;
    padding: 1rem;
  }

  .tc-nav.is-open {
    display: block;
  }

  .tc-nav__list {
    flex-direction: column;
  }

  .tc-blog-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .tc-hero {
    padding-top: 2.5rem;
  }

  .tc-modal__panel {
    height: 85vh;
  }
}
