/**
 * JL76 Casino - Main Stylesheet
 * Prefix: s353-
 * All classes use s353- prefix to avoid conflicts
 */

/* CSS Variables */
:root {
    --s353-primary: #FFB3BA;
    --s353-secondary: #5D5D5D;
    --s353-accent: #BDC3C7;
    --s353-light: #C0C0C0;
    --s353-dark: #0A0A0A;
    --s353-bg: #0A0A0A;
    --s353-text: #FFFFFF;
    --s353-text-muted: #BDC3C7;
    --s353-border: #2A2A2A;
    --s353-success: #4CAF50;
    --s353-warning: #FFC107;
    --s353-gradient-start: #FFB3BA;
    --s353-gradient-end: #FF6B7A;
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--s353-bg);
    color: var(--s353-text);
    min-height: 100vh;
}

a {
    color: var(--s353-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--s353-gradient-end);
}

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

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

/* Header */
.s353-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--s353-dark) 0%, rgba(10, 10, 10, 0.95) 100%);
    border-bottom: 1px solid var(--s353-border);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.s353-header-scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.s353-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.s353-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

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

.s353-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--s353-primary);
    letter-spacing: 0.5px;
}

.s353-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.s353-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 36px;
    min-width: 70px;
}

.s353-btn-primary {
    background: linear-gradient(135deg, var(--s353-gradient-start) 0%, var(--s353-gradient-end) 100%);
    color: var(--s353-dark);
}

.s353-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 179, 186, 0.4);
}

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

.s353-btn-secondary:hover {
    background: var(--s353-primary);
    color: var(--s353-dark);
}

.s353-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.s353-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--s353-text);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.s353-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--s353-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    border-left: 1px solid var(--s353-border);
}

.s353-menu-active {
    right: 0;
}

.s353-menu-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: all 0.3s ease;
}

.s353-overlay-active {
    opacity: 1;
    visibility: visible;
}

.s353-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--s353-text);
    font-size: 2.4rem;
    cursor: pointer;
}

.s353-menu-links {
    margin-top: 5rem;
    list-style: none;
}

.s353-menu-links li {
    margin-bottom: 1.5rem;
}

.s353-menu-links a {
    display: block;
    padding: 1rem;
    font-size: 1.6rem;
    color: var(--s353-text);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.s353-menu-links a:hover {
    background: var(--s353-border);
    color: var(--s353-primary);
}

/* Main Content */
main {
    padding-top: 70px;
    padding-bottom: 80px;
}

@media (min-width: 769px) {
    main {
        padding-bottom: 2rem;
    }
}

/* Carousel */
.s353-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

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

.s353-slide {
    min-width: 100%;
    display: none;
    cursor: pointer;
}

.s353-slide-active {
    display: block;
}

.s353-slide img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.s353-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.s353-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.s353-dot-active {
    background: var(--s353-primary);
    transform: scale(1.2);
}

/* Sections */
.s353-section {
    padding: 2rem 0;
}

.s353-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--s353-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.s353-section-title i {
    font-size: 2.4rem;
}

/* Game Grid */
.s353-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.s353-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.s353-game-item:hover {
    transform: translateY(-5px);
}

.s353-game-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    object-fit: cover;
}

.s353-game-name {
    font-size: 1.1rem;
    color: var(--s353-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Title */
.s353-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--s353-text);
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--s353-primary);
}

/* Cards */
.s353-card {
    background: linear-gradient(145deg, #1A1A1A 0%, #0F0F0F 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--s353-border);
}

.s353-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--s353-primary);
}

.s353-card-content {
    font-size: 1.4rem;
    color: var(--s353-text-muted);
    line-height: 1.6;
}

/* Features Grid */
.s353-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.s353-feature {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(145deg, #1A1A1A 0%, #0F0F0F 100%);
    border-radius: 12px;
    border: 1px solid var(--s353-border);
}

.s353-feature i {
    font-size: 3rem;
    color: var(--s353-primary);
    margin-bottom: 1rem;
}

.s353-feature h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--s353-text);
}

.s353-feature p {
    font-size: 1.2rem;
    color: var(--s353-text-muted);
}

