:root {
    --primary-pink: #F8C3CD;
    /* Apink Strawberry Pink */
    --secondary-pink: #F4A6B5;
    --bg-color: #FDF5F7;
    --text-color: #333;
    --card-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 20px;
    background-image: linear-gradient(135deg, #FFF0F5 0%, #F8C3CD 100%);
    min-height: 100vh;
}

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

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    font-size: 2.5em;
    color: #E85A7E;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #E85A7E;
    border-bottom: 2px solid var(--primary-pink);
    padding-bottom: 10px;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-button {
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--primary-pink);
    color: #E85A7E;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.tab-button:hover,
.tab-button.active {
    background-color: var(--primary-pink);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(248, 195, 205, 0.5);
}

.sheet-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.sheet-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.video-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(232, 90, 126, 0.2);
}

.thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transition: opacity 0.3s;
}

.video-card:hover .play-icon {
    opacity: 1;
}

.info {
    padding: 15px;
}

.info h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    color: #444;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    background-color: #000;
    width: 80%;
    max-width: 900px;
    aspect-ratio: 16/9;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: var(--primary-pink);
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

#playerContainer {
    width: 100%;
    height: 100%;
}

.date-group {
    margin-bottom: 40px;
}

.date-header {
    font-size: 1.5rem;
    color: #E85A7E;
    /* Changed back to pink */
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 5px solid var(--primary-pink);
    background: rgba(255, 255, 255, 0.3);
    padding: 10px;
    border-radius: 0 10px 10px 0;
}

/* Panda Link */
.panda-link {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    cursor: pointer;
    background-color: transparent;
    backdrop-filter: blur(5px);
}

.panda-link:hover {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 6px 15px rgba(232, 90, 126, 0.4);
}

.panda-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}