* {
    box-sizing: border-box;
}

body.detail-page {
    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
}

body.detail-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(145deg, rgba(10, 10, 20, 0.8), rgba(44, 16, 93, 0.72));
    z-index: 0;
}

.detail-card {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    padding: 42px 36px;
    border-radius: 18px;
    background: rgba(20, 20, 26, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.detail-date {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 600;
}

.detail-label {
    margin: 0 0 14px;
    color: #cab7ff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    font-weight: 700;
}

.detail-title {
    margin: 0 0 16px;
    font-size: clamp(28px, 5vw, 46px);
    line-height: 1.12;
}

.detail-text {
    margin: 0;
    color: #e8e8ef;
    line-height: 1.65;
    font-size: 17px;
}

.detail-actions {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.detail-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.detail-btn.primary {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(109, 40, 217, 0.35);
}

.detail-btn.secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.detail-btn:hover {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    body.detail-page { padding: 20px 12px; min-height: 100svh; }
    .detail-card { min-width: 0; padding: 28px 22px; border-radius: 14px; }
    .detail-title { font-size: clamp(26px, 7vw, 38px); line-height: 1.18; overflow-wrap: anywhere; }
    .detail-text { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
    .detail-label { font-size: 11px; }
    .detail-actions { margin-top: 22px; flex-direction: column; gap: 10px; }
    .detail-btn { width: 100%; min-height: 46px; padding: 12px 16px; font-size: 14px; }
}

@keyframes detail-mobile-enter {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
    .detail-card { animation: detail-mobile-enter .55s cubic-bezier(.2,.75,.25,1) both; }
    .detail-actions { animation: detail-mobile-enter .5s .12s both; }
    .detail-btn:active { transform: scale(.97); }
}
