:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-primary: #ffffff;
    --text-dim: #a1a1aa;
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --gold-dark: #997a00;
    --glass-bg: rgba(212, 175, 55, 0.05);
    /* very faint gold tint */
    --glass-border: rgba(212, 175, 55, 0.15);

    --font-en: 'Outfit', sans-serif;
    --font-jp-serif: 'Noto Serif JP', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-en);
    /* fallback */
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
.serif {
    font-family: var(--font-jp-serif);
}

.outfit {
    font-family: var(--font-en);
}

.gold-text {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, #b38b22 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Utilities */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

.dark-bg {
    background-color: var(--bg-darker);
}

/* Backgrounds */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.03;
    pointer-events: none;
    z-index: 999;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: background 0.3s, border-bottom 0.3s;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.85);
    border-bottom: 1px solid var(--glass-border);
}

.blur-effect {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-en {
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    color: var(--gold-primary);
}

.logo-jp {
    font-family: var(--font-jp-serif);
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

.btn-header-buy {
    font-family: var(--font-jp-serif);
    font-size: 0.85rem;
    padding: 8px 16px;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-header-buy:hover {
    background: var(--gold-primary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--gold-glow);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 5% 0;
    /* offset for header */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.15) 0%, rgba(10, 10, 10, 1) 70%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.gold-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    border-radius: 30px;
    font-size: 0.8rem;
    font-family: var(--font-en);
    letter-spacing: 0.15em;
    margin-bottom: 30px;
    text-transform: uppercase;
    box-shadow: 0 0 20px var(--gold-glow) inset;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 30px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-family: var(--font-jp-serif);
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 500px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 4px;
    font-family: var(--font-jp-serif);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.large-btn {
    padding: 18px 48px;
    font-size: 1.2rem;
}

.gold-btn {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
    color: #000;
    border: none;
    box-shadow: 0 10px 30px var(--gold-glow);
    position: relative;
    overflow: hidden;
}

.gold-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
    left: -200%;
}

.gold-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

.gold-btn:hover::after {
    left: 100%;
}

.mix-pulse {
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* Layouts */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.luxury-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    transition: transform 0.4s, border-color 0.4s;
    position: relative;
}

.luxury-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.luxury-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
}

.luxury-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 6px var(--gold-glow));
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--gold-light);
}

.card-desc {
    color: var(--text-dim);
    font-size: 0.95rem;
    font-family: var(--font-jp-serif);
}

/* Feature Split */
.layout-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-family: var(--font-jp-serif);
    font-size: 1.1rem;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold-primary);
    color: var(--bg-dark);
    font-size: 0.8rem;
    font-weight: bold;
}

.features-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.gold-orb-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gold-orb {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--gold-light), var(--gold-dark));
    box-shadow: 0 0 50px var(--gold-glow), inset -20px -20px 50px rgba(0, 0, 0, 0.5);
    animation: floatOrb 6s ease-in-out infinite;
}

.gold-ring {
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1px dashed var(--gold-primary);
    border-radius: 50%;
    animation: spinRing 20s linear infinite;
    opacity: 0.5;
}

.floating-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--gold-primary);
    padding: 15px;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-en);
    font-weight: 800;
    color: var(--gold-light);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    animation: floatOrb 5s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes spinRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Instructions */
.info-box,
.warning-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 30px;
    font-family: var(--font-jp-serif);
}

.info-box {
    border-left: 4px solid var(--gold-primary);
}

.warning-box {
    border-left: 4px solid #666;
}

.box-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--gold-light);
}

.warning-list {
    list-style: none;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.warning-list li {
    margin-bottom: 8px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
    background: #000;
}

.footer-brand h3 {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.footer-brand p {
    font-family: var(--font-en);
    color: var(--text-dim);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.back-link {
    font-family: var(--font-jp-serif);
    font-size: 0.9rem;
    color: var(--gold-primary);
    text-decoration: underline;
    opacity: 0.8;
}

.back-link:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid var(--glass-border);
    font-family: var(--font-en);
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.js-scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Floating Action Button (Mobile) */
.fab-buy {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
    color: #000;
    padding: 15px 30px;
    border-radius: 30px;
    font-family: var(--font-jp-serif);
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    z-index: 99;
    text-align: center;
}

@media (max-width: 768px) {
    .layout-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn-header-buy {
        display: none;
    }

    /* Hide in header, use FAB */
    .fab-buy {
        display: block;
    }
}