/**
 * Jackpot 777 Casino - Main Stylesheet
 * Class prefix: s1b6-
 * Color palette: #FF5722 (orange) | #262626 (dark) | #FFBF00 (gold) | #FFEF94 (light gold) | #FFFACD (cream)
 */

/* CSS Reset and Variables */
:root {
    --s1b6-primary: #FF5722;
    --s1b6-secondary: #FFBF00;
    --s1b6-bg-dark: #262626;
    --s1b6-bg-darker: #1a1a1a;
    --s1b6-text-light: #FFEF94;
    --s1b6-text-cream: #FFFACD;
    --s1b6-text-white: #ffffff;
    --s1b6-accent: #FF5722;
    --s1b6-gradient: linear-gradient(135deg, #FF5722 0%, #FFBF00 100%);
    --s1b6-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
    --s1b6-radius: 12px;
    --s1b6-transition: all 0.3s ease;
}

/* Base Styles */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--s1b6-bg-dark);
    color: var(--s1b6-text-white);
    line-height: 1.5;
    max-width: 430px;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Container */
.s1b6-container {
    width: 100%;
    padding: 0 15px;
    max-width: 430px;
    margin: 0 auto;
}

/* Header Styles */
.s1b6-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: var(--s1b6-bg-darker);
    padding: 10px 15px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--s1b6-primary);
    transition: var(--s1b6-transition);
}

.s1b6-header-scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: var(--s1b6-shadow);
}

.s1b6-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.s1b6-logo img {
    width: 32px;
    height: 32px;
}

.s1b6-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--s1b6-secondary);
    text-shadow: 0 0 10px rgba(255, 191, 0, 0.5);
}

.s1b6-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.s1b6-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--s1b6-transition);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.s1b6-btn-primary {
    background: var(--s1b6-gradient);
    color: var(--s1b6-bg-dark);
}

.s1b6-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: var(--s1b6-shadow);
}

.s1b6-btn-outline {
    background: transparent;
    border: 2px solid var(--s1b6-secondary);
    color: var(--s1b6-secondary);
}

.s1b6-btn-outline:hover {
    background: var(--s1b6-secondary);
    color: var(--s1b6-bg-dark);
}

.s1b6-menu-toggle {
    background: none;
    border: none;
    color: var(--s1b6-text-white);
    font-size: 2rem;
    cursor: pointer;
    padding: 5px;
}

/* Mobile Menu */
.s1b6-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--s1b6-bg-darker);
    z-index: 9999;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.s1b6-menu-open {
    right: 0;
}

.s1b6-mobile-menu ul {
    list-style: none;
}

.s1b6-mobile-menu li {
    margin-bottom: 15px;
}

.s1b6-mobile-menu a {
    color: var(--s1b6-text-white);
    text-decoration: none;
    font-size: 1.4rem;
    padding: 10px 15px;
    display: block;
    border-radius: 8px;
    transition: var(--s1b6-transition);
}

.s1b6-mobile-menu a:hover {
    background: var(--s1b6-primary);
    color: var(--s1b6-text-white);
}

.s1b6-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--s1b6-transition);
}

.s1b6-overlay-visible {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.s1b6-main {
    padding-top: 60px;
    padding-bottom: 80px;
}

@media (min-width: 769px) {
    .s1b6-main {
        padding-bottom: 30px;
    }
}

/* Carousel Styles */
.s1b6-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 10px;
}

.s1b6-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.s1b6-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
}

.s1b6-slide-active {
    opacity: 1;
}

.s1b6-slide img {
    width: 100%;
    height: auto;
    border-radius: var(--s1b6-radius);
}

.s1b6-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.s1b6-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--s1b6-transition);
}

.s1b6-dot-active {
    background: var(--s1b6-secondary);
    transform: scale(1.2);
}

/* Section Styles */
.s1b6-section {
    padding: 25px 15px;
}

.s1b6-section-title {
    font-size: 1.8rem;
    color: var(--s1b6-secondary);
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 0 15px rgba(255, 191, 0, 0.3);
}

.s1b6-section-desc {
    font-size: 1.3rem;
    color: var(--s1b6-text-light);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Game Grid */
.s1b6-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.s1b6-game-item {
    text-align: center;
    cursor: pointer;
    transition: var(--s1b6-transition);
}

.s1b6-game-item:hover {
    transform: scale(1.05);
}

.s1b6-game-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.s1b6-game-name {
    font-size: 1rem;
    color: var(--s1b6-text-white);
    margin-top: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Card Styles */
.s1b6-card {
    background: var(--s1b6-bg-darker);
    border-radius: var(--s1b6-radius);
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 191, 0, 0.1);
    transition: var(--s1b6-transition);
}

.s1b6-card:hover {
    border-color: var(--s1b6-primary);
    box-shadow: var(--s1b6-shadow);
}

.s1b6-card-title {
    font-size: 1.5rem;
    color: var(--s1b6-secondary);
    margin-bottom: 10px;
}

.s1b6-card-text {
    font-size: 1.2rem;
    color: var(--s1b6-text-light);
    line-height: 1.6;
}

/* Feature List */
.s1b6-feature-list {
    list-style: none;
}

.s1b6-feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 191, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
}

