/* JLJL55 PH CSS Styles with v968- prefix */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #F5DEB3;
    background: linear-gradient(135deg, #1A1A2E 0%, #2A2A3E 100%);
    overflow-x: hidden;
}

/* Color variables */
:root {
    --v968-primary: #D4AF37;
    --v968-secondary: #DEB887;
    --v968-accent: #A0522D;
    --v968-dark: #1A1A2E;
    --v968-light: #F5DEB3;
    --v968-gradient: linear-gradient(135deg, #D4AF37 0%, #DEB887 100%);
    --v968-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

/* Header styles */
.v968-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--v968-primary);
    z-index: 1000;
    padding: 12px 0;
}

.v968-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.v968-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.v968-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--v968-primary);
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.v968-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.v968-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v968-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    text-align: center;
}

.v968-btn-primary {
    background: var(--v968-gradient);
    color: var(--v968-dark);
    box-shadow: var(--v968-shadow);
}

.v968-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.v968-btn-secondary {
    background: transparent;
    color: var(--v968-secondary);
    border: 2px solid var(--v968-secondary);
}

.v968-btn-secondary:hover {
    background: var(--v968-secondary);
    color: var(--v968-dark);
}

.v968-menu-toggle {
    background: none;
    border: none;
    color: var(--v968-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.v968-menu-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* Mobile menu */
.v968-mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--v968-dark);
    border-left: 2px solid var(--v968-primary);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.v968-mobile-menu.active {
    right: 0;
}

.v968-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--v968-accent);
}

.v968-menu-close {
    background: none;
    border: none;
    color: var(--v968-primary);
    font-size: 24px;
    cursor: pointer;
}

.v968-menu-nav {
    list-style: none;
}

.v968-menu-nav li {
    margin-bottom: 15px;
}

.v968-menu-nav a {
    color: var(--v968-light);
    text-decoration: none;
    padding: 12px 15px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.v968-menu-nav a:hover {
    background: rgba(212, 175, 55, 0.1);
    border-left-color: var(--v968-primary);
    color: var(--v968-primary);
}

.v968-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.v968-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Main content */
.v968-main {
    margin-top: 80px;
    padding: 20px 0;
}

@media (max-width: 768px) {
    .v968-main {
        padding-bottom: 100px;
    }
}

/* Hero section */
.v968-hero {
    text-align: center;
    padding: 60px 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.v968-hero h1 {
    font-size: 2.5rem;
    color: var(--v968-primary);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.v968-hero p {
    font-size: 1.2rem;
    color: var(--v968-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.v968-hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.v968-play-now-btn {
    background: var(--v968-gradient);
    color: var(--v968-dark);
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--v968-shadow);
}

.v968-play-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

/* Carousel styles */
.v968-carousel {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--v968-shadow);
}

.v968-carousel-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.v968-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.v968-carousel-slide.active {
    opacity: 1;
}

.v968-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v968-carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.9), transparent);
    padding: 30px;
    color: white;
}

.v968-carousel-title {
    font-size: 1.5rem;
    color: var(--v968-primary);
    margin-bottom: 10px;
}

.v968-carousel-text {
    font-size: 1rem;
    color: var(--v968-secondary);
}

.v968-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 26, 46, 0.8);
    color: var(--v968-primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.v968-carousel-nav:hover {
    background: var(--v968-primary);
    color: var(--v968-dark);
}

.v968-carousel-prev {
    left: 15px;
}

.v968-carousel-next {
    right: 15px;
}

.v968-carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.v968-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.v968-carousel-dot.active {
    background: var(--v968-primary);
    transform: scale(1.2);
}

/* Search functionality */
.v968-search-container {
    position: relative;
    max-width: 400px;
    margin: 30px auto;
}

.v968-search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid var(--v968-accent);
    border-radius: 25px;
    background: rgba(26, 26, 46, 0.5);
    color: var(--v968-light);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.v968-search-input:focus {
    border-color: var(--v968-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.v968-search-input::placeholder {
    color: var(--v968-secondary);
}

.v968-search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--v968-primary);
    font-size: 18px;
}

.v968-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--v968-dark);
    border: 2px solid var(--v968-accent);
    border-top: none;
    border-radius: 0 0 15px 15px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}

.v968-search-item {
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(160, 82, 45, 0.3);
}

.v968-search-item:hover {
    background: rgba(212, 175, 55, 0.1);
}

.v968-search-category {
    font-size: 12px;
    color: var(--v968-secondary);
    margin-left: 8px;
}

/* Game sections */
.v968-section {
    margin: 60px 0;
}

