:root {
    --primary: #e62327;
    --primary-dark: #b51418;
    --primary-light: #ff8585;
    --secondary: #1d8ef0;
    --accent: #ffd93d;
    --bg: #ffe6e8;
    --bg-pattern: #ffd6d9;
    --surface: #ffffff;
    --surface-2: #fff5f5;
    --text: #1a1f2e;
    --text-muted: #6b7280;
    --border: #f3d4d5;
    --hot: #ff3b30;
    --new: #00c853;
    --shadow-sm: 0 1px 2px rgba(180, 30, 35, .08);
    --shadow: 0 4px 14px rgba(180, 30, 35, .10);
    --shadow-lg: 0 14px 34px rgba(180, 30, 35, .16);
    --radius: 12px;
    --radius-lg: 18px;
    --radius-pill: 999px;
    --hdr-h: 60px;
    --side-w: 84px;
    --side-w-open: 220px;

    --ff-display: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ff-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

:root {
    --primary: #e62327;
    --primary-dark: #b51418;
    --secondary: #1d8ef0;
    --accent: #ffd93d;
    --bg: #ffe6e8;
    --surface: #ffffff;
    --text: #1a1f2e;
}

body::before {
    display: none !important;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--ff-body);
    color: var(--text);
    background: radial-gradient(at 20% 0%, #e9fbff 0px, transparent 60%), radial-gradient(at 80% 0%, #d6fdff 0px, transparent 55%), radial-gradient(at 10% 60%, #e1f8ff 0px, transparent 55%), radial-gradient(at 100% 100%, #c8f7ff 0px, transparent 55%), #e6fcff;
    background-attachment: fixed;
    min-height: 100vh;
    line-height: 1.55;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-repeat: repeat;
    background-size: 240px auto;
    background-position: 0 0;
    opacity: 0.16;
    pointer-events: none;
    z-index: 0;
}

.layout, .footer, .bot-pill, .bot-drawer, .bot-backdrop {
    position: relative;
    z-index: 1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-dark);
    text-decoration: none;
}

a:hover {
    color: var(--primary);
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

.bot-pill {
    position: fixed;
    top: 18px;
    left: 18px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 8px;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .13), 0 2px 6px rgba(0, 0, 0, .06);
    font-family: var(--ff-display, var(--ff-body));
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
    transition: transform .18s, box-shadow .18s, padding .18s;
}

.bot-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .16), 0 3px 8px rgba(0, 0, 0, .08);
}

.bot-pill:active {
    transform: translateY(0);
}

.bot-pill[aria-expanded="true"] {
    padding-right: 14px;
}

.bot-pill__main {
    position: relative;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -.5px;
    flex-shrink: 0;
    overflow: hidden;
}

.bot-pill__main--logo {
    background: #fff;
    padding: 4px 8px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 200px !important;
    height: 44px !important;
    max-height: 44px !important;
    border-radius: 999px;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-image: none !important;
    color: inherit;
}

.bot-pill__main--logo img {
    height: 32px !important;
    max-height: 32px !important;
    width: auto !important;
    max-width: 150px !important;
    object-fit: contain;
    object-position: center;
    display: block !important;
    border-radius: 0;
    margin: 0;
    padding: 0;
}

.bot-pill__icon {
    font-size: 14px;
    color: var(--text-muted);
    margin-left: 2px;
    transition: transform .2s;
}

.bot-pill.open .bot-pill__icon, .bot-pill__icon.open {
    transform: rotate(90deg);
    color: var(--primary-dark);
}

.bot-drawer {
    position: fixed;
    top: 76px;
    left: 18px;
    z-index: 999;
    width: 380px;
    max-width: calc(100vw - 36px);
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .18), 0 2px 8px rgba(0, 0, 0, .06);
    padding: 18px;
    display: none;
    transform-origin: top left;
    animation: drawer-in .28s cubic-bezier(.2, .9, .3, 1.2);
}

