/*
Theme Name: TroyCuh Rewards
Theme URI: https://troyrewards.live
Author: TroyCuh
Author URI: https://kick.com/justtroyy
Description: Premium rewards and leaderboard theme for Roobet affiliate site. Features a $5,000 monthly leaderboard, 9-tier VIP rewards system, Roobet API integration, and a sleek dark/green gaming aesthetic.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: troycuh
*/

/* ============================================
   CSS VARIABLES & RESET
   ============================================ */
:root {
  --tc-bg: #0a0a0a;
  --tc-bg-dark: #080808;
  --tc-bg-card: rgba(255,255,255,0.02);
  --tc-bg-card-hover: rgba(255,255,255,0.04);
  --tc-border: rgba(255,255,255,0.06);
  --tc-border-light: rgba(255,255,255,0.10);
  --tc-green: #22c55e;
  --tc-green-dark: #16a34a;
  --tc-green-glow: rgba(34,197,94,0.15);
  --tc-green-glow-strong: rgba(34,197,94,0.3);
  --tc-gold: #eab308;
  --tc-gold-light: #facc15;
  --tc-silver: #9ca3af;
  --tc-bronze: #f97316;
  --tc-white: #ffffff;
  --tc-white-90: rgba(255,255,255,0.9);
  --tc-white-70: rgba(255,255,255,0.7);
  --tc-white-60: rgba(255,255,255,0.6);
  --tc-white-50: rgba(255,255,255,0.5);
  --tc-white-40: rgba(255,255,255,0.4);
  --tc-white-30: rgba(255,255,255,0.3);
  --tc-white-20: rgba(255,255,255,0.2);
  --tc-white-10: rgba(255,255,255,0.1);
  --tc-white-05: rgba(255,255,255,0.05);
  --tc-radius: 0.75rem;
  --tc-radius-xl: 1rem;
  --tc-radius-2xl: 1.25rem;
  --tc-font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--tc-font);
  background: var(--tc-bg-dark);
  color: var(--tc-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ============================================
   PIXEL CITY BACKGROUND
   ============================================ */
.tc-bg-city {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.tc-bg-city__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0.5;
}

.tc-bg-city__overlay-top {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--tc-bg) 5%, rgba(10,10,10,0.7) 40%, rgba(10,10,10,0.5) 70%, rgba(10,10,10,0.8) 100%);
}

.tc-bg-city__overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.9) 0%, transparent 30%, transparent 60%, rgba(10,10,10,0.95) 100%);
}

.tc-content { position: relative; z-index: 10; }

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.tc-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: 95%;
  max-width: 64rem;
  border-radius: var(--tc-radius-xl);
  background: rgba(13,13,13,0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.tc-header.scrolled {
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(24px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.tc-header__glow {
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(34,197,94,0.5), transparent);
}

.tc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

/* Logo */
.tc-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.2s;
}
.tc-logo:hover { opacity: 0.8; }

.tc-logo__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  overflow: hidden;
  outline: 2px solid rgba(34,197,94,0.5);
  outline-offset: 2px;
  animation: pulseGlow 3s ease-in-out infinite;
}

.tc-logo__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tc-logo__text {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.tc-logo__accent { color: var(--tc-green); }

/* Desktop Nav */
.tc-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.tc-nav__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--tc-white-50);
  transition: color 0.2s;
  position: relative;
}

.tc-nav__link:hover { color: var(--tc-white); }
.tc-nav__link.active { color: var(--tc-green); }

.tc-nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--tc-green);
  border-radius: 999px;
}

/* Social Icons */
.tc-social {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.tc-social__link {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--tc-white-05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.tc-social__link:hover {
  background: var(--tc-green-glow);
  transform: scale(1.1);
}

.tc-social__link svg {
  width: 1rem;
  height: 1rem;
  fill: var(--tc-white-60);
}

.tc-social__link:hover svg { fill: var(--tc-green); }

/* Kick icon gets green background by default to match original */
/* (removed — now matches other social icons) */

/* Mobile Hamburger */
.tc-hamburger {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  width: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.tc-hamburger span {
  height: 2px;
  background: var(--tc-white);
  border-radius: 2px;
  transition: all 0.3s;
}

.tc-hamburger.open span:nth-child(1) { transform: rotate(45deg) translateY(8px); }
.tc-hamburger.open span:nth-child(2) { opacity: 0; }
.tc-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translateY(-8px); }

/* Mobile Nav Overlay */
.tc-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.98);
  backdrop-filter: blur(24px);
  z-index: 40;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.tc-mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.tc-mobile-nav__link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tc-white);
  transition: color 0.2s;
}

