/* Blocko sayfası ve oynanabilir tahta */

.bl-hero { padding: 104px 0 40px; overflow: hidden; }
.bl-hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -240px; background: radial-gradient(circle, rgba(255, 107, 74, .2), transparent 65%); pointer-events: none; }
.bl-grid { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 48px; align-items: center; }
.bl-hero .logo { width: min(100%, 300px); height: auto; margin: 16px 0 14px; }
.bl-hero h1 { font-size: clamp(38px, 5.6vw, 72px); font-weight: 800; margin-bottom: 14px; }
.bl-hero .lead { font-size: 18px; color: var(--ink-soft); max-width: 520px; margin-bottom: 24px; }
.bl-hero .stats { margin-top: 30px; }
@media (max-width: 900px) {
  .bl-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .demo { max-width: 420px; width: 100%; margin: 0 auto; }
}

.demo { position: relative; --gap: 3px; margin-top: 44px; padding: 14px; border-radius: 26px; background: #0b2233; border: 1px solid var(--line); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .9); user-select: none; -webkit-user-select: none; }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-size: 13px; color: var(--ink-soft); }
.demo-top b { display: block; font-family: "Bricolage Grotesque", Inter, sans-serif; font-size: 26px; line-height: 1; color: var(--ink); }
.demo-top span:last-child { text-align: right; }
.demo-top span:last-child b { color: var(--sun); }
.combo { font-weight: 700; color: var(--accent); font-size: 15px; }
.board { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: var(--gap); padding: 6px; aspect-ratio: 1; border-radius: 14px; background: #082032; }
.cell { position: relative; border-radius: 5px; background: #113044; }
.cell.will { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }

/* Bloklar */
.blk { border-radius: 5px; background-size: cover; background-position: center; }
.b-red { background-color: #f2564b; background-image: var(--img-red, none); }
.b-blue { background-color: #3f9cf0; background-image: var(--img-blue, none); }
.b-green { background-color: #4cc86f; background-image: var(--img-green, none); }
.b-yellow { background-color: #f7b733; background-image: var(--img-yellow, none); }
.b-purple { background-color: #9a66ec; background-image: var(--img-purple, none); }
.demo[data-theme="classic"] .blk, .drag[data-theme="classic"] .blk { box-shadow: inset 0 3px 0 rgba(255, 255, 255, .32), inset 0 -4px 0 rgba(0, 0, 0, .2); }
.demo:not([data-theme="classic"]) .blk, .drag:not([data-theme="classic"]) .blk { background-color: transparent; }
.cell.ghost { opacity: .42; }
.cell.pop { animation: pop .3s ease-in forwards; }
@keyframes pop { 40% { transform: scale(1.14); filter: brightness(1.7); } 100% { transform: scale(.1); opacity: 0; } }
.cell.land { animation: land .18s ease-out; }
@keyframes land { 0% { transform: scale(.82); } 100% { transform: none; } }

/* Tepsi */
.tray { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; height: 112px; margin-top: 10px; touch-action: none; }
.slot { display: grid; place-items: center; min-width: 0; }
.piece { display: grid; gap: 2px; cursor: grab; touch-action: none; transition: transform .15s; }
.piece:hover { transform: scale(1.06); }
.piece.lift { opacity: .15; }
.piece.dead { opacity: .4; }
.piece .blk, .drag .blk { width: 100%; height: 100%; }
.piece i, .drag i { display: block; }
.drag { position: fixed; left: 0; top: 0; z-index: 90; display: grid; gap: var(--gap, 3px); pointer-events: none; will-change: transform; }

/* Tema düğmeleri */
.themes { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 6px; }
.themes button { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-soft); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.themes button.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* Maskot ve yazılar */
.demo-mascot { position: absolute; right: 8px; top: -66px; width: 96px; height: auto; pointer-events: none; transition: transform .25s cubic-bezier(.3, 1.8, .5, 1); }
.demo-mascot.jump { transform: translateY(-14px) scale(1.14) rotate(5deg); }
.praise { position: absolute; z-index: 3; left: 0; right: 0; top: 40%; text-align: center; pointer-events: none; font: 800 clamp(30px, 8vw, 44px) "Bricolage Grotesque", Inter, sans-serif; color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, .35), 0 8px 16px rgba(0, 0, 0, .5); opacity: 0; }
.praise small { display: block; font-size: .46em; color: var(--sun); }
.praise.go { animation: praise .95s cubic-bezier(.2, 1.3, .4, 1); }
.praise.perfect { color: var(--sun); }
@keyframes praise { 0% { transform: scale(.4); opacity: 0; } 25% { transform: scale(1.1); opacity: 1; } 70% { opacity: 1; } 100% { transform: translateY(-26px); opacity: 0; } }
.confetti { position: absolute; z-index: 4; top: 50%; left: 50%; width: 8px; height: 12px; border-radius: 2px; pointer-events: none; animation: burst 1.1s ease-out forwards; }
@keyframes burst { to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }

.over { position: absolute; z-index: 5; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 18px; border-radius: 26px; text-align: center; background: rgba(8, 26, 40, .94); }
.over[hidden] { display: none; }
.over h3 { font-size: 30px; font-weight: 800; }
.over p { color: var(--ink-soft); margin-bottom: 8px; }
.over .btn-row { justify-content: center; }

/* Modlar */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mode { display: flex; align-items: center; gap: 22px; padding: 22px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); transition: transform .3s; }
.mode:hover { transform: translateY(-5px); }
.mode > img { flex: none; width: 170px; height: auto; border-radius: 16px; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .8); }
.mode h3 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.mode p { color: var(--ink-soft); font-size: 15.5px; }
.ticks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: 14.5px; }
.ticks li::before { content: "✓"; margin-right: 8px; color: var(--accent); font-weight: 700; }
@media (max-width: 920px) { .modes { grid-template-columns: 1fr; } }
@media (max-width: 500px) { .mode { flex-direction: column; align-items: flex-start; } .mode > img { width: 100%; max-height: 240px; object-fit: cover; object-position: top; } }

.fair { background: linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg)); }

.film { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 54px; align-items: center; }
.trailer { display: grid; justify-items: center; gap: 12px; }
.trailer .phone { width: 240px; }
.gallery img { width: 176px; }
@media (max-width: 860px) { .film { grid-template-columns: minmax(0, 1fr); gap: 34px; } }

.cta-mascot { width: 150px; height: auto; margin: 0 auto 6px; animation: bob 2.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
