body {
  background: #000;
  background-image: url("TAT_logo.svg");
  background-size: 95% auto;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  margin: 0;
  font-family: "Oswald", Arial, sans-serif;
}

/* ---------------- NAVBAR ---------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 3px solid #d4af37;
  z-index: 2000;
  backdrop-filter: blur(4px);
}

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  box-sizing: border-box;
}

.nav-brand .brand-link {
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.8rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: #d4af37;
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-brand .brand-link:hover,
.nav-brand .brand-link:focus {
  color: #fff;
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 34px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 1px;
  position: relative;
  padding: 6px 2px;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #d4af37;
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #d4af37;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 100%;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid #d4af37;
  color: #d4af37;
  font-size: 1.2rem;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-toggle:hover,
.nav-toggle:focus {
  background: #d4af37;
  color: #000;
}

@media (max-width: 900px) {
  .nav-inner {
    padding: 0 20px;
  }
  .nav-links ul {
    position: fixed;
    top: 64px;
    right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    width: 220px;
    padding: 20px 24px 32px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    border-left: 2px solid #d4af37;
    height: calc(100vh - 64px);
  }
  .nav-links ul.open {
    transform: translateX(0);
  }
  .nav-toggle {
    display: inline-block;
  }
  /* Make top nav transparent on mobile */
  .site-nav {
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
  }
}

/* Reserve space so fixed nav doesn't visually collide on very small screens if needed (mobile layout already full screen) */
body.has-nav-offset .coming-soon-card {
  margin-top: 64px;
}

/* -------------- END NAVBAR -------------- */