.tc-mobile-nav__link:hover { color: var(--tc-green); }

.tc-mobile-nav__socials {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.tc-mobile-nav__socials a {
  color: var(--tc-white-50);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.tc-mobile-nav__socials a:hover { color: var(--tc-green); }

@media (min-width: 768px) {
  .tc-nav { display: flex; }
  .tc-social { display: flex; }
  .tc-hamburger { display: none; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-3d {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 2rem;
  background: var(--tc-green);
  color: #000;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  border-radius: var(--tc-radius);
  border: none;
  cursor: pointer;
  box-shadow:
    0 4px 0 0 var(--tc-green-dark),
    0 6px 20px rgba(34,197,94,0.25);
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-3d:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 0 0 var(--tc-green-dark),
    0 10px 30px rgba(34,197,94,0.35);
}

.btn-3d:active {
  transform: translateY(2px);
  box-shadow:
    0 1px 0 0 var(--tc-green-dark),
    0 2px 8px rgba(34,197,94,0.2);
}

.btn-3d-dark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 2rem;
  background: rgba(255,255,255,0.06);
  color: var(--tc-white-70);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  border-radius: var(--tc-radius);
  border: 1px solid var(--tc-white-10);
  cursor: pointer;
  box-shadow: 0 4px 0 0 rgba(255,255,255,0.03);
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-3d-dark:hover {
  background: rgba(255,255,255,0.1);
  color: var(--tc-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 0 rgba(255,255,255,0.04);
}

.btn-3d-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 2rem;
  background: var(--tc-gold);
  color: #000;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  border-radius: var(--tc-radius);
  border: none;
  cursor: pointer;
  box-shadow:
    0 4px 0 0 #a16207,
    0 6px 20px rgba(234,179,8,0.25);
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-3d-gold:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 0 0 #a16207,
    0 10px 30px rgba(234,179,8,0.35);
}

/* Tag/Badge */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--tc-green);
  color: #000;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 999px;
  text-transform: uppercase;
}

.tag-gold {
  background: var(--tc-gold);
}

/* ============================================
   3D TEXT EFFECT
   ============================================ */
.text-3d {
  color: #22c55e;
  text-shadow:
    0 0 20px rgba(34,197,94,0.6),
    0 0 40px rgba(34,197,94,0.4),
    0 0 80px rgba(34,197,94,0.3),
    0 1px 0 #16a34a,
    0 2px 0 #15803d,
    0 3px 0 #166534,
    0 4px 0 #14532d,
    0 5px 15px rgba(34,197,94,0.5),
    0 5px 40px rgba(34,197,94,0.3);
}

/* ============================================
   CARDS
   ============================================ */
.card-dashed {
  background: var(--tc-bg-card);
  border: 1px dashed var(--tc-border);
  border-radius: var(--tc-radius-2xl);
  transition: all 0.3s;
}

.card-dashed:hover {
  background: var(--tc-bg-card-hover);
}

.card-solid {
  background: var(--tc-bg-card);
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-2xl);
  transition: all 0.3s;
}

.card-solid:hover {
  border-color: var(--tc-green-glow-strong);
  background: var(--tc-bg-card-hover);
}

/* ============================================
   HERO SECTION
   ============================================ */
.tc-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 2rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.tc-hero__glow {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: rgba(34,197,94,0.1);
  filter: blur(150px);
  border-radius: 50%;
  animation: pulseGlow 4s ease-in-out infinite;
}

.tc-hero__content {
  position: relative;
  z-index: 10;
  max-width: 64rem;
  margin: 0 auto;
}

.tc-hero__title {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 0.25rem;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
  animation: slideUp 0.6s ease-out both;
  animation-delay: 0.1s;
}

.tc-hero__subtitle {
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 2rem;
  animation: slideUp 0.6s ease-out both;
  animation-delay: 0.2s;
  cursor: default;
}

.tc-hero__desc {
  color: var(--tc-white-50);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 32rem;
  margin: 0 auto 3rem;
  animation: slideUp 0.6s ease-out both;
  animation-delay: 0.3s;
}

.tc-hero__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: slideUp 0.6s ease-out both;
  animation-delay: 0.4s;
}

