/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Roboto', Arial, sans-serif;
    background: linear-gradient(135deg,rgba(171, 93, 63, 1) 0%, rgba(210, 138, 114, 1) 50%, rgba(246, 189, 149, 1) 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Sakura petals animation */
.sakura-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.sakura-petal {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(219, 197, 183, 1) 0%, rgba(240, 217, 194, 1) 50%, rgba(246, 235, 220, 1) 100%);
    border-radius: 50% 0 50% 0;
    opacity: 0.7;
    animation: fall linear infinite;
}

.sakura-petal:nth-child(1) { left: 10%; animation-duration: 8s; animation-delay: 0s; }
.sakura-petal:nth-child(2) { left: 20%; animation-duration: 10s; animation-delay: 1s; }
.sakura-petal:nth-child(3) { left: 30%; animation-duration: 12s; animation-delay: 2s; }
.sakura-petal:nth-child(4) { left: 40%; animation-duration: 9s; animation-delay: 3s; }
.sakura-petal:nth-child(5) { left: 60%; animation-duration: 11s; animation-delay: 4s; }
.sakura-petal:nth-child(6) { left: 70%; animation-duration: 13s; animation-delay: 5s; }
.sakura-petal:nth-child(7) { left: 80%; animation-duration: 7s; animation-delay: 6s; }
.sakura-petal:nth-child(8) { left: 90%; animation-duration: 14s; animation-delay: 7s; }

@keyframes fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 0.7;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1.2s ease-out forwards;
    opacity: 0;
}

/* Navigation bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(80, 63, 64, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(99, 108, 107, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(168, 85, 247, 0.1);
}

.nav-btn {
    background: linear-gradient(135deg,rgba(246, 189, 149, 1) 0%, rgba(210, 138, 114, 1) 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(210, 138, 114, 1);
}

.nav-btn:hover {
    background: linear-gradient(135deg, rgba(139, 108, 100, 1) 0%, rgba(128, 78, 77, 1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 78, 77, 1);
}

/* Main content */
.main-content {
    margin-top: 70px;
    padding: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

/* Profile overview section */
.profile-overview {
    background: rgba(80, 63, 64, 0.95);
    border-radius: 20px;
    margin-bottom: 3rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 85, 247, 0.1);
}

.banner-section {
    position: relative;
    height: 250px;
}

.banner-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 108, 100, 1) 0%, rgba(128, 78, 77, 1) 100%);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(80, 63, 64, 0.95) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(80, 63, 64, 0.95) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(80, 63, 64, 0.95) 0%, transparent 50%);
}

.profile-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.95), transparent);
    padding: 2rem;
    display: flex;
    align-items: flex-end;
    gap: 2rem;
}

.profile-picture {
    flex-shrink: 0;
    position: relative;
}

.profile-picture img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(128, 78, 77, 1);
}

.profile-info {
    flex: 1;
    color: #e2e8f0;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(78, 78, 78, 0.3);
}

.profile-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-label {
    font-weight: 600;
    color: #94a3b8;
}

.detail-value {
    color: #ffffff;
    font-weight: 500;
}

.interests h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.interest-tag, .hobby-tag {
    position: relative;
}

