/* ==========================================================================
   DyarLinks — main stylesheet
   ========================================================================== */

:root {
	--bg: #050816;
	--bg-2: #081032;
	--surface: rgba(12, 19, 50, .62);
	--surface-2: rgba(18, 27, 66, .7);
	--line: rgba(76, 106, 255, .32);
	--line-soft: rgba(148, 163, 255, .14);
	--blue: #1f6bff;
	--blue-2: #3b82f6;
	--violet: #8b3dff;
	--amber: #f59e0b;
	--green: #10b981;
	--yellow: #facc15;
	--text: #eef1ff;
	--muted: #a3add0;
	--grad: linear-gradient(90deg, #1f8bff 0%, #4f5bff 50%, #9b3dff 100%);
	--radius-lg: 18px;
	--radius: 14px;
	--radius-sm: 10px;
	--font-head: "Lexend", "Segoe UI", system-ui, sans-serif;
	--font-body: "Inter", "Segoe UI", system-ui, sans-serif;
	--wrap: 1140px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--bg);
	background-image:
		radial-gradient(ellipse 80% 50% at 50% -10%, rgba(40, 70, 220, .25), transparent 70%),
		radial-gradient(ellipse 60% 40% at 100% 100%, rgba(120, 50, 240, .12), transparent 70%);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

main { flex: 1; }

img, svg { max-width: 100%; }
a { color: #7aa2ff; }
a:hover { color: #a5c0ff; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0; letter-spacing: -.01em; }

:focus-visible { outline: 2px solid #7aa2ff; outline-offset: 3px; border-radius: 6px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.dl-skip {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	padding: 10px 16px; border-radius: 8px;
	background: var(--blue); color: #fff; text-decoration: none;
}
.dl-skip:focus { top: 12px; }

.dl-container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
.dl-narrow { max-width: 820px; }

.dl-icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex-shrink: 0; }

.dl-grad {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Buttons ------------------------------------------------------------------ */
.dl-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 28px;
	border-radius: 999px;
	font-family: var(--font-head); font-weight: 500; font-size: 15px;
	text-decoration: none; cursor: pointer; border: 1px solid transparent;
	transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.dl-btn .dl-icon { font-size: 18px; }
.dl-btn-primary {
	background: var(--grad); color: #fff;
	box-shadow: 0 8px 28px -8px rgba(60, 90, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.dl-btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 34px -8px rgba(90, 80, 255, .95); }
.dl-btn-ghost { color: #fff; border-color: rgba(139, 92, 246, .6); background: rgba(10, 14, 40, .5); }
.dl-btn-ghost:hover { color: #fff; background: rgba(60, 50, 160, .25); }
.dl-btn-sm { padding: 10px 22px; font-size: 14px; }

/* Header ------------------------------------------------------------------- */
.dl-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(5, 8, 22, .78);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line-soft);
}
.dl-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 20px; }

.dl-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.dl-brand-icon { font-size: 30px; color: #3b82f6; }
.dl-brand-icon path:first-child { stroke: #8b5cf6; }
.dl-brand-text { font-family: var(--font-head); font-weight: 700; font-size: 26px; letter-spacing: -.02em; }
.custom-logo { max-height: 44px; width: auto; display: block; }

.dl-nav { display: flex; align-items: center; gap: 28px; }
.dl-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.dl-menu a { color: #dbe2ff; text-decoration: none; font-size: 15px; font-weight: 500; }
.dl-menu a:hover,
.dl-menu .current-menu-item > a { color: #fff; }

.dl-nav-toggle {
	display: none; background: none; border: 1px solid var(--line); color: #fff;
	width: 44px; height: 44px; border-radius: 12px; cursor: pointer; font-size: 22px;
	align-items: center; justify-content: center;
}
.dl-nav-toggle .dl-i-close { display: none; }
.dl-nav-toggle[aria-expanded="true"] .dl-i-close { display: inline-block; }
.dl-nav-toggle[aria-expanded="true"] .dl-i-open { display: none; }

/* Waves -------------------------------------------------------------------- */
.dl-waves { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.dl-wave { position: absolute; top: 0; width: 44%; height: 100%; filter: drop-shadow(0 0 22px rgba(59, 130, 246, .55)); }
.dl-wave-l { left: 0; -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 98%); mask-image: linear-gradient(90deg, #000 45%, transparent 98%); }
.dl-wave-r { right: 0; filter: drop-shadow(0 0 22px rgba(139, 92, 246, .55)); -webkit-mask-image: linear-gradient(270deg, #000 45%, transparent 98%); mask-image: linear-gradient(270deg, #000 45%, transparent 98%); }
.dl-waves-hero { -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 78%); mask-image: linear-gradient(180deg, #000 45%, transparent 78%); }
.dl-waves-hero .dl-wave { height: 70%; top: 12%; opacity: .85; }
.dl-waves-panel .dl-wave-l { display: none; }
.dl-waves-panel .dl-wave-r { width: 40%; top: 30%; height: 90%; opacity: .75; }
.dl-waves-soft .dl-wave-r { opacity: .45; }
.dl-waves-single { position: fixed; }
.dl-waves-single .dl-wave { top: 34%; height: 75%; width: 42%; opacity: .85; }
.dl-waves-listing { -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 70%); mask-image: linear-gradient(180deg, #000 30%, transparent 70%); }
.dl-waves-listing .dl-wave { height: 420px; opacity: .6; }

/* Hero --------------------------------------------------------------------- */
.dl-hero { position: relative; padding: 44px 0 20px; overflow: hidden; }
.dl-hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }

.dl-badge {
	display: inline-flex; align-items: center; gap: 8px;
	margin: 0 0 22px; padding: 8px 20px;
	border: 1px solid rgba(139, 92, 246, .65); border-radius: 999px;
	background: rgba(12, 14, 44, .7);
	font-size: 13px; color: #d6dcff;
}
.dl-badge .dl-icon { color: #a78bfa; font-size: 15px; }
.dl-badge span { background: linear-gradient(90deg, #fff 30%, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }

.dl-hero-title {
	font-size: clamp(52px, 10vw, 88px);
	font-weight: 700;
	letter-spacing: -.04em;
	line-height: 1;
	color: #fff;
	margin-bottom: 22px;
}
.dl-hero-text { max-width: 600px; margin: 0 auto 30px; font-size: 17px; color: #d5dbf5; line-height: 1.55; }
.dl-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Stats -------------------------------------------------------------------- */
.dl-stats {
	list-style: none; margin: 56px 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.dl-stat {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	padding: 22px 12px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(16, 24, 64, .7), rgba(8, 12, 34, .7));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 0 30px -12px rgba(40, 80, 255, .5);
}
.dl-stat-icon { font-size: 36px; margin-bottom: 10px; line-height: 1; }
.dl-stat strong { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: #fff; }
.dl-stat span:last-child { font-size: 14px; color: var(--muted); }

.dl-tone-blue { color: #3b82f6; }
.dl-tone-violet { color: #a78bfa; }
.dl-tone-amber { color: #f97316; }
.dl-tone-green { color: #10b981; }

/* Sections ----------------------------------------------------------------- */
.dl-section { padding: 70px 0 20px; position: relative; }
.dl-section-head { text-align: center; margin-bottom: 34px; }
.dl-section-head h2,
.dl-section-head h1 { font-size: clamp(28px, 4vw, 36px); font-weight: 700; color: #fff; }
.dl-section-head h2::after {
	content: ""; display: block; width: 36px; height: 2px; margin: 12px auto 16px;
	background: var(--grad); border-radius: 2px;
}
.dl-section-head p { margin: 0; color: #cfd6f2; font-size: 16px; }

.dl-feature-grid { display: grid; grid-template-columns: 1.08fr 1fr 1.08fr; gap: 20px; }
.dl-feature {
	padding: 24px 26px 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: linear-gradient(170deg, rgba(20, 28, 72, .6), rgba(7, 11, 32, .75));
}
.dl-feature h3 { font-size: 19px; font-weight: 600; margin: 18px 0 8px; color: #fff; }
.dl-feature p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

.dl-feature-icon,
.dl-panel-icon {
	width: 68px; height: 68px; border-radius: 14px;
	display: inline-flex; align-items: center; justify-content: center; font-size: 32px; color: #fff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 26px -10px rgba(0, 0, 0, .8);
}
.dl-panel-icon { width: 50px; height: 50px; font-size: 26px; border-radius: 12px; flex-shrink: 0; }
.dl-tile-blue { background: linear-gradient(160deg, #3b82f6, #1e3a8a); }
.dl-tile-blue .dl-icon { color: #e0f2fe; }
.dl-tile-violet { background: linear-gradient(160deg, #7c3aed, #4c1d95); }
.dl-tile-violet .dl-icon { color: #ede9fe; }
.dl-tile-amber { background: linear-gradient(160deg, #7c2d12, #431407); }
.dl-tile-amber .dl-icon { color: #f97316; }

.dl-panel {
	position: relative; overflow: hidden;
	display: flex; gap: 28px;
	margin-top: 34px; padding: 26px 30px 32px;
	border: 1px solid rgba(59, 108, 255, .55);
	border-radius: var(--radius-lg);
	background: linear-gradient(180deg, rgba(14, 26, 84, .72), rgba(8, 12, 38, .85));
	box-shadow: 0 0 40px -18px rgba(50, 90, 255, .8);
}
.dl-panel-body { position: relative; z-index: 1; flex: 1; min-width: 0; }
.dl-panel h2 { font-size: 22px; font-weight: 600; color: #fff; margin: 8px 0 18px; }
.dl-panel p { color: #d3d9f3; margin: 0 0 16px; max-width: 72ch; }
.dl-panel p:last-child { margin-bottom: 0; }

.dl-checks { display: grid; grid-template-columns: 1fr 1fr; }
.dl-checks ul { list-style: none; margin: 0; padding: 0 20px 0 0; display: grid; gap: 14px; }
.dl-checks ul + ul { padding: 0 0 0 60px; border-left: 1px solid var(--line-soft); }
.dl-checks li { display: flex; align-items: center; gap: 14px; color: #dbe1fb; font-size: 15px; }
.dl-checks .dl-icon { font-size: 22px; color: #3b82f6; }

/* Cards (listing) ---------------------------------------------------------- */
.dl-latest { padding-bottom: 60px; }
.dl-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.dl-card-link {
	display: flex; align-items: center; gap: 16px;
	padding: 16px 18px;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	background: var(--surface);
	text-decoration: none; color: var(--text);
	transition: border-color .2s ease, background-color .2s ease;
}
.dl-card-link:hover { border-color: var(--line); background: var(--surface-2); color: #fff; }
.dl-card-icon {
	width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(59, 130, 246, .14); color: #60a5fa; font-size: 24px;
}
.dl-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dl-card-title { font-family: var(--font-head); font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-card-meta { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.dl-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.dl-card-arrow { color: #7aa2ff; font-size: 20px; transition: transform .2s ease; }
.dl-card-link:hover .dl-card-arrow { transform: translateX(3px); }

/* Search ------------------------------------------------------------------- */
.dl-search {
	display: flex; align-items: center; gap: 10px;
	max-width: 560px; margin: 22px auto 0;
	padding: 6px 6px 6px 18px;
	border: 1px solid var(--line); border-radius: 999px;
	background: rgba(8, 12, 36, .8);
}
.dl-search > .dl-icon { color: var(--muted); font-size: 18px; }
.dl-search input {
	flex: 1; min-width: 0; background: none; border: 0; color: #fff; font: inherit; padding: 8px 0;
}
.dl-search input::placeholder { color: #7c86ad; }
.dl-search input:focus { outline: none; }
.dl-search:focus-within { border-color: #6d8bff; }

/* Listing / pages ---------------------------------------------------------- */
.dl-listing { position: relative; padding: 50px 0 80px; }
.dl-listing-head h1 { font-size: clamp(26px, 4vw, 34px); }
.dl-page { display: block; margin-top: 0; }
.dl-page h1 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 18px; }
.dl-404-code { font-family: var(--font-head); font-size: 80px; font-weight: 800; line-height: 1; margin: 0 0 10px !important; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dl-404 .dl-search { margin: 20px 0 24px; }

.dl-pagination { margin-top: 34px; }
.dl-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.dl-pagination .page-numbers {
	min-width: 42px; height: 42px; padding: 0 14px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--line-soft); border-radius: 10px;
	color: #dbe2ff; text-decoration: none; background: var(--surface);
}
.dl-pagination .page-numbers.current { background: var(--grad); border-color: transparent; color: #fff; }

.dl-empty { text-align: center; color: var(--muted); padding: 28px 16px; margin: 0; }

/* ==========================================================================
   Download page (image 2)
   ========================================================================== */
.dl-single { position: relative; padding: 46px 0 90px; overflow: hidden; }
.dl-single-inner { max-width: 900px; }

.dl-rings {
	position: fixed; top: 24%; width: 380px; height: 380px; border-radius: 50%;
	pointer-events: none; z-index: 0;
	background: repeating-radial-gradient(circle, transparent 0 88px, rgba(90, 120, 255, .14) 89px 90px);
	-webkit-mask-image: radial-gradient(circle, #000 60%, transparent 71%);
	mask-image: radial-gradient(circle, #000 60%, transparent 71%);
}
.dl-rings-l { left: -190px; }
.dl-rings-r { right: -190px; top: 8%; }

.dl-official { display: flex; flex-direction: column; align-items: center; margin-bottom: 22px; }
.dl-crown { font-size: 40px; margin-bottom: 4px; filter: drop-shadow(0 4px 10px rgba(250, 204, 21, .45)); }
.dl-official-row { display: flex; align-items: center; width: 100%; justify-content: center; gap: 16px; }
.dl-official-line { height: 2px; flex: 0 1 110px; background: linear-gradient(90deg, transparent, #3b82f6); border-radius: 2px; }
.dl-official-line:last-child { background: linear-gradient(90deg, #3b82f6, transparent); }
.dl-official-btn {
	display: inline-block; text-align: center; line-height: 1.3;
	padding: 12px 28px;
	border: 2px solid #2f6bff; border-radius: 999px;
	background: rgba(6, 10, 34, .9);
	color: #fff; text-decoration: none;
	font-family: var(--font-head); font-weight: 600; font-size: clamp(16px, 2.4vw, 21px);
	box-shadow: 0 0 22px -4px rgba(47, 107, 255, .75), inset 0 0 14px rgba(47, 107, 255, .2);
	transition: box-shadow .2s ease;
}
.dl-official-btn span { color: var(--yellow); }
.dl-official-btn:hover { color: #fff; box-shadow: 0 0 34px -2px rgba(47, 107, 255, .95), inset 0 0 14px rgba(47, 107, 255, .3); }

.dl-box {
	position: relative;
	padding: 28px 30px 30px;
	border: 1px solid rgba(148, 170, 255, .28);
	border-radius: 24px;
	background: linear-gradient(180deg, rgba(22, 30, 64, .72), rgba(12, 17, 42, .82));
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 0 0 1px rgba(59, 130, 246, .08), 0 0 50px -14px rgba(59, 130, 246, .55), 0 30px 60px -30px rgba(0, 0, 0, .9);
}

.dl-box-head {
	display: flex; align-items: center; gap: 22px;
	padding: 18px 26px;
	border: 1px solid rgba(59, 130, 246, .55);
	border-left: 6px solid #1f8bff;
	border-radius: 10px;
	background: linear-gradient(90deg, rgba(19, 45, 130, .85), rgba(12, 30, 92, .6));
	margin-bottom: 20px;
}
.dl-box-doc { font-size: 46px; color: #93c5fd; display: inline-flex; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4)); }
.dl-box-head h1 { font-size: clamp(19px, 3vw, 28px); font-weight: 600; color: #fff; word-break: break-word; }

.dl-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.dl-row {
	display: grid; grid-template-columns: 72px 1fr auto; align-items: center;
	gap: 18px;
	padding: 12px 14px 12px 26px;
	border: 1px solid rgba(148, 163, 255, .16);
	border-radius: 10px;
	background: rgba(22, 28, 52, .78);
}
.dl-row-logo { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; }
.dl-row-logo img,
.dl-row-logo svg { width: 100%; height: 100%; object-fit: contain; }
.dl-row-name {
	font-family: var(--font-head); font-weight: 600; font-size: clamp(16px, 2.2vw, 22px); color: #fff;
	padding-right: 20px; border-right: 1px solid rgba(148, 163, 255, .2);
	min-height: 44px; display: flex; align-items: center;
	overflow-wrap: anywhere;
}
.dl-row-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-width: 228px; padding: 14px 26px;
	border-radius: 999px;
	background-color: var(--srv, #3b82f6);
	background-image: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(0, 0, 0, .08));
	color: #fff; text-decoration: none;
	font-family: var(--font-head); font-weight: 600; font-size: 19px;
	box-shadow: 0 8px 22px -10px var(--srv, #3b82f6), inset 0 1px 0 rgba(255, 255, 255, .25);
	transition: transform .15s ease, filter .2s ease;
}
.dl-row-btn .dl-icon { font-size: 24px; }
.dl-row-btn:hover { color: #fff; filter: brightness(1.1); transform: translateY(-1px); }
.dl-row-btn:active { transform: translateY(0); }

/* Episodes ----------------------------------------------------------------- */
.dl-eps-intro { text-align: center; color: #cfd6f2; margin: 6px 0 18px; font-size: 15px; }
.dl-ep-grid {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
	max-width: 780px; margin: 0 auto;
}
.dl-ep-btn { flex: 0 1 178px; min-width: 0; }
.dl-ep-btn {
	display: flex; align-items: center; gap: 12px;
	padding: 10px 14px 10px 10px;
	border: 1px solid rgba(148, 163, 255, .2);
	border-radius: 12px;
	background: rgba(22, 28, 52, .78);
	color: #fff; cursor: pointer; text-align: left;
	font: 500 15px/1.3 var(--font-head);
	transition: border-color .2s ease, background-color .2s ease;
}
.dl-ep-num {
	width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(59, 130, 246, .18); color: #93c5fd; font-weight: 700;
}
.dl-ep-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-ep-btn:hover { border-color: rgba(96, 140, 255, .6); background: rgba(30, 40, 90, .8); }
.dl-ep-btn[aria-selected="true"] { border-color: transparent; background: var(--grad); }
.dl-ep-btn[aria-selected="true"] .dl-ep-num { background: rgba(255, 255, 255, .22); color: #fff; }

.dl-ep-panel { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(148, 163, 255, .16); }
.dl-ep-panel:not([hidden]) { animation: dl-reveal .28s ease; }
.dl-ep-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dl-ep-panel-head h2 { font-size: 20px; font-weight: 600; color: #fff; }
.dl-ep-close {
	display: inline-flex; align-items: center; gap: 8px;
	background: none; border: 1px solid rgba(148, 163, 255, .25); border-radius: 999px;
	color: #cfd6f2; padding: 8px 16px; cursor: pointer; font: 500 14px var(--font-body);
}
.dl-ep-close:hover { color: #fff; border-color: rgba(148, 163, 255, .5); }

@keyframes dl-reveal {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

/* Standalone page + note ------------------------------------------------- */
.dl-standalone .dl-single { padding: 56px 0 70px; min-height: 100vh; }

.dl-note {
	margin-top: 22px;
	padding: 16px 22px 18px;
	border: 1px solid rgba(250, 204, 21, .35);
	border-left: 4px solid var(--yellow);
	border-radius: 12px;
	background: linear-gradient(90deg, rgba(250, 204, 21, .08), rgba(12, 17, 42, .82) 60%);
}
.dl-note-label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--yellow); margin-bottom: 4px; }
.dl-note p { margin: 0; color: #e3e8ff; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }

/* Post content under the box ---------------------------------------------- */
.dl-content {
	margin-top: 26px; padding: 24px 28px;
	border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
	background: var(--surface); color: #d6dcf5;
}
.dl-content > :first-child { margin-top: 0; }
.dl-content > :last-child { margin-bottom: 0; }
.dl-content img { height: auto; border-radius: 10px; }
.dl-content-inner img { height: auto; border-radius: 10px; }

/* Footer ------------------------------------------------------------------- */
.dl-footer { border-top: 1px solid var(--line-soft); padding: 30px 0; background: rgba(4, 6, 18, .8); position: relative; z-index: 2; }
.dl-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.dl-footer .dl-brand-text { font-size: 20px; }
.dl-footer .dl-brand-icon { font-size: 24px; }
.dl-footer-menu { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.dl-footer-menu a { color: var(--muted); text-decoration: none; font-size: 14px; }
.dl-footer-menu a:hover { color: #fff; }
.dl-copy { margin: 0; color: #7c86ad; font-size: 14px; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 960px) {
	.dl-feature-grid { grid-template-columns: 1fr 1fr; }
	.dl-feature:last-child { grid-column: 1 / -1; }
	.dl-checks ul + ul { padding-left: 30px; }
}

@media (max-width: 820px) {
	.dl-nav-toggle { display: inline-flex; }
	.dl-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 18px 20px 24px;
		background: rgba(5, 8, 22, .97);
		border-bottom: 1px solid var(--line-soft);
		display: none;
	}
	.dl-nav.is-open { display: flex; }
	.dl-menu { flex-direction: column; gap: 4px; }
	.dl-menu a { display: block; padding: 10px 4px; font-size: 16px; }
	.dl-stats { grid-template-columns: 1fr 1fr; gap: 14px; }
	.dl-card-grid { grid-template-columns: 1fr; }
	.dl-wave { width: 60%; opacity: .7; }
}

@media (max-width: 640px) {
	.dl-feature-grid { grid-template-columns: 1fr; }
	.dl-panel { flex-direction: column; gap: 10px; padding: 22px 20px 24px; }
	.dl-checks { grid-template-columns: 1fr; gap: 14px; }
	.dl-checks ul, .dl-checks ul + ul { padding: 0; border: 0; }
	.dl-hero-text { font-size: 16px; }

	.dl-standalone .dl-single { padding: 28px 0 40px; }
	.dl-box { padding: 16px; border-radius: 18px; }
	.dl-box-head { padding: 14px 16px; gap: 14px; border-left-width: 4px; }
	.dl-box-doc { font-size: 34px; }
	.dl-official-line { flex-basis: 30px; }
	.dl-official-btn { padding: 10px 18px; }

	.dl-row {
		grid-template-columns: 46px 1fr;
		gap: 10px 14px;
		padding: 12px;
	}
	.dl-row-logo { width: 44px; height: 44px; }
	.dl-row-name { border: 0; padding: 0; min-height: 0; }
	.dl-row-btn { grid-column: 1 / -1; min-width: 0; width: 100%; padding: 12px 18px; font-size: 17px; }

	.dl-ep-btn { flex-basis: calc(50% - 6px); }
	.dl-content { padding: 18px; }
	.dl-footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