.tc-hero__scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeIn 0.6s ease-out both;
  animation-delay: 0.5s;
}

.tc-hero__scroll span {
  font-size: 0.625rem;
  color: var(--tc-white-20);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tc-hero__scroll svg {
  width: 1rem;
  height: 1rem;
  color: var(--tc-white-20);
  animation: bounce 2s infinite;
}

@media (min-width: 640px) {
  .tc-hero__buttons { flex-direction: row; justify-content: center; }
}

/* ============================================
   PROMO CARDS SECTION
   ============================================ */
.tc-promos {
  padding: 6rem 1.5rem;
  position: relative;
}

.tc-promos__header {
  text-align: center;
  margin-bottom: 4rem;
}

.tc-promos__header h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 900;
}

.tc-promos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

.tc-promo-card {
  padding: 2rem;
}

.tc-promo-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tc-promo-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--tc-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.card-dashed:hover .tc-promo-card__icon { transform: scale(1.1); }

.tc-promo-card__icon--gold {
  background: rgba(234,179,8,0.1);
  border: 1px solid rgba(234,179,8,0.3);
}

.tc-promo-card__icon--green {
  background: var(--tc-green-glow);
  border: 1px solid var(--tc-green-glow-strong);
}

.tc-promo-card__icon svg,
.tc-promo-card__icon img {
  width: 1.5rem;
  height: 1.5rem;
}

.tc-promo-card h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.tc-promo-card__prize {
  font-size: 3rem;
  font-weight: 900;
  color: var(--tc-gold);
  margin-bottom: 1rem;
}

.tc-promo-card p {
  color: var(--tc-white-40);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.tc-promo-card__features {
  margin-bottom: 1.5rem;
}

.tc-promo-card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--tc-white-60);
  margin-bottom: 0.5rem;
}

.tc-promo-card__features .dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--tc-green);
  flex-shrink: 0;
}

/* Tier bar preview */
.tc-tier-bars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.tc-tier-bar {
  flex: 1;
  height: 0.5rem;
  border-radius: 999px;
  transition: height 0.3s;
}

.card-dashed:hover .tc-tier-bar { height: 0.75rem; }

/* Perk boxes */
.tc-perk-box {
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: var(--tc-bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 0.75rem;
}

.tc-perk-box__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tc-white);
}

