/* DreamCurtains — Site İçerik (Header hariç) | #16345B + #FFFFFF */

.dc-main {
    padding-top: var(--header-h); position: relative; z-index: 1;
    background: var(--white); max-width: 100%; overflow-x: hidden;
}

/* Sections */
.dc-section { padding: 3.5rem 0; }
.dc-section-head { text-align: center; margin-bottom: 2rem; }
.dc-eyebrow {
    display: inline-block; font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 3px; color: var(--brand);
    margin-bottom: 0.6rem; padding: 0.35rem 0.9rem;
    background: var(--brand-soft); border-radius: 20px;
}
.dc-title {
    font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    color: var(--brand); line-height: 1.2; margin-bottom: 0.5rem;
}
.dc-subtitle { color: var(--brand-muted); font-size: 1rem; max-width: 540px; margin: 0 auto; }

/* Categories — first section tight */
.dc-categories { padding-top: 1.5rem; padding-bottom: 2.5rem; }
.dc-category-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem;
}

.dc-cat-card {
    display: block; background: var(--white); border-radius: 18px;
    overflow: hidden; border: 1px solid rgba(22, 52, 91, 0.08);
    box-shadow: 0 4px 20px rgba(22, 52, 91, 0.06);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}
.dc-cat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--brand-glow), 0 0 0 1px rgba(22, 52, 91, 0.12);
}
.dc-cat-card-media {
    position: relative; height: 220px; overflow: hidden;
}
.dc-access-badge {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.02em;
    padding: 0.3rem 0.6rem; border-radius: 6px; line-height: 1;
}
.dc-cat-card-media .dc-access-badge {
    position: absolute; top: 0.85rem; right: 0.85rem; z-index: 2;
    backdrop-filter: blur(6px);
}
.dc-access-badge.dc-access-members {
    background: rgba(255, 255, 255, 0.92); color: var(--brand);
    border: 1px solid rgba(22, 52, 91, 0.15);
    box-shadow: 0 4px 14px rgba(22, 52, 91, 0.12);
}
.dc-access-badge.dc-access-public {
    background: rgba(22, 52, 91, 0.88); color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 14px rgba(22, 52, 91, 0.2);
}
.dc-access-badge-sm {
    font-size: 0.62rem; padding: 0.2rem 0.5rem;
}
.dc-video-card-tags {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem;
}
.dc-cat-card-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.dc-cat-card:hover .dc-cat-card-media img { transform: scale(1.1); }
.dc-cat-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(22, 52, 91, 0.75) 0%, rgba(22, 52, 91, 0.1) 55%, transparent 100%);
    transition: background 0.4s ease;
}
.dc-cat-card:hover .dc-cat-card-overlay {
    background: linear-gradient(to top, rgba(22, 52, 91, 0.88) 0%, rgba(22, 52, 91, 0.25) 60%, transparent 100%);
}
.dc-cat-card-glow {
    position: absolute; inset: 0; opacity: 0;
    box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.15);
    transition: opacity 0.4s ease; pointer-events: none;
}
.dc-cat-card:hover .dc-cat-card-glow { opacity: 1; }
.dc-cat-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--brand-light), var(--brand));
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: rgba(255, 255, 255, 0.35);
}
.dc-cat-card-body { padding: 1.35rem 1.5rem 1.5rem; }
.dc-cat-card-body h3 {
    font-family: var(--font-display); font-size: 1.1rem;
    color: var(--brand); margin-bottom: 0.5rem; line-height: 1.35;
}
.dc-cat-desc {
    font-size: 0.88rem; color: var(--brand-muted); line-height: 1.55;
    margin-bottom: 0.85rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dc-cat-meta {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.8rem; font-weight: 600; color: var(--brand);
}
.dc-cat-meta i { font-size: 0.95rem; }

/* Stats */
.dc-stats {
    background: var(--brand); padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dc-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.dc-stat-item {
    text-align: center; padding: 1.25rem;
    background: rgba(255, 255, 255, 0.06); border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease, transform 0.3s ease;
}
.dc-stat-item:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-4px); }
.dc-stat-number {
    font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; color: var(--white); line-height: 1;
}
.dc-stat-label {
    font-size: 0.82rem; color: rgba(255, 255, 255, 0.7); margin-top: 0.45rem;
    text-transform: uppercase; letter-spacing: 1px;
}

/* Why */
.dc-why { background: #f9fafc; }
.dc-tilt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.dc-tilt-card {
    background: var(--white); border-radius: 16px; padding: 1.75rem;
    border: 1px solid rgba(22, 52, 91, 0.08);
    box-shadow: 0 4px 16px rgba(22, 52, 91, 0.05);
    transition: transform 0.2s ease, box-shadow 0.35s ease;
}
.dc-tilt-card:hover { box-shadow: 0 16px 40px var(--brand-glow); }
.dc-tilt-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--brand); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 1rem;
}
.dc-tilt-card h3 {
    font-family: var(--font-display); font-size: 1.05rem;
    color: var(--brand); margin-bottom: 0.45rem;
}
.dc-tilt-card p { font-size: 0.88rem; color: var(--brand-muted); line-height: 1.6; }

