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

body {
    font-family: 'Georgia', 'Times New Roman', 'Yu Mincho', serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #0a0806;
    color: #d4c9b8;
}

.bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 40% at 50% 90%, rgba(180, 100, 40, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 30% at 50% 100%, rgba(140, 80, 30, 0.15) 0%, transparent 50%);
}

.steam {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background:
        radial-gradient(ellipse 80% 25% at 50% 100%, rgba(200, 170, 130, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse 40% 35% at 30% 60%, rgba(180, 150, 100, 0.12) 0%, transparent 60%);
    animation: steamDrift 15s infinite ease-in-out alternate;
}

@keyframes steamDrift {
    0%   { transform: translateY(0) scale(1); opacity: 0.08; }
    50%  { transform: translateY(-25px) scale(1.05); opacity: 0.14; }
    100% { transform: translateY(0) scale(1); opacity: 0.08; }
}

.wave-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background:
        radial-gradient(circle at 25px 25px, rgba(180, 140, 80, 0.5) 2px, transparent 2px),
        radial-gradient(circle at 75px 75px, rgba(180, 140, 80, 0.3) 2px, transparent 2px);
    background-size: 100px 100px, 100px 100px;
}

/* Sakura petals */
.petals {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.petal {
    position: absolute;
    top: -20px;
    border-radius: 50% 0 50% 0;
    background: radial-gradient(ellipse at 30% 30%, #ffb7c5, #e08090);
    animation: fall linear infinite;
    will-change: transform;
}

@keyframes fall {
    0%   { transform: translateY(-20px) rotate(0deg) translateX(0); opacity: 0; }
    10%  { opacity: 1; }
    85%  { opacity: 0.6; }
    100% { transform: translateY(100vh) rotate(360deg) translateX(80px); opacity: 0; }
}

.center {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 1rem;
    max-width: 600px;
}

/* Decorative gears */
.gear {
    position: absolute;
    opacity: 0.12;
    animation: spin 20s linear infinite;
}
.gear-1 {
    top: -60px; right: -30px;
    font-size: 3rem;
}
.gear-2 {
    bottom: -40px; left: -40px;
    font-size: 2.2rem;
    animation-direction: reverse;
    animation-duration: 16s;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Katana */
.sword {
    font-size: 7rem;
    line-height: 1;
    margin-bottom: 0.3rem;
    font-family: 'Yu Mincho', 'Georgia', serif;
    font-weight: 700;
    background: linear-gradient(180deg,
        #f0e6d0 0%,
        #d4a050 25%,
        #b8860b 50%,
        #d4a050 75%,
        #f0e6d0 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(180, 140, 80, 0.2));
    animation: bladePulse 4s infinite ease-in-out;
}

@keyframes bladePulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(180, 140, 80, 0.15)); }
    50% { filter: drop-shadow(0 0 40px rgba(180, 140, 80, 0.3)) drop-shadow(0 0 80px rgba(180, 100, 40, 0.1)); }
}

.title {
    font-family: 'Georgia', 'Yu Mincho', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    letter-spacing: 8px;
    text-transform: lowercase;
    color: #d4c9b8;
    margin-bottom: 0.2rem;
}

.domain {
    font-size: 0.65rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(180, 140, 80, 0.4);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    padding: 0 3rem;
}

.line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(180, 140, 80, 0.3), transparent);
}

.diamond {
    color: rgba(180, 140, 80, 0.4);
    font-size: 0.6rem;
    flex-shrink: 0;
}

.subtitle {
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: rgba(212, 201, 184, 0.6);
    font-weight: 400;
    margin-bottom: 0.3rem;
}

.subtitle-en {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: rgba(180, 140, 80, 0.35);
    font-style: italic;
    font-weight: 400;
}

.subtitle-tag {
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: rgba(180, 140, 80, 0.35);
    font-style: italic;
    margin-top: 0.6rem;
}

@media (max-width: 500px) {
    .sword { font-size: 5rem; }
    .gear-1 { font-size: 2rem; top: -40px; right: -20px; }
    .gear-2 { font-size: 1.5rem; bottom: -30px; left: -30px; }
    .divider { padding: 0 1.5rem; }
}