@media (min-width: 768px) {
  .tc-promos__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.tc-how {
  padding: 6rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.tc-how h2 {
  font-size: 1.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 4rem;
}

.tc-how__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

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

.tc-how__num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(34,197,94,0.2);
  transition: color 0.3s;
}

.tc-how__step:hover .tc-how__num { color: rgba(34,197,94,0.4); }

.tc-how__label {
  font-weight: 600;
  margin-top: 0.5rem;
}

.tc-how__desc {
  color: var(--tc-white-40);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .tc-how__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   CTA SECTION
   ============================================ */
.tc-cta {
  padding: 6rem 1.5rem;
  text-align: center;
}

.tc-cta h2 {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.tc-cta p {
  color: var(--tc-white-30);
  margin-bottom: 2.5rem;
}

.tc-cta__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .tc-cta__buttons { flex-direction: row; justify-content: center; }
}

/* ============================================
   LEADERBOARD PAGE
   ============================================ */
.tc-leaderboard {
  padding: 8rem 1.5rem 6rem;
  max-width: 56rem;
  margin: 0 auto;
}

.tc-leaderboard__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.tc-leaderboard__amount {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.tc-leaderboard__title {
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--tc-green);
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.tc-leaderboard__subtitle {
  font-size: 0.875rem;
  color: var(--tc-white-40);
  margin-bottom: 2rem;
}

.tc-leaderboard__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.tc-leaderboard__sample-note {
  font-size: 0.75rem;
  color: var(--tc-white-30);
  margin-top: 1.5rem;
}

/* Loading spinner */
.tc-spinner {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--tc-green);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

/* Podium */
.tc-podium {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tc-podium__card {
  width: 100%;
  max-width: 16rem;
  padding: 1.5rem;
  border-radius: var(--tc-radius-2xl);
  background: var(--tc-bg-card);
  border: 1px solid var(--tc-border);
  text-align: center;
}

.tc-podium__card--1st {
  max-width: 18rem;
  padding: 2rem;
  border-color: rgba(234,179,8,0.3);
  background: rgba(255,255,255,0.03);
}

.tc-podium__rank-badge {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 0.875rem;
  font-weight: 900;
  color: #000;
}

.tc-podium__rank-badge--1 {
  width: 3rem;
  height: 3rem;
  background: var(--tc-gold);
  font-size: 1.125rem;
}

.tc-podium__rank-badge--2 { background: var(--tc-silver); }
.tc-podium__rank-badge--3 { background: var(--tc-bronze); }

.tc-podium__avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 0.75rem;
  border: 2px solid var(--tc-border-light);
}

.tc-podium__card--1st .tc-podium__avatar {
  width: 5rem;
  height: 5rem;
  border-color: var(--tc-gold);
}

.tc-podium__card:nth-child(1) .tc-podium__avatar { border-color: var(--tc-silver); }
.tc-podium__card:nth-child(3) .tc-podium__avatar { border-color: var(--tc-bronze); }

.tc-podium__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tc-podium__name {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.tc-podium__card--1st .tc-podium__name {
  font-size: 1.125rem;
  font-weight: 900;
}

.tc-podium__wager {
  font-size: 0.75rem;
  color: var(--tc-white-30);
  margin-bottom: 1rem;
}

.tc-podium__divider {
  border: none;
  border-top: 1px solid var(--tc-border);
  margin-bottom: 0.75rem;
}

.tc-podium__card--1st .tc-podium__divider { border-color: rgba(234,179,8,0.2); }

.tc-podium__prize {
  font-size: 1.25rem;
  font-weight: 900;
}

.tc-podium__card--1st .tc-podium__prize {
  font-size: 1.5rem;
  color: var(--tc-gold-light);
}

.tc-podium__card:nth-child(1) .tc-podium__prize { color: var(--tc-silver); }
.tc-podium__card:nth-child(3) .tc-podium__prize { color: var(--tc-bronze); }

@media (min-width: 1024px) {
  .tc-podium {
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
  }
  .tc-podium__card--1st { order: 2; }
  .tc-podium__card:nth-child(1) { order: 1; }
  .tc-podium__card:nth-child(3) { order: 3; }
}

/* Rest of leaderboard (4th, 5th) */
.tc-rest {
  max-width: 40rem;
  margin: 0 auto;
}

.tc-rest__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-radius: var(--tc-radius);
  background: var(--tc-bg-card);
  border: 1px solid var(--tc-border);
  margin-bottom: 0.75rem;
}

.tc-rest__left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tc-rest__rank {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--tc-green-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--tc-green);
}

.tc-rest__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--tc-white-10);
}

.tc-rest__avatar img { width: 100%; height: 100%; object-fit: cover; }
.tc-rest__name { font-weight: 700; }
.tc-rest__wager { font-size: 0.75rem; color: var(--tc-white-30); }
.tc-rest__prize { font-weight: 900; color: var(--tc-green); }

/* Disclosure */
.tc-disclosure {
  margin-top: 4rem;
  padding: 1.5rem;
  border-radius: var(--tc-radius-2xl);
  background: var(--tc-bg-card);
  border: 1px solid var(--tc-border);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.tc-disclosure h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tc-white-50);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.tc-disclosure p {
  font-size: 0.75rem;
  color: var(--tc-white-30);
  line-height: 1.6;
}