.interest-tag {
    background: linear-gradient(135deg, rgba(246, 189, 149, 1) 0%, rgba(210, 138, 114, 1) 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(128, 78, 77, 1);
    transition: all 0.3s ease;
}

.interest-tag:hover {
    background: linear-gradient(135deg, rgba(139, 108, 100, 1) 0%, rgba(128, 78, 77, 1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(128, 78, 77, 1);
}

/* Social links grid */
.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid transparent;
    border-radius: 15px;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(128, 78, 77, 1);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.1);
    background: rgba(30, 41, 59, 0.9);
}

.social-link svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Platform-specific colors */
.social-link.youtube:hover { border-color: #ff0000; }
.social-link.youtube svg { color: #ff0000; }

.social-link.twitch:hover { border-color: #9146ff; }
.social-link.twitch svg { color: #9146ff; }

.social-link.discord:hover { border-color: #5865f2; }
.social-link.discord svg { color: #5865f2; }

.social-link.steam:hover { border-color: #ffffff; }
.social-link.steam svg { color: #ffffff; }

.social-link.roblox:hover { border-color: #00a2ff; }
.social-link.roblox svg { color: #00a2ff; }

.social-link.tiktok:hover { border-color: #000000; }
.social-link.tiktok svg { color: #000000; }

.social-link.instagram:hover { border-color: #e4405f; }
.social-link.instagram svg { color: #e4405f; }

.social-link.twitter:hover { border-color: #ffffff; }
.social-link.twitter svg { color: #ffffff; }

.social-link.email:hover { border-color: #ea4335; }
.social-link.email svg { color: #ea4335; }

.social-link.osu:hover { border-color: #e967a2; }
.social-link.osu svg { color: #e967a2; }

/* Bottom section */
.bottom-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    animation-delay: 0.3s;
    align-items: stretch;
}

.content-box {
    background: rgba(30, 41, 59, 0.9);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 85, 247, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(128, 78, 77, 1);
}

.box-title {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

/* Song covers styles */
.covers-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex: 1;
    min-height: 500px;
}

.cover-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Override for concert items in concert list */
.concert-list .cover-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.cover-item:hover {
    background: rgba(168, 85, 247, 0.2);
    transform: translateY(-3px);
}

.youtube-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.cover-item .cover-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    gap: 1rem;
    min-width: 0;
}

.cover-info h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
    flex: 1;
    min-width: 0;
}

.cover-info p {
    color: #94a3b8;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.cover-stats .views {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Concert reviews styles */
.concert-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex: 1;
    min-height: 380px;
}

.first-concert {
    margin-bottom: 1rem;
}

.concert-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}


.concert-item:hover {
    background: rgba(168, 85, 247, 0.2);
    transform: translateX(5px);
}

.concert-info h4, .concert-title {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

button.concert-item { width: 100%; border: 1px solid transparent; font: inherit; text-align: left; cursor: pointer; gap: 1rem; }
button.concert-item:focus-visible { outline: 2px solid #f6bd95; outline-offset: 3px; }
.concert-info { min-width: 0; }
.concert-title, .concert-info .venue, .concert-info .date, .concert-open-hint { display: block; }
.concert-title { overflow-wrap: anywhere; }
.concert-open-hint { color: #f6bd95; font-size: 0.8rem; margin-top: 0.5rem; }
button.concert-item .rating { flex-shrink: 0; }
body.concert-dialog-open { overflow: hidden; }
.concert-dialog {
    margin: auto; width: min(760px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem);
    overflow-y: auto; padding: 1.5rem; background: #292b3e; color: #e2e8f0;
    border: 1px solid #786074; border-radius: 18px; box-shadow: 0 20px 70px #0008;
}
.concert-dialog::backdrop { background: #12101ac9; }
.concert-dialog-header { position: relative; padding-right: 60px; }
.concert-dialog-header h2 { font-size: 1.4rem; overflow-wrap: anywhere; }
.concert-close { position: absolute; top: 0; right: 0; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f6bd95; color: #292b3e; cursor: pointer; }
.concert-dialog button:focus-visible, .concert-dialog a:focus-visible { outline: 2px solid #f6bd95; outline-offset: 3px; }
#concertDialogMeta { color: #c0bacd; margin-top: 0.5rem; padding-right: 60px; }
#concertDialogRating { color: #ffd700; margin-top: 0.5rem; }
.concert-detail-section { margin-top: 1.5rem; }
.concert-detail-section h3 { margin-bottom: 0.75rem; }
.concert-disclaimer { padding: 0.75rem; margin-bottom: 1rem; border-left: 3px solid #f6bd95; background: #f6bd9510; }
#concertVideo iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; }
#concertVideo a { display: inline-block; margin-top: 0.75rem; color: #f6bd95; }
.concert-video-placeholder { display: grid; place-items: center; min-height: 160px; padding: 1rem; border: 1px dashed #786074; border-radius: 10px; color: #c0bacd; }
.concert-review { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; }
.concert-review a { color: #f6bd95; text-decoration: underline; }
@media (max-width: 480px) {
    .concert-dialog { padding: 1rem; }
    button.concert-item { align-items: flex-start; gap: 0.5rem; }
    button.concert-item .rating .stars { font-size: 0.85rem; }
}

.concert-info .venue {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.concert-info .date {
    color: #64748b;
    font-size: 0.8rem;
}

.rating {
    text-align: right;
}

.rating .stars {
    color: #ffd700;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.2rem;
}

.rating .score {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Games and interests styles */
.games-section, .hobbies-section {
    margin-bottom: 1.5rem;
}

.games-section h4, .hobbies-section h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.game-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.game-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.game-item:hover {
    background: rgba(168, 85, 247, 0.2);
    transform: translateX(3px);
}

.game-name {
    color: #ffffff;
    font-weight: 500;
}

.game-hours {
    color: #94a3b8;
    font-size: 0.9rem;
}

.hobby-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hobby-tag {
    background: linear-gradient(135deg, rgba(246, 189, 149, 1) 0%, rgba(210, 138, 114, 1) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(128, 78, 77, 1);
    transition: all 0.3s ease;
}

.hobby-tag:hover {
    background: linear-gradient(135deg, rgba(139, 108, 100, 1) 0%, rgba(128, 78, 77, 1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(128, 78, 77, 1);
}

.hobby-tag-kpop {
    color: white;
    text-decoration: none;
    animation: kpop-glow 2.5s ease-in-out infinite;
}

@keyframes kpop-glow {
    0%, 100% { box-shadow: 0 0 4px rgba(246, 189, 149, 0.2); }
    50% { box-shadow: 0 0 16px rgba(246, 189, 149, 0.65), 0 0 26px rgba(210, 138, 114, 0.3); }
}

.hobby-tag-kpop:focus-visible {
    outline: 2px solid white;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .hobby-tag-kpop { animation: none; box-shadow: 0 0 8px rgba(246, 189, 149, 0.4); }
}

/* View more buttons */
.view-more-btn {
    width: 100%;
    background: linear-gradient(135deg, rgba(246, 189, 149, 1) 0%, rgba(210, 138, 114, 1) 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.view-more-btn:hover {
    background: linear-gradient(135deg, rgba(139, 108, 100, 1) 0%, rgba(128, 78, 77, 1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 78, 77, 1);
}

/* Concert pagination */
.concert-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(168, 85, 247, 0.1);
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(246, 189, 149, 1) 0%, rgba(210, 138, 114, 1) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.pagination-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 78, 77, 1);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-btn svg {
    width: 24px;
    height: 24px;
}

.pagination-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    flex: 1;
    text-align: center;
}

.page-number {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

.item-count {
    color: #94a3b8;
    font-size: 0.8rem;
}

/* Copyright footer */
.copyright {
    background: rgba(80, 63, 64, 0.95);
    height: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    padding: 1rem;
    transition: 0.5s;
    font-size: 0.9rem;
    border-top: 1px solid rgba(99, 108, 107, 0.3);
    margin-top: 3rem;
    animation-delay: 0.6s;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.copyright:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
}

/* Responsive design */
@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
    }
    
    .nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .banner-section {
        height: auto;
        min-height: 300px;
        padding-bottom: 2rem;
    }
    
    .profile-content {
        position: static;
        background: rgba(26, 26, 46, 0.95);
        padding: 2rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        border-radius: 0 0 20px 20px;
    }
    
    .profile-picture {
        flex-shrink: 0;
    }
    
    .profile-picture img {
        width: 120px;
        height: 120px;
        border: 3px solid white;
    }
    
    .profile-info {
        width: 100%;
    }
    
    .profile-name {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
        text-align: center;
        color: #ffffff;
        font-weight: 700;
    }
    
    .profile-details {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .detail-item {
        gap: 0.4rem;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        min-width: 80px;
    }
    
    .detail-label, .detail-value {
        font-size: 0.85rem;
    }
    
    .detail-label {
        color: #94a3b8;
        font-weight: 600;
    }
    
    .detail-value {
        color: #ffffff;
        font-weight: 500;
    }
    
    .interests h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        text-align: center;
        color: #ffffff;
    }
    
    .interest-tags {
        gap: 0.6rem;
        justify-content: center;
    }
    
    .interest-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .social-links-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .bottom-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .content-box {
        padding: 1.5rem;
    }
    
    .box-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .banner-section {
        min-height: 280px;
    }
    
    .profile-content {
        padding: 2rem 1rem;
        gap: 1.2rem;
    }
    
    .profile-picture img {
        width: 100px;
        height: 100px;
        border: 3px solid white;
    }
    
    .profile-name {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .profile-details {
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .detail-label, .detail-value {
        font-size: 0.8rem;
    }
    
    .interests h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .interest-tags, .hobby-tags {
        gap: 0.5rem;
    }
    
    .interest-tag, .hobby-tag {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }
}

/* Navigation links remain crawlable and retain their button appearance. */
.nav-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
