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

:root {
  --bg: #060606;
  --text: #f2f2f2;
  --text-muted: #666;
  --gold: #d4af37;
  --gold-light: #f0d875;
  --gold-glow: rgba(212, 175, 55, 0.4);
  --card-bg: #0e0e0e;
  --card-border: #151515;
  --surface: rgba(14, 14, 14, 0.72);
  --surface-border: rgba(255, 255, 255, 0.06);
  --blur: 12px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 120px;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 10px 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  z-index: 9999;
}

.skip-link:focus {
  left: 10px;
}

.nav {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.nav > * {
  pointer-events: auto;
}

.nav {
  padding: 0 14px;
}

.nav-brand,
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand {
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-radius: 999px;
  padding: 6px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo {
  width: auto;
  height: 26px;
  object-fit: contain;
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px var(--gold-glow);
}

.nav-brand-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.nav-links {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-radius: 999px;
  padding: 10px 12px;
}

.nav-link {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.nav-actions {
  margin-left: 10px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-radius: 999px;
  padding: 10px 10px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s ease;
}

.nav-btn:hover {
  border-color: var(--gold);
  box-shadow: 0 0 18px var(--gold-glow);
}

.nav-btn-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #101010;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 122px 20px 40px;
}

.header {
  text-align: center;
  margin-bottom: 48px;
}

.logo-ring {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid transparent;
}

.ring-1 {
  width: 100%;
  height: 100%;
  border-color: var(--gold);
  opacity: 0.3;
  animation: rotate 20s linear infinite;
}

.ring-2 {
  width: 110%;
  height: 110%;
  border-color: var(--gold);
  opacity: 0.15;
  animation: rotate 30s linear infinite reverse;
}

@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px var(--gold-glow));
}

.name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
}

.star {
  color: var(--gold);
  font-size: 0.6rem;
  opacity: 0.6;
  animation: twinkle 2s ease-in-out infinite;
}

.star:nth-child(2) { animation-delay: 0.5s; }
.star:nth-child(3) { animation-delay: 1s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.hero-copy {
  max-width: 56ch;
  margin: 18px auto 0;
  color: rgba(242, 242, 242, 0.72);
  font-size: 0.95rem;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  transition: all 0.25s ease;
}

.cta-primary {
  color: #101010;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-secondary {
  color: var(--text);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}

.cta-secondary:hover,
.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35), 0 0 22px var(--gold-glow);
}

/* About */
.about {
  margin-bottom: 40px;
}

.about-card {
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.08), transparent 34%),
    var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.about-text:last-child {
  margin-bottom: 0;
}

.highlight-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.highlight-link:hover {
  color: var(--gold-light);
}

.proof-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.proof-item {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 14px 12px;
  background: rgba(0, 0, 0, 0.18);
}

.proof-kicker {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 6px;
}

.proof-text {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

/* Services */
.services {
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.service-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.service-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.service-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Stack */
.stack {
  margin-bottom: 40px;
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.stack-tag {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  padding: 8px 14px;
  background: rgba(14, 14, 14, 0.86);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  color: var(--gold);
  box-shadow: inset 0 0 14px rgba(212, 175, 55, 0.03);
}

/* Process */
.process {
  margin-bottom: 40px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.process-step {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px 16px;
  transition: all 0.3s ease;
}

.process-step:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-3px);
}

.process-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.process-pill {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.18);
}

.process-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
}

.process-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Projects */
.projects {
  margin-bottom: 40px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.project-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px 14px;
  color: var(--text);
  text-align: left;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-card-link:hover .project-card {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4), 0 0 24px var(--gold-glow);
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gold-glow) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card-link:hover .card-bg {
  opacity: 0.1;
}

.card-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.55rem;
  color: var(--gold);
  opacity: 0.5;
}

.card-media {
  position: relative;
  height: 160px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  overflow: hidden;
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.3s ease;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  background:
    radial-gradient(120px 60px at 20% 30%, rgba(212, 175, 55, 0.15), transparent 60%),
    linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(0, 0, 0, 0.2));
}

