/* ============================================
   PREMIUM DARK THEME - REFINED ELEGANCE
   Calm, Steady, Sophisticated
   ============================================ */

/* === COLOR PALETTE === */
:root {
    /* Typography Scales */
    --smaller-font: 0.7rem;
    --small-font: 0.875rem;
    --normal-font: 1rem;
    --medium-font: 1.125rem;
    --large-font: 1.75rem;
    --x-large-font: 2rem;
    
    /* Primary Colors - Deep Black Foundation */
    --primary-black: #000000;
    --secondary-black: #0d0d0d;
    --tertiary-black: #1a1a1a;
    --quaternary-black: #262626;
    
    /* Subtle Gold Accents - Refined & Minimal */
    --gold-subtle: #8B7355;
    --gold-muted: #A68B5B;
    --gold-refined: #B8956A;
    --gold-hint: rgba(184, 149, 106, 0.3);
    
    /* Supporting Colors */
    --white-pure: #ffffff;
    --white-soft: #e8e8e8;
    --white-dim: #b0b0b0;
    --gray-medium: #404040;
    --success-green: #4CAF50;
    --warning-orange: #ff8c00;
    --danger-red: #d32f2f;
    
    /* Gradients - Calm & Steady */
    --gradient-dark: linear-gradient(180deg, #000000 0%, #1a1a1a 100%);
    --gradient-subtle: linear-gradient(135deg, #0d0d0d 0%, #262626 100%);
    --gradient-gold-hint: linear-gradient(135deg, #1a1a1a 0%, #8B7355 100%);
    
    /* Shadows - Minimal & Refined */
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.6);
    --shadow-gold-subtle: 0 2px 10px rgba(139, 115, 85, 0.15);
    --shadow-inset: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* === LOGO STYLING === */
.logo img {
    width: 19rem;
    max-width: 90%;
    display: block;
    margin: 1.9rem auto 1rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
    opacity: 0.95;
}

.logo img:hover {
    transform: scale(1.02);
    opacity: 1;
}

/* === RTP CARD - REFINED DARK DESIGN === */
.rtp-card {
    background: var(--gradient-dark);
    padding: 1rem;
    text-align: center;
    width: 24rem;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
    position: relative;
    border: 1px solid var(--gold-subtle);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.rtp-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-muted);
    box-shadow: var(--shadow-gold-subtle);
}

.rtp-card-img {
    max-width: 100%;
    width: 29rem;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
    border: 1px solid var(--quaternary-black);
}

/* === IMAGE CONTAINER - SUBTLE ACCENT === */
.place-img-rtp {
    width: 100%;
    padding: 0.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    border-radius: 6px;
    background: var(--secondary-black);
    border: 1px solid var(--gold-subtle);
    box-shadow: var(--shadow-inset);
    transition: all 0.3s ease;
}

.place-img-rtp:hover {
    cursor: pointer;
    border-color: var(--gold-muted);
    background: var(--tertiary-black);
}

/* === PLAY BUTTON - UNDERSTATED ELEGANCE === */
.btn-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    border: 2px solid var(--gold-muted);
    border-radius: 6px;
    padding: 0.7rem 1.5rem;
    width: 12rem;
    max-width: 70%;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--gradient-gold-hint);
    color: var(--white-soft);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.btn-play:hover {
    background: var(--gold-muted);
    color: var(--primary-black);
    transform: translate(-50%, -50%) scale(1.03);
    box-shadow: var(--shadow-gold-subtle);
}

/* === PATTERN WRAPPER - CALM DARK === */
.pola-wrapper {
    background: var(--secondary-black);
    padding: 1.2rem;
    width: 14rem;
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid var(--gold-subtle);
    box-shadow: var(--shadow-medium);
    position: relative;
}

.pola-wrapper h4 {
    font-size: 1rem;
    color: var(--gold-refined);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pola-wrapper h5 {
    font-size: 0.8rem;
    color: var(--white-dim);
    font-weight: 400;
}

.pola-wrapper h4 i,
.pola-wrapper h5 i {
    color: var(--gold-muted);
}

/* === TIME INDICATOR === */
.jam-wrapper {
    background: var(--gold-muted);
    border-radius: 50%;
    padding: 0.6rem;
    box-shadow: var(--shadow-soft);
}

/* === TABLE STYLING === */
.table-pola {
    max-width: 100%;
    width: 9rem;
}

.table-pola tr td {
    text-align: center;
    font-size: 0.75rem;
    color: var(--white-dim);
    padding: 0.3rem;
}

/* === BADGE INDICATORS === */
.top-game,
.hot-game {
    background-repeat: no-repeat !important;
    position: absolute;
    width: 3rem;
    height: 2.9rem;
    top: 0;
    left: 0.4rem;
    z-index: 2;
    opacity: 0.9;
}

.top-game {
    background: url(../images/top.gif);
}

.hot-game {
    background: url(../images/hot.gif);
}

/* === PROVIDER ICONS === */
.icon-providers {
    position: absolute;
    display: block;
    width: 2rem;
    top: 0.5rem;
    right: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.icon-providers img {
    width: 1.7rem;
    opacity: 0.9;
}

/* === SLIDER COMPONENTS === */
.slider,
.swiper {
    width: 50rem;
    max-width: 100%;
}

.slider {
    padding: 1rem;
}

.slider-img {
    width: 40rem;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    border: 1px solid var(--gold-subtle);
}

.slider-wrapper {
    background: var(--gradient-dark);
    border-bottom: 1px solid var(--gold-subtle);
    padding: 1rem;
}

/* === THEME BACKGROUND === */
.bg-theme {
    background: var(--primary-black);
    padding: 0.5rem;
}

/* === RUNNING TEXT BANNER - MINIMAL ACCENT === */
.running-text {
    background: var(--tertiary-black);
    border-top: 1px solid var(--gold-subtle);
    border-bottom: 1px solid var(--gold-subtle);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: var(--gold-refined);
    padding: 0.5rem 1rem;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-soft);
}

/* === PROVIDER ICONS SECTION === */
.icon-prov {
    background: var(--gradient-dark);
    display: flex;
    justify-content: center;
    overflow-x: auto;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-medium);
    border-bottom: 1px solid var(--gray-medium);
}

.icon-card-bg {
    cursor: pointer;
    padding: 0.75rem;
    background: var(--secondary-black);
    border: 1px solid transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.icon-card-bg:hover {
    border-color: var(--gold-subtle);
    background: var(--tertiary-black);
    transform: translateY(-2px);
}

.icon-card-bg p {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--white-dim);
    text-align: center;
    white-space: nowrap;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.icon-card-bg:hover p {
    color: var(--gold-refined);
}

.img-prov {
    display: block;
    margin: 0 auto;
    filter: grayscale(40%) brightness(0.9);
    transition: filter 0.3s ease;
}

.icon-card-bg:hover .img-prov {
    filter: grayscale(0%) brightness(1);
}

.item-prov {
    padding: 0 0.5rem;
}

/* === CREDIT BUTTON - REFINED ACCENT === */
.btn-credit {
    background: var(--gradient-subtle);
    border: 1px solid var(--gold-muted);
    box-shadow: var(--shadow-soft);
    padding: 0.7rem 1.5rem;
    color: var(--gold-refined);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-credit:hover {
    background: var(--gold-muted);
    color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-subtle);
}

/* === BOTTOM NAVIGATION - DEEP BLACK BASE === */
.nav-bottom {
    position: fixed;
    bottom: 0;
    display: flex;
    z-index: 11;
    width: 100%;
    background: var(--primary-black);
    border-top: 1px solid var(--gold-subtle);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.6);
}

.item-nav-bottom {
    background: var(--secondary-black);
    color: var(--white-dim);
    font-weight: 500;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.75rem 0.5rem;
    flex: 1;
    border-right: 1px solid var(--quaternary-black);
    transition: all 0.3s ease;
}

.item-nav-bottom:last-child {
    border-right: none;
}

.item-nav-bottom:hover {
    background: var(--tertiary-black);
    color: var(--gold-refined);
    cursor: pointer;
}

.item-nav-bottom p {
    margin: 0;
    padding: 0;
}

/* === SCROLL TO TOP BUTTON === */
.btn-up {
    display: none;
    position: fixed;
    bottom: 4.5rem;
    right: 1rem;
    z-index: 99;
    background: var(--tertiary-black);
    color: var(--gold-refined);
    border: 1px solid var(--gold-subtle);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    font-size: 1.1rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.btn-up:hover {
    background: var(--gold-muted);
    color: var(--primary-black);
    transform: translateY(-3px);
}

/* === PROGRESS BARS - CALM DESIGN === */
.percent {
    height: 22px;
    margin-top: 10px;
    display: flex;
    overflow: hidden;
    background-color: var(--secondary-black);
    border: 1px solid var(--gold-subtle);
    border-radius: 6px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-inset);
}

.percent p {
    z-index: 15;
    position: absolute;
    text-align: center;
    width: 100%;
    font-size: 12px;
    font-weight: 600;
    color: var(--white-soft);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    top: 50%;
    transform: translateY(-50%);
}

.percent-bar {
    background-image: linear-gradient(
        45deg,
        rgba(139, 115, 85, 0.1) 25%,
        transparent 25%,
        transparent 50%,
        rgba(139, 115, 85, 0.1) 50%,
        rgba(139, 115, 85, 0.1) 75%,
        transparent 75%,
        transparent
    );
    background-size: 1rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: var(--white-pure);
    text-align: center;
    white-space: nowrap;
    transition: width 0.6s ease;
    animation: progress-bar-stripes 2s linear infinite;
    font-weight: 500;
}

/* Progress Bar States - Subdued Colors */
.bad {
    background-color: #a52a2a;
}

.good {
    background-color: #cc7000;
}

.great {
    background-color: #388e3c;
}

/* === MAIN CONTENT AREA === */
.content-home {
    padding: 1.5rem;
    margin-bottom: 5rem;
    background: var(--primary-black);
    color: var(--white-soft);
    min-height: 100vh;
}

/* === RESPONSIVE CONTAINER === */
@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1100px !important;
    }
}

/* === ANIMATIONS - SUBTLE & SMOOTH === */
@keyframes progress-bar-stripes {
    0% {
        background-position: 1rem 0;
    }
    100% {
        background-position: 0 0;
    }
}

/* === ACCESSIBILITY === */
*:focus {
    outline: 1px solid var(--gold-muted);
    outline-offset: 2px;
}

/* === SMOOTH SCROLLING === */
html {
    scroll-behavior: smooth;
}

/* === SELECTION STYLING === */
::selection {
    background: var(--gold-subtle);
    color: var(--white-pure);
}

/* === PRINT STYLES === */
@media print {
    .nav-bottom,
    .btn-up {
        display: none !important;
    }
}