/* About */
.dc-about { background: var(--white); }
.dc-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.dc-about-text .dc-title { text-align: left; }
.dc-about-text p {
    color: var(--brand-muted); font-size: 1rem; line-height: 1.8;
    margin: 1.25rem 0 1.75rem;
}
.dc-about-visual { position: relative; min-height: 380px; }
.dc-about-shape {
    position: absolute; border-radius: 50%; filter: blur(50px);
    background: var(--brand); opacity: 0.12;
    animation: dcFloat 10s ease-in-out infinite;
}
.dc-shape-1 { width: 180px; height: 180px; top: -10px; right: 0; }
.dc-shape-2 { width: 120px; height: 120px; bottom: 30px; left: -20px; animation-delay: -4s; opacity: 0.08; }
.dc-shape-3 { width: 80px; height: 80px; top: 40%; right: 15%; animation-delay: -7s; opacity: 0.1; }
@keyframes dcFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(12px, -12px); }
}
.dc-about-image-wrap {
    position: relative; z-index: 1; border-radius: 18px;
    overflow: hidden; box-shadow: 0 24px 60px rgba(22, 52, 91, 0.18);
    border: 1px solid rgba(22, 52, 91, 0.08);
}
.dc-about-image-wrap img { width: 100%; height: 400px; object-fit: cover; }
.dc-about-placeholder {
    height: 400px; background: linear-gradient(135deg, #eef2f7, var(--white));
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.75rem; color: var(--brand-muted);
}
.dc-about-placeholder i { font-size: 2.5rem; color: var(--brand); opacity: 0.25; }

/* Buttons — content area */
.dc-main .dc-btn-brand {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; border-radius: 12px;
    background: var(--brand); color: var(--white);
    font-weight: 600; font-size: 0.9rem;
    border: none; transition: var(--transition);
    box-shadow: 0 6px 20px var(--brand-glow);
}
.dc-main .dc-btn-brand:hover {
    background: var(--brand-light); transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--brand-glow);
}
.dc-main .dc-btn-brand.dc-btn-outline {
    background: transparent; color: var(--brand);
    border: 2px solid var(--brand); box-shadow: none;
}
.dc-main .dc-btn-brand.dc-btn-outline:hover {
    background: var(--brand-soft);
}

/* Access denied */
.dc-access-denied-page {
    min-height: calc(100vh - var(--header-h) - 120px);
    display: flex; align-items: center; justify-content: center;
    padding: 3rem 1.5rem;
    background: linear-gradient(180deg, #f7f9fc 0%, var(--white) 100%);
}
.dc-access-denied-card {
    max-width: 520px; width: 100%; text-align: center;
    background: var(--white); border-radius: 20px;
    padding: 2.5rem 2rem; border: 1px solid rgba(22, 52, 91, 0.08);
    box-shadow: 0 20px 60px rgba(22, 52, 91, 0.1);
}
.dc-access-denied-icon {
    width: 72px; height: 72px; margin: 0 auto 1.25rem;
    border-radius: 50%; background: var(--brand-soft);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; color: var(--brand);
}
.dc-access-denied-card h1 {
    font-family: var(--font-display); font-size: 1.5rem;
    color: var(--brand); margin-bottom: 0.75rem;
}
.dc-access-denied-message {
    font-size: 1rem; color: var(--brand); font-weight: 600;
    line-height: 1.6; margin-bottom: 0.5rem;
}
.dc-access-denied-sub {
    font-size: 0.9rem; color: var(--brand-muted); margin-bottom: 1.75rem;
}
.dc-access-denied-actions {
    display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap;
}

/* Session warning modal */
.dc-session-modal {
    position: fixed; inset: 0; z-index: 10003;
    display: none; align-items: center; justify-content: center;
    padding: 1.5rem;
}
.dc-session-modal.show { display: flex; }
.dc-session-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(22, 52, 91, 0.6);
    backdrop-filter: blur(4px);
}
.dc-session-modal-box {
    position: relative; width: 100%; max-width: 400px;
    background: var(--white); border-radius: 18px;
    padding: 2rem 1.75rem; text-align: center;
    box-shadow: 0 24px 60px rgba(22, 52, 91, 0.25);
    border: 1px solid rgba(22, 52, 91, 0.08);
}
.dc-session-modal-icon {
    width: 56px; height: 56px; margin: 0 auto 1rem;
    border-radius: 50%; background: var(--brand-soft);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--brand);
}
.dc-session-modal-box h3 {
    font-family: var(--font-display); font-size: 1.15rem;
    color: var(--brand); margin-bottom: 0.5rem;
}
.dc-session-modal-box p {
    font-size: 0.9rem; color: var(--brand-muted);
    margin-bottom: 1.25rem; line-height: 1.55;
}

/* Badges */
.dc-badge {
    display: inline-block; padding: 0.3rem 0.75rem; border-radius: 20px;
    font-size: 0.75rem; font-weight: 600;
}
.dc-badge.badge-pending { background: rgba(22, 52, 91, 0.08); color: var(--brand); border: 1px solid rgba(22, 52, 91, 0.15); }
.dc-badge.badge-approved { background: var(--brand); color: var(--white); }
.dc-badge.badge-rejected { background: rgba(22, 52, 91, 0.04); color: var(--brand-muted); border: 1px solid rgba(22, 52, 91, 0.2); }
.dc-badge.badge-active-user { background: var(--brand-soft); color: var(--brand); border: 1px solid rgba(22, 52, 91, 0.12); }
.dc-badge.badge-inactive-user { background: rgba(22, 52, 91, 0.04); color: var(--brand-muted); border: 1px solid rgba(22, 52, 91, 0.1); }

