:root {
    --bg-main: #06131f;
    --bg-secondary: rgba(10, 20, 35, 0.78);
    --bg-card: rgba(13, 27, 42, 0.72);
    --bg-card-hover: rgba(20, 40, 65, 0.9);
    --primary: #00d9ff;
    --primary-dark: #009dff;
    --secondary: #6f7bff;
    --accent: #ffd54a;
    --success: #31d67b;
    --danger: #ff5c7a;
    --text-main: #f5fbff;
    --text-soft: #b9d5e8;
    --text-dark: #0a0f14;
    --border-glow: rgba(0, 217, 255, 0.35);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 20px rgba(0, 217, 255, 0.22);
    --radius: 18px;
    --radius-lg: 24px;
    --transition: all 0.3s ease;
    --x-large-font: clamp(1rem, 2vw, 1.25rem);
}

* {
    box-sizing: border-box;
    font-family: "Segoe UI", "Inter", "Poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text-main);
    background:
        radial-gradient(circle at top left, rgba(0, 217, 255, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(111, 123, 255, 0.18), transparent 24%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.75)),
        url(../img/bg.jpg) center center / cover fixed no-repeat;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

a:hover {
    text-decoration: none;
    color: #ffffff;
}

img {
    vertical-align: middle;
    border-style: none;
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 1140px;
    padding-left: 16px;
    padding-right: 16px;
}

.adv {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

.title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.title-text {
    color: #fff;
    font-size: clamp(1.5rem, 2.4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 16px rgba(0, 217, 255, 0.28);
}

.figure-text {
    text-align: center;
}

.figure-text > p {
    position: relative;
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 8px;
    margin-bottom: 10px;
    color: var(--text-soft);
    font-size: 14px;
}

.content-box {
    padding: 1rem;
    text-align: center;
    background: linear-gradient(145deg, rgba(5, 17, 30, 0.8), rgba(10, 30, 50, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.content-box2 {
    padding: 18px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 18px;
    flex-wrap: wrap;
    min-height: 500px;
    width: min(100%, 1200px);
    margin-left: auto;
    margin-right: auto;
    background: rgba(5, 15, 28, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.content {}

.game {
    display: block;
    margin-top: 24px;
}

.game .game-sidebar {
    padding: 0;
    margin-top: 8px;
    background: linear-gradient(180deg, rgba(3, 15, 28, 0.95), rgba(8, 25, 45, 0.95));
    border: 1px solid rgba(0, 217, 255, 0.18);
    border-radius: var(--radius);
    overflow: hidden;
    float: none !important;
    width: 100% !important;
    flex: none !important;
    max-width: 100% !important;
    box-shadow: var(--shadow-soft);
}

.game-sidebar-nav {
    display: flex;
    flex-wrap: nowrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.game-sidebar-nav::-webkit-scrollbar {
    display: none;
}

.game-sidebar-nav > li {
    width: 100%;
    position: relative;
    display: block;
    padding: 8px;
    background: linear-gradient(180deg, #081a31 0%, #0f5ecb 52%, #07182e 100%);
    transition: var(--transition);
}

.game-sidebar-nav > li:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.game-sidebar-nav > li > a {
    color: #fff;
    font-size: 13px;
    padding: 10px 12px;
    display: block;
    background: rgba(2, 24, 42, 0.88);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.btn-provider {
    text-align: center;
    display: block;
    color: #fff;
    font-size: 13px;
    padding: 10px 12px;
    background: linear-gradient(135deg, rgba(6, 17, 29, 0.95), rgba(0, 102, 170, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin-right: 1rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.btn-provider:hover {
    background: linear-gradient(135deg, rgba(12, 32, 54, 0.95), rgba(0, 140, 255, 0.95));
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(0, 217, 255, 0.25);
}

.btn-provider span {
    position: unset;
}

.btn-provider img {
    margin: 0 auto !important;
}

.btn-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    text-align: center;
    padding-top: 10px;
}

.banner {
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-size: cover !important;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.next-btn {
    background: linear-gradient(135deg, #0b2444 0%, #14b9ff 50%, #0b2444 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: 15%;
    font-size: xx-large;
    color: white;
    border-radius: 16px;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
}

.next-btn:hover {
    transform: scale(1.04);
    filter: brightness(1.08);
}

.short,
.mySlides,
.enter {
    display: none;
}

.game .content {
    float: none;
    width: 100%;
    padding: 16px;
    flex: 0 0 100%;
    max-width: 100%;
    background: linear-gradient(180deg, rgba(8, 14, 24, 0.88), rgba(18, 18, 18, 0.88));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-soft);
}

.wrapper {
    width: 100%;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    z-index: 0;
    background: linear-gradient(135deg, rgba(7, 22, 43, 0.9), rgba(15, 70, 130, 0.9));
    border-radius: 20px;
    border: 1px solid rgba(0, 217, 255, 0.15);
    box-shadow: var(--shadow-soft);
}

.link-container {
    display: flex;
    justify-content: center;
    font-size: var(--x-large-font);
    padding: 0;
    width: 100%;
    gap: 0;
}

.link-container a {
    width: 50%;
    text-align: center;
    padding: 16px 20px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: var(--transition);
}

.register-button,
.login-button {
    color: #000;
    font-family: system-ui, sans-serif;
    font-size: 14px;
    font-weight: 800;
    position: relative;
    overflow: hidden;
}

.register-button {
    background: linear-gradient(135deg, #00e1ff 0%, #00a6ff 50%, #0078ff 100%);
    color: white;
}

.login-button {
    background: linear-gradient(135deg, #ffe44d 0%, #ffc107 50%, #ff9800 100%);
    color: #111;
}

.register-button:hover,
.login-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.2);
}

.card {
    float: left;
    width: 20%;
    background: transparent;
    border: none;
    text-align: center;
    position: relative;
    border-radius: 0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-6px);
}

.card-content {
    margin: 10px auto;
    color: #fff;
    font-size: 12px;
    overflow: hidden;
    position: relative;
    width: 88%;
    border-radius: 18px;
    border: 1px solid var(--border-glow);
    background: linear-gradient(180deg, rgba(8, 19, 34, 0.85), rgba(10, 34, 56, 0.72));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

.card-content:hover {
    background: var(--bg-card-hover);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38), 0 0 18px rgba(0, 217, 255, 0.18);
}

.percent,
.percents {
    height: 28px;
    display: flex;
    overflow: hidden;
    line-height: 0;
    font-size: .75rem;
    position: relative;
    z-index: 1;
    border-radius: 999px;
    margin: 10px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.35);
}

.percent {
    background: rgba(255, 255, 255, 0.14);
}

.percents {
    background: rgba(0, 126, 255, 0.18);
}

.percent p,
.percents p {
    z-index: 15;
    position: absolute;
    text-align: center;
    width: 100%;
    font-size: 13px;
    font-weight: 800;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0d1117;
}

.percent-bar {
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, .18) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, .18) 50%,
        rgba(255, 255, 255, .18) 75%,
        transparent 75%,
        transparent
    );
    background-size: 1rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: var(--primary-dark);
    transition: width .6s ease;
    animation: progress-bar-stripes 1s linear infinite;
    z-index: 10;
    border-radius: 999px;
}

.yellow {
    background-color: #ffc107 !important;
}

.green {
    background-color: #28c76f !important;
}

.red {
    background-color: #ff4d6d !important;
}

.pola,
.polapp,
.jam {
    overflow: hidden;
    line-height: 0;
    font-size: .75rem;
    position: relative;
    z-index: 1;
    padding-top: 14px;
    margin: 10px;
    border-radius: 16px;
    box-shadow: inset 0 -8px 16px rgba(0, 0, 0, 0.2);
}

.pola {
    height: 40px;
    background: linear-gradient(135deg, #ff006e 0%, #cc00a7 100%);
}

.polapp {
    height: 80px;
    background: linear-gradient(135deg, #0033cc 0%, #33b1ff 100%);
}

.jam {
    height: 40px;
    background: linear-gradient(135deg, #43d64f 0%, #1d6c24 100%);
}

.long {
    font-size: large;
    font-weight: 800;
    padding-top: 10px;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(255, 213, 74, 0.22);
}

.hover-btn {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.2));
    transition: all 0.45s ease-in-out;
    z-index: 10;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn {
    font-size: 15px;
    text-decoration: none;
    color: white;
    text-align: center;
    width: max-content;
    padding: 10px 20px;
    background: linear-gradient(135deg, #00d084, #00a8ff);
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.play-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.img-zoom {
    transition: all 0.45s ease-in-out;
    height: 117.73px;
    width: 100%;
    object-fit: cover;
}

.card-content:hover .hover-btn {
    opacity: 1;
}

.card-content:hover .img-zoom {
    transform: scale(1.08);
}

.game-pg-btn {
    background: linear-gradient(135deg, #5e74da, #3b49a8);
    padding: 10px 16px;
    font-size: 30px;
    border-radius: 12px;
    color: white;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.game-pg-btn:hover {
    background: linear-gradient(135deg, #6b85ff, #4758c7);
    transform: translateY(-2px);
}

.game-slides {
    background: linear-gradient(135deg, rgba(12, 34, 66, 0.95), rgba(29, 142, 223, 0.95), rgba(12, 34, 66, 0.95));
    padding: 0.8rem 2rem;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

.slick-prev {
    left: 13px;
}

.slick-next {
    right: 13px;
}

h1 {
    font-weight: 900;
    font-size: 20px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.2);
}

.mybutton3,
.mybutton1 {
    display: inline-block;
    cursor: pointer;
    border-radius: 999px;
    font-family: Arial, sans-serif;
    font-size: 35px;
    font-weight: bold;
    padding: 10px 52px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.28);
}

.mybutton3 {
    box-shadow: 0 12px 22px rgba(0, 80, 255, 0.3);
    background: linear-gradient(135deg, #44c6ff 5%, #1e62d0 100%);
    background-color: #3d94f6;
    border: 3px solid #337fed;
    color: #ffffff;
    text-shadow: 0px 1px 0px #1570cd;
}

.mybutton3:hover {
    background: linear-gradient(135deg, #1e62d0 5%, #3d94f6 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 18px rgba(61, 148, 246, 0.45);
}

.mybutton3:active {
    position: relative;
    top: 1px;
}

.mybutton1 {
    background: linear-gradient(135deg, #ffe96a 5%, #ffab23 100%);
    background-color: #ffec64;
    border: 3px solid #ffaa22;
    color: #333333;
    text-shadow: 0px 0px 0px #ffee66;
}

.mybutton1:hover {
    background: linear-gradient(135deg, #ffab23 5%, #ffec64 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 18px rgba(255, 171, 35, 0.45);
}

.mybutton1:active {
    position: relative;
    top: 1px;
}

@keyframes progress-bar-stripes {
    0% {
        background-position: 1rem 0;
    }
    100% {
        background-position: 0 0;
    }
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 992px) {
    .game-sidebar-nav {
        flex-wrap: nowrap;
    }

    .game-sidebar {
        float: none !important;
        width: 100% !important;
        flex: none !important;
        max-width: 100% !important;
        padding-right: 0 !important;
    }

    .game-sidebar-nav li a img {
        height: 17.5px !important;
    }

    .game-sidebar-nav li a p {
        font-size: 9px;
    }

    .content {
        float: none !important;
        width: 100% !important;
        flex: none !important;
        max-width: 100% !important;
    }

    .card {
        width: 33.333% !important;
    }

    .hover-btn:hover {
        opacity: 0;
    }

    .hover-btn:hover ~ .img-zoom {
        transform: scale(1);
        position: relative;
    }

    .btn-provider {
        text-align: center;
        display: block;
        padding: 6px;
    }

    .btn-provider img {
        width: 100%;
    }

    .game-sidebar-nav li {
        border-bottom: none;
    }

    .img-zoom {
        height: auto;
    }

    .game-pg-btn {
        margin: 0;
        font-size: 12px;
        padding: 6px 10px;
        border-radius: 8px;
    }

    .next-btn {
        width: auto;
        padding: 10px 18px;
        font-size: 18px;
    }

    .mybutton1,
    .mybutton3 {
        font-size: 22px;
        padding: 10px 24px;
    }
}

@media (max-width: 576px) {
    .card {
        width: 50% !important;
    }

    .link-container {
        flex-direction: column;
    }

    .link-container a {
        width: 100%;
    }

    .content-box2 {
        padding: 12px;
        gap: 12px;
    }

    .game .content {
        padding: 12px;
    }
}