/*
Theme Name: Jun88 Theme
Theme URI: https://jun88.com
Author: Jun88
Author URI: https://jun88.com
Description: Jun88 Casino Theme - Nền tảng cá cược trực tuyến uy tín và an toàn nhất Châu Á
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jun88-theme
Tags: casino, gambling, betting, vietnam
*/

* {
    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;
}

.jun88-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

.jun88-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jun88-logo {
    font-size: 28px;
    font-weight: bold;
    color: #ffd700;
    text-decoration: none;
}

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

.jun88-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

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

.jun88-btn-group {
    display: flex;
    gap: 15px;
}

.jun88-mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #ffd700;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

.jun88-mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(26, 26, 46, 0.98);
    z-index: 9999;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

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

.jun88-mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.jun88-mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    display: block;
    transition: all 0.3s;
}

.jun88-mobile-nav a:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.jun88-mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #ffd700;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
}

.jun88-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
}

.jun88-btn-register {
    background: #ffd700;
    color: #1a1a2e;
}

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

.jun88-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
}

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

.jun88-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffd700;
}

.jun88-hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.jun88-hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
}

.jun88-section {
    padding: 60px 0;
}

.jun88-section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #1a1a2e;
}

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

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

.jun88-card:hover {
    transform: translateY(-10px);
}

.jun88-card-icon {
    font-size: 48px;
    color: #ffd700;
    margin-bottom: 20px;
}

.jun88-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.jun88-content {
    background: #fff;
    padding: 60px 0;
}

.jun88-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.jun88-footer {
    background: #1a1a2e;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

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

@media (max-width: 768px) {
    .jun88-nav {
        display: none;
    }
    .jun88-mobile-menu-btn {
        display: block;
    }
    .jun88-hero h1 {
        font-size: 32px;
    }
    .jun88-grid {
        grid-template-columns: 1fr;
    }
    .jun88-btn-group {
        flex-direction: column;
        gap: 10px;
    }
}

.jun88-faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.jun88-faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.jun88-faq-question:hover {
    background: #f8f8f8;
}

.jun88-faq-question h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.jun88-faq-question h3 i {
    color: #ffd700;
    font-size: 24px;
}

.jun88-faq-answer {
    padding: 0 30px 30px;
}

.jun88-faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.jun88-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.jun88-image:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.jun88-logo {
    font-size: 28px;
    font-weight: bold;
    color: #ffd700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.jun88-logo:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.jun88-nav li {
    position: relative;
}

.jun88-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.jun88-nav a:hover::after {
    width: 100%;
}

.jun88-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.jun88-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.jun88-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffd700;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}

.jun88-hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.jun88-hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.jun88-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.jun88-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.jun88-card:hover::before {
    left: 100%;
}

.jun88-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.jun88-card-icon {
    font-size: 48px;
    color: #ffd700;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.jun88-card:hover .jun88-card-icon {
    transform: scale(1.1);
    color: #ffed4a;
}

.jun88-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1a1a2e;
    transition: color 0.3s ease;
}

.jun88-card:hover h3 {
    color: #ffd700;
}

.jun88-content {
    background: #fff;
    padding: 60px 0;
    position: relative;
}

.jun88-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
}

.jun88-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

.jun88-content p:first-of-type::first-letter {
    font-size: 48px;
    font-weight: bold;
    color: #ffd700;
    float: left;
    margin-right: 10px;
    line-height: 1;
}

.jun88-section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #1a1a2e;
    position: relative;
    padding-bottom: 15px;
}

.jun88-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
}

.jun88-faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid #ffd700;
}

.jun88-faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transform: translateX(5px);
}

.jun88-faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
    position: relative;
}

.jun88-faq-question::after {
    content: '+';
    font-size: 24px;
    color: #ffd700;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.jun88-faq-question:hover::after {
    transform: rotate(90deg);
}

.jun88-faq-question:hover {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.05), transparent);
}

.jun88-faq-question h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.jun88-faq-question h3 i {
    color: #ffd700;
    font-size: 24px;
}

.jun88-faq-answer {
    padding: 0 30px 30px;
    animation: fadeIn 0.3s ease;
}

.jun88-faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.jun88-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.jun88-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.jun88-btn:hover::before {
    width: 300px;
    height: 300px;
}

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

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

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

.jun88-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
}

.jun88-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 40px 0;
    text-align: center;
    position: relative;
}

.jun88-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
}

.jun88-footer p {
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.jun88-footer p:hover {
    color: #ffd700;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .jun88-nav {
        display: none;
    }
    .jun88-mobile-menu-btn {
        display: block;
    }
    .jun88-hero h1 {
        font-size: 32px;
    }
    .jun88-hero p {
        font-size: 16px;
    }
    .jun88-grid {
        grid-template-columns: 1fr;
    }
    .jun88-btn-group {
        flex-direction: column;
        gap: 10px;
    }
    .jun88-section-title {
        font-size: 28px;
    }
    .jun88-card {
        padding: 20px;
    }
    .jun88-content {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .jun88-hero h1 {
        font-size: 24px;
    }
    .jun88-hero p {
        font-size: 14px;
    }
    .jun88-section-title {
        font-size: 24px;
    }
    .jun88-card h3 {
        font-size: 20px;
    }
    .jun88-faq-question h3 {
        font-size: 16px;
    }
}

.content-section {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #ffd700;
    display: block;
    width: 100%;
}

.content-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ffed4a);
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
    text-align: justify;
}

.content-section p:first-of-type::first-letter {
    font-size: 48px;
    font-weight: bold;
    color: #ffd700;
    float: left;
    margin-right: 10px;
    line-height: 1;
}

.content-image {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.section-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.section-image:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .content-section {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .content-section p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .content-image {
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 25px 15px;
        margin-bottom: 25px;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .content-section p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .content-section p:first-of-type::first-letter {
        font-size: 36px;
    }
}

.page-body {
    background: #f8f9fa;
    padding: 60px 0;
    min-height: 100vh;
    display: block;
    width: 100%;
}

.page-body .jun88-container {
    max-width: 1000px;
    display: block;
    width: 100%;
}

@media (max-width: 768px) {
    .page-body {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .page-body {
        padding: 30px 0;
    }
}
