@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700;900&family=Inter:wght@400;700;900&display=swap');

:root {
    --bg-color: #06060a;
    --neon-purple: #9d00ff;
    --neon-cyan: #00e5ff;
    --neon-red: #ff2a55;
    --glass-bg: rgba(18, 18, 28, 0.55);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-color: #f4f4f8;
    --primary-gradient: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
    --surface-gradient: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: "Noto Serif JP", serif;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(157, 0, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 229, 255, 0.08) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 10;
}

header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 1s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.neon-title {
    font-size: 4.2rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #a0a0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(157, 0, 255, 0.4);
    position: relative;
    display: inline-block;
}

.neon-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: var(--primary-gradient);
    box-shadow: 0 0 20px var(--neon-purple), 0 0 40px var(--neon-cyan);
    border-radius: 3px;
}

.catchphrase {
    color: var(--neon-cyan);
    font-weight: 700;
    font-size: 1.25rem;
    margin-top: 35px;
    font-family: "Inter", sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
    opacity: 0.95;
    text-transform: uppercase;
}

/* Glassmorphism Makimono */
.makimono {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.1, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

.makimono:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 30px rgba(0, 229, 255, 0.15);
}

textarea {
    width: 100%;
    min-height: 200px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1.3rem;
    padding: 24px;
    resize: vertical;
    outline: none;
    font-family: "Noto Serif JP", serif;
    line-height: 1.8;
    transition: all 0.3s ease;
    box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.6);
}

textarea:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 229, 255, 0.15);
}

textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-style: italic;
}

/* Custom Scrollbar */
textarea::-webkit-scrollbar {
    width: 10px;
}

textarea::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    margin: 10px;
}

textarea::-webkit-scrollbar-thumb {
    background: rgba(157, 0, 255, 0.5);
    border-radius: 5px;
    border: 2px solid rgba(0, 0, 0, 0.3);
}

textarea::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 229, 255, 0.7);
}

.ninja-btn {
    display: block;
    width: 100%;
    padding: 22px;
    background: var(--primary-gradient);
    border: none;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 900;
    cursor: pointer;
    font-family: "Noto Serif JP", serif;
    letter-spacing: 5px;
    border-radius: 12px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(157, 0, 255, 0.4), 0 15px 50px rgba(0, 229, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.ninja-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.ninja-btn:hover {
    letter-spacing: 8px;
    box-shadow: 0 15px 40px rgba(157, 0, 255, 0.6), 0 20px 60px rgba(0, 229, 255, 0.4);
}

.ninja-btn:hover::before {
    opacity: 1;
}

.ninja-btn:active {
    transform: scale(0.99);
}

.ninja-btn-small {
    margin-top: 30px;
    padding: 16px 32px;
    background: var(--surface-gradient);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 229, 255, 0.4);
    color: var(--neon-cyan);
    cursor: pointer;
    font-weight: 700;
    font-family: "Inter", sans-serif;
    letter-spacing: 2px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ninja-btn-small:hover {
    background: rgba(0, 229, 255, 0.15);
    border-color: var(--neon-cyan);
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.4);
}

.hidden {
    display: none !important;
}

.error-neon {
    color: #fff;
    border: 1px solid rgba(255, 42, 85, 0.4);
    padding: 24px;
    margin: 30px 0;
    text-align: center;
    background: rgba(255, 42, 85, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    font-weight: 700;
    line-height: 1.7;
    box-shadow: 0 10px 30px rgba(255, 42, 85, 0.2);
    animation: fadeInDown 0.4s ease;
}

.ad-placeholder {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    margin: 50px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
}

.banner-ad {
    height: 90px;
}

.rectangle-ad {
    height: 250px;
}

.faq-section,
.privacy-section {
    margin-top: 80px;
    padding: 50px 40px;
    background: var(--surface-gradient);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.neon-subtitle {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.neon-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
    box-shadow: 0 0 15px var(--neon-cyan);
}

dl dt {
    font-weight: 900;
    color: #fff;
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

dl dt::before {
    content: 'Q.';
    color: var(--neon-cyan);
    font-family: "Inter", sans-serif;
    font-size: 1.8rem;
    margin-right: 15px;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
}

dl dd {
    margin-left: 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--neon-purple);
    border-radius: 0 12px 12px 0;
    color: #c4c4d0;
    line-height: 1.9;
    font-size: 1.05rem;
    box-shadow: inset 20px 0 30px -20px rgba(157, 0, 255, 0.1);
}

p {
    line-height: 1.9;
    color: #c4c4d0;
    font-size: 1.05rem;
}

footer {
    text-align: center;
    margin-top: 100px;
    padding-bottom: 50px;
    color: rgba(255, 255, 255, 0.4);
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    letter-spacing: 1.5px;
}

/* Smoke Effect Keyframes */
.smoke-effect {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250vw;
    height: 250vh;
    background: radial-gradient(circle, rgba(157, 0, 255, 0.3) 0%, rgba(0, 229, 255, 0.15) 30%, transparent 60%);
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    mix-blend-mode: color-dodge;
}

@keyframes smokeBlast {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
        filter: blur(5px);
    }

    30% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.1);
        filter: blur(25px);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(3.5);
        filter: blur(70px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 30px 15px;
    }

    header {
        margin-bottom: 40px;
    }

    .neon-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
        text-shadow: 0 0 20px rgba(157, 0, 255, 0.4);
    }

    .catchphrase {
        font-size: 1rem;
        margin-top: 20px;
        letter-spacing: 1px;
    }

    .makimono {
        padding: 20px;
        border-radius: 12px;
    }

    textarea {
        min-height: 150px;
        font-size: 1.1rem;
        padding: 16px;
    }

    .ninja-btn {
        padding: 16px;
        font-size: 1.25rem;
        letter-spacing: 3px;
    }

    .ninja-btn:hover {
        letter-spacing: 4px;
    }

    .ninja-btn-small {
        margin-top: 20px;
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .faq-section, .privacy-section {
        margin-top: 50px;
        padding: 30px 20px;
        border-radius: 12px;
    }

    .neon-subtitle {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    dl dt {
        font-size: 1.2rem;
        margin-top: 30px;
    }

    dl dt::before {
        font-size: 1.4rem;
        margin-right: 10px;
    }

    dl dd {
        padding: 16px;
        font-size: 0.95rem;
        line-height: 1.7;
    }

    p {
        font-size: 0.95rem;
    }

    footer {
        margin-top: 60px;
        padding-bottom: 30px;
        font-size: 0.85rem;
    }
}
