/**
 * Jun88 Theme Stylesheet
 */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

.j88-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.j88-topbar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.j88-topbar .j88-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.j88-primary-nav {
    flex: 1;
}

.j88-nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.j88-nav-list a {
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
    text-transform: capitalize;
}

.j88-nav-list a:hover {
    color: #ffd700;
}

.j88-user-actions {
    display: flex;
    gap: 15px;
}

.j88-btn-login,
.j88-btn-register {
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.j88-btn-login {
    background: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
}

.j88-btn-login:hover {
    background: #ffd700;
    color: #1a1a2e;
}

.j88-btn-register {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
    border: 2px solid #ffd700;
}

.j88-btn-register:hover {
    background: transparent;
    color: #ffd700;
}

.j88-menu-trigger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.j88-menu-trigger span {
    width: 25px;
    height: 3px;
    background: #ffd700;
    transition: all 0.3s;
}

/* Mobile Menu */
.j88-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
}

.j88-mobile-overlay.active {
    display: block;
}

.j88-mobile-panel {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: #1a1a2e;
    padding: 60px 20px 20px;
    transition: right 0.3s;
}

.j88-mobile-overlay.active .j88-mobile-panel {
    right: 0;
}

.j88-close-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #ffd700;
    font-size: 30px;
    cursor: pointer;
}

.j88-mobile-nav {
    list-style: none;
}

.j88-mobile-nav li {
    margin-bottom: 20px;
}

.j88-mobile-nav a {
    color: #fff;
    font-size: 18px;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

.j88-mobile-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.j88-mob-login,
.j88-mob-register {
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    font-weight: 600;
}

.j88-mob-login {
    border: 2px solid #ffd700;
    color: #ffd700;
}

.j88-mob-register {
    background: #ffd700;
    color: #1a1a2e;
}

/* Hero Section */
.j88-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.j88-hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #ffd700;
    text-transform: capitalize;
}

.j88-hero-text {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #ccc;
}

.j88-hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Image Styles */
.j88-hero-image,
.j88-intro-image,
.j88-feature-image,
.j88-cta-image,
.j88-faq-image,
.j88-tips-image,
.j88-promo-image,
.j88-steps-image {
    margin: 30px auto;
    max-width: 800px;
    text-align: center;
}

.j88-hero-image img,
.j88-intro-image img,
.j88-feature-image img,
.j88-cta-image img,
.j88-faq-image img,
.j88-tips-image img,
.j88-promo-image img,
.j88-steps-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.j88-btn-primary,
.j88-btn-secondary {
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
}

.j88-btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
}

.j88-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,215,0,0.3);
}

.j88-btn-secondary {
    background: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
}

.j88-btn-secondary:hover {
    background: #ffd700;
    color: #1a1a2e;
}

/* Content Sections */
.j88-brand-intro,
.j88-features,
.j88-games,
.j88-promo-cards,
.j88-timeline,
.j88-comparison,
.j88-faq,
.j88-tips,
.j88-steps,
.j88-app,
.j88-cta {
    padding: 80px 0;
}

.j88-brand-intro,
.j88-comparison,
.j88-tips {
    background: #fff;
}

.j88-features,
.j88-faq,
.j88-steps {
    background: #f8f9fa;
}

.j88-games,
.j88-promo-cards,
.j88-timeline,
.j88-app {
    background: #fff;
}

section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: #1a1a2e;
    text-transform: capitalize;
}

section h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #16213e;
    text-transform: capitalize;
}

section p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.8;
}

/* Features Grid */
.j88-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.j88-feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.j88-feature-card:hover {
    transform: translateY(-5px);
}

/* Games List */
.j88-games-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.j88-game-item {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 30px;
    border-radius: 10px;
    color: #fff;
}

.j88-game-item h3 {
    color: #ffd700;
}

.j88-game-item p {
    color: #ccc;
}

/* Promo Cards */
.j88-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.j88-promo-card {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    padding: 30px;
    border-radius: 10px;
    color: #1a1a2e;
}

.j88-promo-card h3 {
    color: #1a1a2e;
}

.j88-promo-card p {
    color: #333;
}

/* Timeline */
.j88-timeline-list {
    max-width: 800px;
    margin: 0 auto;
}

.j88-timeline-item {
    position: relative;
    padding-left: 100px;
    padding-bottom: 40px;
    border-left: 3px solid #ffd700;
    margin-left: 20px;
}