/* Rules Modal */
.tc-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

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

.tc-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
}

.tc-modal {
  position: relative;
  background: #111;
  border: 1px solid var(--tc-white-10);
  border-radius: var(--tc-radius-2xl);
  max-width: 32rem;
  width: 100%;
  padding: 1.5rem;
  animation: slideUp 0.3s ease-out;
}

.tc-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--tc-white-05);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.tc-modal__close:hover { background: var(--tc-white-10); }
.tc-modal__close svg { width: 1rem; height: 1rem; fill: var(--tc-white-60); }

.tc-modal h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.tc-modal p {
  font-size: 0.875rem;
  color: var(--tc-white-70);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.tc-modal__rules {
  margin-bottom: 1rem;
}

.tc-modal__rule {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--tc-white-60);
  line-height: 1.6;
}

.tc-modal__rule-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.tc-modal__rule strong { color: var(--tc-white); }
.tc-modal__rule .green { color: var(--tc-green); }
.tc-modal__rule .gold { color: var(--tc-gold); }
.tc-modal__rule .orange { color: var(--tc-bronze); }

.tc-modal__note {
  padding-top: 1rem;
  border-top: 1px solid var(--tc-white-10);
  font-size: 0.875rem;
  color: var(--tc-white-50);
}

.tc-modal__note strong { color: var(--tc-white-70); }

/* ============================================
   REWARDS PAGE
   ============================================ */
.tc-rewards {
  padding: 8rem 1.5rem 6rem;
  max-width: 48rem;
  margin: 0 auto;
}

.tc-rewards__header {
  text-align: center;
  margin-bottom: 3rem;
}

.tc-rewards__header h1 {
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.tc-rewards__header p {
  color: var(--tc-white-40);
  max-width: 32rem;
  margin: 0 auto;
}

.tc-rewards__header .highlight { color: var(--tc-green); font-weight: 700; }

/* Tier rows */
.tc-tier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-radius: var(--tc-radius);
  background: var(--tc-bg-card);
  border: 1px solid var(--tc-border);
  margin-bottom: 0.75rem;
  transition: all 0.3s;
}

.tc-tier-row:hover {
  border-color: var(--tc-green-glow-strong);
  background: var(--tc-bg-card-hover);
}

.tc-tier-row__left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tc-tier-row__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--tc-green-glow);
  border: 1px solid rgba(34,197,94,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tc-tier-row__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--tc-green);
}

.tc-tier-row__name {
  font-weight: 700;
  transition: color 0.3s;
}

.tc-tier-row:hover .tc-tier-row__name { color: var(--tc-green); }

.tc-tier-row__wager {
  font-size: 0.75rem;
  color: var(--tc-white-40);
}

.tc-tier-row__reward {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--tc-green);
}

/* Total row */
.tc-total-row {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--tc-radius);
  background: var(--tc-green-glow);
  border: 1px solid rgba(34,197,94,0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tc-total-row__label { font-weight: 700; }

.tc-total-row__amount {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--tc-green);
}

/* Rewards CTA */
.tc-rewards__cta {
  text-align: center;
  margin-top: 4rem;
}

.tc-rewards__cta p {
  color: var(--tc-white-40);
  margin-bottom: 1.5rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.tc-contact {
  padding: 8rem 1.5rem 8rem;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.tc-contact__inner {
  max-width: 48rem;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.tc-contact h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.tc-contact .green-gradient {
  background: linear-gradient(135deg, var(--tc-green), #4ade80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tc-contact p {
  color: var(--tc-white-40);
  max-width: 28rem;
  margin: 0 auto 3rem;
}

.tc-contact__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .tc-contact__buttons { flex-direction: row; justify-content: center; }
}

.btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 2rem;
  background: var(--tc-white-05);
  color: var(--tc-white-70);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  border-radius: var(--tc-radius);
  border: 1px solid var(--tc-white-10);
  transition: all 0.2s;
  text-transform: uppercase;
}

.btn-glow:hover {
  background: var(--tc-green-glow);
  border-color: var(--tc-green-glow-strong);
  color: var(--tc-white);
}

.btn-glow svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }

/* ============================================
   FOOTER
   ============================================ */
.tc-footer {
  border-top: 1px solid var(--tc-white-10);
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(24px);
}

.tc-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

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

.tc-footer__brand p {
  color: var(--tc-white-40);
  font-size: 0.875rem;
  margin-top: 1rem;
  max-width: 20rem;
}

.tc-footer__links h4,
.tc-footer__connect h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tc-white-40);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.tc-footer__links ul { display: flex; flex-direction: column; gap: 0.75rem; }

