/* ============================================================
   VENT RIDER AU — extra-magma.css
   Extra styles, cookie banners, accordion, and volcanic decorations
   ============================================================ */

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(20, 20, 26, 0.98);
  border-top: 2px solid var(--vr-red);
  padding: 16px 24px;
  backdrop-filter: blur(8px);
  z-index: 9999;
  transform: translateY(0);
  transition: transform 0.4s ease, opacity 0.4s;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.7);
}

.cookie-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cookie-icon {
  font-size: 1.8rem;
}

.cookie-text {
  flex: 1;
  min-width: 200px;
  font-size: 0.85rem;
  color: var(--vr-muted);
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  font-family: var(--vr-font-body);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 16px;
  border: none;
  border-radius: var(--vr-radius);
  cursor: pointer;
}

.cookie-btn-accept {
  background: var(--vr-red);
  color: #fff;
}

.cookie-btn-decline {
  background: transparent;
  border: 1px solid var(--vr-border);
  color: var(--vr-muted);
}

/* ACCORDION */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius);
  overflow: hidden;
  background: var(--vr-surface);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--vr-font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--vr-text);
  text-align: left;
}

.faq-arrow {
  font-size: 0.8rem;
  color: var(--vr-muted);
  transition: transform 0.3s;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--vr-red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 20px 14px;
}

/* BLOG GRID */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.blog-card {
  display: flex;
  gap: 16px;
  background: var(--vr-surface);
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius-lg);
  padding: 20px;
}

.blog-card-icon {
  font-size: 2rem;
}

.blog-card-body h3 {
  font-family: var(--vr-font-title);
  font-size: 1.1rem;
  color: var(--vr-red);
  margin-bottom: 4px;
}

.blog-date {
  font-size: 0.7rem;
  color: var(--vr-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.blog-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  background: rgba(255, 56, 56, 0.08);
  border: 1px solid var(--vr-border);
  border-radius: 12px;
  color: var(--vr-red);
}

@media(max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* MOBILE TOGGLE */
.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--vr-red);
  cursor: pointer;
}

@media(max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  .vr-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--vr-surface);
    border-bottom: 2px solid var(--vr-red);
    padding: 16px;
    gap: 12px;
    z-index: 99;
  }
  .vr-menu.open {
    display: flex;
  }
}

/* STATS */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 20px;
  background: rgba(255, 56, 56, 0.03);
  border-top: 1px solid var(--vr-border);
  border-bottom: 1px solid var(--vr-border);
  margin: 16px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--vr-font-title);
  font-size: 1.8rem;
  color: var(--vr-red);
}

.stat-label {
  font-size: 0.7rem;
  color: var(--vr-muted);
  text-transform: uppercase;
}

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--vr-red);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px var(--vr-red-glow);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

/* VOLCANIC ASH EFFECT */
.deco-ember {
  position: fixed;
  background: var(--vr-orange);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.5;
  animation: vrRise 8s linear infinite;
  z-index: 0;
}

@keyframes vrRise {
  0% { transform: translateY(105vh) scale(0.8); opacity: 0.6; }
  100% { transform: translateY(-5vh) scale(1.2); opacity: 0; }
}

/* ABOUT LAYOUTS */
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media(max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: var(--vr-surface);
  border: 1px solid var(--vr-border);
  border-left: 4px solid var(--vr-red);
  border-radius: var(--vr-radius);
  padding: 16px;
}

.info-card h3 {
  font-family: var(--vr-font-title);
  color: var(--vr-red);
  margin-bottom: 8px;
  font-size: 1.05rem;
}
