@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #050506;
  --card: #0b0b0e;
  --accent: #ffd6a0;
  --text: #f0f4ff;
  --dim: rgba(232, 236, 245, 0.55);
  --border: rgba(255, 255, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 0;
  margin: 0;
}

html, body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--accent);
  color: #050506;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  z-index: 99999;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 20px;
}

/* Preloader */
#rp-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .35s ease, visibility .35s ease;
}
#rp-loader.out { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-cube {
  width: 44px; height: 44px; border-radius: 6px;
  background: url('mcassets/java/block/dispenser_front.png') no-repeat center / cover;
  image-rendering: pixelated;
  box-shadow: 0 0 30px rgba(255, 214, 160, 0.6);
  animation: spinLoader 1.4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes spinLoader {
  0% { transform: rotate(0deg) scale(0.9); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(0.9); }
}

/* Feature Tags List */
.feature-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.feature-tags .tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(232, 236, 245, 0.85);
  letter-spacing: 0.02em;
}

/* FAQ Accordion Section (Interactive Dropdowns & SEO Rich Snippets) */
.faq-sec {
  padding: 100px 0 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}
.faq-header {
  text-align: center;
  margin-bottom: 44px;
}
.faq-header h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -.035em;
  margin-bottom: 12px;
}
.faq-header p {
  color: var(--dim);
  font-size: 16px;
  max-width: 50ch;
  margin: 0 auto;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  background: rgba(11, 11, 14, 0.85);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.faq-item:hover {
  border-color: rgba(255, 214, 160, 0.3);
}
.faq-item[open] {
  border-color: rgba(255, 214, 160, 0.45);
  background: rgba(16, 16, 22, 0.95);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}
.faq-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}
.faq-summary::-webkit-details-marker {
  display: none;
}
.faq-summary:hover {
  color: var(--accent);
}
.faq-q-text {
  padding-right: 16px;
  letter-spacing: -.01em;
}
.faq-icon {
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  color: var(--dim);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-content {
  padding: 0 24px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 14px;
  animation: faqOpen 0.25s ease;
}
.faq-content p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--dim);
  margin: 0;
}
@keyframes faqOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Minimal Footer & Internal SEO Links */
.rp-footer {
  border-top: 1px solid var(--border);
  background: #030304; padding: 44px 24px 36px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--dim); flex-wrap: wrap; gap: 20px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700;
}
.logo-box {
  width: 24px; height: 24px; border-radius: 4px;
  background: url('mcassets/java/block/dispenser_front.png') no-repeat center / cover;
  image-rendering: pixelated;
  box-shadow: 0 0 12px rgba(255, 214, 160, 0.35);
}
.footer-links {
  display: flex; gap: 20px; flex-wrap: wrap;
}
.footer-links a {
  color: var(--dim); text-decoration: none; font-weight: 600;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-copy {
  color: rgba(232, 236, 245, 0.4);
}
