:root {
  color-scheme: dark;
  --bg: #07090d;
  --surface: rgba(15, 18, 26, 0.9);
  --surface-2: rgba(22, 28, 40, 0.8);
  --text: #f8f9ff;
  --muted: #a2aec2;
  --accent: #7c66ff;
  --accent-2: #24c6ff;
  --border: rgba(255, 255, 255, 0.08);
  --glow: rgba(124, 102, 255, 0.45);
  --shadow: 0 24px 80px rgba(3, 8, 25, 0.5);
}

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

body {
  font-family: "Manrope", system-ui, sans-serif;
  background: #1a1a2e;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: url('https://img.freepik.com/free-vector/circles-background-dark-tones_60389-166.jpg') center center / cover no-repeat;
  filter: blur(15px);
}

.background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 13, 0.4);
}

.grid {
  display: none;
}

.orb {
  display: none;
}

.orb-1 {
  display: none;
}

.orb-2 {
  display: none;
}

.orb-3 {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(7, 9, 13, 0.75);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 8vw;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

.menu {
  display: none;
  background: transparent;
  border: none;
  gap: 6px;
  flex-direction: column;
}

.menu span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text);
}

main {
  padding: 40px 8vw 120px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  padding: 80px 0 100px;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 4vw, 4.5rem);
  margin-bottom: 16px;
}

.muted {
  color: var(--muted);
  font-weight: 500;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.button {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  transition: 0.2s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 35px rgba(124, 102, 255, 0.35);
}

.button.primary:hover {
  transform: translateY(-2px);
}

.button.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.button.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-meta .label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-meta .value {
  font-weight: 600;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--muted);
}

.status .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #32d26f;
  box-shadow: 0 0 12px rgba(50, 210, 111, 0.9);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.stat {
  font-size: 1.8rem;
  font-weight: 700;
}

.section {
  padding: 80px 0;
}

.section-header {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--muted);
}

.about-grid,
.project-grid,
.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.about-card,
.project-card,
.contact-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.project-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent-2);
  font-weight: 600;
}

.project-link:hover {
  color: var(--text);
}

.tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(124, 102, 255, 0.18);
  color: var(--accent);
  border: 1px solid rgba(124, 102, 255, 0.4);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.subheader {
  margin: 28px 0 16px;
}

.subheader h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.subheader p {
  color: var(--muted);
}

.pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-grid {
  display: grid;
  gap: 16px;
}

details {
  background: var(--surface-2);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 18px 22px;
}

details summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

details p {
  margin-top: 12px;
  color: var(--muted);
}

.contact-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.contact-card li {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.contact-card li span {
  color: var(--muted);
  font-weight: 500;
}

.contact-card li a {
  color: var(--text);
}

.contact-card li a:hover {
  color: var(--accent-2);
}

.site-footer {
  text-align: center;
  padding: 32px 8vw 48px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.video-card {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.2fr);
  gap: 32px;
  align-items: center;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.video-text h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.video-text p {
  color: var(--muted);
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0b0f16;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-link {
  margin-top: 16px;
  display: inline-flex;
  color: var(--accent-2);
  font-weight: 600;
}

.video-link:hover {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 12px 50px rgba(124, 102, 255, 0.5);
  z-index: 999;
  max-width: 400px;
  max-height: 80vh;
  overflow-y: auto;
}

.admin-panel h3 {
  margin-bottom: 16px;
  color: var(--accent);
}

.admin-panel button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--text);
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  margin: 8px 4px;
  transition: 0.2s ease;
}

.admin-panel button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 102, 255, 0.4);
}

.admin-panel input,
.admin-panel textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  color: var(--text);
  font-family: inherit;
  margin-bottom: 12px;
}

.admin-panel textarea {
  min-height: 100px;
  resize: vertical;
}

.admin-panel label {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 6px;
  margin-top: 12px;
}

