/* غلاف game-dev-foundations-book — مستخرج آليًّا من styles.css الكاتب بـimport-standalone-book.php. لا يُحرَّر يدويًّا. */
@font-face{font-family:'Fira Code';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/FiraCode-latin.woff2') format('woff2');unicode-range:U+0000-00FF}
.qtc-game-dev-foundations-book{--font-mono:'Fira Code', 'Courier New', monospace;--color-text-muted:#9a8fa8;--color-primary:#8e44ad;--font-sans:'Cairo', system-ui, sans-serif;font-family:var(--font-sans,'Cairo',system-ui,sans-serif);direction:rtl}
.qtc-game-dev-foundations-book .landing__cover{margin: 0 auto 1.75rem; display: flex; flex-direction: column; align-items: center; gap: .9rem;}
.qtc-game-dev-foundations-book .cover{--cover-w: 210px; --cover-h: 285px; position: relative; width: var(--cover-w); height: var(--cover-h); perspective: 1100px;}
.qtc-game-dev-foundations-book .cover__book{position: relative; width: 100%; height: 100%; transform: rotateY(16deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .7s cubic-bezier(.22, 1, .36, 1);}
.qtc-game-dev-foundations-book .cover:hover .cover__book{transform: rotateY(0deg) rotateX(0deg) translateY(-6px);}
.qtc-game-dev-foundations-book .cover__spine{position: absolute; top: 0; right: -13px; width: 14px; height: 100%; border-radius: 0 5px 5px 0; background: linear-gradient(180deg, #5b2c6f, #4a235a 55%, #35193f); box-shadow: inset 3px 0 6px rgba(0, 0, 0, .35);}
.qtc-game-dev-foundations-book .cover__face{position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 12px 4px 4px 12px; background: radial-gradient(120% 90% at 15% 0%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(155deg, #a569bd 0%, #8e44ad 50%, #5b2c6f 100%); box-shadow: 0 22px 45px -12px rgba(75, 30, 100, .5), 0 3px 10px rgba(15, 23, 42, .18), inset 0 0 0 1px rgba(255, 255, 255, .18); padding: .9rem 1rem; display: flex; flex-direction: column; color: #fff;}
.qtc-game-dev-foundations-book .cover__grid{position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px); background-size: 14px 14px; mask-image: radial-gradient(120% 80% at 50% 100%, #000, transparent 75%); -webkit-mask-image: radial-gradient(120% 80% at 50% 100%, #000, transparent 75%); pointer-events: none;}
.qtc-game-dev-foundations-book .cover__sheen{position: absolute; top: -60%; left: -70%; width: 55%; height: 220%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: rotate(18deg); animation: qtc-game-dev-foundations-book-cover-sheen 7s ease-in-out infinite; pointer-events: none;}
.qtc-game-dev-foundations-book .cover__screen{position: relative; height: 88px; border-radius: 8px; background: #0b1220; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .5), inset 0 0 0 2px #1e293b; overflow: hidden; z-index: 1;}
.qtc-game-dev-foundations-book .cover__score{position: absolute; top: 6px; left: 8px; font-family: var(--font-mono); font-size: 8px; letter-spacing: .1em; color: #fde68a; direction: ltr;}
.qtc-game-dev-foundations-book .cover__ground{position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: repeating-linear-gradient(90deg, #334155 0 8px, #1e293b 8px 16px);}
.qtc-game-dev-foundations-book .cover__player{position: absolute; bottom: 10px; left: 24px; width: 16px; height: 16px; background: #2dd4bf; border-radius: 2px; animation: qtc-game-dev-foundations-book-cover-jump 1.6s ease-in-out infinite;}
.qtc-game-dev-foundations-book .cover__enemy{position: absolute; bottom: 10px; right: -14px; width: 12px; height: 12px; background: #f87171; animation: qtc-game-dev-foundations-book-cover-enemy 1.6s linear infinite;}
.qtc-game-dev-foundations-book .cover__pad{display: flex; justify-content: space-between; align-items: center; padding: .55rem .35rem .2rem; margin-bottom: auto; position: relative; z-index: 1;}
.qtc-game-dev-foundations-book .cover__dpad{position: relative; width: 34px; height: 34px;}
.qtc-game-dev-foundations-book .cover__dpad i{position: absolute; width: 11px; height: 11px; background: rgba(255, 255, 255, .85); border-radius: 2px;}
.qtc-game-dev-foundations-book .cover__dpad i:nth-child(1){top: 0; left: 11.5px;}
.qtc-game-dev-foundations-book .cover__dpad i:nth-child(2){top: 11.5px; left: 0;}
.qtc-game-dev-foundations-book .cover__dpad i:nth-child(3){top: 11.5px; right: 0;}
.qtc-game-dev-foundations-book .cover__dpad i:nth-child(4){bottom: 0; left: 11.5px;}
.qtc-game-dev-foundations-book .cover__btn{width: 22px; height: 22px; border-radius: 50%; background: #f472b6; box-shadow: 0 3px 0 #be185d; animation: qtc-game-dev-foundations-book-cover-press 1.6s ease-in-out infinite;}
.qtc-game-dev-foundations-book .cover__title{font-size: 1.45rem; font-weight: 800; line-height: 1.25; margin: 0 0 .35rem; text-shadow: 0 2px 12px rgba(50, 10, 70, .35); position: relative; z-index: 1;}
.qtc-game-dev-foundations-book .cover__tag{align-self: flex-start; font-family: var(--font-mono); font-size: .66rem; font-weight: 700; letter-spacing: .1em; padding: .2rem .6rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .14); direction: ltr; position: relative; z-index: 1;}
.qtc-game-dev-foundations-book .cover__shadow{position: absolute; bottom: -16px; left: 8%; width: 84%; height: 22px; border-radius: 50%; background: rgba(75, 30, 100, .35); filter: blur(13px); transition: transform .7s cubic-bezier(.22, 1, .36, 1), opacity .7s;}
.qtc-game-dev-foundations-book .cover:hover .cover__shadow{transform: scale(.92); opacity: .75;}
.qtc-game-dev-foundations-book .cover__note{font-size: .78rem; color: var(--color-text-muted); display: flex; align-items: center; gap: .4rem;}
.qtc-game-dev-foundations-book .cover__note i{color: var(--color-primary);}
@media (prefers-reduced-motion: reduce){.qtc-game-dev-foundations-book .cover__sheen, .qtc-game-dev-foundations-book .cover__player, .qtc-game-dev-foundations-book .cover__enemy, .qtc-game-dev-foundations-book .cover__btn, .qtc-game-dev-foundations-book .page{animation: none !important;}.qtc-game-dev-foundations-book .cover__book, .qtc-game-dev-foundations-book .cover__shadow, .qtc-game-dev-foundations-book .progress-bar__fill{transition: none !important;}}
@keyframes qtc-game-dev-foundations-book-cover-sheen{0%, 62% { left: -70%; } 88%, 100% { left: 130%; }}
@keyframes qtc-game-dev-foundations-book-cover-jump{0%, 40%, 100% { transform: translateY(0); } 65% { transform: translateY(-26px); }}
@keyframes qtc-game-dev-foundations-book-cover-enemy{from { transform: translateX(0); } to { transform: translateX(-190px); }}
@keyframes qtc-game-dev-foundations-book-cover-press{0%, 55%, 100% { transform: translateY(0); box-shadow: 0 3px 0 #be185d; } 62% { transform: translateY(3px); box-shadow: 0 0 0 #be185d; }}
/* تعديل صاحب العمل */
.qtc-game-dev-foundations-book .cover__title{color:#fff !important;-webkit-text-fill-color:#fff !important;background:none !important}
