/* =========================================================================
   Base & Reset
   ========================================================================= */
:root {
    --bg-color: #0f121b;
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --primary: #38bdf8; /* Slime Cyan */
    --primary-hover: #0ea5e9;
    --accent-pink: #f472b6; /* Hat Ribbon Pink */
    --accent-dark: #1e293b; /* Hat Black */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-en: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

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

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

ul {
    list-style: none;
}

/* =========================================================================
   Background Animation
   ========================================================================= */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.4), transparent 60%);
    top: -200px;
    left: -200px;
}

.circle-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.3), transparent 60%);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.1); }
}

/* =========================================================================
   Layout & Glassmorphism
   ========================================================================= */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

main {
    display: flex;
    flex-direction: column;
    gap: 3.5rem; /* Separates StreamInfo and Attention */
}

#slime-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* =========================================================================
   Profile Section
   ========================================================================= */
.profile-section {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.profile-image-container {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(135deg, var(--accent-dark), var(--primary), var(--accent-pink));
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
    animation: subtle-pulse 4s infinite 2s;
}

@keyframes subtle-pulse {
    0%, 100% { box-shadow: 0 0 30px rgba(56, 189, 248, 0.4); }
    50% { box-shadow: 0 0 45px rgba(56, 189, 248, 0.6); }
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background-color: #fff;
}

.profile-info {
    flex-grow: 1;
}

.streamer-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    display: flex;
    flex-direction: column;
}

.streamer-name .en-font {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.tagline {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

/* Buttons */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-link:hover {
    transform: translateY(-2px);
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
}

.youtube-btn {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
}
.youtube-btn:hover {
    background: #dc2626;
    border-color: #dc2626;
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
}

.fan-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.badge {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =========================================================================
   Sections Commons
   ========================================================================= */
.section-title {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 3px;
}

.section-title span {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 0.3rem;
}

/* =========================================================================
   Stream Info Section
   ========================================================================= */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card-title {
    font-family: var(--font-en);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
}

.card-desc strong {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.3rem;
}

.highlight {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.2rem;
}

.content-list li {
    margin-bottom: 1.5rem;
}
.content-list li:last-child {
    margin-bottom: 0;
}

.content-list strong {
    display: block;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.content-list p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================================================
   Attention Section
   ========================================================================= */
.attention-content p {
    margin-bottom: 1.5rem;
}

.attention-content ul {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.attention-content li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-muted);
}
.attention-content li:last-child {
    margin-bottom: 0;
}

.attention-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.attention-content strong {
    color: #fff;
}

.attention-footer {
    text-align: center;
    color: #fff !important;
    font-weight: 500;
    padding-top: 1rem;
}

/* =========================================================================
   Footer & Go Top
   ========================================================================= */
footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-muted);
    font-family: var(--font-en);
    font-size: 0.9rem;
}

.go-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.go-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-top-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.6);
}

/* =========================================================================
   Animations
   ========================================================================= */
.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .profile-image-container {
        width: 160px;
        height: 160px;
    }

    .social-links {
        justify-content: center;
    }

    .fan-info {
        justify-content: center;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .glass-panel {
        padding: 1.8rem;
    }

    .section-title {
        align-items: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .attention-content ul {
        padding: 1.5rem 1rem;
    }
}