/* Footer */
.s353-footer {
    background: linear-gradient(180deg, #1A1A1A 0%, var(--s353-dark) 100%);
    padding: 2rem 0;
    border-top: 1px solid var(--s353-border);
}

.s353-footer-content {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.s353-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.s353-footer-brand p {
    font-size: 1.3rem;
    color: var(--s353-text-muted);
    line-height: 1.6;
    margin-top: 1rem;
}

.s353-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.s353-footer-links a {
    padding: 0.6rem 1.2rem;
    background: var(--s353-border);
    border-radius: 20px;
    font-size: 1.2rem;
    color: var(--s353-text);
    transition: all 0.3s ease;
}

.s353-footer-links a:hover {
    background: var(--s353-primary);
    color: var(--s353-dark);
}

.s353-footer-sitemap {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--s353-border);
}

.s353-footer-sitemap a {
    font-size: 1.2rem;
    color: var(--s353-text-muted);
}

.s353-footer-sitemap a:hover {
    color: var(--s353-primary);
}

.s353-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--s353-text-muted);
    padding-top: 1.5rem;
    border-top: 1px solid var(--s353-border);
}

/* Bottom Navigation */
.s353-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(10, 10, 10, 0.99) 100%);
    border-top: 1px solid var(--s353-border);
    z-index: 1000;
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

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

.s353-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    padding: 0.5rem;
}

.s353-nav-item:hover {
    background: var(--s353-border);
}

.s353-nav-item.active {
    color: var(--s353-primary);
}

.s353-nav-item i {
    font-size: 2.4rem;
    margin-bottom: 0.3rem;
    transition: transform 0.3s ease;
}

.s353-nav-item:hover i {
    transform: scale(1.1);
}

.s353-nav-item span {
    font-size: 1rem;
    color: var(--s353-text-muted);
}

.s353-nav-item.active span {
    color: var(--s353-primary);
}

/* Promo Link Styles */
.s353-promo-link {
    color: var(--s353-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.s353-promo-link:hover {
    color: var(--s353-gradient-end);
    text-decoration: underline;
}

.s353-promo-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--s353-gradient-start) 0%, var(--s353-gradient-end) 100%);
    color: var(--s353-dark);
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.s353-promo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 179, 186, 0.5);
}

/* Payment Methods */
.s353-payment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.s353-payment-item {
    background: var(--s353-border);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 1.2rem;
    color: var(--s353-text);
}

/* Testimonials */
.s353-testimonials {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.s353-testimonial {
    background: linear-gradient(145deg, #1A1A1A 0%, #0F0F0F 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 3px solid var(--s353-primary);
}

.s353-testimonial-text {
    font-size: 1.4rem;
    color: var(--s353-text-muted);
    margin-bottom: 1rem;
    font-style: italic;
}

.s353-testimonial-author {
    font-size: 1.2rem;
    color: var(--s353-primary);
    font-weight: 600;
}

/* Winners Showcase */
.s353-winners {
    background: linear-gradient(145deg, #1A1A1A 0%, #0F0F0F 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.s353-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--s353-border);
}

.s353-winner-item:last-child {
    border-bottom: none;
}

.s353-winner-name {
    font-size: 1.3rem;
    color: var(--s353-text);
}

.s353-winner-amount {
    font-size: 1.4rem;
    color: var(--s353-success);
    font-weight: 700;
}

/* Responsive Adjustments */
@media (max-width: 430px) {
    html {
        font-size: 58%;
    }

    .s353-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }
}

@media (min-width: 431px) and (max-width: 768px) {
    .s353-container {
        max-width: 100%;
    }
}

@media (min-width: 769px) {
    .s353-container {
        max-width: 800px;
    }

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

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

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.s353-animate {
    animation: fadeIn 0.5s ease forwards;
}

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

.s353-mb-1 {
    margin-bottom: 1rem;
}

.s353-mb-2 {
    margin-bottom: 2rem;
}

.s353-mb-3 {
    margin-bottom: 3rem;
}

.s353-mt-2 {
    margin-top: 2rem;
}

.s353-highlight {
    color: var(--s353-primary);
    font-weight: 600;
}
