/* ------------------------
    Butter Website CSS v2
------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500&display=swap');

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

html::-webkit-scrollbar {
    display: none;
}

html {
    scrollbar-width: none;
}

body{
    font-family: "Zen Kaku Gothic New", sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px;
    color: #30353d;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,.95), transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(207,227,255,.55), transparent 35%),
        linear-gradient(180deg, #f7f9fc, #eef4fb);
}

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

/* ------------------------
    Glass Card
------------------------- */

.glass{
    width: 520px;
    flex-shrink: 0;
    padding: 72px 56px;
    background: rgba(255,255,255,.42);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 36px;
    box-shadow:
        0 20px 60px rgba(174,190,212,.18),
        inset 0 1px 0 rgba(255,255,255,.9);
}

/* ------------------------
    Title / Text
------------------------- */

h1{
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: .18em;
    text-align: center;
}

.subtitle{
    margin-top: 14px;
    text-align: center;
    color: #8b95a4;
    font-size: .9rem;
    letter-spacing: .18em;
}

/* ------------------------
    Navigation
------------------------- */

nav{
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

nav a{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 2px;
    border-bottom: 1px solid rgba(190,205,224,.35);
    transition: .25s ease;
    font-size: 1rem;
    letter-spacing: .05em;
}

nav a::after{
    content: "→";
    opacity: 0;
    transform: translateX(-8px);
    transition: .25s;
}

nav a:hover{
    padding-left: 12px;
}

nav a:hover::after{
    opacity: 1;
    transform: translateX(0);
}

/* ------------------------
    Footer
------------------------- */

footer{
    margin-top: 64px;
    text-align: center;
    font-size: .8rem;
    color: #98a2af;
    letter-spacing: .12em;
}

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

footer a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* ------------------------
    Common Section
------------------------- */

.back{
    display: inline-block;
    margin-bottom: 42px;
    color: #8d97a5;
    transition: .25s;
}

.back:hover{
    transform: translateX(-4px);
}

section{
    margin-top: 56px;
}

h2{
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 14px;
}

section p{
    color: #6d7481;
    line-height: 1.8;
}

.coming{
    color: #9ca3af;
    font-size: .9rem;
    letter-spacing: .08em;
}

/* ------------------------
    Buttons
------------------------- */

.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 24px auto;
    width: 100%;
    flex-wrap: nowrap;
}

.buttons a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.35);
    border: 1px solid rgba(255,255,255,.75);
    color: #4b5563;
    text-decoration: none;
    border-radius: 8px;
    padding: 10px 16px;
    width: 45%;
    max-width: 160px;
    box-sizing: border-box;
}

.buttons a:hover{
    background: rgba(255,255,255,.55);
}

.buttons a span{
    font-size: .9rem;
    font-weight: 500;
}

.buttons a small{
    margin-top: 2px;
    font-size: .7rem;
    color: #9ca3af;
    letter-spacing: .08em;
}

/* ------------------------
    Voicebank List
------------------------- */

.voice-list{
    margin-top: 56px;
}

.voice-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid rgba(190,205,224,.35);
    transition: .25s ease;
}

.voice-item::after{
    content: "→";
    font-size: 1rem;
    color: #8d97a5;
    opacity: 0;
    transform: translateX(-8px);
    transition: .25s;
}

.voice-item:hover{
    padding-left: 12px;
}

.voice-item:hover::after{
    opacity: 1;
    transform: translateX(0);
}

.voice-item h2{
    margin: 0;
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: .05em;
}

.voice-item p{
    margin-top: 6px;
    font-size: .9rem;
    color: #9ca3af;
    letter-spacing: .08em;
}

/* ------------------------
    Character Page / Common Links
------------------------- */

.character{
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 36px;
    align-items: start;
}

.character-image{
    width: 200px;
    min-width: 200px;
    flex-shrink: 0;
    height: 380px;
    border-radius: 20px;
    background: rgba(255,255,255,.35);
    border: 1px solid rgba(255,255,255,.7);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    box-sizing: border-box;
    align-self: start;
}

.character-image span{
    font-size: .85rem;
    color: #b0b8c5;
    letter-spacing: .08em;
}

.chara-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.character-info{
    padding-top: 12px;
}

