

:root {
    /* Typography Scales */
    --smaller-font: 0.7rem;
    --small-font: 0.87rem;
    --normal-font: 1rem;
    --medium-font: 1.1rem;
    --large-font: 1.7rem;
    --x-large-font: 2rem;
    
    /* Blue Color Palette */
    --bg-color: #0a1929;
    --text-first: #e0f2fe;
    --text-second: #f0f9ff;
    
    /* Primary Blue Shades */
    --first-color: #1a3a5f;
    --second-color: #0d1e3a;
    --third-color: #2d4a6b;
    --fourth-color: #4a6f8f;
    --fifth-color: #5c8aa0;
    --sixth-color: #0a0a0a;
    
    /* Gradient Colors */
    --g1: #1a3a5f;
    --g2: #5c8aa0;
    
    /* Accent */
    --marquee: #2d4a6b;
    --accent-sky: #60a5fa;
    --accent-electric: #3b82f6;
    --accent-dark: #0d2744;
    --accent-deep: #1e40af;
}

body {
    background: var(--bg-color);
    color: var(--text-first);
}

/* === LOGO === */
.logo img {
    width: 19rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.9rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 8px rgba(13, 30, 58, 0.5));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.02);
}

/* === RTP CARD === */
.rtp-card {
    background: linear-gradient(180deg, var(--second-color) 0%, var(--third-color) 100%);
    padding: 0.7rem;
    text-align: center;
    width: 24rem;
    max-width: 100%;
    height: 100%;
    align-items: center;
    border-radius: 8px;
    margin-bottom: 0.7rem;
    position: relative;
    z-index: 1;
    border: 1px solid var(--first-color);
    box-shadow: 0 4px 12px rgba(13, 30, 58, 0.6);
    transition: all 0.3s ease;
}

.rtp-card:hover {
    transform: translateY(-3px);
    border-color: var(--fourth-color);
}

.rtp-card-img {
    max-width: 100%;
    width: 29rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 6px;
    border: 1px solid var(--first-color);
}

/* === IMAGE CONTAINER === */
.place-img-rtp {
    width: 100%;
    padding: 0.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    justify-items: center;
    border-radius: 6px;
    background: var(--second-color);
    box-shadow: inset 0 0 15px rgba(13, 30, 58, 0.8);
    border: 1px solid var(--first-color);
    transition: all 0.3s ease;
}

.place-img-rtp:hover {
    cursor: pointer;
    border-color: var(--accent-sky);
    box-shadow: inset 0 0 20px rgba(45, 74, 107, 0.5);
}

/* === PLAY BUTTON === */
.btn-play {
    border-radius: 6px;
    padding: 0.5rem;
    width: 100%;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid var(--accent-sky);
    background: linear-gradient(135deg, var(--first-color) 0%, var(--fourth-color) 100%);
    color: var(--text-first);
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(13, 30, 58, 0.4);
}

.btn-play:hover {
    background: linear-gradient(135deg, var(--fourth-color) 0%, var(--accent-sky) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.4);
}

/* === PATTERN WRAPPER === */
.pola-wrapper {
    background: var(--second-color);
    padding: 0.9rem;
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    position: relative;
    border: 1px solid var(--first-color);
    box-shadow: 0 2px 8px rgba(13, 30, 58, 0.5);
}

.pola-wrapper h4 {
    font-size: 0.95rem;
    color: var(--accent-sky);
    font-weight: 600;
}

.pola-wrapper h5 {
    font-size: 0.75rem;
    color: var(--text-second);
}

.pola-wrapper h4 i,
.pola-wrapper h5 i {
    color: var(--fourth-color);
}

/* === TIME WRAPPER === */
.jam-wrapper {
    background: var(--accent-dark);
    border-radius: 50%;
    padding: 0.6rem;
    border: 2px solid var(--first-color);
    box-shadow: 0 2px 6px rgba(13, 30, 58, 0.4);
}

/* === TABLE === */
.table-pola {
    max-width: 100%;
    width: 100%;
}

.table-pola tr td {
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-second);
    padding: 0.3rem;
}

/* === BADGES === */
.top-game,
.hot-game {
    background-repeat: no-repeat;
    position: absolute;
    width: 3rem;
    top: 0rem;
    z-index: 2;
    height: 2.9rem;
    left: 0.4rem;
    opacity: 0.95;
}

.top-game {
    background: url('../images/top.gif');
}

.hot-game {
    background: url('../images/hot.gif');
}

/* === PROVIDER ICONS === */
.icon-providers {
    position: absolute;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 2rem;
    top: 0.5rem;
    right: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(13, 30, 58, 0.4));
}

.icon-providers img {
    width: 1.7rem;
}

/* === SLIDER === */
.slider,
.swiper {
    width: 100%;
    max-width: 100%;
}

.slider-img {
    width: 100%;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    border: 1px solid var(--first-color);
}

.slider-wrapper {
    background: linear-gradient(180deg, var(--second-color) 0%, var(--accent-dark) 100%);
    height: 100%;
    border-bottom: 1px solid var(--accent-sky);
    padding: 0.5rem;
}

/* === RUNNING TEXT === */
.running-text {
    background: var(--marquee);
    border-top: 1px solid var(--accent-sky);
    border-bottom: 1px solid var(--accent-sky);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: var(--text-first);
    padding: 0.5rem 1rem;
    letter-spacing: 0.5px;
}

