/* Megahouse Figurine - Premium Anime Figurine Niche Palette */

body {
    font-family: 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #faf7f2;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

/* === GOLD / INDIGO PALETTE === */
.bg-gold-100 { background-color: #fdf7e5; }
.bg-gold-200 { background-color: #f7e7b8; }
.bg-gold-500 { background-color: #c89b3c; }
.bg-gold-600 { background-color: #a97f24; }
.text-gold-200 { color: #f7e7b8; }
.text-gold-500 { color: #c89b3c; }
.text-gold-600 { color: #a97f24; }
.border-gold-500 { border-color: #c89b3c; }
.ring-gold-500 { --tw-ring-color: #c89b3c; }

.bg-indigo-deep { background-color: #1c1b2e; }
.bg-indigo-soft { background-color: #2a2842; }
.text-indigo-deep { color: #1c1b2e; }

.bg-cream { background-color: #faf7f2; }
.bg-cream-soft { background-color: #f4ecdd; }
.text-cream { color: #faf7f2; }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse-soft { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.animate-fade-up { animation: fadeUp 0.6s ease-out forwards; }
.animate-fade-up-delay { animation: fadeUp 0.6s ease-out 0.2s forwards; opacity: 0; }
.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }
.animate-pulse { animation: pulse-soft 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* Header */
#header.scrolled {
    background-color: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgb(28 27 46 / 0.08);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

#mobile-menu { transition: all 0.3s ease-in-out; }
#mobile-menu.open { display: block; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f4ecdd; }
::-webkit-scrollbar-thumb { background: #c89b3c; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #a97f24; }

/* Accessibility focus */
button:focus-visible, a:focus-visible, input:focus-visible {
    outline: 2px solid #c89b3c;
    outline-offset: 2px;
}

input::placeholder { color: #8b8a9c; }
input:focus { outline: none; }

.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgb(28 27 46 / 0.15), 0 8px 10px -6px rgb(28 27 46 / 0.1); }

.bg-gradient-warm { background: linear-gradient(135deg, #faf7f2 0%, #fdf7e5 100%); }
.bg-gradient-dark { background: linear-gradient(135deg, #1c1b2e 0%, #0f0e1e 100%); }

.btn-primary {
    background-color: #c89b3c;
    color: #1c1b2e;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgb(200 155 60 / 0.3);
}
.btn-primary:hover { opacity: 0.92; transform: translateY(-2px); box-shadow: 0 20px 25px -5px rgb(200 155 60 / 0.35); }

/* Testimonial carousel */
#testimonial-carousel { position: relative; }
#testimonial-track { display: flex; transition: transform 0.3s ease; }
#testimonial-track > div { flex: 0 0 100%; padding: 0 1rem; }
.testimonial-dot { width: 8px; height: 8px; border-radius: 9999px; background-color: #d6d3d1; transition: background-color 0.3s ease; cursor: pointer; }
.testimonial-dot.active { background-color: #c89b3c; }

@media (max-width: 640px) {
    .hero-stats { flex-direction: column; gap: 1rem; }
    .hero-stats .w-px { width: 100%; height: 1px; }
}

@media print {
    header, footer, #mobile-menu, button, .no-print { display: none !important; }
    body { background: white; color: black; }
    a { color: black; text-decoration: underline; }
}

@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;
    }
}

::selection { background-color: #c89b3c; color: #1c1b2e; }
::-moz-selection { background-color: #c89b3c; color: #1c1b2e; }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.875rem; color: #6b6a7e; }
.breadcrumbs a { color: #6b6a7e; transition: color 0.2s; }
.breadcrumbs a:hover { color: #c89b3c; }
.breadcrumbs .sep { margin: 0 .5rem; color: #bcbac7; }