.character-info h1{
    text-align: left;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: .05em;
}

.roman{
    margin-top: 4px;
    font-size: .9rem;
    color: #9ca3af;
    letter-spacing: .08em;
}

.character-info section{
    margin-top: 20px;
}

.info-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

.info-row h2{
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}

.info-row p, .info-value p{
    margin: 0;
}

.info-row p{
    color: #6d7481;
}

.info-value{
    text-align: right;
    width: max-content;
    margin-left: auto;
}

.info-value p{
    color: #30353d;
}

.info-value span{
    display: block;
    margin-top: 2px;
    font-size: .85rem;
    color: #9ca3af;
}

.info-value .flag-note {
    display: block;
    font-size: 0.65rem;
    color: #9ca3af;
    line-height: 1.4;
    margin-top: 4px;
    text-align: right;
}

.character-links {
    margin-top: 56px;
    display: flex;
    justify-content: space-around;
    gap: 16px;
}

.text-link {
    font-size: 0.9rem;
    color: #8d97a5;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: .25s ease;
}

.text-link:hover {
    color: #30353d;
    border-bottom-color: #30353d;
}

section.profile-section {
    margin-top: 16px !important;
}

.profile-list {
    list-style: none !important;
    padding-left: 0px !important;
    margin: 12px 0 0 0;
}

.profile-list li {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

.profile-list li strong {
    color: #374151;
    font-weight: 500;
}

.profile-link {
    font-size: 0.85rem;
    color: #8d97a5;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: .25s ease;
}

.profile-link:hover {
    color: #30353d;
    border-bottom-color: #30353d;
}

/* ------------------------
    Mini Audio Player
------------------------- */

.mini-player {
    display: none;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    width: 100%;
    box-sizing: border-box;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.player-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.7);
    color: #4b5563;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
}

.player-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.player-info {
    flex: 1;
}

.player-title {
    display: block;
    font-size: 0.7rem;
    color: #4b5563;
    margin-bottom: 2px;
    letter-spacing: 0.05em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-credit {
    display: block;
    font-size: 0.65rem;
    color: #9ca3af;
    line-height: 1.4;
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(190, 205, 224, 0.35);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: #8d97a5;
    transition: width 0.1s linear;
}

/* ------------------------
    Guideline Page
------------------------- */

.terms-content {
    margin-top: 32px;
    text-align: justify;
}

.terms-section {
    margin-bottom: 28px;
}

.terms-section h2 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 14px;
    color: #30353d;
    text-align: left;
}

.terms-section p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #6d7481;
    margin-bottom: 8px;
}

.prohibited-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 12px 0;
}

.prohibited-list li {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 8px;
    text-indent: 0 !important;
    padding-left: 0 !important;
}

.prohibited-list small {
    color: #9ca3af;
    display: inline-block;
    margin-top: 2px;
}

/* ------------------------
    Contact Page
------------------------- */

.contact-notice {
    margin-top: 56px;
    text-align: left;
}

.notice-text {
    font-size: 0.9rem;
    font-weight: 300;
    color: #6d7481;
    line-height: 1.8;
    margin-bottom: 24px;
    text-align: left;
}

.contact-note {
    color: #9ca3af;
    font-size: 0.8rem;
    display: block;
    margin-top: 6px;
    line-height: 1.6;
}

/* ------------------------
    Responsive
------------------------- */

@media (max-width: 640px){
    body{
        padding: 20px;
    }

    .glass{
        width: 100%;
        padding: 48px 24px;
        border-radius: 28px;
    }

    h1{
        font-size: 2.3rem;
    }
   
    .voice-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 20px 0;
    }

    .voice-item h2{
        font-size: 1.2rem;
    }

    .voice-item p {
        margin-top: 2px;
    }
   
    .character{
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .character-image{
        width: 180px;
        margin: 0 auto;
    }

    .character-info h1{
        font-size: 1.4rem;
        text-align: center;
    }

    .roman{
        text-align: center;
    }

    .character-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 56px !important;
    }
   
    .buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .buttons a {
        flex: 1 1 130px; 
        max-width: none;
        padding: 12px 10px;
    }
    
    .buttons a span {
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .buttons a small {
        font-size: 0.65rem;
        white-space: nowrap;
    }
}
