/* ============================================================
   BUTTONS (CTA STYLES)
   ============================================================ */

.cta-button {
  padding: 10px 22px;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  border-radius: 6px;
}

/* Header Home Button */
.cta-secondary {
  background: transparent;
  color: #FF0000;
  border: 2px solid #FF0000;
  box-shadow: inset 0 0 10px rgba(255, 50, 0, 0.2);
}

.cta-secondary:hover {
  background: rgba(255, 50, 0, 0.15);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 60, 0, 0.4),
              inset 0 0 20px rgba(255, 60, 0, 0.2);
  border-color: #ffffff;
}

/* Ripple */
.cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
  width: 200px;
  height: 200px;
}


/* ============================================================
   VIDEO EMBED (RESPONSIVE YOUTUBE)
   ============================================================ */

.video-container {
  position: relative;
  width: 100%;
  max-width: 95%;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  margin: 0 auto;
}

.video-container iframe {
  width: 100%;
  height: 480px;
  border: none;
  display: block;
  border-radius: 12px;
}

@media (max-width: 900px) {
  .video-container iframe { height: 340px; }
}

@media (max-width: 550px) {
  .video-container iframe { height: 220px; }
}

@media (max-width: 400px) {
  .video-container iframe { height: 180px; }
}


/* ============================================================
   FILTER BUTTONS
   ============================================================ */

.filter-btn {
  padding: 8px 16px;
  margin: 0 8px;
  background: #0a1124;
  border: 1px solid #00d9ff;
  color: #e5e8e9;
  font-family: 'Orbitron', monospace;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: #a00b0b;
  color: white;
}


/* ============================================================
   HEADER (REDUCED SPACING + FIXED)
   ============================================================ */

header {
  background: #0a1124;
  padding: 0.4rem 1rem !important; /* Reduced top/bottom spacing */
  border-bottom: 1px solid #1a1f33;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 0.2rem 0.5rem !important; /* Reduced padding */
  height: 55px; /* Compact height */
}

.header-logo {
  height: 60px;
}

/* Center buttons on desktop */
.filter-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
}

/* Hide mobile menu button on desktop */
.mobile-only {
  display: none;
}

/* Show Home + filter buttons on desktop */
.desktop-only {
  display: flex;
}


/* ============================================================
   MOBILE MENU
   ============================================================ */

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 10px 20px;
  background: #0a1124;
  border-top: 1px solid #1a1f33;
  gap: 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.mobile-menu.open {
  display: flex;
  max-height: 300px;
}


/* ============================================================
   RESPONSIVE HEADER + MOBILE FIX
   ============================================================ */

@media (max-width: 700px) {

  .desktop-only { display: none !important; }

  .mobile-only {
    display: flex;
    font-size: 2rem;
    cursor: pointer;
    color: #ff1a1a;
    padding-right: 10px;
  }

  .header-wrapper {
    padding: 0.2rem 0.4rem !important;
    height: 45px !important;
  }

  .header-logo {
    height: 38px !important;
  }

  #mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    height: 40px;
  }
}


/* ============================================================
   GLOBAL MOBILE OPTIMIZATION
   ============================================================ */

@media (max-width: 600px) {

  .container {
    width: 80% !important;
    max-width: 80% !important;
    margin-left: 14px !important;
    margin-right: auto !important;
    padding: 0 !important;
  }

  .post {
    width: 100% !important;
    padding: 1rem;
    margin: 0.8rem 0;
    border-radius: 10px;
  }

  .post h2 {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  .post p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .date {
    font-size: 0.75rem;
  }
}

.post {
    background: #0a1124;
    padding: 1.7rem 2rem;
    border-radius: 12px;
    margin: 1.4rem auto;
    width: 90%;
    max-width: 900px;
    border: 1px solid #1a1f33;
    box-shadow: 0 0 15px rgba(0,0,0,0.25);
}

.post h2 {
    color: #ff1a1a;
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.post .date {
    color: #8fa3c1;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.post-content p {
    line-height: 1.55;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}


