/* ==========================================================================
   1. CSS Custom Properties (Variables)
   ========================================================================== */

:root {
  --dark-navy: #0a192f;
  --navy: #1a293d; /* Lighter navy for cards */
  --light-blue: #ccd6f6; /* Main text color */
  --slate: #8892b0; /* Lighter text color */
  --accent: #64ffda; /* Teal/cyan accent */
  --accent-tint: rgba(100, 255, 218, 0.1);
  --header-height: 80px;

  --font-sans: 'Lato', sans-serif;
  --font-mono: 'Poppins', sans-serif;

  --fz-xxl: 2.5rem;   /* Main hero title */
  --fz-xl: 1.8rem;    /* Section titles */
  --fz-lg: 1.2rem;
  --fz-md: 1rem;
  --fz-sm: 0.9rem;

  --border-radius: 4px;
  --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* ==========================================================================
   2. Global Resets & Base Styles
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--dark-navy);
  color: var(--light-blue);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  padding-top: var(--header-height);
}

section {
  padding: 80px 0;
}

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

a {
  text-decoration: none;
  color: var(--accent);
  transition: var(--transition);
}

a:hover {
  color: var(--light-blue);
}

h1, h2, h3 {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--light-blue);
}

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

/* ==========================================================================
   3. Utility & General Classes
   ========================================================================== */

.section-title {
  font-size: var(--fz-xl);
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background-color: var(--accent);
}

.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: -20px auto 40px;
  color: var(--slate);
}

/* ==========================================================================
   4. Header & Navigation
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background-color: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav__link {
  color: var(--light-blue);
  font-size: var(--fz-md);
  padding: 10px;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav__link:hover::after {
  width: 100%;
}

.auth-buttons {
  display: flex;
  gap: 15px;
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fz-md);
  padding: 12px 24px;
  border-radius: var(--border-radius);
  cursor: pointer;
  border: 2px solid var(--accent);
  transition: var(--transition);
}

.btn--primary {
  background-color: var(--accent);
  color: var(--dark-navy);
}

.btn--primary:hover {
  background-color: transparent;
  color: var(--accent);
}

.btn--secondary {
  background-color: transparent;
  color: var(--accent);
}

.btn--secondary:hover {
  background-color: var(--accent-tint);
}

.btn--large {
  padding: 15px 30px;
  font-size: var(--fz-lg);
}


/* ==========================================================================
   6. Hero Section
   ========================================================================== */

.hero {
  height: calc(100vh - var(--header-height));
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 1));
  z-index: 1;
}

.hero__container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero__title {
  font-size: var(--fz-xxl);
  margin-bottom: 20px;
  animation: fadeInDown 1s ease-out;
}

.hero__subtitle {
  font-size: var(--fz-lg);
  color: var(--slate);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.3s;
  animation-fill-mode: both;
}

.hero__buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  animation: fadeInUp 1s ease-out 0.6s;
  animation-fill-mode: both;
}


.countdown {
  margin-top: 50px;
  font-family: var(--font-mono);
  color: var(--slate);
  animation: fadeInUp 1s ease-out 0.9s;
  animation-fill-mode: both;
}

.countdown__timer {
  font-size: var(--fz-xl);
  color: var(--light-blue);
  letter-spacing: 2px;
  margin-top: 10px;
}

/* ==========================================================================
   7. About Section
   ========================================================================== */

.about__content {
  max-width: 800px;
  margin: 0 auto;
}
.about__content p {
  margin-bottom: 1.5rem;
  color: var(--slate);
}
.subsection-title {
  font-size: var(--fz-lg);
  color: var(--light-blue);
  margin-top: 2rem;
  margin-bottom: 1rem;
}


/* ==========================================================================
   8. Creators & Merch Sections (Card Styling)
   ========================================================================== */

.creators__grid, .merch__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.creator-card, .merch-card {
  background-color: var(--navy);
  border-radius: var(--border-radius);
  padding: 25px;
  text-align: center;
  box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.creator-card:hover, .merch-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(2, 12, 27, 0.9);
}

.creator-card__img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--accent);
}

.creator-card__name, .merch-card__title {
  font-size: var(--fz-lg);
  margin-bottom: 5px;
  color: var(--light-blue);
}

.creator-card__role, .merch-card__desc {
  color: var(--slate);
  font-size: var(--fz-sm);
  margin-bottom: 15px;
}

.creator-card__bio {
  font-size: var(--fz-md);
}

.merch-card__img {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
}

.merch-card__price {
  display: block;
  font-size: var(--fz-lg);
  font-family: var(--font-mono);
  color: var(--accent);
  margin-bottom: 20px;
}

/* ==========================================================================
   9. Reviews Section
   ========================================================================== */
.reviews-section {
    background-color: var(--navy);
}

.review-item blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 25px;
    margin: 30px 0;
    font-size: var(--fz-lg);
    font-style: italic;
    color: var(--light-blue);
}

.review-item footer {
    text-align: right;
    color: var(--slate);
    font-style: normal;
}

/* ==========================================================================
   10. FAQ Section
   ========================================================================== */

.faq__accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  background-color: var(--navy);
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  border: 1px solid rgba(100, 255, 218, 0.2);
}

.faq__question {
  width: 100%;
  padding: 20px;
  cursor: pointer;
  font-size: var(--fz-lg);
  font-family: var(--font-mono);
  display: flex;
  justify-content: space-between;
  align-items: center;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10+ */
  user-select: none;
}

/* Custom dropdown arrow */
.faq__question::after {
  content: '+';
  font-size: 2rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 20px 20px;
  color: var(--slate);
}

/* Hide default marker */
summary {
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}

/* ==========================================================================
   11. Contact Form
   ========================================================================== */

.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  background-color: var(--navy);
  border: 1px solid var(--slate);
  border-radius: var(--border-radius);
  color: var(--light-blue);
  font-family: var(--font-sans);
  font-size: var(--fz-md);
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form button {
  width: 100%;
}

/* ==========================================================================
   12. Footer
   ========================================================================== */

.footer {
  padding: 40px 0;
  text-align: center;
  color: var(--slate);
  border-top: 1px solid var(--navy);
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  margin: 0 15px;
  font-size: 1.5rem;
  color: var(--slate);
}

.social-links a:hover {
  color: var(--accent);
}

/* ==========================================================================
   13. Modal (Trailer Pop-up)
   ========================================================================== */

.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: relative;
  margin: 10% auto;
  width: 90%;
  max-width: 900px;
  animation: slideIn 0.5s ease;
}

.close-button {
  color: white;
  position: absolute;
  top: -30px;
  right: 0;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   14. Animations
   ========================================================================== */

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { transform: translateY(-50px); } to { transform: translateY(0); } }

/* ==========================================================================
   15. Media Queries (Responsive Design)
   ========================================================================== */

@media (max-width: 768px) {
  .nav { display: none; } /* On a real project, this would be a hamburger menu */
  
  .hero__title { font-size: 2rem; }
  .hero__subtitle { font-size: 1rem; }
  
  .section-title { font-size: 1.5rem; }
  
  section { padding: 60px 0; }
  
  .auth-buttons {
    display: none; /* Hiding for simplicity on mobile, would be in menu */
  }
}

@media (max-width: 480px) {
    .hero__buttons {
        flex-direction: column;
    }
}

/* ==========================================================================
   16. Scroll Animations
   ========================================================================== */

.animated-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animated-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}