/* ============================================
   CNTO Static Site - Main Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  background-color: #f7f7f7;
  -webkit-font-smoothing: antialiased;
}
a { color: #c5a100; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; }
blockquote { border-left: 3px solid #353740; padding-left: 20px; margin: 0; }

/* --- Utility --- */
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.clearfix::after { content: ''; display: table; clear: both; }

/* ============================================
   HEADER
   ============================================ */
#main-header {
  background-color: #091e27;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  height: 66px;
  transition: background-color 0.4s, height 0.4s;
}
#main-header .header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.logo-container { display: flex; align-items: center; height: 100%; }
.logo-container a { display: flex; align-items: center; height: 100%; }
#logo {
  max-height: 54px;
  width: auto;
}

/* --- Desktop Nav --- */
#top-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}
#top-menu li a {
  color: #f7f7f7;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  padding: 10px 0;
  transition: color 0.3s;
  text-decoration: none;
}
#top-menu li a:hover,
#top-menu li.current a {
  color: #fcd21d !important;
}

/* --- Search Icon --- */
#et_search_icon {
  color: #f7f7f7;
  cursor: pointer;
  font-size: 17px;
  margin-left: 18px;
  transition: color 0.3s;
}
#et_search_icon:hover { color: #fcd21d; }

/* --- Search Bar --- */
.search-overlay {
  display: none;
  background: #091e27;
  padding: 14px 0;
}
.search-overlay.active { display: block; }
.search-overlay form {
  display: flex;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.search-overlay input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid #f7f7f7;
  color: #f7f7f7;
  font-size: 14px;
  padding: 8px 0;
  outline: none;
  font-family: 'Open Sans', sans-serif;
}
.search-overlay input::placeholder { color: rgba(247,247,247,0.6); }
.search-close {
  color: #f7f7f7;
  cursor: pointer;
  font-size: 20px;
  margin-left: 15px;
  background: none;
  border: none;
  font-family: inherit;
}

/* --- Mobile Menu --- */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 10px 0;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: #f7f7f7;
  transition: 0.3s;
}
.mobile-nav {
  display: none;
  background: #091e27;
  position: absolute;
  top: 66px;
  left: 0;
  right: 0;
  z-index: 9998;
  border-top: 1px solid rgba(247,247,247,0.1);
}
.mobile-nav.active { display: block; }
.mobile-nav ul { padding: 10px 0; }
.mobile-nav li a {
  display: block;
  color: #f7f7f7;
  padding: 12px 30px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s;
}
.mobile-nav li a:hover { background: rgba(252,210,29,0.1); }