/* Form */
.dc-form-section { background: linear-gradient(180deg, #f9fafc 0%, var(--white) 100%); }
.dc-form-wrapper {
    display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.5rem;
    background: var(--white); border-radius: 20px;
    padding: 2.5rem; box-shadow: 0 20px 60px rgba(22, 52, 91, 0.1);
    border: 1px solid rgba(22, 52, 91, 0.08);
}
.dc-form-left .dc-title { text-align: left; font-size: 1.6rem; }
.dc-form-left > p { color: var(--brand-muted); margin: 0.75rem 0 1.5rem; }
.dc-form-features { list-style: none; }
.dc-form-features li {
    display: flex; align-items: center; gap: 0.65rem;
    padding: 0.45rem 0; font-size: 0.92rem; color: var(--brand);
}
.dc-form-features i { color: var(--brand); font-size: 1rem; }

.dc-glass-form {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(22, 52, 91, 0.1);
    border-radius: 16px; padding: 1.75rem;
}
.dc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.dc-input-full { grid-column: 1 / -1; }
.dc-input-group { position: relative; }
.dc-input-group i {
    position: absolute; left: 1.15rem; top: 50%; transform: translateY(-50%);
    color: var(--brand-muted); font-size: 1rem; transition: color 0.3s ease; z-index: 1;
}
.dc-input-group textarea + i,
.dc-input-group:has(textarea) i { top: 1.15rem; transform: none; }
.dc-input-group input,
.dc-input-group select,
.dc-input-group textarea {
    width: 100%; padding: 1rem 1.15rem 1rem 3rem;
    border: 2px solid rgba(22, 52, 91, 0.1); border-radius: 14px;
    font-family: inherit; font-size: 0.95rem; color: var(--brand);
    background: var(--white); transition: all 0.3s ease;
}
.dc-input-group textarea { padding-top: 1rem; min-height: 100px; resize: vertical; }
.dc-input-group input:focus,
.dc-input-group select:focus,
.dc-input-group textarea:focus {
    outline: none; border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-soft);
    transform: translateY(-1px);
}
.dc-input-group:focus-within i { color: var(--brand); }

.dc-main .dc-btn-full.dc-btn-brand { width: 100%; justify-content: center; padding: 1rem; font-size: 1rem; }

/* Toast */
.dc-toast-container {
    position: fixed; top: calc(var(--header-h) + 1rem); right: 1.5rem;
    z-index: 10002; display: flex; flex-direction: column; gap: 0.75rem;
}
.dc-toast {
    padding: 1rem 1.35rem; border-radius: 12px;
    background: var(--white); box-shadow: 0 12px 40px rgba(22, 52, 91, 0.15);
    border-left: 4px solid var(--brand);
    font-size: 0.9rem; font-weight: 500; color: var(--brand);
    animation: toastIn 0.4s ease, toastOut 0.4s ease 4s forwards;
    max-width: 380px;
}
.dc-toast.error { border-left-width: 4px; border-left-color: var(--brand-dark); }
.dc-toast.success { border-left-color: var(--brand); }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }

/* Page hero */
.dc-page-hero {
    padding: 1.75rem 0 1.5rem; background: var(--white);
    border-bottom: 1px solid rgba(22, 52, 91, 0.08);
}
.dc-page-title {
    font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--brand); margin: 0.4rem 0;
}
.dc-page-desc { color: var(--brand-muted); max-width: 600px; font-size: 0.95rem; }

/* Video cards */
.dc-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
.dc-video-card {
    display: flex; flex-direction: column;
    background: var(--white); border-radius: 16px;
    overflow: hidden; border: 1px solid rgba(22, 52, 91, 0.08);
    box-shadow: 0 4px 18px rgba(22, 52, 91, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    height: 100%;
}
.dc-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px var(--brand-glow);
}
.dc-video-card-cover { position: relative; height: 190px; overflow: hidden; }
.dc-video-card-cover img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.55s ease;
}
.dc-video-card:hover .dc-video-card-cover img { transform: scale(1.06); }
.dc-video-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--brand-light), var(--brand));
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; color: rgba(255, 255, 255, 0.4);
}
.dc-video-card-overlay {
    position: absolute; inset: 0; background: rgba(22, 52, 91, 0.35);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.35s ease;
}
.dc-video-card:hover .dc-video-card-overlay { opacity: 1; }
.dc-play-btn {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--white); color: var(--brand);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem; box-shadow: 0 8px 24px rgba(22, 52, 91, 0.25);
}
.dc-video-duration {
    position: absolute; bottom: 0.65rem; right: 0.65rem;
    background: var(--brand); color: var(--white);
    font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.55rem; border-radius: 6px;
}
.dc-video-card-body {
    padding: 1.2rem 1.25rem 1.35rem; flex: 1;
    display: flex; flex-direction: column;
}
.dc-video-tag {
    font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: var(--brand);
    background: var(--brand-soft); padding: 0.2rem 0.55rem;
    border-radius: 4px; align-self: flex-start;
}
.dc-video-card-body h3 {
    font-size: 1rem; font-weight: 600; color: var(--brand);
    margin: 0.55rem 0 0.4rem; line-height: 1.4;
}
.dc-video-card-body p {
    font-size: 0.85rem; color: var(--brand-muted); line-height: 1.5; flex: 1;
}
.dc-video-watch {
    display: inline-flex; align-items: center; gap: 0.4rem;
    margin-top: 1rem; padding: 0.6rem 1.1rem;
    background: var(--brand); color: var(--white);
    border-radius: 10px; font-size: 0.82rem; font-weight: 600;
    align-self: flex-start; transition: var(--transition);
}
.dc-video-card:hover .dc-video-watch { background: var(--brand-light); }