.bot-drawer.open {
    display: block;
}

@keyframes drawer-in {
    0% {
        opacity: 0;
        transform: scale(.85) translateY(-12px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.bot-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 14px;
}

.bot-drawer__close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 16px;
    display: grid;
    place-items: center;
    transition: background .15s, color .15s;
}

.bot-drawer__close:hover {
    background: var(--surface-2);
    color: var(--text);
}

.bot-drawer__search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-2);
    border-radius: 999px;
    padding: 4px 4px 4px 16px;
    margin-bottom: 16px;
    transition: box-shadow .15s, background .15s;
}

.bot-drawer__search:focus-within {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, .18);
}

.bot-drawer__search > i {
    color: var(--text-muted);
    font-size: 14px;
}

.bot-drawer__search input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 9px 4px;
    font: inherit;
    color: var(--text);
    outline: none;
}

.bot-mic {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 13px;
    flex-shrink: 0;
    transition: transform .15s, background .15s;
}

.bot-mic:hover {
    background: var(--primary-dark);
    transform: scale(1.06);
}

.bot-drawer-cate {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.bot-ql {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: var(--surface-2);
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    color: var(--text);
    transition: background .15s, color .15s, transform .12s;
}

.bot-ql:hover {
    background: rgba(0, 212, 255, .12);
    color: var(--primary-dark);
    transform: translateY(-1px);
}

.bot-ql.on {
    background: var(--primary);
    color: #fff;
}

.bot-ql.on i {
    color: #fff;
}

.bot-ql i {
    color: var(--primary-dark);
    font-size: 14px;
}

.bot-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .16);
    backdrop-filter: blur(2px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

.bot-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.layout {
    min-height: 100vh;
    padding-top: 80px;
}

.main {
    max-width: 1320px;
    margin: 0 auto;
    padding: 8px 22px 40px;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.section {
    margin-bottom: 36px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0;
    padding: 0 4px;
}

.section-head h2 {
    font-family: var(--ff-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    display: flex;
    gap: 12px;
    align-items: center;
    letter-spacing: -.4px;
}

.section-head h2 i {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(230, 35, 39, .25);
}

.section-head a {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background: #fff;
    border-radius: 999px;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 3px 10px rgba(180, 30, 35, .12);
}

.section-head a:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(180, 30, 35, .22);
    color: var(--primary-dark);
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: dense;
    gap: 8px;
}

.gcard {
    position: relative;
    display: block;
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    transition: transform .2s cubic-bezier(.2, .9, .3, 1.1), box-shadow .2s;
    cursor: pointer;
}

.gcard::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 0 var(--primary);
    transition: box-shadow .2s;
    z-index: 3;
    pointer-events: none;
}

.gcard:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
    z-index: 4;
}

.gcard:hover::before {
    box-shadow: inset 0 0 0 3px var(--primary);
}

.gcard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
    display: block;
}

.gcard:hover img {
    transform: scale(1.1);
}

.gcard-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .92) 65%);
    color: #fff;
    padding: 28px 10px 10px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 2;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .22s, transform .22s;
}

.gcard:hover .gcard-title {
    opacity: 1;
    transform: translateY(0);
}

.grid > .gcard:nth-of-type(13n+5) {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 1;
}

.grid > .gcard:nth-of-type(13n+11) {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
}

.grid > .gcard:nth-last-of-type(-n+16) {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    aspect-ratio: 1 !important;
}

.grid > .gcard:nth-of-type(13n+5) .gcard-title,
.grid > .gcard:nth-of-type(13n+11) .gcard-title {
    font-size: 15px;
    padding: 30px 14px 14px;
}

.grid > .gcard:nth-last-of-type(-n+16) .gcard-title {
    font-size: 13px;
    padding: 18px 10px 10px;
}

.badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    letter-spacing: .6px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: .85;
}

