@charset "UTF-8";
@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap);

:root {
  --tb-bg:       #1b1a18;
  --tb-surface:  #181a1e;
  --tb-accent:   #fffb00;
  --tb-accent-dim: #e5e100;
  --tb-text:     #fff;
  --tb-muted:    rgba(255,255,255,0.75);
  --tb-border:   rgba(255,251,0,0.2);
}

*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
  all: unset;
  display: revert;
}
*, *::before, *::after { box-sizing: border-box; }
a, button { cursor: revert; }
ol, ul, menu { list-style: none; }
img { max-inline-size: 100%; max-block-size: 100%; }
table { border-collapse: collapse; }
textarea { white-space: revert; }
meter { -webkit-appearance: revert; -moz-appearance: revert; appearance: revert; }
:where(pre) { all: revert; }

html, body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: var(--tb-text);
}
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--tb-bg);
  position: relative;
}
body::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

p { line-height: 150%; }
h1 { font-size: 38px; font-weight: 600; text-align: center; margin: 25px 0; }
h2 {
  font-size: 32px;
  font-weight: 600;
  margin: 20px auto;
  text-align: center;
  border-bottom: 1.5px solid var(--tb-accent);
  max-width: fit-content;
}
h3 { font-size: 26px; font-weight: 600; margin: 15px 0; }
ol { list-style: decimal; padding: 15px 25px; }
ul { list-style: disc; padding: 15px 25px; }
li { line-height: 150%; }
ol li::marker, ul li::marker { color: #ff9e00; font-weight: 600; }

/* Perde (curtain) */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: linear-gradient(160deg, #0f0e0c 0%, var(--tb-bg) 40%, #121110 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.curtain.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.curtain__logo {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--tb-accent), var(--tb-accent-dim));
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 28px;
  color: #000;
  margin-bottom: 20px;
  box-shadow: 0 0 30px rgba(255,251,0,0.4);
}
.curtain__title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--tb-text);
  margin-bottom: 8px;
  text-align: center;
}
.curtain__title span { color: var(--tb-accent); }
.curtain__sub {
  font-size: 0.9rem;
  color: var(--tb-muted);
  margin-bottom: 28px;
  text-align: center;
  max-width: 320px;
  line-height: 1.6;
}
.curtain__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--tb-accent);
  color: #000;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.28s ease;
  box-shadow: 0 6px 24px rgba(255,251,0,0.35);
}
.curtain__btn:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 28px rgba(255,251,0,0.5);
  color: #000;
}
.curtain__hint { font-size: 0.72rem; color: var(--tb-muted); margin-top: 20px; opacity: 0.8; }

/* Header */
.header {
  position: sticky;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 99;
  background: var(--tb-bg);
  padding: 20px 0;
  box-shadow: 0 0 5px #47515c;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.header .container .logo { flex: 0 0 150px; }
.header .container .logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tb-text);
  text-decoration: none;
}
.header .container .logo a span { color: var(--tb-accent); }
.header .container .auth { display: flex; gap: 15px; }
.header .container .auth .btn-1,
.header .container .auth .btn-2 {
  background: var(--tb-accent);
}

.btn {
  border-radius: 8px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-width: 120px;
  padding: 10px 15px;
  transition: all 0.3s;
  color: #000;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.btn:hover { background: var(--tb-accent-dim); color: #000; }

/* Main */
.main {
  height: 100%;
  flex: 1 1 auto;
  padding: 0 0 50px;
  position: relative;
  z-index: 1;
}
.main .banner {
  padding: 50px 0;
  position: relative;
  background: linear-gradient(96.01deg, var(--tb-bg) 0.38%, var(--tb-accent));
  background-position: 100%;
  background-size: contain;
  min-height: 400px;
  display: flex;
  z-index: 0;
}
.main .banner .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
  margin: 0 50px;
}
.main .banner .item { flex: 0 0 60%; }
.main .banner__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.main .banner__text h1 { margin: 0; text-align: left; }
.main .banner__btn a {
  position: relative;
  transition: all 0.3s ease-in-out;
  background: var(--tb-accent);
  max-width: 300px;
  white-space: nowrap;
  font-size: 20px;
  overflow: hidden;
  width: auto;
  color: #000;
  padding: 15px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.24);
  animation: tb-glowing 1300ms infinite;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}
.main .banner__btn a:hover {
  background: #000;
  color: var(--tb-accent);
}

.main .games-wrap {
  padding: 75px 16px;
  box-shadow: 0 0 5px #000;
}
.main .games-wrap h2 { margin: 0 auto 70px; }
.main .games-wrap .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-content: center;
  gap: 20px;
}
.main .games-wrap .cards .card {
  background: rgba(199, 198, 201, 0.15);
  border-radius: 16px;
  padding: 24px;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.main .content { padding: 50px 0; }
.main .content p { margin: 15px 0; }
.main .content img { display: flex; margin: 0 auto; max-width: 500px; }

.container {
  max-width: 90vw;
  margin: 0 auto;
  padding: 0 16px;
}

/* Footer */
.footer {
  background: var(--tb-bg);
  border-top: 1px solid var(--tb-border);
  padding: 24px 0;
}
.footer .container { text-align: center; }
.footer p { font-size: 0.9rem; color: var(--tb-muted); margin: 0; }

@keyframes tb-glowing {
  0%   { box-shadow: 0 0 5px #4d4d4d; }
  50%  { box-shadow: 0 0 20px var(--tb-accent); }
  100% { box-shadow: 0 0 5px #4d4d4d; }
}

@media (max-width: 768px) {
  h1 { margin: 20px 0; font-size: 30px; }
  h2 { font-size: 24px; margin: 15px 0; }
  h3 { font-size: 20px; margin: 10px 0; }
  .container { max-width: 100%; }
  .btn { padding: 10px 15px; }
  .header .container {
    justify-content: center;
    gap: 15px;
    flex-direction: column;
  }
  .header .container .logo { flex: auto; }
  .main { padding: 0 0 30px; }
  .main .banner {
    min-height: auto;
    padding: 30px 0;
    background-size: cover;
  }
  .main .banner .container {
    gap: 30px;
    flex-direction: column;
    padding: 20px;
    margin: 0 20px;
  }
  .main .banner .item { flex: 1 1 auto; }
  .main .games-wrap { padding: 45px 0; }
  .main .games-wrap h2 { margin: 0 auto 30px; }
  .main .content { padding: 30px 0; }
  .main .content img { max-width: 100%; }
}