/* Video detail — Udemy / MasterClass style */
.vd-page {
    padding: 1.25rem 0 3.5rem;
    background: linear-gradient(180deg, #f7f9fc 0%, var(--white) 120px);
}
.vd-breadcrumb {
    display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap;
    margin-bottom: 1.25rem; font-size: 0.82rem; color: var(--brand-muted);
}
.vd-breadcrumb a { color: var(--brand-muted); transition: color 0.25s ease; }
.vd-breadcrumb a:hover { color: var(--brand); }
.vd-breadcrumb span { color: var(--brand); font-weight: 600; }

.vd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2rem;
    align-items: start;
}
.vd-main { min-width: 0; }

.video-player-wrapper {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(22, 52, 91, 0.18);
    border: 1px solid rgba(22, 52, 91, 0.08);
    background: var(--brand-dark);
}
.video-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--brand-dark);
}
.video-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.vd-player-error {
    aspect-ratio: 16 / 9;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.75rem; color: rgba(255, 255, 255, 0.8); background: var(--brand);
}
.vd-player-error i { font-size: 2rem; opacity: 0.7; }

.vd-info {
    margin-top: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(22, 52, 91, 0.08);
}
.vd-category-tag {
    display: inline-block;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: var(--brand);
    background: var(--brand-soft); padding: 0.35rem 0.85rem;
    border-radius: 20px; margin-bottom: 0.85rem;
    transition: background 0.25s ease, color 0.25s ease;
}
.vd-category-tag:hover { background: var(--brand); color: var(--white); }
.vd-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--brand); line-height: 1.25;
    margin-bottom: 0.65rem;
}
.vd-duration {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.85rem; font-weight: 600; color: var(--brand-muted);
    margin-bottom: 1rem;
}
.vd-description p {
    color: var(--brand-muted); line-height: 1.8; font-size: 0.95rem;
}

/* Share */
.vd-share { margin-top: 1.75rem; }
.vd-share-title {
    font-family: var(--font-display); font-size: 1.1rem;
    color: var(--brand); margin-bottom: 1rem;
}
.vd-share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}
.vd-share-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem 1rem; border-radius: 12px;
    font-size: 0.82rem; font-weight: 600; font-family: inherit;
    color: var(--brand); background: var(--white);
    border: 1.5px solid rgba(22, 52, 91, 0.15);
    cursor: pointer; text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.vd-share-btn:hover {
    background: var(--brand-soft);
    border-color: var(--brand);
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(22, 52, 91, 0.1);
    color: var(--brand);
}
.vd-share-btn i { font-size: 1.05rem; }
.vd-share-btn-outline {
    background: transparent;
}

