/* SportsCode gate — matches the landing identity. Loaded by gate.js. */

@import url('https://fonts.googleapis.com/css2?family=Days+One&family=Chakra+Petch:wght@300;400;500;600;700&display=swap');

#sc-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0B0E13;
  font-family: 'Chakra Petch', sans-serif;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}

/* Noise overlay (matches landing) */
#sc-gate::before {
  content: '';
  position: absolute; inset: 0;
  opacity: .04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Decorative grid lines */
#sc-gate::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 25vw 100%, 25vw 100%, 25vw 100%;
  background-position: 25% 0, 50% 0, 75% 0;
  background-repeat: no-repeat;
}

.sc-gate-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
}

.sc-gate-card {
  position: relative;
  background: #13161c;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 2.5rem 2.25rem 2rem;
  overflow: hidden;
}
.sc-gate-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #CBFE1C;
}

.sc-gate-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: 'Chakra Petch', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #CBFE1C;
  background: rgba(203, 254, 28, 0.12);
  border: 1px solid rgba(203, 254, 28, 0.3);
  padding: .35rem .85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.sc-gate-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: #CBFE1C;
  border-radius: 50%;
  animation: scGatePulse 2s infinite;
}
@keyframes scGatePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.7); }
}

#sc-gate h1 {
  font-family: 'Days One', sans-serif;
  font-size: 2.4rem;
  line-height: 1.0;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 1rem;
  font-weight: normal;
}
.sc-gate-accent { color: #CBFE1C; }

#sc-gate p {
  font-size: .95rem;
  line-height: 1.6;
  color: #ABABAB;
  margin: 0 0 1.75rem;
}

.sc-gate-label {
  display: block;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #666b76;
  margin-bottom: .55rem;
}

#sc-gate-input {
  width: 100%;
  height: 48px;
  padding: 0 1.1rem;
  background: #1C1D20;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: .95rem;
  outline: none;
  transition: border-color .2s ease;
  margin-bottom: 1rem;
  letter-spacing: .04em;
}
#sc-gate-input:focus {
  border-color: rgba(203, 254, 28, 0.4);
}

.sc-gate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: #CBFE1C;
  color: #0B0E13;
  font-family: 'Chakra Petch', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  height: 48px;
  width: 100%;
  padding: 0 1.5rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.sc-gate-btn:hover { opacity: .9; }
.sc-gate-btn:active { transform: translateY(1px); }

.sc-gate-error {
  font-size: .8rem !important;
  color: #ff7d7d !important;
  min-height: 1.2em;
  margin: .75rem 0 0 !important;
  letter-spacing: .02em;
}
.sc-gate-error:empty { display: none; }

.sc-gate-foot {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #666b76;
}
