:root {
    /* GFriend & VIVIZ Theme - Light Pink & Soft Lilac */
    --primary-color: #6D5D8E;
    /* Soft Purple/Lilac for text */
    --accent-color: #FF9EAA;
    /* Pastel Pink */
    --accent-glow: #FFD1D6;
    --text-color: #4A4A4A;
    --bg-color: #FFF0F5;
    /* Lavender Blush */
    --card-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.4);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --transition-speed: 0.3s;
}

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

body {
    background: linear-gradient(135deg, #FFF0F5 0%, #F3E5F5 100%);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-speed);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

@keyframes glow {
    0% {
        box-shadow: 0 0 5px var(--accent-glow);
    }

    50% {
        box-shadow: 0 0 20px var(--accent-glow), 0 0 10px var(--accent-color);
    }

    100% {
        box-shadow: 0 0 5px var(--accent-glow);
    }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: table;
    /* Center with auto margin */
    margin-left: auto;
    margin-right: auto;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Storytelling Elements */
blockquote {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--primary-color);
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin: 20px 0;
    opacity: 0.8;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-speed);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(255, 183, 178, 0.2);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    text-shadow: 1px 1px 0px #fff;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* --- Bento Grid Layout --- */

.bento-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    /* Flexible rows */
    gap: 20px;
    padding: 20px;
}

.bento-item {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    /* Rounded Bento style */
    padding: 25px;
    box-shadow: 0 4px 20px rgba(109, 93, 142, 0.05);
    /* Softer shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(109, 93, 142, 0.15);
}

/* Specific Card Layouts */

/* 1. Main Profile (Spans 2 columns, 2 rows on desktop) */
.profile-main {
    grid-column: span 2;
    grid-row: span 2;
    justify-content: center;
}

.profile-content-flex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
}

.bento-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(255, 158, 170, 0.3);
}

.profile-text {
    flex: 1;
}

.bento-title {
    font-size: 2.2rem;
    margin-bottom: 5px;
    background: linear-gradient(to right, #FF9EAA, #6D5D8E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bento-subtitle {
    font-size: 1rem;
    color: #888;
    margin-bottom: 15px;
    font-weight: 500;
}

.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.tag {
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.6);
    padding: 4px 12px;
    border-radius: 20px;
    color: var(--primary-color);
    border: 1px solid var(--glass-border);
}

.bio-text {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 20px;
}

.socials-bento {
    display: flex;
    gap: 10px;
}

.social-btn {
    font-size: 0.9rem;
    padding: 8px 16px;
    background: #fff;
    border-radius: 12px;
    color: var(--text-color);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.social-btn:hover {
    background: var(--accent-color);
    color: #fff;
}

/* 2. Bias Cards */
.bias-main {
    grid-column: span 1;
    grid-row: span 1;
    /* Stronger Pink Gradient for "Pick" */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 158, 170, 0.4) 100%);
    border: 2px solid var(--accent-color);
    /* Highlight border */
    box-shadow: 0 0 25px rgba(255, 158, 170, 0.4);
    /* Glow effect */
    position: relative;
    overflow: hidden;
}

.bias-main::before {
    content: '👑';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 5rem;
    opacity: 0.1;
    transform: rotate(15deg);
    pointer-events: none;
}

.bias-sub {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-header h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.member-highlight {
    margin-bottom: 10px;
}

.member-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--accent-color);
    display: block;
}

.member-role {
    font-size: 0.8rem;
    color: #999;
}

.bias-quote {
    font-style: italic;
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

.member-list {
    list-style: none;
    padding-left: 0;
}

.member-list li {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-color);
    padding-left: 10px;
    border-left: 3px solid var(--accent-glow);
}

/* 3. Music/Favs */
.music-fav {
    grid-column: span 2;
    /* Expanded to 2 columns */
    grid-row: span 1;
    overflow-y: auto;
    /* Scroll if too long */
}

.music-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columns: Title, B-Sides, OST */
    gap: 15px;
}

.music-category h4 {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 5px;
}

.music-category ul {
    list-style: none;
    padding: 0;
}

.music-category li {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 6px;
    padding-left: 15px;
    position: relative;
}

.music-category li::before {
    content: '•';
    color: var(--accent-glow);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.disclaimer-text {
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 15px;
    text-align: right;
    font-style: italic;
}

/* 4. Stats (Removed) */


/* Responsive Bento */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-main {
        grid-column: span 2;
        /* Full width on tablet */
    }

    .music-fav {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
    }

    .profile-main,
    .bias-main,
    .bias-sub,
    .music-fav {
        grid-column: span 1;
    }

    .profile-content-flex {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .tags {
        justify-content: center;
    }

    .socials-bento {
        justify-content: center;
    }

    .music-list-grid {
        grid-template-columns: 1fr;
        /* Stack lists on mobile */
    }
}

/* Schedule Section */
.schedule {
    padding: 100px 0;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-glow);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 40px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    position: absolute;
    top: 5px;
    box-shadow: 0 0 0 3px rgba(255, 158, 170, 0.2);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(109, 93, 142, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.3s;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
}

.date {
    color: var(--accent-color);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Footer */
footer {
    padding: 60px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
    border-top: 1px solid var(--glass-border);
}

.socials {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
}

.social-icon {
    font-size: 1.4rem;
    padding: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(255, 158, 170, 0.2);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .profile-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd) {
        left: 0;
        text-align: left;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 22px;
        right: auto;
    }
}