/* Related videos panel */
.related-videos-panel {
    position: sticky;
    top: calc(var(--header-h) + 1.25rem);
    background: var(--white);
    border-radius: 18px;
    border: 1px solid rgba(22, 52, 91, 0.08);
    box-shadow: 0 8px 30px rgba(22, 52, 91, 0.08);
    padding: 1.25rem;
    max-height: calc(100vh - var(--header-h) - 2.5rem);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.related-videos-title {
    font-family: var(--font-display); font-size: 1rem;
    color: var(--brand); margin-bottom: 1rem; padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--brand);
    flex-shrink: 0;
}
.related-videos-list {
    overflow-y: auto;
    display: flex; flex-direction: column; gap: 0.5rem;
    padding-right: 0.25rem;
}
.related-videos-list::-webkit-scrollbar { width: 4px; }
.related-videos-list::-webkit-scrollbar-thumb {
    background: rgba(22, 52, 91, 0.2); border-radius: 4px;
}
.related-video-card {
    display: flex; gap: 0.75rem; padding: 0.65rem;
    border-radius: 12px; border: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    text-decoration: none;
}
.related-video-card:hover {
    background: rgba(22, 52, 91, 0.04);
    border-color: rgba(22, 52, 91, 0.1);
    transform: translateX(3px);
}
.related-video-thumb {
    position: relative; width: 112px; height: 64px;
    border-radius: 10px; overflow: hidden; flex-shrink: 0;
    background: var(--brand-soft);
}
.related-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-video-thumb-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--brand-light), var(--brand));
    color: rgba(255, 255, 255, 0.5); font-size: 1.25rem;
}
.related-video-duration {
    position: absolute; bottom: 4px; right: 4px;
    font-size: 0.65rem; font-weight: 700; color: var(--white);
    background: rgba(22, 52, 91, 0.85); padding: 0.15rem 0.4rem;
    border-radius: 4px;
}
.related-video-content { min-width: 0; flex: 1; }
.related-video-content h4 {
    font-size: 0.84rem; font-weight: 600; color: var(--brand);
    line-height: 1.35; margin-bottom: 0.3rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.related-video-content span {
    font-size: 0.72rem; color: var(--brand-muted);
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}

.related-videos-empty {
    text-align: center; padding: 2rem 1rem;
    background: rgba(22, 52, 91, 0.03);
    border-radius: 14px; border: 1px dashed rgba(22, 52, 91, 0.12);
}
.related-videos-empty-icon {
    width: 52px; height: 52px; margin: 0 auto 0.85rem;
    border-radius: 50%; background: var(--brand-soft);
    display: flex; align-items: center; justify-content: center;
}
.related-videos-empty-icon i { font-size: 1.35rem; color: var(--brand); opacity: 0.5; }
.related-videos-empty p { font-size: 0.85rem; color: var(--brand-muted); }

/* Instagram share modal */
.vd-ig-modal {
    position: fixed; inset: 0; z-index: 9999;
    display: none; align-items: center; justify-content: center;
    padding: 1.5rem;
}
.vd-ig-modal.show { display: flex; }
.vd-ig-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(22, 52, 91, 0.55);
    backdrop-filter: blur(4px);
}
.vd-ig-modal-box {
    position: relative; width: 100%; max-width: 420px;
    background: var(--white); border-radius: 18px;
    padding: 2rem 1.75rem 1.75rem;
    box-shadow: 0 24px 60px rgba(22, 52, 91, 0.25);
    border: 1px solid rgba(22, 52, 91, 0.08);
    text-align: center;
}
.vd-ig-modal-close {
    position: absolute; top: 1rem; right: 1rem;
    width: 36px; height: 36px; border-radius: 10px;
    border: 1px solid rgba(22, 52, 91, 0.12);
    background: var(--white); color: var(--brand);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background 0.25s ease;
}
.vd-ig-modal-close:hover { background: var(--brand-soft); }
.vd-ig-modal-icon {
    width: 56px; height: 56px; margin: 0 auto 1rem;
    border-radius: 14px; background: var(--brand-soft);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--brand);
}
.vd-ig-modal-box h3 {
    font-family: var(--font-display); font-size: 1.15rem;
    color: var(--brand); margin-bottom: 0.65rem;
}
.vd-ig-modal-box p {
    font-size: 0.88rem; color: var(--brand-muted);
    line-height: 1.6; margin-bottom: 1.25rem;
}
.vd-ig-modal-actions {
    display: flex; flex-direction: column; gap: 0.65rem;
}

/* Empty state */
.dc-empty {
    text-align: center; padding: 4rem 2rem;
    background: var(--white); border-radius: 20px;
    border: 2px dashed rgba(22, 52, 91, 0.15);
    box-shadow: 0 8px 30px rgba(22, 52, 91, 0.05);
}
.dc-empty-visual {
    width: 88px; height: 88px; margin: 0 auto 1.5rem;
    background: var(--brand-soft); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(22, 52, 91, 0.1);
}
.dc-empty-visual i { font-size: 2rem; color: var(--brand); opacity: 0.5; }
.dc-empty h3 {
    font-family: var(--font-display); color: var(--brand);
    font-size: 1.25rem; margin-bottom: 0.5rem;
}
.dc-empty p { color: var(--brand-muted); font-size: 0.92rem; max-width: 400px; margin: 0 auto; }

.dc-alert {
    padding: 1.25rem; background: var(--brand-soft); color: var(--brand);
    border-radius: 12px; text-align: center; border: 1px solid rgba(22, 52, 91, 0.12);
}

/* Auth */
.dc-auth-page {
    min-height: calc(100vh - var(--header-h));
    display: flex; align-items: center; justify-content: center;
    padding: 2.5rem 1.5rem; background: #f9fafc;
}
.dc-auth-card {
    width: 100%; max-width: 440px;
    background: var(--white); border-radius: 18px;
    padding: 2.25rem; box-shadow: 0 16px 50px rgba(22, 52, 91, 0.1);
    border: 1px solid rgba(22, 52, 91, 0.08);
}
.dc-auth-card h1 {
    font-family: var(--font-display); font-size: 1.6rem;
    color: var(--brand); text-align: center; margin-bottom: 0.4rem;
}
.dc-auth-sub { text-align: center; color: var(--brand-muted); margin-bottom: 1.75rem; font-size: 0.9rem; }
.dc-auth-footer { text-align: center; margin-top: 1.25rem; font-size: 0.88rem; color: var(--brand-muted); }
.dc-auth-footer a { color: var(--brand); font-weight: 600; }
.dc-auth-error {
    background: var(--brand-soft); color: var(--brand);
    padding: 0.75rem 1rem; border-radius: 10px;
    margin-bottom: 1.25rem; font-size: 0.88rem;
    border: 1px solid rgba(22, 52, 91, 0.15);
}