.j88-timeline-item:last-child {
    border-left: 3px solid transparent;
}

.j88-timeline-date {
    position: absolute;
    left: -20px;
    background: #ffd700;
    color: #1a1a2e;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

/* Steps */
.j88-steps-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.j88-step-item {
    text-align: center;
    position: relative;
}

.j88-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
}

/* FAQ */
.j88-faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.j88-faq-item {
    background: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.j88-faq-item h3 {
    color: #1a1a2e;
    margin-bottom: 15px;
}

/* Tips */
.j88-tips-content {
    max-width: 900px;
    margin: 0 auto;
}

.j88-tips-content h3 {
    margin-top: 30px;
    color: #16213e;
}

/* Comparison */
.j88-comparison-content {
    max-width: 900px;
    margin: 0 auto;
}

.j88-comparison-content h3 {
    margin-top: 30px;
    color: #16213e;
}

/* CTA Section */
.j88-cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    text-align: center;
    color: #fff;
}

.j88-cta h2 {
    color: #ffd700;
}

.j88-cta p {
    color: #ccc;
    max-width: 700px;
    margin: 0 auto 30px;
}

.j88-btn-cta {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50px;
    transition: all 0.3s;
    margin: 10px;
}

.j88-btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,215,0,0.3);
}

.j88-btn-cta-secondary {
    display: inline-block;
    padding: 18px 50px;
    background: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50px;
    transition: all 0.3s;
    margin: 10px;
}

.j88-btn-cta-secondary:hover {
    background: #ffd700;
    color: #1a1a2e;
}

/* Footer */
.j88-footer {
    background: #0a0a14;
    color: #fff;
    padding: 60px 0 30px;
}

.j88-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.j88-footer h3 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 18px;
}

.j88-footer p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.8;
}

.j88-footer-links {
    list-style: none;
}

.j88-footer-links li {
    margin-bottom: 10px;
}

.j88-footer-links a {
    color: #aaa;
    transition: color 0.3s;
}

.j88-footer-links a:hover {
    color: #ffd700;
}

.j88-footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
}

.j88-footer-bottom p {
    margin-bottom: 10px;
}

.j88-seo-text {
    font-size: 12px;
    color: #666;
}

/* Page Wrapper */
.j88-page-wrapper {
    padding: 60px 0;
    min-height: 500px;
}

.j88-page-wrapper h1 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #1a1a2e;
}

.j88-page-content {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Content Wrapper */
.j88-content-wrap {
    padding: 60px 0;
    min-height: 500px;
}

.j88-post-entry {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.j88-post-entry h2 {
    font-size: 24px;
    margin-bottom: 15px;
    text-align: left;
}

/* Sidebar */
.j88-sidebar {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.j88-widget-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #1a1a2e;
}

/* Responsive */
@media (max-width: 768px) {
    .j88-nav-list,
    .j88-user-actions {
        display: none;
    }

    .j88-menu-trigger {
        display: flex;
    }

    .j88-hero {
        padding: 60px 0;
    }

    .j88-hero h1 {
        font-size: 28px;
    }

    .j88-hero-text {
        font-size: 16px;
    }

    section h2 {
        font-size: 28px;
    }

    .j88-features-grid,
    .j88-games-list,
    .j88-cards-grid {
        grid-template-columns: 1fr;
    }

    .j88-steps-list {
        grid-template-columns: 1fr;
    }

    .j88-timeline-item {
        padding-left: 80px;
    }

    .j88-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .j88-btn-primary,
    .j88-btn-secondary {
        padding: 12px 30px;
        font-size: 14px;
    }

    .j88-btn-cta,
    .j88-btn-cta-secondary {
        padding: 15px 30px;
        font-size: 16px;
        display: block;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .j88-container {
        padding: 0 15px;
    }

    .j88-hero h1 {
        font-size: 24px;
    }

    section h2 {
        font-size: 24px;
    }

    section h3 {
        font-size: 18px;
    }

    .j88-feature-card,
    .j88-game-item,
    .j88-promo-card,
    .j88-faq-item {
        padding: 20px;
    }

    .j88-hero-image img,
    .j88-intro-image img,
    .j88-feature-image img,
    .j88-cta-image img,
    .j88-faq-image img,
    .j88-tips-image img,
    .j88-promo-image img,
    .j88-steps-image img {
        max-height: 200px;
    }
}