.v968-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.v968-section-title {
    font-size: 2rem;
    color: var(--v968-primary);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.v968-section-subtitle {
    font-size: 1.1rem;
    color: var(--v968-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Game grid */
.v968-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.v968-games-grid-compact {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.v968-game-card {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.v968-game-card:hover {
    transform: translateY(-5px);
    border-color: var(--v968-primary);
    box-shadow: var(--v968-shadow);
}

.v968-game-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.v968-game-card:hover .v968-game-image {
    transform: scale(1.05);
}

.v968-game-info {
    padding: 15px;
}

.v968-game-title {
    font-size: 1rem;
    color: var(--v968-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.v968-game-category {
    font-size: 0.85rem;
    color: var(--v968-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.v968-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(212, 175, 55, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.v968-game-card:hover .v968-play-overlay {
    opacity: 1;
}

.v968-play-button {
    background: var(--v968-dark);
    color: var(--v968-primary);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.v968-play-button:hover {
    background: white;
    transform: scale(1.1);
}

/* Category filter */
.v968-category-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.v968-category-btn {
    background: transparent;
    color: var(--v968-secondary);
    border: 2px solid var(--v968-accent);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.v968-category-btn:hover,
.v968-category-btn.active {
    background: var(--v968-primary);
    color: var(--v968-dark);
    border-color: var(--v968-primary);
}

/* Content sections */
.v968-content-section {
    background: rgba(26, 26, 46, 0.6);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.v968-content-title {
    font-size: 1.5rem;
    color: var(--v968-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.v968-content-text {
    color: var(--v968-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.v968-content-list {
    list-style: none;
    padding-left: 0;
}

.v968-content-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(160, 82, 45, 0.2);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.v968-content-list li:last-child {
    border-bottom: none;
}

.v968-list-icon {
    color: var(--v968-primary);
    margin-top: 2px;
    min-width: 16px;
}

/* Promotional boxes */
.v968-promo-box {
    background: linear-gradient(135deg, var(--v968-primary) 0%, var(--v968-secondary) 100%);
    color: var(--v968-dark);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: center;
    box-shadow: var(--v968-shadow);
}

.v968-promo-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.v968-promo-code {
    background: var(--v968-dark);
    color: var(--v968-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-family: monospace;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 10px;
}

.v968-promo-code:hover {
    background: white;
    transform: scale(1.05);
}

/* Bottom navigation - unique design */
.v968-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--v968-dark) 0%, #2A2A3E 100%);
    border-top: 2px solid var(--v968-primary);
    z-index: 1000;
    padding: 8px 0;
    display: none;
}

@media (max-width: 768px) {
    .v968-bottom-nav {
        display: block;
    }
}

.v968-bottom-nav-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.v968-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--v968-secondary);
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 60px;
    min-height: 60px;
    justify-content: center;
}

.v968-bottom-nav-item:hover,
.v968-bottom-nav-item.active {
    background: linear-gradient(135deg, var(--v968-primary) 0%, var(--v968-secondary) 100%);
    color: var(--v968-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.v968-bottom-nav-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.v968-bottom-nav-text {
    font-size: 10px;
    font-weight: 500;
    text-align: center;
}

/* Footer */
.v968-footer {
    background: linear-gradient(135deg, var(--v968-dark) 0%, #0A0A1E 100%);
    border-top: 2px solid var(--v968-primary);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.v968-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.v968-footer-section h3 {
    color: var(--v968-primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.v968-footer-links {
    list-style: none;
}

.v968-footer-links li {
    margin-bottom: 8px;
}

.v968-footer-links a {
    color: var(--v968-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.v968-footer-links a:hover {
    color: var(--v968-primary);
}

.v968-partners {
    text-align: center;
    margin: 30px 0;
}

.v968-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 15px;
    max-width: 600px;
    margin: 20px auto;
}

.v968-partner-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: contain;
    background: white;
    padding: 8px;
    transition: transform 0.3s ease;
}

.v968-partner-logo:hover {
    transform: scale(1.1);
}

.v968-footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(160, 82, 45, 0.3);
    color: var(--v968-secondary);
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .v968-hero h1 {
        font-size: 2rem;
    }

    .v968-hero p {
        font-size: 1rem;
    }

    .v968-section-title {
        font-size: 1.5rem;
    }

    .v968-games-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .v968-carousel-container {
        height: 200px;
    }

    .v968-carousel-content {
        padding: 20px;
    }

    .v968-carousel-title {
        font-size: 1.2rem;
    }

    .v968-carousel-text {
        font-size: 0.9rem;
    }

    .v968-header-actions {
        gap: 8px;
    }

    .v968-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .v968-content-section {
        padding: 20px;
    }

    .v968-footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 430px) {
    .v968-container {
        padding: 0 10px;
    }

    .v968-hero {
        padding: 40px 0;
    }

    .v968-hero h1 {
        font-size: 1.8rem;
    }

    .v968-games-grid-compact {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .v968-game-image {
        height: 120px;
    }

    .v968-game-info {
        padding: 10px;
    }

    .v968-game-title {
        font-size: 0.9rem;
    }

    .v968-carousel-container {
        height: 180px;
    }

    .v968-carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --v968-primary: #FFD700;
        --v968-secondary: #FFF8DC;
        --v968-accent: #CD853F;
    }
}

/* Print styles */
@media print {
    .v968-header,
    .v968-bottom-nav,
    .v968-carousel-nav,
    .v968-menu-toggle {
        display: none !important;
    }

    .v968-main {
        margin-top: 0;
        padding-bottom: 0;
    }
}