.badge-hot {
    background: linear-gradient(135deg, #ff5252, #ff1744);
}

.badge-new {
    background: linear-gradient(135deg, #00e676, #00c853);
}

.badge-feat {
    background: linear-gradient(135deg, #ffd93d, #ffb300);
    color: #4a3300;
}

.game-layout {
    display: block;
    max-width: 80%;
    margin: 0 auto 24px;
}

@media screen and (max-width: 568px) {
    .game-layout {
        max-width: 100%;
    }
}


.game-wrap {
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 10;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    display: flex;
}

.game-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
}

.game-loader {
    position: absolute;
    inset: 0;
    background: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: opacity .4s;
}

.game-loader img {
    width: 200px;
    height: 200px;
    border-radius: 28px;
    margin-bottom: 22px;
    position: relative;
    z-index: 10;
    box-shadow: 0 12px 38px rgba(0, 0, 0, .55), 0 0 0 4px rgba(255, 255, 255, .06);
    object-fit: cover;
}

.game-loader h2 {
    font-family: var(--ff-display);
    font-size: 26px;
    margin-bottom: 8px;
    position: relative;
    z-index: 10;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}

.game-loader {
    padding: 18px 14px;
    box-sizing: border-box;
}

@media (max-width: 520px) {
    .game-loader img {
        width: 130px;
        height: 130px;
        border-radius: 20px;
        margin-bottom: 12px;
    }

    .game-loader h2 {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .game-loader p {
        font-size: 12px;
        max-width: 86%;
        margin-bottom: 4px;
    }

    .game-loader .play-now {
        padding: 12px 36px;
        font-size: 16px;
        min-width: 160px;
        border-radius: 999px;
        margin-top: 10px;
    }
}

@media (min-width: 521px) and (max-width: 720px) {
    .game-loader img {
        width: 170px;
        height: 170px;
        border-radius: 24px;
        margin-bottom: 16px;
    }

    .game-loader h2 {
        font-size: 22px;
    }

    .game-loader .play-now {
        padding: 14px 40px;
        font-size: 16px;
        min-width: 180px;
        border-radius: 999px;
        margin-top: 14px;
    }
}

.game-loader .play-now {
    background: var(--primary);
    color: #fff;
    padding: 12px 36px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 16px;
    margin-top: 14px;
    border: none;
    cursor: pointer;
}

.game-loader .play-now:hover {
    background: var(--primary-dark);
}

.game-meta {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    margin-top:15px;
}

.game-meta h1 {
    font-family: var(--ff-display);
    font-size: 26px;
    color: var(--text);
    margin-bottom: 6px;
}

.game-meta .game-info {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 14px;
}

.footer {
    background: var(--surface);
    margin-top: 10px;
    padding: 50px 28px 24px;
    border-radius: 32px 32px 0 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 -12px 30px rgba(0, 0, 0, .06);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.footer-col h4 {
    font-family: var(--ff-display);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col h4::before {
    content: '';
    width: 4px;
    height: 16px;
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 9px;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 13px;
    transition: color .15s, padding-left .15s;
}

.footer-col a:hover {
    color: var(--primary-dark);
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 32px auto 0;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
}

@media (max-width: 720px) {
    .bot-pill {
        top: 12px;
        left: 12px;
        padding: 6px 14px 6px 6px;
    }

    .bot-drawer {
        top: 64px;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
    }

    .main {
        padding: 6px 14px 30px;
    }
}

.scroll-top {
    background: #e62327;
    color: #fff;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    display: none;
    position: fixed;
    z-index: 100;
    bottom: 20px;
    right: 20px;
}

.scroll-top.show {
    display: block;
}

.tbl th, .tbl td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.tbl th {
    background: #fafafa;
    font-weight: 700;
    color: #444;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.tbl tr:last-child td {
    border-bottom: none;
}

.tbl tr:hover td {
    background: #fafafa;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.cat-pill {
    background: #ffe7c7;
    border-radius: 18px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1a1f2e;
    font-weight: 800;
    font-size: 13px;
    line-height: 1.2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
    transition: transform .18s, box-shadow .18s;
    min-height: 78px;
    position: relative;
    overflow: hidden;
}

.cat-pill:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
}

.cat-pill__icon {
    flex-shrink: 0;
    width: 80px;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, .65);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 28px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4);
}

.cat-pill__icon img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
}

.cat-pill__label {
    font-family: var(--ff-display);
    font-weight: 900;
    letter-spacing: -.2px;
    font-size: 15px;
    line-height: 1.15;
}

@media (max-width: 700px) {
    .cat-pill {
        padding: 12px 14px;
        min-height: 72px;
        gap: 10px;
    }

    .cat-pill__icon {
        width: 80px;
        height: 80px;
        font-size: 24px;
    }

    .cat-pill__label {
        font-size: 12px;
    }
}

@media (min-width: 480px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .main {
        padding: 8px 14px 30px;
    }
}

@media (min-width: 640px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
    }

    .cat-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .main {
        padding: 10px 18px 36px;
    }
}

