/* ===== COMBINED HEADER STYLES ===== */
.crosstown-subheader {
  background: #181818;
  border-top: 1px solid #222;
  width: 100%;
}
.cro-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.7em 1.5em;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
}
.cro-logo-label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cro-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  image-rendering: auto;
}
.cro-label {
  color: #fff;
  font-size: 1.45em;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.cro-logout-btn {
  margin-left: auto;
  background: #ff4444;
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
  padding: 8px 22px;
  text-decoration: none;
  font-size: 1.08em;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(255,68,68,0.08);
}
.cro-logout-btn:hover {
  background: #e03b3b;
}
/* ===== USER INFO CARD ===== */
.user-info {
  background: #181818;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  padding: 1.5em 2em;
  margin: 1.5em auto 0 auto;
  max-width: 350px;
  display: flex;
  align-items: center;
  gap: 1em;
  font-size: 1.1em;
}
.user-info img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #e3ca00;
  box-shadow: 0 0 8px #e3ca0044;
}
.user-info strong {
  font-size: 1.15em;
  color: #e3ca00;
}
.user-info span {
  color: #bbb;
}

/* ===== LOGOUT BUTTON ===== */
.logout-btn {
  background: linear-gradient(90deg, #e3ca00 0%, #f7e46a 100%);
  color: #222;
  border: none;
  border-radius: 8px;
  padding: 0.7em 1.5em;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1em;
  box-shadow: 0 2px 8px rgba(227,202,0,0.15);
  transition: background 0.2s, color 0.2s;
}
.logout-btn:hover {
  background: linear-gradient(90deg, #f7e46a 0%, #e3ca00 100%);
  color: #000;
}

.logout-form { margin-top: 1em; display:flex; justify-content:center; }
.role-avatar { width:48px; height:48px; border-radius:50%; }
.muted-username { font-size:0.9em; color:#888; }

@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');

/* ===== GLOBAL STYLES ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: #0a0a0a;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

/* ===== HEADER ===== */
header {
  background-color: #111;
  padding: 15px 0;
  border-bottom: 1px solid #222;
  flex-shrink: 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

header .logo img {
  height: 40px;
}

header .logo .brand {
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: lowercase;
  color: #fff;
}

header .logo .page-title {
  font-weight: 500;
  color: #ccc;
}

header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
    align-items: center;
    gap: 28px;
}

header nav ul li a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

header nav ul li a:hover {
  color: #e3ca00;
}

.apply-btn {
  background-color: #fff;
  color: #000;
  padding: 5px 18px;
  border-radius: 5px;
  font-weight: 700;
  margin-left: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: background 0.2s, color 0.2s;
}

.apply-btn:hover {
  background-color: #000;
  color: #fff !important;
}

.premium-btn,
.return-btn {
  background-color: #e3ca00;
  padding: 5px 12px;
  border-radius: 5px;
  font-weight: 700;
  color: #000 !important;
  text-decoration: none;
  display: inline-block;
}

.premium-btn:hover,
.return-btn:hover {
  background-color: #d4bb00;
  color: #000 !important;
}

/* logout button style */
.logout-nav-btn {
  background-color: #ff4444;
  padding: 5px 12px;
  border-radius: 5px;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none;
  display: inline-block;
}
.logout-nav-btn:hover {
  background-color: #e03b3b;
  color: #fff !important;
}

/* ===== HERO ===== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* ===== FEATURES GRID ===== */
.features-page {
  padding: 2rem 1rem;
}

.features-page h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.features-page p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.feature-category {
  background: #1e1e1e;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(227,202,0,0.5);
}

.feature-category h3 {
  margin-bottom: 0.5rem;
  color: #e3ca00;
  font-size: 1.2rem;
}

.feature-category ul {
  padding-left: 20px;
}

.feature-category li {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

/* ===== PREMIUM PAGE ===== */
.premium-page {
  background-color: #111;
  text-align: center;
}

.premium-page h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #e3ca00;
}

/* Premium aura behind main content */
.premium-page main {
    position: relative;
    z-index: 0;
    padding: 2rem 1rem;
}

.premium-page main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(227,202,0,0.2) 0%, rgba(0,0,0,0.9) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Premium page features container */
.premium-page .features-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* ===== CTA LINKS ===== */
.cta-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 1rem 0 1.5rem;
}

/* ===== FORM EMBEDS ===== */
.form-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto;
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.form-wrapper iframe {
    width: 100%;
    min-width: 900px;
    height: 1600px;
    border: 0;
}

@media (max-width: 768px) {
    .form-wrapper iframe {
        min-width: 100%;
        height: 1800px;
    }
}

/* ===== CROSSTOWN LOGIN PAGE ===== */
body.login-page {
    background: url("../images/crosstown-bg.png") no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main.login-page .container {
    background-color: rgba(0,0,0,0.7);
    padding: 3rem 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    margin: 3rem auto;
    text-align: center;
}

.discord-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #5865F2;
    color: #fff;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background-color 0.2s;
    margin-top: 1.5rem;
}

.discord-login-btn img {
    height: 24px;
}

.discord-login-btn:hover {
    background-color: #4752c4;
}

.login-page .note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #ccc;
}

/* ===== FOOTER ===== */
footer {
  background-color: #111;
  padding: 30px 20px;
  border-top: 1px solid #222;
  flex-shrink: 0;
  margin-top: auto;
}

footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

footer p {
  margin: 0 0 15px 0;
  font-size: 0.9rem;
  color: #aaa;
  text-transform: lowercase;
}

footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

footer .footer-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

footer .footer-links li a:hover {
  color: #e3ca00;
}

/* ===== CROSSTOWN SUBHEADER ===== */
.crosstown-subheader {
  background: #1a1a1a;
  border-top: 1px solid #333;
}
.crosstown-subheader .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.crosstown-subheader img {
  height: 28px;
  width: auto;
  max-height: 32px;
  object-fit: contain;
  image-rendering: auto;
}
.crosstown-subheader .label {
  color: #fff;
  font-size: 1.1em;
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  header nav ul {
    flex-wrap: wrap;
    gap: 10px;
  }
}

.premium-page header .logo .page-title {
    color: #e3ca00 !important;
}