/* Header user dropdown */
.dc-user-dropdown { position: relative; }
.dc-user-trigger {
    display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 0.35rem 0.65rem 0.35rem 0.35rem;
    background: rgba(22, 52, 91, 0.06);
    border: 1.5px solid rgba(22, 52, 91, 0.12);
    border-radius: 40px; cursor: pointer;
    font-family: inherit; font-size: 0.85rem; font-weight: 600;
    color: #16345B; transition: all 0.25s ease;
}
.dc-user-trigger:hover,
.dc-user-dropdown.open .dc-user-trigger {
    background: rgba(22, 52, 91, 0.1);
    border-color: rgba(22, 52, 91, 0.22);
    box-shadow: 0 4px 14px rgba(22, 52, 91, 0.1);
}
.dc-user-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: #16345B; color: #FFFFFF;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px;
}
.dc-user-name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-user-chevron { font-size: 0.7rem; transition: transform 0.25s ease; opacity: 0.7; }
.dc-user-dropdown.open .dc-user-chevron { transform: rotate(180deg); }
.dc-user-menu {
    position: absolute; top: calc(100% + 8px); right: 0;
    min-width: 220px; background: #FFFFFF;
    border-radius: 14px; border: 1px solid rgba(22, 52, 91, 0.1);
    box-shadow: 0 12px 40px rgba(22, 52, 91, 0.15);
    padding: 0.5rem; opacity: 0; visibility: hidden;
    transform: translateY(-8px); transition: all 0.25s ease;
    z-index: 10001;
}
.dc-user-dropdown.open .dc-user-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.dc-user-menu-item {
    display: flex; align-items: center; gap: 0.65rem;
    padding: 0.75rem 1rem; border-radius: 10px;
    font-size: 0.88rem; font-weight: 500; color: #16345B;
    transition: background 0.2s ease, transform 0.2s ease;
}
.dc-user-menu-item i { font-size: 1.05rem; opacity: 0.75; width: 20px; text-align: center; }
.dc-user-menu-item:hover {
    background: rgba(22, 52, 91, 0.07);
    transform: translateX(3px);
}
.dc-user-menu-logout {
    border-top: 1px solid rgba(22, 52, 91, 0.08);
    margin-top: 0.35rem; padding-top: 0.85rem;
    border-radius: 0 0 10px 10px;
}

/* Profile — premium panel */
.dc-profile-page {
    padding: 2rem 0 3.5rem;
    background: linear-gradient(180deg, #f7f9fc 0%, var(--white) 200px);
}
.dc-profile-hero {
    background: var(--white); border-radius: 20px;
    padding: 2rem 2.25rem; margin-bottom: 1.5rem;
    border: 1px solid rgba(22, 52, 91, 0.08);
    box-shadow: 0 12px 40px rgba(22, 52, 91, 0.08);
    display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.dc-profile-hero-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, #16345B, #1f4d7a);
    color: var(--white); display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 700; flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(22, 52, 91, 0.25);
}
.dc-profile-hero-info { flex: 1; min-width: 200px; }
.dc-profile-hero-info h1 {
    font-family: var(--font-display); font-size: 1.65rem;
    color: var(--brand); margin-bottom: 0.25rem;
}
.dc-profile-hero-info p { color: var(--brand-muted); font-size: 0.92rem; margin-bottom: 0.65rem; }
.dc-profile-hero-badge { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.dc-profile-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.dc-profile-panel {
    background: var(--white); border-radius: 18px;
    padding: 1.5rem 1.65rem; border: 1px solid rgba(22, 52, 91, 0.08);
    box-shadow: 0 8px 28px rgba(22, 52, 91, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dc-profile-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(22, 52, 91, 0.1);
}
.dc-profile-panel h2 {
    font-family: var(--font-display); font-size: 1.05rem;
    color: var(--brand); margin-bottom: 1.15rem; padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--brand);
    display: flex; align-items: center; gap: 0.5rem;
}
.dc-profile-panel h2 i { font-size: 1.1rem; opacity: 0.8; }
.dc-profile-info-item {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 0.75rem 0; border-bottom: 1px solid rgba(22, 52, 91, 0.06);
}
.dc-profile-info-item:last-child { border-bottom: none; }
.dc-profile-info-icon {
    width: 32px; height: 32px; border-radius: 8px;
    background: var(--brand-soft); color: var(--brand);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; flex-shrink: 0;
}
.dc-profile-info-text { flex: 1; min-width: 0; }
.dc-profile-info-label {
    display: block; font-size: 0.72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--brand-muted); margin-bottom: 0.15rem;
}
.dc-profile-info-value {
    font-size: 0.9rem; font-weight: 500; color: var(--brand);
    word-break: break-word; overflow-wrap: anywhere;
}
.dc-profile-notice {
    display: flex; align-items: flex-start; gap: 0.65rem;
    padding: 1rem 1.15rem; border-radius: 12px;
    background: var(--brand-soft); color: var(--brand);
    font-size: 0.88rem; line-height: 1.55; margin-bottom: 1.5rem;
    border: 1px solid rgba(22, 52, 91, 0.12);
    width: 100%;
}
.dc-profile-notice i { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }
.dc-days-expired { color: var(--brand); font-weight: 600; opacity: 0.7; }
.dc-profile-actions {
    margin-top: 1.75rem; display: flex; gap: 1rem; flex-wrap: wrap;
}

/* Footer */
.dc-footer {
    background: var(--brand-dark); color: rgba(255, 255, 255, 0.75);
    padding: 3.5rem 0 0; position: relative; overflow: hidden;
}
.dc-footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
.dc-footer-glow {
    position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
    width: 500px; height: 160px;
    background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 70%);
}
.dc-footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2rem;
    padding-bottom: 2.5rem; position: relative; z-index: 1;
}
.dc-footer-logo { font-size: 1.3rem; display: inline-block; margin-bottom: 0.85rem; }
.dc-footer-logo .logo-dream { color: var(--white); }
.dc-footer-logo .logo-gold { color: rgba(255, 255, 255, 0.85); }
.dc-footer-desc { font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.25rem; color: rgba(255,255,255,0.65); }
.dc-footer-social { display: flex; gap: 0.6rem; }
.dc-footer-social a {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--white); transition: var(--transition);
}
.dc-footer-social a:hover { background: var(--white); color: var(--brand); }
.dc-footer-col h4 {
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 2px;
    color: var(--white); margin-bottom: 1rem; font-weight: 700;
}
.dc-footer-col ul { list-style: none; }
.dc-footer-col li { margin-bottom: 0.5rem; }
.dc-footer-col a { font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); }
.dc-footer-col a:hover { color: var(--white); }
.dc-footer-contact li {
    display: flex; align-items: flex-start; gap: 0.55rem;
    font-size: 0.88rem; margin-bottom: 0.65rem; color: rgba(255,255,255,0.65);
}
.dc-footer-contact i { color: var(--white); opacity: 0.7; margin-top: 0.15rem; }
.dc-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0; text-align: center; font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 1200px) {
    .dc-category-grid { grid-template-columns: repeat(2, 1fr); }
    .dc-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .dc-category-grid, .dc-video-grid { grid-template-columns: repeat(2, 1fr); }
    .dc-profile-grid { grid-template-columns: 1fr 1fr; }
    .dc-tilt-grid { grid-template-columns: repeat(2, 1fr); }
    .dc-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .dc-form-wrapper, .dc-about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .vd-layout { grid-template-columns: 1fr; }
    .related-videos-panel { position: static; max-height: none; }
    .dc-about-visual { min-height: 280px; }
    .dc-about-image-wrap img { height: 320px; }
}

