/**
 * Jun88 Theme Styles
 * @package Jun88_Theme
 */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

ul, ol {
    list-style: none;
}

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

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

.j88-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.j88-trigger-bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

.j88-desktop-nav .j88-primary-list {
    display: flex;
    gap: 30px;
}

.j88-desktop-nav .j88-primary-list a {
    color: #fff;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.j88-desktop-nav .j88-primary-list a:hover {
    background: rgba(255,255,255,0.1);
    color: #ffd700;
}

.j88-auth-group {
    display: flex;
    gap: 10px;
}

.j88-auth-btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.j88-auth-btn.j88-login {
    color: #fff;
    border: 2px solid #fff;
}

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

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

.j88-auth-btn.j88-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.4);
}

.j88-mobile-nav {
    display: none;
    background: #16213e;
    padding: 20px;
}

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

.j88-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.j88-mobile-list a {
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.j88-mobile-list a:hover {
    background: rgba(255,255,255,0.1);
    color: #ffd700;
}

.j88-mobile-auth {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.j88-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.j88-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.j88-hero-desc {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

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

/* Buttons */
.j88-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.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.4);
}

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

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

.j88-btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Section Styles */
.j88-intro-section,
.j88-products-section,
.j88-steps-section,
.j88-advantages-section,
.j88-features-section,
.j88-tips-section,
.j88-cards-section,
.j88-comparison-section,
.j88-timeline-section,
.j88-faq-section {
    padding: 80px 20px;
}

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

.j88-products-section,
.j88-features-section,
.j88-cards-section,
.j88-timeline-section {
    background: #f8f9fa;
}

.j88-steps-section,
.j88-faq-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.j88-section-title {
    text-align: center;
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Intro Section */
.j88-intro-text {
    max-width: 900px;
    margin: 0 auto 20px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Products Grid */
.j88-products-grid,
.j88-features-grid,
.j88-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.j88-product-card,
.j88-feature-card,
.j88-promo-card,
.j88-card-item {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.j88-product-card:hover,
.j88-feature-card:hover,
.j88-promo-card:hover,
.j88-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.j88-product-name,
.j88-feature-title,
.j88-promo-name,
.j88-card-title {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 15px;
    font-weight: 600;
}

.j88-product-desc,
.j88-feature-desc,
.j88-promo-desc,
.j88-card-desc {
    color: #666;
    line-height: 1.6;
}

.j88-promo-value {
    font-size: 1.5rem;
    color: #e74c3c;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Steps Section */
.j88-steps-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 1.1rem;
}

.j88-steps-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.j88-step-item {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
}

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

.j88-step-title {
    font-size: 1.2rem;
    color: #1a1a2e;
    margin-bottom: 10px;
    font-weight: 600;
}

.j88-step-desc {
    color: #666;
    line-height: 1.6;
}

/* Advantages Grid */
.j88-advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.j88-advantage-item {
    text-align: center;
    padding: 30px;
}

.j88-advantage-title {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 15px;
    font-weight: 600;
}

.j88-advantage-desc {
    color: #666;
    line-height: 1.6;
}

/* Tips Section */
.j88-tips-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 50px auto 0;
}

.j88-tip-item {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #ffd700;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.j88-tip-title {
    font-size: 1.2rem;
    color: #1a1a2e;
    margin-bottom: 10px;
    font-weight: 600;
}

.j88-tip-desc {
    color: #666;
    line-height: 1.6;
}

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

.j88-timeline-item {
    background: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.j88-timeline-date {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffd700;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    white-space: nowrap;
}

.j88-timeline-title {
    font-size: 1.2rem;
    color: #1a1a2e;
    margin-bottom: 10px;
    font-weight: 600;
}

.j88-timeline-desc {
    color: #666;
    line-height: 1.6;
}

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

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

.j88-faq-question {
    font-size: 1.2rem;
    color: #1a1a2e;
    margin-bottom: 15px;
    font-weight: 600;
}

.j88-faq-answer {
    color: #666;
    line-height: 1.8;
}

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

.j88-cta-title {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.j88-cta-desc {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

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

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

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

.j88-comparison-title {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 10px;
    font-weight: 600;
}

.j88-comparison-desc {
    color: #666;
    line-height: 1.6;
}

/* Footer Styles */
.j88-footer-wrap {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 20px 30px;
}

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

.j88-footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ffd700;
    font-weight: 600;
}

.j88-footer-desc,
.j88-footer-text {
    color: #aaa;
    line-height: 1.8;
}

.j88-footer-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

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

.j88-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.j88-copyright {
    color: #ffd700;
    margin-bottom: 15px;
    font-weight: 600;
}

.j88-seo-text {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

/* Section Images */
.j88-section-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Page Content */
.j88-page-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.j88-page-title {
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 30px;
    text-align: center;
}

.j88-page-body {
    line-height: 1.8;
    color: #555;
}

/* Content Area */
.j88-content-area {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

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

.j88-post-title a {
    color: #1a1a2e;
    font-size: 1.5rem;
    font-weight: 600;
}

.j88-post-title a:hover {
    color: #0f3460;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .j88-menu-trigger {
        display: flex;
    }
    
    .j88-desktop-nav {
        display: none;
    }
    
    .j88-auth-group {
        display: none;
    }
    
    .j88-hero-title {
        font-size: 1.8rem;
    }
    
    .j88-hero-desc {
        font-size: 1rem;
    }
    
    .j88-section-title {
        font-size: 1.5rem;
    }
    
    .j88-products-grid,
    .j88-features-grid,
    .j88-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .j88-steps-list,
    .j88-tips-list,
    .j88-advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .j88-timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .j88-timeline-date {
        align-self: center;
    }
    
    .j88-footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .j88-hero-actions,
    .j88-cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .j88-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .j88-hero-section {
        padding: 60px 15px;
    }
    
    .j88-hero-title {
        font-size: 1.5rem;
    }
    
    .j88-section-title {
        font-size: 1.3rem;
    }
    
    .j88-intro-section,
    .j88-products-section,
    .j88-steps-section,
    .j88-advantages-section,
    .j88-features-section,
    .j88-tips-section,
    .j88-cards-section,
    .j88-comparison-section,
    .j88-timeline-section,
    .j88-faq-section {
        padding: 50px 15px;
    }
    
    .j88-product-card,
    .j88-feature-card,
    .j88-promo-card,
    .j88-card-item,
    .j88-step-item,
    .j88-tip-item,
    .j88-timeline-item,
    .j88-faq-item {
        padding: 20px;
    }
}