.console-log {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(10, 12, 18, 0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  max-width: 500px;
  max-height: 300px;
  overflow-y: auto;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  z-index: 998;
}

.console-log .log-entry {
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.console-log .log-entry.error {
  color: #ff6b6b;
}

.console-log .log-entry.warn {
  color: #ffd93d;
}

.console-log .log-entry.info {
  color: var(--accent-2);
}

.console-log .log-entry.success {
  color: #32d26f;
}

.admin-toggle {
  position: fixed;
  top: 80px;
  right: 20px;
  background: var(--accent);
  color: var(--text);
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(124, 102, 255, 0.4);
}

.admin-toggle:hover {
  transform: translateY(-2px);
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s ease;
}

.tab-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  color: var(--accent);
  background: rgba(124, 102, 255, 0.15);
}

.admin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  transition: 0.2s ease;
}

.admin-item:hover {
  border-color: var(--accent);
  background: rgba(124, 102, 255, 0.05);
}

.admin-item.selectable {
  cursor: pointer;
}

.item-info {
  flex: 1;
}

.item-info strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.item-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 4px 0;
}

.item-meta {
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.7;
}

.item-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.item-actions .arrow {
  font-size: 1.2rem;
  color: var(--accent);
}

.edit-btn, .delete-btn {
  background: transparent;
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s ease;
}

.edit-btn:hover {
  border-color: var(--accent-2);
  background: rgba(36, 198, 255, 0.1);
}

.delete-btn:hover {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
}

.primary-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--text);
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 102, 255, 0.4);
}

.secondary-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s ease;
}

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

.danger-btn {
  background: #ff6b6b;
  color: var(--text);
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s ease;
}

.danger-btn:hover {
  background: #ff5252;
  transform: translateY(-2px);
}

.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 40px 20px;
  font-style: italic;
}

.form-panel {
  background: var(--surface-2);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 20px;
  margin-top: 16px;
}

.form-panel h4 {
  margin-bottom: 16px;
  color: var(--accent);
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.help-text {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.help-text p {
  margin: 8px 0;
}

.data-stats {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  flex: 1;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

.data-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.success-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #32d26f;
  color: white;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(50, 210, 111, 0.4);
  z-index: 9999;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
}

.success-toast.show {
  opacity: 1;
  transform: translateX(0);
}

.pricing-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pricing-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--text);
}

.price-range {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}

.price-usd {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.price-or {
  font-size: 0.85rem;
  color: var(--muted);
}

.price-robux {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-2);
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 12px;
  font-style: italic;
}

.pricing-disclaimer {
  background: rgba(255, 193, 7, 0.15);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  color: var(--muted);
}

.pricing-disclaimer strong {
  color: #ffd93d;
}

.pricing-footer {
  text-align: center;
  color: var(--muted);
  margin-top: 24px;
  font-style: italic;
}

.payment-methods-section {
  margin: 40px 0;
}

.payment-methods-section h3,
.pricing-section h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.payment-method-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 60px;
}

.payment-method-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: 0.3s ease;
  scroll-margin-top: 100px;
}

.payment-method-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(124, 102, 255, 0.3);
}

.payment-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.payment-method-card h4 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text);
}

.payment-method-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-section {
  margin: 60px 0;
}

.pricing-description {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 12px;
  font-style: italic;
}

.cta-section {
  text-align: center;
  margin: 80px auto 40px;
  max-width: 600px;
  padding: 40px;
  background: var(--surface-2);
  border: 1px solid var(--accent);
  border-radius: 24px;
}

.cta-section h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.contact-card ul li a {
  text-decoration: none;
  color: var(--text);
  transition: 0.2s ease;
}

.contact-card ul li a:hover {
  color: var(--accent-2);
}

@media (max-width: 880px) {
  .nav-links {
    display: none;
  }

  .menu {
    display: flex;
  }

  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 70px;
    right: 8vw;
    flex-direction: column;
    gap: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .hero {
    padding-top: 40px;
  }

  .video-card {
    grid-template-columns: 1fr;
  }
}