@media (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 14px;
    }

    .cat-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .main {
        padding: 12px 24px 42px;
    }
}

@media (min-width: 1280px) {
    .grid {
        grid-template-columns: repeat(7, 1fr);
    }

    .cat-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (min-width: 1440px) {
    .grid {
        grid-template-columns: repeat(8, 1fr);
        gap: 16px;
    }

    .main {
        max-width: 1480px;
    }
}

@media (min-width: 1700px) {
    .grid {
        grid-template-columns: repeat(9, 1fr);
    }
}

@media (max-width: 720px) {
    .bot-pill {
        top: 12px;
        left: 12px;
        padding: 6px 14px 6px 6px;
    }

    .bot-drawer {
        top: 64px;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
    }

}

@media (max-width: 479px) {
    .bot-pill {
        top: 10px;
        left: 10px;
        padding: 4px 10px 4px 4px;
    }

    .bot-pill__main {
        width: 42px;
        height: 42px;
    }

    .main {
        padding: 6px 10px 22px;
    }

    .section {
        margin-bottom: 24px;
    }

    .section-head h2 i {
        width: 28px;
        height: 28px;
        font-size: 12px;
        border-radius: 8px;
    }

    .gcard {
        border-radius: 12px;
    }

    .cat-pill {
        padding: 10px;
        min-height: 62px;
        gap: 8px;
    }

    .cat-pill__icon {
        width: 60px;
        height: 60px;
        font-size: 18px;
        border-radius: 10px;
    }

    .cat-pill__label {
        font-size: 13px;
    }

    .footer {
        padding: 32px 14px 16px;
        border-radius: 22px 22px 0 0;
    }

    .footer-grid {
        gap: 22px;
    }

    .game-meta {
        padding: 14px;
    }

}

@media (pointer: coarse) {
    .gcard {
        -webkit-tap-highlight-color: rgba(230, 35, 39, .18);
    }
}

@media (hover: none) {
    .gcard:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    }

    .gcard:hover img {
        transform: none;
    }

    .gcard .gcard-title {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-height: 480px) and (orientation: landscape) {

    .bot-pill {
        top: 8px;
        left: 8px;
    }

}

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

body, .layout, .main {
    overflow-x: hidden;
    max-width: 100vw;
}

@media (max-width: 720px) {

    .bot-pill {
        top: 10px;
        left: 10px;
        padding: 3px 10px;
        max-width: none;
        overflow: visible;
    }

    .bot-pill__icon {
        display: none;
    }

    .bot-pill__main {
        width: 44px;
        height: 44px;
    }

    .layout {
        padding-top: 70px;
    }
}

@media (max-width: 480px) {
    .bot-pill {
        top: 8px;
        left: 8px;
        max-width: none;
        overflow: visible;
    }

    .bot-pill__main {
        width: 44px;
        height: 44px;
    }

    .main {
        padding: 8px 10px 24px;
    }

    .section {
        margin-bottom: 22px;
    }

    .section-head h2 i {
        width: 26px;
        height: 26px;
        font-size: 11px;
        border-radius: 7px;
    }
}

@media (max-width: 720px) {
    .bot-drawer {
        top: 60px;
        left: 8px;
        right: 8px;
        width: auto;
        max-width: none;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
}

@media (max-width: 720px) {
    .footer {
        padding: 28px 16px 18px;
        border-radius: 22px 22px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }

    .footer-col h4 {
        font-size: 13px;
    }

    .footer-col a {
        font-size: 12px;
    }

    .footer-bottom {
        font-size: 11px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer {
        padding: 24px 14px 14px;
    }
}


@media (max-width: 720px) {
    .game-meta {
        padding: 14px;
    }

    .play-now {
        padding: 12px 22px;
        font-size: 13px;
    }
}

@media (max-width: 720px) {
    table {
        font-size: 12px;
    }

    input[type="text"], input[type="email"], input[type="password"],
    textarea, select {
        font-size: 16px !important;
        width: 100%;
        box-sizing: border-box;
    }
}

html, body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html, body, .layout, .main {
    overflow-x: hidden;
}

.m-1280 {
    max-width: 1280px;
    margin: auto;
    position: relative;
}

@supports (padding: env(safe-area-inset-top)) {
    .bot-pill {
        top: max(10px, env(safe-area-inset-top));
    }

    .layout {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

.game-wrap:fullscreen,
.game-wrap:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    border-radius: 0 !important;
    background: #000;
    padding: 0;
    margin: 0;
}

.game-wrap:fullscreen .game-loader,
.game-wrap:-webkit-full-screen .game-loader {
    width: 100%;
    height: 100%;
}

.gcard-title {
    z-index: 3;
}

.badge {
    z-index: 3;
}

#webgl-games {
    position: relative;
    background: linear-gradient(135deg, rgba(110, 40, 200, .06), rgba(0, 168, 204, .06));
    border: 1px solid rgba(110, 40, 200, .12);
    border-radius: 20px;
    padding: 18px 18px 22px;
    margin: 28px 0;
}

#webgl-games .section-head h2 i {
    background: linear-gradient(135deg, #7b2ff7, #00a8cc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#webgl-games .section-head h2 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-desc {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0;
    color: #f5f3f3;
}

@media screen and (min-width: 768px) {
    .detail-desc {
        -webkit-line-clamp: 2;
    }
}

.desc_btn {
    background: #20c171;
    padding: 5px 10px;
    border-radius: 5px;
    width: fit-content;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin: 1rem 0 0;
    line-height: 1;
}

.detail-info p, .detail-info li {
    font-size: 16px;
    color: #4d4b4b;
    margin-bottom: 15px;
    line-height: 1.3;
}

.light .detail-info p, .light .detail-info li, .light .detail-info h1, .light .detail-info h2, .light .detail-info h3, .light .detail-info h4, .light .detail-info h5, .light .detail-info h6 {
    color: #2a2a2a;
}

.detail-info li {
    list-style: disc;
}

.detail-info ul {
    padding-left: 30px;
    list-style: disc;
}

.detail-info h1, .detail-info h2, .detail-info h3, .detail-info h4, .detail-info h5, .detail-info h6 {
    color: #4d4b4b;
    margin: 10px 0;
    font-weight: bold;
    line-height: 1.3;
}

.detail-info h1 {
    font-size: 26px;
}

.detail-info h2 {
    font-size: 24px;
}

.detail-info h3 {
    font-size: 22px;
}

.detail-info h4 {
    font-size: 20px;
}

.detail-info h5, .detail-info h6 {
    font-size: 18px;
}

.detail-info a {
    color: #01cd00;
    text-decoration: underline;
}

.max-line-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

.line-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.max-line-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.max-line-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}