/* Audio Kotha — HTML5 games showcase */
body[data-page^="games"] { background: #f4f8ff; }
.games-page, .game-page { width: 100%; max-width: 1240px; margin: 0 auto; padding: 22px 20px 72px; color: #101c33; }
.gp-kicker { display: inline-flex; align-items: center; gap: 7px; color: #2154d8; font-size: 10px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.gp-kicker::before { content: ""; width: 18px; height: 2px; border-radius: 9px; background: linear-gradient(90deg, #2154d8, #38bdf8); }
.gp-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 28px; align-items: center; margin: 4px 0 18px; padding: 30px 32px; border-radius: 26px; color: #fff; background: radial-gradient(circle at 88% 18%, rgba(56,189,248,.25), transparent 33%), radial-gradient(circle at 8% 100%, rgba(37,99,235,.3), transparent 34%), linear-gradient(125deg, #06142e 0%, #0b2350 52%, #113c7c 100%); box-shadow: 0 30px 70px -38px rgba(6,20,46,.7); }
.gp-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .2; background-image: radial-gradient(rgba(255,255,255,.5) .65px, transparent .65px); background-size: 16px 16px; mask-image: linear-gradient(90deg, #000, transparent 75%); }
.gp-hero-copy { position: relative; z-index: 1; }
.gp-hero h1 { margin: 9px 0 10px; font-size: clamp(32px, 5.1vw, 56px); line-height: .98; letter-spacing: -.065em; font-weight: 800; }
.gp-hero h1 em { font-style: normal; color: #93c5fd; }
.gp-hero p { max-width: 530px; margin: 0; color: #c9d9f2; font-size: 13px; line-height: 1.7; }
.gp-hero-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 20px; }
.gp-hero .gp-kicker { color: #a8c8ff; }
.gp-hero .gp-kicker::before { background: linear-gradient(90deg, #93c5fd, #38bdf8); }
.gp-hero .gp-stats { margin-top: 24px; }
.gp-stats { display: flex; gap: 22px; flex-wrap: wrap; }
.gp-stat span { display: block; color: #9fb5d7; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.gp-stat strong { display: block; margin-top: 3px; color: #fff; font-size: 21px; letter-spacing: -.04em; }
.gp-hero-art { position: relative; z-index: 1; display: grid; place-items: center; min-height: 220px; }
.gp-orbit { position: relative; width: 220px; height: 220px; border: 1px solid rgba(147,197,253,.26); border-radius: 50%; box-shadow: inset 0 0 50px rgba(56,189,248,.12); animation: gpSpin 22s linear infinite; }
.gp-orbit::before, .gp-orbit::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(147,197,253,.2); border-radius: 50%; }
.gp-orbit::after { inset: 52px; border-style: dashed; border-color: rgba(147,197,253,.36); animation: gpSpin 14s linear infinite reverse; }
.gp-orbit-core { position: absolute; left: 50%; top: 50%; width: 86px; height: 86px; display: grid; place-items: center; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.36); border-radius: 24px; color: #dbeafe; background: linear-gradient(145deg, rgba(147,197,253,.3), rgba(37,99,235,.22)); box-shadow: 0 18px 34px -14px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.35); }
.gp-orbit-node { position: absolute; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; color: #dbeafe; background: rgba(255,255,255,.09); box-shadow: 0 10px 20px -12px rgba(0,0,0,.6); }
.gp-orbit-node.n1 { left: -8px; top: 56px; }
.gp-orbit-node.n2 { right: -9px; top: 32px; }
.gp-orbit-node.n3 { right: 9px; bottom: -4px; }
@keyframes gpSpin { to { transform: rotate(360deg); } }
.gp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 10px 15px; border: 1px solid rgba(33,84,216,.16); border-radius: 11px; background: #fff; color: #2154d8; font: inherit; font-size: 11px; font-weight: 800; text-decoration: none; cursor: pointer; transition: .18s ease; }
.gp-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -18px rgba(33,84,216,.8); }
.gp-btn-primary { border-color: transparent; color: #fff; background: linear-gradient(135deg, #2154d8, #3b82f6); }
.gp-hero .gp-btn-primary { color: #fff; }
.gp-hero .gp-btn { border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.1); color: #eff6ff; backdrop-filter: blur(8px); }
.gp-hero .gp-btn-primary { background: linear-gradient(135deg, #dbeafe, #93c5fd); color: #0c2b62; border-color: transparent; }
.gp-hero .gp-btn-primary:hover { box-shadow: 0 14px 28px -16px rgba(147,197,253,.8); }
.gp-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 18px 0 14px; }
.gp-section-title { margin: 0; font-size: clamp(19px, 2.4vw, 26px); letter-spacing: -.05em; }
.gp-section-title small { display: block; margin-top: 3px; color: #68758c; font-size: 10px; font-weight: 500; letter-spacing: 0; }
.gp-filter { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.gp-filter input { min-height: 40px; min-width: 190px; padding: 8px 11px; border: 1px solid rgba(18,32,58,.12); border-radius: 9px; background: #fff; color: #1b2842; font: inherit; font-size: 11px; }
.gp-filter input:focus { outline: 0; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.13); }
.gp-chips { display: flex; align-items: center; gap: 6px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; }
.gp-chips::-webkit-scrollbar { display: none; }
.gp-chip { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; min-height: 30px; padding: 6px 10px; border: 1px solid rgba(18,32,58,.08); border-radius: 999px; background: rgba(255,255,255,.84); color: #53657f; font-size: 9px; font-weight: 800; text-decoration: none; transition: .16s; }
.gp-chip:hover { border-color: rgba(33,84,216,.24); color: #2154d8; }
.gp-chip.is-active { background: #eaf2ff; border-color: rgba(33,84,216,.15); color: #1e4fbf; }
.gp-chip b { color: #8ba0bd; font-size: 8px; }
.gp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.gp-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.98); border-radius: 15px; background: #fff; box-shadow: 0 18px 34px -30px rgba(15,35,95,.4); transition: .2s ease; }
.gp-card:hover { transform: translateY(-3px); box-shadow: 0 24px 42px -28px rgba(15,35,95,.5); }
.gp-cover { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, #0a1528, #17325b); }
.gp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.gp-card:hover .gp-cover img { transform: scale(1.045); }
.gp-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4,15,35,.52)); pointer-events: none; }
.gp-play { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #0c2b62; background: rgba(255,255,255,.9); box-shadow: 0 8px 16px -8px rgba(0,0,0,.5); z-index: 1; }
.gp-card-body { padding: 11px 12px 12px; }
.gp-card h3 { margin: 0; font-size: 12px; letter-spacing: -.02em; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-card h3 a { color: inherit; text-decoration: none; }
.gp-card h3 a:hover { color: #2154d8; }
.gp-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-top: 6px; color: #7d8da4; font-size: 8.5px; }
.gp-badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px; border-radius: 99px; background: #f1f5fc; color: #56708e; font-size: 7.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.gp-badge.featured { background: #fff6d8; color: #8a5b00; }
.gp-empty { padding: 50px 20px; text-align: center; border: 1px dashed rgba(18,32,58,.16); border-radius: 20px; background: rgba(255,255,255,.72); color: #68758c; }
.gp-empty h2 { margin: 0 0 5px; color: #101c33; font-size: 19px; letter-spacing: -.04em; }
.gp-empty p { margin: 0 0 15px; font-size: 11px; }
.gp-pager { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 20px; }
.gp-pager a, .gp-pager span { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 7px 11px; border: 1px solid rgba(18,32,58,.1); border-radius: 9px; background: #fff; color: #3b5d88; font-size: 10px; font-weight: 800; text-decoration: none; }
.gp-pager span { color: #8490a5; background: #f0f4fa; border-color: transparent; }
/* Game detail */
.game-page { max-width: 1180px; }
.gp-breadcrumb { display: flex; align-items: center; gap: 7px; color: #7d8da4; font-size: 10px; margin: 2px 0 12px; }
.gp-breadcrumb a { color: #2154d8; text-decoration: none; font-weight: 700; }
.gp-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.gp-detail-head h1 { margin: 0; font-size: clamp(26px, 4vw, 38px); letter-spacing: -.06em; line-height: 1.05; }
.gp-detail-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 7px; color: #68758c; font-size: 10px; }
.gp-stage { position: relative; width: 100%; aspect-ratio: var(--gp-ratio, 16 / 9); min-height: 260px; max-height: 78vh; border-radius: 18px; overflow: hidden; background: #071225; border: 1px solid rgba(7,18,37,.2); box-shadow: 0 28px 60px -34px rgba(15,35,95,.75); }
.gp-stage iframe { display: block; width: 100%; height: 100%; border: 0; background: #071225; }
.gp-stage-fallback { display: flex; align-items: center; justify-content: center; min-height: 260px; padding: 24px; color: #c9d9f2; text-align: center; font-size: 12px; }
.gp-stage-fallback a { color: #93c5fd; }
.gp-detail-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.gp-detail-copy { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .75fr); gap: 14px; margin-top: 16px; }
.gp-copy-card { padding: 16px 17px; border: 1px solid rgba(255,255,255,.98); border-radius: 15px; background: rgba(255,255,255,.86); box-shadow: 0 18px 34px -32px rgba(15,35,95,.4); }
.gp-copy-card h2 { margin: 0 0 7px; font-size: 14px; letter-spacing: -.03em; }
.gp-copy-card p { margin: 0; color: #4e6079; font-size: 11px; line-height: 1.75; white-space: pre-line; }
.gp-copy-card + .gp-copy-card { margin-top: 12px; }
.gp-related { margin-top: 24px; }
.gp-related-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.gp-related-head h2 { margin: 0; font-size: 19px; letter-spacing: -.05em; }
.gp-related-head a { color: #2154d8; font-size: 10px; font-weight: 800; text-decoration: none; }
.gp-related .gp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .gp-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } .gp-related .gp-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } .gp-hero { grid-template-columns: 1fr; padding: 26px; } .gp-hero-art { display: none; } .gp-detail-copy { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .games-page, .game-page { padding: 16px 14px 64px; } .gp-hero { border-radius: 20px; padding: 22px 19px; } .gp-hero h1 { font-size: clamp(31px, 9vw, 43px); } .gp-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; } .gp-related .gp-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .gp-card-body { padding: 9px 10px 10px; } .gp-card h3 { font-size: 11px; } .gp-toolbar { align-items: stretch; } .gp-filter { width: 100%; } .gp-filter input { min-width: 0; flex: 1; } .gp-stage { border-radius: 13px; min-height: 210px; } .gp-detail-head h1 { font-size: 28px; } .gp-copy-card { padding: 14px; } }
@media (max-width: 380px) { .gp-grid { grid-template-columns: 1fr; } .gp-related .gp-grid { grid-template-columns: 1fr; } .gp-stats { gap: 15px; } }
@media (prefers-reduced-motion: reduce) { .gp-orbit, .gp-orbit::after { animation: none; } .gp-card, .gp-card img, .gp-btn { transition: none; } }

/* Professional game player shell */
.gp-player{position:relative;overflow:hidden;border-radius:18px;background:#071225;border:1px solid rgba(7,18,37,.28);box-shadow:0 30px 64px -34px rgba(15,35,95,.82);color:#eaf2ff}
.gp-player-top{display:flex;align-items:center;gap:10px;padding:9px 11px;background:linear-gradient(180deg,rgba(17,39,76,.98),rgba(8,25,52,.98));border-bottom:1px solid rgba(147,197,253,.13);min-height:56px}
.gp-player-back{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;min-height:34px;padding:6px 9px;border:1px solid rgba(255,255,255,.13);border-radius:8px;background:rgba(255,255,255,.07);color:#dbeafe;font-size:9px;font-weight:800;text-decoration:none;transition:.16s}
.gp-player-back:hover{background:rgba(255,255,255,.13)}
.gp-player-id{display:flex;align-items:center;gap:8px;min-width:0;flex:1}
.gp-player-live{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:#34d399;box-shadow:0 0 0 4px rgba(52,211,153,.12)}
.gp-player-id strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#f0f7ff;font-size:11px;letter-spacing:-.01em}
.gp-player-id small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-top:1px;color:#8ea8ca;font-size:8px;font-weight:600;letter-spacing:.03em;text-transform:uppercase}
.gp-player-actions{display:flex;align-items:center;gap:5px;flex:0 0 auto}
.gp-icon-btn{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:rgba(255,255,255,.06);color:#c7dcf8;cursor:pointer;transition:.16s}
.gp-icon-btn:hover{background:rgba(255,255,255,.13);color:#fff}
.gp-icon-btn.is-copied{background:rgba(52,211,153,.18);color:#6ee7b7;border-color:rgba(52,211,153,.24)}
.gp-full-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:7px 11px;border:1px solid rgba(147,197,253,.28);border-radius:8px;background:linear-gradient(135deg,#dbeafe,#93c5fd);color:#0c2b62;font:inherit;font-size:9px;font-weight:900;cursor:pointer;transition:.16s;white-space:nowrap}
.gp-full-btn:hover{filter:brightness(1.04);box-shadow:0 10px 20px -12px rgba(147,197,253,.7)}
.gp-player .gp-stage{border:0;border-radius:0;min-height:260px;max-height:none;box-shadow:none;background:#050b16}
.gp-player.is-portrait{max-width:470px;margin-left:auto;margin-right:auto}
.gp-player.is-portrait .gp-stage{width:100%;max-width:none;margin:0 auto;min-height:0}
.gp-orient-hint{position:absolute;z-index:3;left:50%;top:10px;display:none;align-items:center;gap:6px;transform:translateX(-50%);padding:6px 10px;border:1px solid rgba(147,197,253,.25);border-radius:99px;background:rgba(6,20,46,.78);color:#dbeafe;font-size:8px;font-weight:800;letter-spacing:.04em;white-space:nowrap;backdrop-filter:blur(8px);pointer-events:none;opacity:1;transition:opacity .3s}
.gp-orient-hint.is-hidden{opacity:0}
@media(max-width:720px) and (orientation:portrait){.gp-player.is-landscape .gp-orient-hint{display:inline-flex}}
.gp-loader{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:radial-gradient(circle at 50% 42%,#122b50,#050b16 70%);color:#a8c8ff;transition:opacity .35s ease,visibility .35s ease}
.gp-loader p{margin:0;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8ea8ca}
.gp-spinner{width:31px;height:31px;border:2px solid rgba(147,197,253,.22);border-top-color:#93c5fd;border-radius:50%;animation:gpSpin .8s linear infinite}
.gp-stage.is-ready .gp-loader{opacity:0;visibility:hidden;pointer-events:none}
.gp-player-bottom{display:flex;align-items:center;gap:8px;min-height:39px;padding:8px 12px;background:linear-gradient(180deg,#081a35,#061225);border-top:1px solid rgba(147,197,253,.11);color:#8ea8ca;font-size:8.5px}
.gp-player-status{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;color:#b7d7f8;font-size:8px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.gp-player-status i{width:5px;height:5px;border-radius:50%;background:#34d399;box-shadow:0 0 7px rgba(52,211,153,.8)}
.gp-player-hint{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#6f89aa}
.gp-player-source{display:inline-flex;align-items:center;gap:4px;margin-left:auto;color:#93c5fd;text-decoration:none;font-size:8.5px;font-weight:800;white-space:nowrap}
.gp-player-source:hover{color:#dbeafe}
.gp-player:fullscreen,.gp-player:-webkit-full-screen{width:100vw;height:100vh;border-radius:0;display:flex;flex-direction:column;background:#050b16}
.gp-player.is-portrait:fullscreen,.gp-player.is-portrait:-webkit-full-screen{max-width:none}
.gp-player:fullscreen .gp-stage,.gp-player:-webkit-full-screen .gp-stage{flex:1;width:100%;height:auto;aspect-ratio:auto;min-height:0;max-height:none;margin:0}
.gp-player:fullscreen .gp-player-top,.gp-player:-webkit-full-screen .gp-player-top{min-height:50px}
@media(max-width:720px){.gp-player{border-radius:13px}.gp-player-top{padding:7px 8px;gap:7px;min-height:52px}.gp-player-back span{display:none}.gp-player-back{width:34px;padding:0;justify-content:center}.gp-player-id strong{font-size:10px}.gp-player-id small{font-size:7px}.gp-icon-btn{width:34px;height:34px}.gp-full-btn{width:36px;padding:0}.gp-full-btn span{display:none}.gp-player-bottom{padding:7px 9px}.gp-player-hint{display:none}.gp-player .gp-stage{min-height:210px}}
