/* ==================== Behind Page Styles ==================== */
.behind-page {
    min-height: 100vh;
    background: linear-gradient(135deg,
        var(--color-bg-dark) 0%,
        var(--color-bg-light) 100%);
    padding: 0;
    overflow-x: hidden;
}

/* Header */
.behind-header {
    position: relative;
    padding: 60px 20px 40px;
    text-align: center;
    background: linear-gradient(180deg,
        rgba(255, 196, 206, 0.1) 0%,
        rgba(123, 104, 238, 0.1) 100%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.back-btn {
    position: absolute;
    top: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
    border-color: var(--color-yommi-pink);
}

.back-arrow {
    font-size: 1.2rem;
}

.behind-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(90deg,
        var(--color-yommi-pink),
        var(--color-bam-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.behind-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    font-weight: 400;
}

/* Shorts Container */
.shorts-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
}

.shorts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
}

/* Short Card */
.short-card {
    width: 100%;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    position: relative;
}

.short-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg,
        var(--color-yommi-pink) 0%,
        var(--color-bam-purple) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-smooth);
}

.short-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 196, 206, 0.3);
}

.short-card:hover::before {
    opacity: 1;
}

/* Short Video */
.short-video {
    width: 100%;
    aspect-ratio: 9 / 16;
    position: relative;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    margin: 10px;
    width: calc(100% - 20px);
}

.short-video iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* Footer */
.behind-page .footer {
    margin-top: 60px;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 768px) {
    .behind-header {
        padding: 50px 20px 30px;
    }

    .back-btn {
        top: 20px;
        left: 20px;
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .behind-title {
        font-size: 2.2rem;
    }

    .behind-subtitle {
        font-size: 1rem;
    }

    .shorts-container {
        padding: 40px 15px;
    }

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

    .short-card {
        max-width: 100%;
    }

    .short-video {
        margin: 8px;
        width: calc(100% - 16px);
    }
}

@media (max-width: 480px) {
    .behind-title {
        font-size: 1.8rem;
    }

    .behind-subtitle {
        font-size: 0.9rem;
    }

    .shorts-container {
        padding: 20px 10px;
    }

    .shorts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .short-card {
        max-width: 100%;
        height: auto;
        background: transparent;
        border: none;
    }

    .short-card::before {
        display: none;
    }

    .short-card:hover {
        transform: none;
        box-shadow: none;
    }

    .short-video {
        margin: 0;
        width: 100%;
        border-radius: 10px;
        max-height: calc(100vh - 200px);
        height: auto;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.short-card {
    animation: fadeIn 0.6s ease-out forwards;
}

.short-card:nth-child(1) { animation-delay: 0.1s; }
.short-card:nth-child(2) { animation-delay: 0.2s; }
.short-card:nth-child(3) { animation-delay: 0.3s; }
.short-card:nth-child(4) { animation-delay: 0.4s; }
.short-card:nth-child(5) { animation-delay: 0.5s; }
.short-card:nth-child(6) { animation-delay: 0.6s; }
