@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/fonts/e3t4euO8T-267oIAQAu6jDQyK0nS.ttf) format('truetype');
}
@font-face {
  font-family: 'VT323';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/fonts/pxiKyp0ihIEF2hsY.ttf) format('truetype');
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--macaron-cyan);
    color: #000;
    padding: 8px;
    z-index: 10000;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

:focus-visible {
    outline: 3px dashed var(--macaron-yellow);
    outline-offset: 2px;
}

h1, h2, h3, section { scroll-margin-top: 100px; }

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

:root {
  --primary: #ff4785;
  --primary-hover: #e03a72;
  --bg-dark: #120424;
  --bg-card: #2a1b42;
  --text-main: #f0f0f0;
  --text-light: #b0a0d0;
  --white: #fff;
  --pixel-border: 4px solid var(--white);
  --pixel-shadow: 4px 4px 0px #000;
  --macaron-cyan: #00d2d3;
  --macaron-yellow: #feca57;
  --macaron-purple: #5f27cd;
}

body { 
  font-family: 'VT323', monospace; 
  font-size: 1.2rem;
  color: var(--text-main); 
  background: var(--bg-dark); 
  line-height: 1.6; 
  scroll-behavior: smooth; 
  position: relative;
  overflow-x: hidden;
  margin: 0; padding: 0; box-sizing: border-box;
}

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

h1, h2, h3, .logo, .btn {
  font-family: 'Press Start 2P', cursive;
}

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

canvas#pixelBg {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; }

.btn { 
  display: inline-block; 
  background: var(--primary); 
  color: var(--white); 
  padding: 12px 28px; 
  border: var(--pixel-border);
  box-shadow: var(--pixel-shadow);
  font-weight: normal; 
  text-align: center; 
  transition: transform 0.1s, box-shadow 0.1s; 
  font-size: 0.8rem;
  line-height: 24px;
}
.btn:active { 
  transform: translate(4px, 4px); 
  box-shadow: 0px 0px 0px #000; 
}
.btn-large { font-size: 1rem; padding: 16px 40px; }

