/* Reset & Base */
*, *::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;
}

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

/* Section Images */
.j88-intro img,
.j88-features img,
.j88-games img,
.j88-promo img,
.j88-cta img,
.j88-bonus img,
.j88-login-intro img,
.j88-login-tips img,
.j88-register-benefits img,
.j88-register-guide img,
.j88-promo-intro img,
.j88-promo-vip img,
.j88-guide-account img,
.j88-guide-tips img,
.j88-contact-channels img {
    width: 100%;
    max-width: 768px;
    margin: 0 auto 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

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

/* Wrapper */
.j88-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
.j88-primary-nav {
    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-primary-nav .j88-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.j88-desktop-menu {
    display: flex;
    gap: 30px;
}

.j88-desktop-menu li a {
    color: #fff;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
}

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

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

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

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

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

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

.j88-btn-register:hover {
    background: linear-gradient(135deg, #ffaa00 0%, #ffd700 100%);
    transform: translateY(-2px);
}

/* Mobile Menu */
.j88-mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 20px;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.j88-mobile-menu.active {
    transform: translateX(0);
}

.j88-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.j88-mobile-nav li a {
    color: #fff;
    padding: 10px;
    display: block;
    border-radius: 5px;
}

.j88-mobile-nav li a:hover {
    background: rgba(255,255,255,0.1);
}

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

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

.j88-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.j88-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

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

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

.j88-btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 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;
    color: #fff;
    border: 2px solid #fff;
}

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

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

.j88-page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.j88-page-hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Content Sections */
.j88-intro,
.j88-features,
.j88-games,
.j88-steps,
.j88-promo,
.j88-faq,
.j88-login-intro,
.j88-login-steps,
.j88-login-features,
.j88-login-tips,
.j88-login-faq,
.j88-register-benefits,
.j88-register-process,
.j88-register-gifts,
.j88-register-requirements,
.j88-register-guide,
.j88-promo-intro,
.j88-promo-current,
.j88-promo-calendar,
.j88-promo-vip,
.j88-promo-terms,
.j88-promo-claim,
.j88-guide-overview,
.j88-guide-account,
.j88-guide-deposit,
.j88-guide-withdraw,
.j88-guide-betting,
.j88-guide-tips,
.j88-guide-support,
.j88-contact-intro,
.j88-contact-channels,
.j88-contact-services,
.j88-contact-hours,
.j88-contact-faq,
.j88-contact-security {
    padding: 80px 0;
}

.j88-intro,
.j88-promo-calendar,
.j88-register-requirements,
.j88-guide-deposit,
.j88-contact-services {
    background: #fff;
}

.j88-features,
.j88-steps,
.j88-login-features,
.j88-register-gifts,
.j88-promo-vip,
.j88-guide-withdraw,
.j88-contact-hours {
    background: #f8f9fa;
}

.j88-games,
.j88-login-tips,
.j88-register-guide,
.j88-promo-terms,
.j88-guide-tips,
.j88-contact-security {
    background: #fff;
}

.j88-promo,
.j88-login-faq,
.j88-register-process,
.j88-promo-current,
.j88-guide-account,
.j88-contact-channels {
    background: #f8f9fa;
}

.j88-faq,
.j88-login-intro,
.j88-register-benefits,
.j88-promo-intro,
.j88-guide-overview,
.j88-guide-betting,
.j88-contact-intro {
    background: #fff;
}

/* Section Titles */
.j88-intro h2,
.j88-features h2,
.j88-games h2,
.j88-steps h2,
.j88-promo h2,
.j88-faq h2,
.j88-login-intro h2,
.j88-login-steps h2,
.j88-login-features h2,
.j88-login-tips h2,
.j88-login-faq h2,
.j88-register-benefits h2,
.j88-register-process h2,
.j88-register-gifts h2,
.j88-register-requirements h2,
.j88-register-guide h2,
.j88-promo-intro h2,
.j88-promo-current h2,
.j88-promo-calendar h2,
.j88-promo-vip h2,
.j88-promo-terms h2,
.j88-promo-claim h2,
.j88-guide-overview h2,
.j88-guide-account h2,
.j88-guide-deposit h2,
.j88-guide-withdraw h2,
.j88-guide-betting h2,
.j88-guide-tips h2,
.j88-guide-support h2,
.j88-contact-intro h2,
.j88-contact-channels h2,
.j88-contact-services h2,
.j88-contact-hours h2,
.j88-contact-faq h2,
.j88-contact-security h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 50px;
    color: #1a1a2e;
}

/* Intro Section */
.j88-intro p,
.j88-login-intro p,
.j88-register-benefits p,
.j88-promo-intro p,
.j88-guide-overview p,
.j88-contact-intro p {
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
    font-size: 1.1rem;
    color: #555;
}

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

.j88-feature-item,
.j88-game-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-item:hover,
.j88-game-card:hover {
    transform: translateY(-5px);
}

.j88-feature-item h3,
.j88-game-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.j88-feature-item p,
.j88-game-card p {
    color: #666;
    line-height: 1.7;
}

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

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

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

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

.j88-step-item p {
    color: #666;
}

/* Promo Content */
.j88-promo-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

.j88-promo-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #ffd700;
}