.gold-border {
  width: 100vw;
  height: 6px;
  background: linear-gradient(90deg, #d4af37, #b8860b, #d4af37);
  position: fixed;
  left: 0;
  z-index: 100;
}

.gold-border.top {
  top: 0;
}

.gold-border.bottom {
  bottom: 0;
}

.coming-soon-card {
  display: flex;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  align-items: center;
  justify-content: center;
  height: 472px;
  width: 100%;
  border-top: 4px solid #d4af37;
  border-bottom: 4px solid #d4af37;
  z-index: 10;
}

.left-panel,
.right-panel {
  width: 50%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.left-panel {
  background: rgba(0, 0, 0, 0.6);
  padding: 0 0 0 0;
  justify-content: center;
}

.left-content {
  z-index: 2;
  margin: 0;
  max-width: 500px;
  text-align: center;
  margin-right: 132px;
  padding-bottom: 34px;
}

.main-title {
  color: #d4af37;
  font-size: 4.9rem;
  line-height: 5.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  /* margin-bottom: 15px; */
  text-align: center;
}

.subtitle {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 8px;
  text-align: center;
}

.registration {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-align: center;
}

.contact-bar {
  background: #d4af37;
  color: #000;
  font-weight: bold;
  padding: 10px 0;
  border-radius: 3px;
  margin: 8px 0 2px 0;
  font-size: 1.1rem;
  width: 420px;
  margin-top: 32px;
  text-align: center;
}

.contact-note {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 12px;
  text-align: center;
  width: 420px;
}

.alumni-logo-01 {
  position: fixed;
  left: 20%;
  bottom: 20px;
  transform: translateX(-50%);
  width: 340px;
  z-index: 9999;
  top: 58%;
  opacity: 1;
  pointer-events: none;
}

.alumni-logo-10 {
  position: fixed;
  left: 70%;
  bottom: 20px;
  transform: translateX(-50%);
  width: 270px;
  z-index: 9999;
  top: 80%;
  opacity: 1;
  pointer-events: none;
}

.player-img {
  position: fixed;
  left: 50%;
  top: 10%;
  transform: translate(-50%, -50%);
  width: 772px;
  z-index: 20;
  z-index: 9999;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.right-panel {
  background: #222;
  justify-content: center;
  align-items: center;
  padding: 0;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 480px auto;
}

.background-action {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.2;
  background: url("UT53RACOQFUD2YJM2736OALTUE (1).jpg") center center/cover
    no-repeat;
  filter: grayscale(100%) sepia(20%) brightness(0.8);
}

.background-action::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #de8049cc;
  z-index: 1;
  opacity: 0.3;
}

.right-content {
  background-color: #5c351e57;
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  margin: 0;
  /* max-width: 690px; */
  padding-bottom: 34px;
}

.states {
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  padding-top: 20px;
  /* margin-bottom: 48px; */
  line-height: 1.4;
  padding-left: 80px;
}

.tournament-desc {
  color: #fff;
  font-size: 1rem;
  margin: 20px 0 12px 0;
  letter-spacing: 1%;
  padding-left: 80px;
}

.game-on {
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 12px 0 8px 0;
  padding-left: 80px;
}

.cash-note {
  color: #fff;
  font-size: 0.8rem;
  margin-bottom: 12px;
  line-height: 1.3;
  letter-spacing: 5%;
  padding-left: 80px;
}

.large-tat-logo {
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 600px;
  height: auto;
  z-index: 5;
  opacity: 0.9;
  pointer-events: none;
}

@media (max-width: 1200px) {
  .main-title {
    font-size: 3.9rem;
    line-height: 4.4rem;
  }

  .subtitle {
    margin-top: 0.6rem;
  }
}

@media (max-width: 1000px) {
  .main-title {
    font-size: 4.5vw;
    line-height: 5vw;
    margin-top: 7vh;
  }

  .subtitle {
    margin-top: 0.6rem;
    font-size: 1.8vw;
  }
  .player-img {
    top: 12.2%;
    width: 87.5vh;
  }

  .coming-soon-card {
    height: 55vh;
  }

  .alumni-logo-01 {
    top: 53%;
    width: 44vh;
    margin-top: 4vh;
  }
  .alumni-logo-10 {
    width: 39vh;
}
  .states {
    font-size: 1.5vw;
  }
  .tournament-desc {
    font-size: 1vw;
  }
  .game-on {
    font-size: 1.5vw;
  }
  .cash-note {
    font-size: 0.9vw;
  }
  .contact-bar {
    font-size: 1.7vw;
    width: 381px;
  }
}

@media (max-width: 768px) {
  /* Unified mobile layout (applies to 768px and below) */
  body {
    background-size: 85% auto;
    background-image: url("TAT_logo.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: scroll;
  }

  .coming-soon-card {
    position: relative; /* allow natural document flow for vertical scroll */
    flex-direction: column;
    width: 100%;
    margin: 0;
    min-height: calc(100vh - 64px);
    overflow-x: hidden;
    padding-top: 88px; /* space for fixed nav */
    height: auto; /* override fixed desktop height */
    transform: none; /* remove center transform */
    top: 0;
    left: 0;
  }

  .left-panel,
  .right-panel {
           width: 100%;
        position: relative;
        height: 350px;
        overflow: visible;
  }

  .left-panel {
    background: rgba(0, 0, 0, 0.6);
  }

  .left-content {
    margin-right: 0;
    padding-top: 0;
  }

  .main-title {
    font-size: 4rem;
    line-height: 1.1;
    margin: 0 0 12px;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .player-img {
    width: 22rem;
    position: absolute;
    top: 9rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .contact-bar {
    position: relative;
    font-size: 0.9rem;
    /* margin: 16px auto 8px; */
            top: 110px;
        left: -27px;
        width: 68%;
        max-width: 420px;
  }
  .contact-bar a { display: inline-block; width: 100%; }

  .contact-note {
    max-width: 420px;
    font-size: 0.8rem;
    position: relative;
    top: 124px;
            left: -80px;
    margin: 4px auto 0;
  }

  .alumni-logo-01 {
    width: 12rem;
        position: relative;
        left: 0;
        bottom: 0;
        opacity: 1;
        /* padding-top: 24px; */
        /* transform: none; */
        top: -194px;
  }
  .alumni-logo-10 { width: 100px;        left: 50%;
        top: 76%;
        position: absolute;
 }

  .right-panel {
    width: 100%;
    height: auto;
    padding: 40px 32px 56px;
  }

  .right-content { padding-top: 0; }

  .states,
  .tournament-desc,
  .game-on,
  .cash-note { padding-left: 0; }

  .states { font-size: 1rem; }
  .tournament-desc { font-size: 0.85rem; padding: 0; }

  .background-action { opacity: 1; }

  /* Hide desktop-only large floating logos & player when overly narrow */
  @media (max-width: 620px) {
    .player-img { top: 7.2rem; }
  }
  @media (max-width: 540px) {
    .player-img { top: 8.6rem; left: 20rem; }
  }
}

/* Extra small mobile devices */
/* @media (max-width: 480px) {  -- merged into 768px block above to keep one consistent mobile layout -- } */

/* ------------------------------------------------------------- */
/* Force desktop layout for specific 869x425 (approx) resolution */
/* This does NOT modify existing queries; it only overrides them */
/* Narrow tolerance range included to catch slight browser diffs */
@media (width: 869px) and (height: 425px),
  (min-width: 865px) and (max-width: 875px) and (min-height: 420px) and (max-height: 430px) {
  /* Revert nav to desktop */
  .site-nav {
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 3px solid #d4af37;
    backdrop-filter: blur(4px);
  }
  .nav-links ul {
    position: static;
    top: auto;
    right: auto;
    flex-direction: row;
    background: transparent;
    width: auto;
    padding: 0;
    gap: 34px;
    transform: none;
    border-left: none;
    height: auto;
  }
  .nav-links ul.open {
    transform: none;
  }
  .nav-toggle {
    display: none !important;
  }

  /* Restore two-panel fixed card layout */
  .coming-soon-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-direction: row;
    width: 100%;
    height: 472px;
    min-height: 472px;
    padding-top: 0;
    border-top: 4px solid #d4af37;
    border-bottom: 4px solid #d4af37;
  }
  .left-panel,
  .right-panel {
    width: 50%;
    height: 100%;
    min-height: 100%;
    padding: 0;
    align-items: center;
    justify-content: center;
  }
  .left-panel {
    background: rgba(0, 0, 0, 0.6);
  }
  .right-panel {
    background: #222;
  }
  .left-content {
    margin-right: 132px;
    padding-top: 0;
  }

  /* Player image desktop positioning */
  .player-img {
    position: fixed;
    left: 50%;
    top: 39%;
    transform: translate(-50%, -50%);
    width: 382px;
    bottom: auto;
  }

  /* Ensure logos use desktop positions */
  .alumni-logo-01 {
    position: fixed;
    left: 20%;
    bottom: 20px;
    top: 54%;
    transform: translateX(-50%);
    width: 200px;
    opacity: 1;
  }
  .alumni-logo-10 {
    position: fixed;
    left: 80%;
    bottom: 20px;
    top: 74%;
    transform: translateX(-50%);
    width: 136px;
  }

  /* Undo mobile text sizing reductions */
  .main-title {
    font-size: 2.4rem;
    margin-top: 20px;
  }
  .subtitle {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }
  .states {
    font-size: 15px;
    padding-left: 80px;
  }
  .tournament-desc {
    font-size: 1rem;
    padding-left: 80px;
  }
  .game-on {
    font-size: 1.2rem;
    padding-left: 80px;
  }
  .cash-note {
    font-size: 0.8rem;
    padding-left: 80px;
  }

  body {
    overflow: hidden;
  }
}
/* ------------------------------------------------------------- */