/* Header */
header { background: #1a0b2e; border-bottom: 4px solid var(--primary); box-shadow: 0 4px 0 #000; position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 1.2rem; color: var(--macaron-cyan); text-shadow: 2px 2px 0 #000; line-height: 1.5; }
.top-nav { display: flex; gap: 20px; align-items: center; }
.top-nav a { font-family: 'VT323', monospace; font-size: 1.1rem; color: var(--text-main); transition: color 0.3s; }
.top-nav a:hover { color: var(--macaron-yellow); }

/* Marquee / Scoreboard */
.marquee-container { background: #000; border-bottom: 4px solid var(--white); padding: 10px 0; overflow: hidden; white-space: nowrap; box-shadow: 0 4px 0 #000; }
.marquee-content { display: inline-block; animation: marquee 15s linear infinite; font-family: 'Press Start 2P', cursive; color: #0f0; font-size: 1rem; text-shadow: 2px 2px 0 #000; }
@keyframes marquee { 0% { transform: translateX(50vw); } 100% { transform: translateX(-100%); } }

/* Hero */
.hero { text-align: center; padding: 60px 20px 80px; background: transparent; position: relative; }
.hero h1 { font-size: 1.8rem; margin-bottom: 30px; color: var(--macaron-yellow); line-height: 1.8; text-shadow: 4px 4px 0 #000; }
.hero p { font-size: 1.5rem; color: var(--text-main); margin-bottom: 40px; max-width: 650px; margin-left: auto; margin-right: auto; text-shadow: 2px 2px 0 #000; }

/* SVG Pet Animation */
.pet-container { position: absolute; right: 5%; top: 40%; transform: translateY(-50%); width: 250px; height: 250px; z-index: -1; }
@keyframes bounce { 
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
.pet-svg { animation: bounce 1s steps(4) infinite; width: 100%; height: 100%; filter: drop-shadow(4px 4px 0 #000); }

/* Sections */
.section { padding: 80px 0; background: transparent !important; }
.section-title { text-align: center; font-size: 1.5rem; margin-bottom: 50px; color: var(--macaron-cyan); text-shadow: 3px 3px 0 #000; }

/* Grid Cards (Keep Layout) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { background: var(--bg-card); padding: 30px; border: var(--pixel-border); box-shadow: var(--pixel-shadow); text-align: center; transition: transform 0.2s steps(3); color: var(--white); }
.card:hover { transform: translateY(-10px); }
.card-icon { font-size: 3rem; margin-bottom: 20px; text-shadow: 2px 2px 0 #000; }
.card h3 { margin-bottom: 15px; font-size: 1rem; color: var(--macaron-yellow); line-height: 1.5;}
.card p { color: var(--text-light); font-size: 1.2rem; }

/* Pricing Cards - 3D effect */
.pricing-card { perspective: 1000px; background: transparent; border: none; box-shadow: none; padding: 0; text-align: center;}
.pricing-card:hover { transform: none; }
.pricing-inner { background: var(--macaron-purple); border: var(--pixel-border); box-shadow: var(--pixel-shadow); padding: 30px; transition: transform 0.5s; transform-style: preserve-3d; height: 100%; display: flex; flex-direction: column; align-items: center;}
.pricing-card:hover .pricing-inner { transform: rotateY(15deg) rotateX(5deg); }
.pricing-card.popular .pricing-inner { background: #d63031; border-color: var(--macaron-yellow); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(254, 202, 87, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(254, 202, 87, 0); } 100% { box-shadow: 0 0 0 0 rgba(254, 202, 87, 0); } }

.popular-badge { font-family: 'Press Start 2P'; background: var(--macaron-yellow); color: #000; padding: 8px 12px; font-size: 0.6rem; border: 2px solid #000; position: absolute; top: -20px; left: 50%; transform: translateX(-50%) translateZ(20px); z-index: 10; box-shadow: 2px 2px 0 #000; }

.price { font-family: 'Press Start 2P', cursive; font-size: 1.2rem; font-weight: normal; color: var(--white); margin: 20px 0; text-shadow: 2px 2px 0 #000; transform: translateZ(30px); }
.price span { font-size: 0.8rem; font-family: 'VT323'; color: #ccc; }
.pricing-features { list-style: none; margin: 20px 0; text-align: left; font-size: 1.2rem; transform: translateZ(20px); width: 100%; }
.pricing-features li { margin-bottom: 15px; padding-left: 25px; position: relative; }
.pricing-features li::before { content: "►"; position: absolute; left: 0; color: var(--macaron-cyan); font-family: 'Press Start 2P'; font-size: 0.8rem; top: 4px; }
.pricing-card .btn { transform: translateZ(40px); margin-top: auto; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
details { background: var(--bg-card); margin-bottom: 15px; border: var(--pixel-border); box-shadow: var(--pixel-shadow); }
summary { padding: 20px; font-family: 'Press Start 2P'; cursor: pointer; list-style: none; position: relative; font-size: 0.8rem; color: var(--macaron-yellow); line-height: 1.5; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "▼"; position: absolute; right: 20px; color: var(--white); top: 20px; }
details[open] summary::after { content: "▲"; }
.faq-content { padding: 0 20px 20px; color: var(--text-light); font-size: 1.3rem; }

/* Footer */
footer { background: #0a0216; border-top: 4px solid var(--primary); color: #fff; padding: 50px 0 20px; text-align: center; font-family: 'VT323'; font-size: 1.2rem; box-shadow: 0 -4px 0 #000; }
.footer-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 30px; flex-wrap: wrap; }
.footer-links a { color: var(--macaron-cyan); transition: color 0.3s; padding: 10px; text-decoration: underline; }
.footer-links a:hover { color: var(--macaron-yellow); background: #222; }

/* Responsive */
@media (max-width: 900px) {
  .pet-container { display: none; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 1.2rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .pricing-card.popular { transform: none; }
  .pricing-card:hover .pricing-inner { transform: none; }
  .btn { width: 100%; box-sizing: border-box; } 
  .footer-links { flex-direction: column; gap: 10px; }
  .header-inner { height: auto; flex-wrap: wrap; padding: 15px 0; gap: 10px; justify-content: center; }
  .top-nav { flex-wrap: wrap; justify-content: center; font-size: 1.2rem; gap: 10px; }
  .logo { width: 100%; text-align: center; }
  .marquee-content { font-size: 0.8rem; }
}