.j88-promo-item p {
    opacity: 0.9;
}

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

.j88-cta h2,
.j88-login-cta h2,
.j88-register-cta h2,
.j88-contact-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #fff;
}

.j88-cta p,
.j88-login-cta p,
.j88-register-cta p,
.j88-contact-cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

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

.j88-faq-item {
    background: #f8f9fa;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
}

.j88-faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.j88-faq-item p {
    color: #666;
    line-height: 1.7;
}

/* Footer */
.j88-footer {
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
    color: #fff;
    padding: 60px 0 30px;
    margin-top: auto;
}

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

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

.j88-footer p {
    opacity: 0.8;
    line-height: 1.7;
}

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

.j88-footer-links a {
    opacity: 0.8;
    transition: opacity 0.3s;
}

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

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

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

.j88-seo-text {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Page Content */
.j88-main-content {
    flex: 1;
}

.j88-page-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

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

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

.j88-page-content p {
    margin-bottom: 20px;
}

/* Login Page Specific */
.j88-steps-timeline {
    max-width: 800px;
    margin: 0 auto;
}

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

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

.j88-features-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.j88-feature-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

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

.j88-tips-list {
    max-width: 800px;
    margin: 0 auto;
}

.j88-tips-list li {
    padding: 15px 20px;
    background: #fff;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 4px solid #ffd700;
}

.j88-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

/* Register Page */
.j88-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.j88-process-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.j88-process-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a1a2e;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 15px;
}

.j88-gifts-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.j88-gift-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.j88-gift-card h3 {
    color: #ffd700;
    margin-bottom: 15px;
}

.j88-requirements-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.j88-requirement-block {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

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

.j88-guide-details h3 {
    color: #1a1a2e;
    margin: 30px 0 15px;
}

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

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

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

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

.j88-calendar-list {
    max-width: 800px;
    margin: 0 auto;
}

.j88-calendar-item {
    background: #f8f9fa;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

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

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

.j88-vip-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.j88-vip-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.j88-vip-card h3 {
    color: #ffd700;
    margin-bottom: 15px;
}

.j88-terms-content h3 {
    color: #1a1a2e;
    margin: 30px 0 15px;
}

.j88-claim-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.j88-claim-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

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

/* Guide Page */
.j88-guide-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

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

.j88-deposit-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.j88-method-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

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

.j88-withdraw-steps {
    max-width: 800px;
    margin: 0 auto;
}

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

.j88-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a1a2e;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.j88-withdraw-step h3 {
    color: #1a1a2e;
    margin-bottom: 10px;
}

.j88-betting-guide h3 {
    color: #1a1a2e;
    margin: 30px 0 15px;
}

.j88-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.j88-tips-grid li {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid #ffd700;
}

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

.j88-channel-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-align: center;
}

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

.j88-services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.j88-service-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

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

.j88-hours-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

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

.j88-faq-contact {
    max-width: 800px;
    margin: 0 auto;
}

.j88-faq-item-contact {
    background: #f8f9fa;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
}

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

/* Responsive */
@media (max-width: 768px) {
    .j88-menu-toggle {
        display: flex;
    }
    
    .j88-desktop-menu {
        display: none;
    }
    
    .j88-mobile-menu {
        display: block;
    }
    
    .j88-auth-buttons {
        display: none;
    }
    
    .j88-hero h1 {
        font-size: 2rem;
    }
    
    .j88-hero p {
        font-size: 1rem;
    }
    
    .j88-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .j88-page-hero h1 {
        font-size: 1.8rem;
    }
    
    .j88-intro h2,
    .j88-features h2,
    .j88-games h2,
    .j88-steps h2,
    .j88-promo h2,
    .j88-faq h2 {
        font-size: 1.8rem;
    }
    
    .j88-calendar-item {
        flex-direction: column;
        text-align: center;
    }
    
    .j88-withdraw-step {
        flex-direction: column;
        text-align: center;
    }
    
    .j88-footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .j88-container {
        padding: 0 15px;
    }
    
    .j88-hero {
        padding: 60px 0;
    }
    
    .j88-hero h1 {
        font-size: 1.6rem;
    }
    
    .j88-features-grid,
    .j88-games-grid {
        grid-template-columns: 1fr;
    }
}