.s1b6-feature-list li:last-child {
    border-bottom: none;
}

.s1b6-feature-icon {
    color: var(--s1b6-primary);
    font-size: 1.6rem;
}

/* Promo Link Styles */
.s1b6-promo-link {
    color: var(--s1b6-secondary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--s1b6-transition);
}

.s1b6-promo-link:hover {
    color: var(--s1b6-primary);
    text-decoration: underline;
}

.s1b6-promo-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--s1b6-gradient);
    color: var(--s1b6-bg-dark);
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 25px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--s1b6-transition);
    text-align: center;
}

.s1b6-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--s1b6-shadow);
}

/* Footer Styles */
.s1b6-footer {
    background: var(--s1b6-bg-darker);
    padding: 30px 15px 20px;
    border-top: 2px solid var(--s1b6-primary);
}

.s1b6-footer-brand {
    text-align: center;
    margin-bottom: 20px;
}

.s1b6-footer-desc {
    font-size: 1.2rem;
    color: var(--s1b6-text-light);
    margin: 10px 0;
    line-height: 1.6;
}

.s1b6-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.s1b6-footer-link {
    color: var(--s1b6-text-cream);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 5px 10px;
    transition: var(--s1b6-transition);
}

.s1b6-footer-link:hover {
    color: var(--s1b6-secondary);
}

.s1b6-footer-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--s1b6-text-light);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bottom Navigation - Mobile Only */
.s1b6-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 60px;
    background: linear-gradient(180deg, var(--s1b6-bg-darker) 0%, #0d0d0d 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 2px solid var(--s1b6-primary);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.5);
}

@media (min-width: 769px) {
    .s1b6-bottom-nav {
        display: none;
    }
}

.s1b6-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: none;
    border: none;
    color: var(--s1b6-text-light);
    cursor: pointer;
    transition: var(--s1b6-transition);
    text-decoration: none;
}

.s1b6-nav-btn:hover,
.s1b6-nav-btn.active {
    color: var(--s1b6-secondary);
}

.s1b6-nav-btn i,
.s1b6-nav-btn .material-icons {
    font-size: 24px;
    margin-bottom: 2px;
}

.s1b6-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Testimonial Styles */
.s1b6-testimonial {
    background: var(--s1b6-bg-darker);
    border-radius: var(--s1b6-radius);
    padding: 15px;
    margin-bottom: 10px;
    border-left: 3px solid var(--s1b6-primary);
}

.s1b6-testimonial-text {
    font-size: 1.2rem;
    color: var(--s1b6-text-light);
    font-style: italic;
    margin-bottom: 10px;
}

.s1b6-testimonial-author {
    font-size: 1.1rem;
    color: var(--s1b6-secondary);
    font-weight: 600;
}

/* Winner Showcase */
.s1b6-winner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--s1b6-bg-darker);
    border-radius: 8px;
    margin-bottom: 8px;
}

.s1b6-winner-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--s1b6-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--s1b6-bg-dark);
}

.s1b6-winner-info {
    flex: 1;
}

.s1b6-winner-name {
    font-size: 1.2rem;
    color: var(--s1b6-text-white);
}

.s1b6-winner-amount {
    font-size: 1.3rem;
    color: var(--s1b6-secondary);
    font-weight: 700;
}

/* Payment Methods */
.s1b6-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.s1b6-payment-item {
    padding: 10px 15px;
    background: var(--s1b6-bg-darker);
    border-radius: 8px;
    font-size: 1.1rem;
    color: var(--s1b6-text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* RTP Table */
.s1b6-rtp-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.s1b6-rtp-table th,
.s1b6-rtp-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 191, 0, 0.1);
    font-size: 1.2rem;
}

.s1b6-rtp-table th {
    color: var(--s1b6-secondary);
    font-weight: 600;
}

.s1b6-rtp-table td {
    color: var(--s1b6-text-light);
}

.s1b6-rtp-high {
    color: #4CAF50;
    font-weight: 600;
}

.s1b6-rtp-medium {
    color: var(--s1b6-secondary);
}

/* Category Badge */
.s1b6-category-badge {
    display: inline-block;
    padding: 5px 12px;
    background: var(--s1b6-primary);
    color: var(--s1b6-text-white);
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    margin: 5px;
}

/* H1 Title Style */
.s1b6-h1-title {
    font-size: 2rem;
    color: var(--s1b6-secondary);
    text-align: center;
    margin: 20px 0;
    text-shadow: 0 0 20px rgba(255, 191, 0, 0.4);
    line-height: 1.4;
}

/* Utility Classes */
.s1b6-text-center {
    text-align: center;
}

.s1b6-mt-20 {
    margin-top: 20px;
}

.s1b6-mb-20 {
    margin-bottom: 20px;
}

.s1b6-hidden-desktop {
    display: block;
}

@media (min-width: 769px) {
    .s1b6-hidden-desktop {
        display: none;
    }
}

/* Responsive adjustments */
@media (max-width: 360px) {
    .s1b6-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .s1b6-h1-title {
        font-size: 1.7rem;
    }
}
