@charset "UTF-8";

/* Detail Page Specific Styles */

body {
    background-color: #f9f9fc;
    /* Slightly darker than pure white for content focus */
}

/* Header */
.detail-header {
    padding: 24px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-en);
    font-weight: 700;
    text-decoration: none;
    color: var(--pop-text);
    font-size: 16px;
    transition: opacity 0.2s;
}

.back-link:hover {
    opacity: 0.6;
}

.back-link .arrow {
    font-size: 20px;
    line-height: 1;
}

/* Hero */
.detail-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 40px 0 60px;
    padding-bottom: 24px;
    border-bottom: 2px solid #eee;
}

.detail-title {
    font-family: var(--font-jp);
    font-weight: 700;
    font-size: 40px;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.detail-creator .creator-badge__icon {
    width: 90px;
    height: 90px;
}

.detail-creator .creator-badge__name {
    font-size: 20px;
    color: #555;
}

.btn-download-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--pop-text);
    color: #fff;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-en);
    font-size: 14px;
    transition: transform 0.2s;
}

.btn-download-hero:hover {
    transform: translateY(-2px);
}

/* Video Showcase */
.video-showcase {
    margin-bottom: 80px;
}

.video-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    border: 4px solid #333;
    /* Monitor bezel */
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #222, #444);
    color: #fff;
}

.video-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.8;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    margin-bottom: 80px;
}

.desc-box,
.spec-box {
    background: #fff;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid #eee;
}

.box-title {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 24px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
    display: inline-block;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #f0f0f0;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Download Section */
.download-section {
    margin-bottom: 100px;
}

.download-card {
    background: var(--c-yellow);
    color: var(--pop-text);
    border-radius: 32px;
    padding: 48px;
    display: flex;
    align-items: center;
    gap: 32px;
    border: 3px solid var(--pop-text);
    box-shadow: 8px 8px 0 var(--pop-text);
}

.download-icon-box {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    border: 2px solid var(--pop-text);
}

.download-info {
    flex: 1;
}

.download-title {
    font-family: var(--font-en);
    font-weight: 900;
    font-size: 32px;
    line-height: 1;
    margin-bottom: 8px;
}

.download-desc {
    font-weight: 500;
    opacity: 0.8;
}

.btn-download-large {
    background: #fff;
    color: var(--pop-text);
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-family: var(--font-en);
    text-decoration: none;
    font-size: 18px;
    border: 2px solid var(--pop-text);
    box-shadow: 4px 4px 0 var(--pop-text);
    transition: transform 0.1s;
}

.btn-download-large:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--pop-text);
}

.btn-download-large:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--pop-text);
}

/* Footer */
.detail-footer {
    text-align: center;
    padding: 40px 0;
    color: #aaa;
    font-size: 12px;
    font-family: var(--font-en);
}

/* Responsive */
@media (max-width: 768px) {
    .detail-header {
        position: relative;
        top: auto;
    }

    .detail-hero {
        margin-top: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

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

    .download-card {
        flex-direction: column;
        text-align: center;
    }

    .btn-download-large {
        width: 100%;
        text-align: center;
    }
}