.tc-footer__links a {
  font-size: 0.875rem;
  color: var(--tc-white-50);
  transition: color 0.2s;
}

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

.tc-footer__connect-icons {
  display: flex;
  gap: 0.75rem;
}

.tc-footer__connect-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--tc-white-05);
  border: 1px solid var(--tc-white-10);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.tc-footer__connect-icon:hover {
  border-color: var(--tc-green-glow-strong);
  background: var(--tc-green-glow);
}

.tc-footer__connect-icon svg {
  width: 1rem;
  height: 1rem;
  fill: var(--tc-white-70);
}

.tc-footer__bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--tc-white-10);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.tc-footer__bottom-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--tc-white-30);
}

.tc-footer__bottom-left a { color: var(--tc-green); transition: color 0.2s; }
.tc-footer__bottom-left a:hover { color: #4ade80; }

.tc-footer__bottom-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tc-18plus {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--tc-green-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--tc-green);
}

.tc-footer__bottom-right a {
  font-size: 0.75rem;
  color: var(--tc-white-30);
  transition: color 0.2s;
}

.tc-footer__bottom-right a:hover { color: var(--tc-white-50); }

@media (min-width: 768px) {
  .tc-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .tc-footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* ============================================
   ICON FILTERS & NAV ICONS
   ============================================ */
.icon-green {
  filter: invert(1) sepia(1) saturate(5) hue-rotate(85deg) brightness(1.1);
}

.tc-nav__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transition: all 0.2s;
}

/* All nav icons are SVGs — green stroke, dimmed when inactive */
.tc-nav__link svg.tc-nav__icon {
  width: 1rem;
  height: 1rem;
  stroke: #22c55e;
  fill: none;
  opacity: 0.5;
}

.tc-nav__link.active svg.tc-nav__icon {
  opacity: 1;
}

.tc-nav__link:hover svg.tc-nav__icon {
  opacity: 0.8;
}

/* Image-based icons (used in promo cards, tier rows — not nav) */

/* Promo card image icons */
.tc-promo-card__icon img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

.tc-promo-card__icon--gold img {
  filter: invert(1) sepia(1) saturate(5) hue-rotate(35deg) brightness(1.2);
}

.tc-promo-card__icon--green img {
  filter: invert(1) sepia(1) saturate(5) hue-rotate(85deg) brightness(1.1);
}

/* Tier row icons */
.tc-tier-row__icon img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
  filter: invert(1) sepia(1) saturate(5) hue-rotate(85deg) brightness(1.1);
}

/* ============================================
   COUNTDOWN TIMER
   ============================================ */
.tc-countdown {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  border-radius: var(--tc-radius-2xl);
  background: rgba(34,197,94,0.05);
  border: 1px solid rgba(34,197,94,0.15);
  text-align: center;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.tc-countdown__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tc-green);
  margin-bottom: 1rem;
}

.tc-countdown__units {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.tc-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 3.5rem;
}

.tc-countdown__num {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--tc-white);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.tc-countdown__unit-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tc-white-40);
  margin-top: 0.375rem;
}

@media (min-width: 640px) {
  .tc-countdown__num { font-size: 2.25rem; }
  .tc-countdown__units { gap: 2rem; }
  .tc-countdown__unit { min-width: 4.5rem; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(1.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   ADMIN NOTICE (for WP admin)
   ============================================ */
.tc-admin-notice {
  background: #1a1a2e;
  color: #e0e0e0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--tc-green);
  margin: 1rem 0;
  border-radius: 0 4px 4px 0;
}