@media (max-width: 992px) {
    .dc-section { padding: 3rem 0; }
    .dc-title { font-size: clamp(1.45rem, 5vw, 2rem); }
    .dc-page-title { font-size: clamp(1.35rem, 5vw, 1.85rem); }
    .vd-title { font-size: clamp(1.35rem, 5vw, 1.85rem); }
    .dc-tilt-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .dc-main { padding-bottom: calc(4.75rem + env(safe-area-inset-bottom)); }
    .dc-section { padding: 2.25rem 0; }
    .dc-categories { padding-top: 1rem; padding-bottom: 2rem; }
    .dc-category-grid, .dc-video-grid, .dc-tilt-grid { grid-template-columns: 1fr; gap: 1rem; }
    .dc-form-grid { grid-template-columns: 1fr; }
    .dc-form-wrapper { padding: 1.25rem; }
    .dc-footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .dc-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
    .dc-profile-grid { grid-template-columns: 1fr; }
    .dc-profile-hero { padding: 1.5rem; flex-direction: column; text-align: center; }
    .dc-profile-hero-info h1 { font-size: clamp(1.35rem, 6vw, 1.65rem); }
    .dc-profile-hero-badge { justify-content: center; }
    .dc-profile-panel { padding: 1.25rem; }
    .dc-user-name { display: none; }
    .dc-cat-card-media { height: 190px; }
    .dc-cat-card-body h3 { font-size: 1rem; }
    .dc-cat-card-body { padding: 1.15rem 1.25rem 1.25rem; }
    .cursor-glow { display: none; }
    .vd-page { padding: 0.75rem 0 2.5rem; }
    .vd-layout { gap: 1.5rem; }
    .vd-share-buttons { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
    .vd-share-btn { min-height: 44px; padding: 0.7rem 0.85rem; font-size: 0.78rem; }
    .related-videos-panel { padding: 1rem; }
    .related-video-card { padding: 0.55rem; }
    .related-video-thumb { width: 96px; height: 54px; }
    .related-video-content h4 { font-size: 0.8rem; }
    .video-player-wrapper { border-radius: 14px; }
    .dc-empty { padding: 2.5rem 1.25rem; }
    .dc-empty h3 { font-size: 1.1rem; }
    .dc-auth-page { padding: 1.5rem 1rem; min-height: auto; }
    .dc-auth-card { padding: 1.75rem 1.35rem; }
    .dc-auth-card h1 { font-size: clamp(1.35rem, 6vw, 1.6rem); }
    .dc-glass-form { padding: 1.35rem; }
    .dc-input-group input, .dc-input-group select, .dc-input-group textarea {
        font-size: 16px; min-height: 44px;
    }
    .dc-main .dc-btn-full.dc-btn-brand,
    .dc-video-watch,
    .dc-btn { min-height: 44px; }
    .dc-toast-container { right: 1rem; left: 1rem; }
    .dc-toast { max-width: none; }
    .dc-page-hero { padding: 1.25rem 0 1rem; }
    .dc-page-desc { font-size: 0.9rem; }
    p { font-size: 15px; line-height: 1.6; }
    .dc-about-image-wrap img { height: 260px; }
    .dc-stat-item { padding: 1rem; }
}

@media (max-width: 576px) {
    .dc-container { padding: 0 14px; }
    .dc-section { padding: 1.85rem 0; }
    .dc-category-grid, .dc-video-grid { gap: 0.85rem; }
    .dc-stats-grid { grid-template-columns: 1fr; }
    .vd-share-buttons { grid-template-columns: 1fr; }
    .dc-profile-actions { flex-direction: column; }
    .dc-profile-actions .dc-btn { width: 100%; justify-content: center; }
    .dc-video-card-cover { height: 170px; }
    .dc-cat-card-media { height: 175px; }
    .dc-eyebrow { font-size: 0.68rem; letter-spacing: 2px; }
    .dc-subtitle { font-size: 0.92rem; }
    .dc-form-left .dc-title { font-size: 1.35rem; }
    .dc-user-menu { min-width: 200px; right: -0.5rem; }
    .dc-user-menu-item { min-height: 44px; }
    .dc-access-denied-page { padding: 2rem 1rem; min-height: auto; }
    .dc-access-denied-card { padding: 1.75rem 1.25rem; }
    .dc-access-denied-actions { flex-direction: column; align-items: stretch; }
    .dc-access-denied-actions .dc-btn { width: 100%; justify-content: center; min-height: 44px; }
    .dc-btn-brand { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
}

/* DC Perde Kütüphanesi */
.dc-library-page { padding-top: 2rem; padding-bottom: 3rem; }
.dc-library-page .dc-section-head { text-align: center; position: relative; }
.dc-library-page .dc-back-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    color: var(--dc-brand); font-weight: 600; font-size: 0.9rem;
    margin-bottom: 1rem; text-decoration: none;
}
.dc-library-page .dc-back-link:hover { opacity: 0.8; }
.dc-library-badge { position: static; display: inline-flex; margin-top: 1rem; }

.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 2.5rem;
    justify-items: center;
}
.library-card {
    width: 100%;
    max-width: 340px;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(22, 52, 91, 0.08);
    box-shadow: 0 18px 45px rgba(22, 52, 91, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.library-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 55px rgba(22, 52, 91, 0.16);
}
.library-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f4f8, #e8edf3);
}
.library-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.library-card:hover .library-card-image img { transform: scale(1.06); }
.library-card-content {
    padding: 20px;
    text-align: center;
}
.library-card-content h3 {
    color: var(--dc-brand);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 1rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.library-card-btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
}

