/* ==========================
   Troofee AI – 2025 Redesign
========================== */
:root {
  --red: #c8102e;
  --blue: #0a3161;
  --white: #ffffff;
  --off-white: #f9f9f9;

  --font-head: 'Russo One', sans-serif;
  --font-body: 'Lato', sans-serif;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: #212121;
  background-color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.no-scroll-x {
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ------------------
   Header / Navigation
------------------- */
.site-header {
  background-color: var(--blue);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  text-decoration: none;
}

.brand-logo {
  width: 50px;
}

.brand-text {
  font-family: var(--font-head);
  font-size: 1.75rem;
  letter-spacing: 1px;
}

.primary-nav {
  display: flex;
  gap: 2rem;
}

.primary-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  position: relative;
  transition: opacity 0.2s ease;
}

.primary-nav a:hover {
  opacity: 0.85;
}

/* Burger / toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--white);
}
/* Contract address copy box */
.contract-box {
  background: var(--white);
  color: var(--blue);
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: monospace;
  cursor: pointer;
  user-select: all;
}

.contract-box:hover {
  background: var(--red);
  color: var(--white);
}

/* ------------------
   Hero Section
------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('https://images.unsplash.com/photo-1503264116251-35a269479413?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}

/* Alternate stripes overlay for fallback */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
      180deg,
      rgba(200, 16, 46, 0.6) 0px,
      rgba(200, 16, 46, 0.6) 40px,
      rgba(255, 255, 255, 0.1) 40px,
      rgba(255, 255, 255, 0.1) 80px
    );
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* Remove previous pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 6rem);
  color: var(--white);
  letter-spacing: 3px;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-lead {
  color: var(--white);
  font-size: 1.25rem;
  max-width: 700px;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.btn-cta {
  background-color: var(--red);
  color: var(--white);
  padding: 0.9rem 1.8rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-cta:hover {
  background-color: #9e0d25;
}

/* ------------------
   Story Section
------------------- */
.story {
  background-color: var(--white);
  padding: 5rem 0;
  text-align: center;
}

.story h2 {
  font-family: var(--font-head);
  font-size: 2.5rem;
  color: var(--blue);
  margin-bottom: 1rem;
}

.story p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ------------------
   Values Section
------------------- */
.values {
  background-color: var(--red);
  color: var(--white);
  padding: 5rem 0;
}

.values h2 {
  font-family: var(--font-head);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem 1.5rem;
  border-radius: 6px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.card h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 1rem;
}

/* ------------------
   Join Section
------------------- */
.join {
  background-color: var(--white);
  text-align: center;
  padding: 5rem 0 4rem;
}

.join h2 {
  font-family: var(--font-head);
  font-size: 2.5rem;
  color: var(--blue);
  margin-bottom: 1rem;
}

.join p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn-primary,
.btn-outline {
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #052044;
}

.btn-outline {
  border: 2px solid var(--blue);
  color: var(--blue);
}

.btn-outline:hover {
  background-color: var(--blue);
  color: var(--white);
}

.disclaimer {
  font-size: 0.85rem;
  color: #666;
}

/* ------------------
   Footer
------------------- */
.site-footer {
  background-color: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
}

/* ------------------
   Responsive Nav
------------------- */
@media (max-width: 768px) {
  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--blue);
    flex-direction: column;
    align-items: flex-start;
    width: 250px;
    padding: 1rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .primary-nav.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }

  .contract-box {
    margin-top: 0.75rem;
  }
} 

/* contract box in hero */
.contract-hero {
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.85);
  color: var(--blue);
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9rem;
  cursor: pointer;
  user-select: all;
  transition: background 0.2s ease;
}

.contract-hero:hover {
  background: var(--red);
  color: var(--white);
} 