.card-media[data-accent="game"] {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.05), rgba(0, 0, 0, 0.2));
}

.card-media[data-accent="brand"] {
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.05), rgba(0, 0, 0, 0.2));
}

.card-media[data-accent="product"] {
  background: linear-gradient(135deg, rgba(120, 255, 140, 0.05), rgba(0, 0, 0, 0.2));
}

.card-overlay-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--gold);
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.25s ease;
}

.project-card-link:hover .card-overlay-icon {
  opacity: 1;
  transform: translateY(0);
}

.project-card-link:hover .card-media img {
  transform: scale(1.05);
}

.card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
}

.card-desc {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.18);
}

.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  transition: all 0.25s ease;
}

.card-link:hover {
  border-color: var(--gold);
  box-shadow: 0 0 18px var(--gold-glow);
}

.card-link.ghost {
  color: var(--gold);
  background: transparent;
}

.card-line {
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin: 4px 0 0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.project-card-link:hover .card-line {
  transform: scaleX(1);
}

/* Contact */
.contact {
  margin-bottom: 48px;
  padding: 26px 18px;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.09), transparent 42%),
    rgba(14, 14, 14, 0.68);
}

.contact-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 54ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
}

.contact-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}

.contact-btn--instagram {
  background:
    radial-gradient(circle at 28% 105%, rgba(254, 218, 117, 0.72) 0 14%, transparent 34%),
    radial-gradient(circle at 18% 20%, rgba(250, 126, 30, 0.48) 0 13%, transparent 30%),
    linear-gradient(135deg, #5b2b82 0%, #94306f 38%, #bd2f63 68%, #d75a39 100%);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: 0 8px 18px rgba(225, 48, 108, 0.16);
}

.contact-btn--whatsapp {
  background: #25d366;
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.18);
}

.contact-btn--instagram:hover,
.contact-btn--whatsapp:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  transform: translateY(-2px);
}

.contact-btn--instagram:hover {
  box-shadow: 0 0 18px rgba(225, 48, 108, 0.26);
}

.contact-btn--whatsapp:hover {
  box-shadow: 0 0 26px rgba(37, 211, 102, 0.42);
}

.btn-icon {
  font-size: 1rem;
  flex: 0 0 auto;
}

.btn-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* Testimonials */
.testimonials {
  margin-bottom: 40px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.quote {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px 16px;
}

.quote-text {
  color: var(--text);
  font-size: 0.9rem;
}

.quote-meta {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.note {
  margin-top: 12px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Footer */
.footer {
  text-align: center;
}

.footer-line {
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 14px;
  opacity: 0.3;
}

.footer-text {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Dialogs */
.case {
  width: min(560px, calc(100vw - 28px));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(10, 10, 10, 0.92);
  color: var(--text);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 22px var(--gold-glow);
}

.case::backdrop {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.case-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.case-kicker {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.case-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.case-close {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  cursor: pointer;
}

.case-body {
  padding: 14px 18px 2px;
}

.case-text {
  color: var(--text-muted);
  margin-bottom: 10px;
}

.case-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 18px 18px;
}

.case-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(135deg, rgba(240, 216, 117, 0.95), rgba(212, 175, 55, 0.95));
  color: #101010;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.case-link.ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Motion off */
body[data-motion="off"] #bg-canvas {
  opacity: 0;
  pointer-events: none;
}

body[data-motion="off"] .ring-1,
body[data-motion="off"] .ring-2,
body[data-motion="off"] .star {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .ring-1,
  .ring-2,
  .star {
    animation: none !important;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid,
  .projects-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .services-grid,
  .projects-grid,
  .process-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card,
  .project-card {
    padding: 24px 18px;
  }
  
  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
    gap: 8px;
  }

  .nav-btn {
    display: none;
  }

  .nav-cta {
    display: none;
  }
}