/* Kitap görüntüleme */
.dc-book-view-body .dc-main { padding: 0; padding-bottom: 0 !important; }
.dc-book-view-body .dc-footer { margin-top: 0; }
.dc-book-view-body .dc-bottom-nav { display: none; }

.book-view-page {
    min-height: calc(100vh - 72px);
    background: #f5f7fa;
}
.book-view-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 24px;
}
.book-view-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.book-view-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--dc-brand);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.book-view-back:hover { opacity: 0.8; }
.book-view-header h1 {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--dc-brand);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.book-toolbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(22, 52, 91, 0.08);
    box-shadow: 0 8px 24px rgba(22, 52, 91, 0.06);
}
.book-toolbar-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dc-brand);
    margin-right: 0.25rem;
}
.book-toolbar-btn {
    border: 1px solid rgba(22, 52, 91, 0.12);
    background: #fff;
    color: var(--dc-brand);
    border-radius: 10px;
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.book-toolbar-btn:hover,
.book-toolbar-btn.active {
    background: var(--dc-brand);
    color: #fff;
    border-color: var(--dc-brand);
}
.book-frame-wrap {
    width: 100%;
    height: calc(100vh - 220px);
    min-height: 720px;
    border-radius: 18px;
    overflow: auto;
    box-shadow: 0 20px 60px rgba(22, 52, 91, 0.16);
    background: #fff;
    border: 1px solid rgba(22, 52, 91, 0.08);
    -webkit-overflow-scrolling: touch;
}
.book-frame-wrap:fullscreen {
    border-radius: 0;
    padding: 0;
    background: #fff;
}
.book-frame-wrap:fullscreen .book-frame {
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
}
.book-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #fff;
    transition: transform 0.2s ease;
}

@media (max-width: 992px) {
    .library-card-image { height: 220px; }
    .book-view-page { min-height: calc(100vh - 64px); }
    .book-frame-wrap {
        height: calc(100vh - 200px);
        min-height: 640px;
    }
}
@media (max-width: 768px) {
    .book-view-container { padding: 12px; }
    .book-view-header { gap: 0.75rem; }
    .book-toolbar { gap: 0.4rem; }
    .book-toolbar-btn { padding: 0.4rem 0.7rem; font-size: 0.8rem; }
    .book-frame-wrap {
        height: calc(100vh - 160px);
        min-height: 600px;
        border-radius: 12px;
    }
}
@media (max-width: 600px) {
    .library-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .library-card { max-width: 320px; }
    .library-card-image { height: 220px; }
}