/* === PROVIDER SECTION === */
.icon-prov {
    background: linear-gradient(180deg, var(--second-color) 0%, var(--first-color) 100%);
    display: flex;
    position: relative;
    overflow: auto;
    padding: 0.5rem 0;
    border-top: 1px solid var(--third-color);
    border-bottom: 1px solid var(--third-color);
}

.icon-card-bg {
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-second);
    background: var(--accent-dark);
    border: 1px solid transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.icon-card-bg:hover {
    border-color: var(--accent-sky);
    background: var(--first-color);
    transform: translateY(-2px);
}

.icon-card-bg p {
    font-size: 0.73rem;
    font-weight: 600;
    color: var(--text-first);
    text-align: center;
    white-space: nowrap;
    text-transform: uppercase;
    margin-top: 0.3rem;
}

.img-prov {
    display: block;
    margin-right: auto;
    margin-left: auto;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.icon-card-bg:hover .img-prov {
    filter: grayscale(0%);
}

.item-prov {
    padding: 0 0.5rem;
}

/* === LOGIN BUTTON === */
.btn-login {
    background: linear-gradient(135deg, var(--first-color) 0%, var(--fourth-color) 100%);
    padding: 0.7rem;
    color: var(--text-first);
    border: 2px solid var(--fourth-color);
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-login:hover {
    background: linear-gradient(135deg, var(--fourth-color) 0%, var(--accent-sky) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.4);
}

/* === REGISTER BUTTON === */
.btn-daftar {
    background: linear-gradient(135deg, var(--accent-sky) 0%, var(--accent-electric) 100%);
    padding: 0.7rem;
    color: var(--bg-color);
    border: 2px solid var(--accent-sky);
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-daftar:hover {
    background: linear-gradient(135deg, var(--accent-electric) 0%, var(--accent-deep) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
}

/* === BOTTOM NAVIGATION === */
.nav-bottom {
    position: fixed;
    bottom: 0;
    display: flex;
    z-index: 11;
    overflow: hidden;
    width: 100%;
    border-top: 2px solid var(--accent-sky);
    background: var(--second-color);
    box-shadow: 0 -4px 16px rgba(13, 30, 58, 0.6);
}

.item-nav-bottom {
    background: linear-gradient(180deg, var(--accent-dark) 0%, var(--first-color) 100%);
    color: var(--text-first);
    font-weight: 600;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.75rem 0.3rem;
    flex: 1;
    border-right: 1px solid var(--third-color);
    transition: all 0.3s ease;
}

.item-nav-bottom:last-child {
    border-right: none;
}

.item-nav-bottom:hover {
    background: linear-gradient(180deg, var(--first-color) 0%, var(--fourth-color) 100%);
    cursor: pointer;
    color: var(--text-second);
}

.item-nav-bottom p {
    margin: 0;
    padding: 0;
    margin-bottom: 0;
}

/* === SCROLL TO TOP === */
.btn-up {
    display: none;
    position: fixed;
    bottom: 4.5rem;
    right: 1rem;
    z-index: 99;
    font-size: 1.1rem;
    background: var(--fourth-color);
    color: var(--text-first);
    border: 2px solid var(--accent-sky);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    box-shadow: 0 2px 8px rgba(13, 30, 58, 0.5);
    transition: all 0.3s ease;
}

.btn-up:hover {
    background: var(--accent-sky);
    color: var(--bg-color);
    transform: translateY(-3px);
}

/* === PROGRESS BARS === */
.percent {
    height: 22px;
    margin-top: 10px;
    display: flex;
    overflow: hidden;
    font-size: 0.75rem;
    background-color: var(--second-color);
    border: 1px solid var(--first-color);
    position: relative;
    z-index: 1;
    border-radius: 6px;
    width: 100%;
    margin: 0 auto;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.percent p {
    z-index: 15;
    position: absolute;
    text-align: center;
    width: 100%;
    font-size: 13px;
    top: 50%;
    font-weight: 600;
    transform: translateY(-50%);
    color: var(--text-first);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.percent-bar {
    background-image: linear-gradient(
        45deg,
        rgba(45, 74, 107, 0.15) 25%,
        transparent 25%,
        transparent 50%,
        rgba(45, 74, 107, 0.15) 50%,
        rgba(45, 74, 107, 0.15) 75%,
        transparent 75%,
        transparent
    );
    background-size: 1rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: var(--text-first);
    text-align: center;
    white-space: nowrap;
    transition: width 0.6s ease;
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 2s linear infinite;
    z-index: 10;
    font-weight: 500;
}

/* Progress States */
.bad {
    background-color: #1e40af;
}

.good {
    background-color: #3b82f6;
}

.great {
    background-color: var(--accent-sky);
}

/* === CONTENT HOME === */
.content-home {
    padding: 1.5rem;
    margin-bottom: 5rem;
    background: var(--bg-color);
    color: var(--text-first);
}

/* === RESPONSIVE CONTAINER === */
@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1100px;
    }
}

/* === ANIMATIONS === */
@keyframes progress-bar-stripes {
    0% {
        background-position: 1rem 0;
    }
    100% {
        background-position: 0 0;
    }
}

/* === ACCESSIBILITY === */
*:focus {
    outline: 2px solid var(--accent-sky);
    outline-offset: 2px;
}

/* === SMOOTH SCROLLING === */
html {
    scroll-behavior: smooth;
}

/* === SELECTION STYLING === */
::selection {
    background: var(--accent-deep);
    color: var(--text-first);
}