.nav-right { display: flex; align-items: center; }

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
  display: flex;
  min-height: 100vh;
  margin-top: 66px;
}
.hero-left {
  flex: 1;
  background-image: url('../images/Artwork-Littlebird-1920x1080-1.jpg');
  background-size: cover;
  background-position: center;
  background-color: #fcd21d;
  background-blend-mode: multiply;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10% 8%;
}
.hero-right {
  flex: 1;
  background-image: url('../images/Artwork-Altis-1000x1000-1.jpg');
  background-size: cover;
  background-position: center;
  background-color: #1c313a;
  background-blend-mode: luminosity;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-right .logo-overlay {
  background-image: url('../images/Logo-CNTO-with-Gradient-1372x1372-1.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
}
.hero-established {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 3px;
  color: #353740;
  margin-bottom: 45px;
}
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 46px;
  color: #f7f7f7;
  line-height: 1.3;
  margin-bottom: 40px;
}
.hero-title .accent { color: #353740; }
.hero-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  line-height: 1.8;
  color: #353740;
  margin-bottom: 50px;
}
.hero-tagline blockquote {
  border-color: #353740;
}
.hero-tagline p {
  color: #f7f7f7;
  font-weight: 700;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 100px;
  letter-spacing: 2px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  transition: all 0.3s;
  text-decoration: none;
  position: relative;
}
.btn::after {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: inherit;
  margin-left: -1em;
  opacity: 0;
  transition: all 0.3s;
}
.btn:hover::after {
  margin-left: 0.3em;
  opacity: 1;
}
.btn:hover { text-decoration: none; }
.btn-white {
  color: #ffffff;
  border: 4px solid #ffffff;
  background: transparent;
}
.btn-white:hover {
  color: #ffffff;
  border-color: #ffffff;
  background: rgba(0,0,0,0);
}
.btn-gray {
  color: #747d88;
  border: 4px solid #747d88;
  background: transparent;
}
.btn-gray:hover {
  color: #747d88;
  border-color: #747d88;
}
.btn-gray::after { color: #747d88; }
.btn-light {
  color: #f7f7f7;
  border: 4px solid #f7f7f7;
  background: transparent;
}
.btn-light:hover {
  color: #fcd21d;
  border-color: #fcd21d;
}
.btn-light::after { color: #fcd21d; }

/* ============================================
   SECTION COMMON
   ============================================ */
.section { padding: 110px 0; }
.section-light { background-color: #f7f7f7; }
.section-dark { background-color: #091e27; }
.section-yellow { background-color: #fcd21d; }

.section-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 42px;
  line-height: 1.3;
  color: #747d88;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}
.section-heading-white { color: #ffffff; }
.section-subheading {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: #747d88;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   BLURB CARDS (What We Offer)
   ============================================ */
.blurb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 80%;
  margin: 25px auto;
}
.blurb-card {
  background: #fff;
  border: 0px solid #ddd;
  border-radius: 0;
  padding: 30px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: #747d88;
  line-height: 1.8;
}
.blurb-icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-color: #fcd21d;
  border: 3px solid #353740;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.blurb-icon i {
  font-size: 42px;
  color: #353740;
}
.blurb-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #353740;
  line-height: 1.4;
  margin-bottom: 15px;
}
.blurb-card p {
  line-height: 1.8;
  color: #747d88;
}

/* ============================================
   REQUIREMENTS SECTION
   ============================================ */
.requirements-row {
  display: flex;
  gap: 40px;
  padding-top: 78px;
  max-width: 1080px;
  margin: 0 auto;
}
.requirements-list {
  flex: 2;
}
.requirements-list ul {
  list-style: disc;
  padding-left: 20px;
}
.requirements-list ul li {
  margin-bottom: 20px;
}
.requirements-list h3 {
  font-size: 18px;
  color: #ffffff;
  font-weight: 700;
  display: inline;
}
.requirements-list .req-note {
  font-size: 16px;
  color: #747d88;
  display: block;
  margin-top: 4px;
}
.requirements-list .req-note a {
  color: #c5a100;
}
.discord-widget {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.discord-widget iframe {
  border: none;
  max-width: 350px;
  width: 100%;
  height: 500px;
}

/* ============================================
   VIDEO SECTION
   ============================================ */
#video-section {
  background: linear-gradient(180deg, #f7f7f7 65%, #fcd21d 65%);
  padding: 54px 0;
}
.video-wrapper {
  background: #f7f7f7;
  box-shadow: 0 2px 77px rgba(0,0,0,0.3);
  max-width: 1080px;
  margin: 0 auto;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  box-shadow: 0 0 0 20px #f7f7f7;
}
.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-overlay:hover { background-color: rgba(0,0,0,0.3); }
.video-play-btn {
  width: 80px;
  height: 80px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.video-play-btn::after {
  content: '';
  display: block;
  width: 0; height: 0;
  border-style: solid;
  border-width: 15px 0 15px 28px;
  border-color: transparent transparent transparent #fff;
  margin-left: 5px;
}
.video-overlay:hover .video-play-btn { transform: scale(1.1); }

/* ============================================
   STATS / COUNTERS
   ============================================ */
#stats-section {
  background-color: #fcd21d;
  padding: 60px 0 110px;
}
.stats-heading {
  text-align: center;
  margin-bottom: -1px;
}
.stats-heading h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 42px;
  line-height: 1.3;
  color: #747d88;
  max-width: 700px;
  margin: 0 auto;
}
.stats-heading h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #747d88;
  margin-top: 10px;
  font-size: 22px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1080px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}
.stat-item .stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 60px;
  color: #ffffff;
  line-height: 90px;
}
.stat-item .stat-label {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  color: #353740;
  font-size: 14px;
  margin-top: 5px;
}

/* ============================================
   WHAT MAKES US DIFFERENT
   ============================================ */
.different-row {
  display: flex;
  gap: 0;
  max-width: 86%;
  margin: 0 auto;
  padding: 40px 0;
}
.different-left {
  flex: 1;
}
.different-left .main-screenshot {
  width: 100%;
  display: block;
}
.different-right {
  flex: 1;
  padding: 7% 0 7% 40px;
}
.different-right h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 42px;
  line-height: 1.3;
  color: #747d88;
  margin-bottom: 40px;
}
.different-right .description {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #747d88;
  padding-bottom: 20px;
}
.different-right .description strong { color: #555; }

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 20px;
  box-shadow: 6px 6px 18px rgba(0,0,0,0.3);
  overflow: hidden;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90%;
  max-height: 90vh;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 30px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

/* ============================================
   PROMINENT MODS
   ============================================ */
.mods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1080px;
  margin: 0 auto 40px;
  padding: 0 20px;
}
.mod-item {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}
.mod-item a {
  display: block;
  position: relative;
}
.mod-item img {
  width: 100%;
  display: block;
  transition: transform 0.3s;
}
.mod-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fcd21d;
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mod-overlay i {
  color: #353740;
  font-size: 32px;
}
.mod-item:hover .mod-overlay { opacity: 0.8; }
.mod-item:hover img { transform: scale(1.05); }
.mods-cta { text-align: center; margin-top: 40px; }

/* ============================================
   SPONSORS
   ============================================ */
.sponsors-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 80%;
  margin: 25px auto;
  align-items: center;
}
.sponsor-item {
  max-width: 350px;
}
.sponsor-item {
  position: relative;
  overflow: hidden;
}
.sponsor-item a { display: block; position: relative; }
.sponsor-item img { width: 100%; display: block; transition: transform 0.3s; }
.sponsor-item:hover img { transform: scale(1.02); }
.sponsor-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fcd21d;
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sponsor-overlay i { color: #353740; font-size: 32px; }
.sponsor-item:hover .sponsor-overlay { opacity: 0.8; }

/* ============================================
   FOOTER
   ============================================ */
#main-footer {
  background-color: #091e27;
  padding: 50px 0 0;
  color: #fff;
  font-size: 14px;
}
#main-footer a { color: #ddd; }
#main-footer a:hover { color: #fcd21d; }
.footer-widgets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
.footer-widget h4 {
  color: #fcd21d;
  font-size: 16px;
  margin-bottom: 15px;
}
.footer-widget ul { list-style: none; }
.footer-widget li {
  padding: 5px 0;
  border-bottom: 1px solid rgba(252,210,29,0.15);
}
.footer-widget li::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #fcd21d;
  margin-right: 8px;
  font-size: 12px;
}
#footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
  text-align: center;
  color: #999;
  font-size: 13px;
}
#footer-bottom a { color: #999; }
#footer-bottom a:hover { color: #fcd21d; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.animate-fade { transform: none; }
.animate-on-scroll.animate-zoom { transform: scale(0.92); }
.animate-on-scroll.animate-slide-left { transform: translateX(-40px); }
.animate-on-scroll.animate-slide-right { transform: translateX(40px); }
.animate-on-scroll.visible {
  opacity: 1;
  transform: none;
}
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  #top-menu, #et_search_icon { display: none; }
  .mobile-menu-toggle { display: flex; }

  #hero { flex-direction: column; margin-top: 66px; }
  .hero-left, .hero-right { flex: none; }
  .hero-left { min-height: 70vh; padding: 60px 8%; }
  .hero-right { min-height: 50vh; }
  .hero-title { font-size: 36px; }

  .blurb-grid { grid-template-columns: 1fr; max-width: 90%; }
  .requirements-row { flex-direction: column; padding: 40px 20px; }
  .discord-widget { justify-content: center; }

  .different-row { flex-direction: column; max-width: 90%; }
  .different-right { padding: 30px 0 0; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .mods-grid { grid-template-columns: repeat(2, 1fr); max-width: 90%; }
  .sponsors-grid { grid-template-columns: 1fr; max-width: 90%; }
  .sponsors-grid .sponsor-item img { max-width: 400px; margin: 0 auto; }

  .footer-widgets { grid-template-columns: repeat(2, 1fr); }
  .section-heading { font-size: 32px; }

  .mod-item img, .sponsor-item img { margin: 0 auto; }
}

@media (max-width: 767px) {
  .hero-title { font-size: 28px; }
  .hero-tagline { font-size: 16px; }
  .hero-established { font-size: 13px; }
  .section { padding: 70px 0; }
  .section-heading { font-size: 26px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item .stat-number { font-size: 40px; line-height: 60px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .mods-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-widgets { grid-template-columns: 1fr; }
  .different-right h2 { font-size: 28px; }
}

@media (max-width: 480px) {
  .hero-left { padding: 40px 6%; }
  .stats-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
