/* ================================
   K8 THEME - MAIN STYLES
================================ */

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

/* Site Content */
.site-content {
    padding-top: 70px;
    min-height: calc(100vh - 400px);
}

/* ================================
   PAGE HERO SECTIONS
================================ */
.page-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 100px 0 80px;
    text-align: center;
    color: #fff;
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* ================================
   SECTION HEADERS
================================ */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    color: #1a1a2e;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   FRONT PAGE - HERO
================================ */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 140px 0 100px;
    text-align: center;
    color: #fff;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-description {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    line-height: 1.7;
}

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

.hero-image {
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ================================
   BRAND SECTION
================================ */
.brand-section {
    padding: 80px 0;
    background: #fff;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.brand-card {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.brand-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.brand-image {
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
}

.brand-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

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

.brand-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

/* ================================
   FEATURES SECTION
================================ */
.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-item {
    background: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-item h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 15px;
    padding-left: 20px;
    border-left: 4px solid #ff6b35;
}

.feature-item p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

.feature-image {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* ================================
   CONTENT SECTION
================================ */
.content-section {
    padding: 80px 0;
    background: #fff;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.content-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.content-card:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
}

.content-card:hover h3,
.content-card:hover p {
    color: #fff;
}

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

.content-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* ================================
   CTA SECTION
================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background: #fff;
    color: #ff6b35;
}

.cta-section .btn-primary:hover {
    background: #1a1a2e;
    color: #fff;
}

/* ================================
   FAQ SECTION
================================ */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.faq-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.faq-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* ================================
   LOGIN PAGE - STEPS
================================ */
.steps-section {
    padding: 80px 0;
    background: #fff;
}

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

.step-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.step-content p {
    color: #666;
    line-height: 1.7;
}

.step-image {
    flex: 0 0 300px;
    border-radius: 10px;
    overflow: hidden;
}

.step-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* ================================
   ERRORS SECTION
================================ */
.errors-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.errors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.error-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #ff6b35;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.error-card h3 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.error-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* ================================
   TIPS SECTION
================================ */
.tips-section {
    padding: 80px 0;
    background: #fff;
}

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

.tip-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.tip-item h3 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 10px;
}

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

.tip-image {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.tip-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

/* ================================
   PROMOTION PAGE - REWARDS
================================ */
.rewards-section {
    padding: 80px 0;
    background: #fff;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.reward-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.reward-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.reward-card.featured {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

.reward-card.featured h3,
.reward-card.featured p {
    color: #fff;
}

.reward-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6b35;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.reward-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.reward-image {
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
}

.reward-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

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

.reward-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* ================================
   EVENTS SECTION
================================ */
.events-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.events-list {
    max-width: 900px;
    margin: 0 auto;
}

.event-item {
    display: flex;
    gap: 25px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.event-date {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    min-width: 100px;
}

.event-date .day {
    display: block;
    font-size: 32px;
    font-weight: 700;
}

.event-date .month {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
}

.event-content {
    flex: 1;
}

.event-content h3 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.event-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.event-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.event-status.dang-dien-ra {
    background: #28a745;
    color: #fff;
}

.event-status.sap-dien-ra {
    background: #ffc107;
    color: #1a1a2e;
}

.event-status.lien-tuc {
    background: #17a2b8;
    color: #fff;
}

/* ================================
   VIP SECTION
================================ */
.vip-section {
    padding: 80px 0;
    background: #fff;
}

.vip-levels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.vip-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
}

.vip-card.featured {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    transform: scale(1.05);
}

.vip-card.featured h3,
.vip-card.featured li {
    color: #fff;
}

.vip-level {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
}

.vip-card h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.vip-image {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.vip-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}

.vip-card ul {
    text-align: left;
}

.vip-card li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    color: #666;
    font-size: 14px;
}

.vip-card.featured li {
    border-bottom-color: rgba(255,255,255,0.1);
}

/* ================================
   TERMS SECTION
================================ */
.terms-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.terms-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.term-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.term-item h3 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.term-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* ================================
   GUIDE PAGE - TUTORIAL
================================ */
.tutorial-section {
    padding: 80px 0;
    background: #fff;
}

.tutorial-steps {
    max-width: 1000px;
    margin: 0 auto;
}

.tutorial-step {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    align-items: center;
}

.tutorial-step.reverse {
    flex-direction: row-reverse;
}

.step-image {
    flex: 0 0 300px;
    border-radius: 10px;
    overflow: hidden;
}

.step-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.step-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    height: 200px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #999;
    border: 2px dashed #ddd;
}

.step-detail {
    flex: 1;
}

.step-detail h3 {
    font-size: 22px;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.step-detail p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

/* ================================
   DEPOSIT SECTION
================================ */
.deposit-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.deposit-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.method-card {
    background: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.method-card h3 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 4px solid #ff6b35;
}

.method-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* ================================
   PRECAUTIONS SECTION
================================ */
.precautions-section {
    padding: 80px 0;
    background: #fff;
}

.precautions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.precaution-item {
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid;
}

.precaution-item.warning {
    background: #fff3cd;
    border-color: #ffc107;
}

.precaution-item.info {
    background: #d1ecf1;
    border-color: #17a2b8;
}

.precaution-item.success {
    background: #d4edda;
    border-color: #28a745;
}

.precaution-item.tip {
    background: #f8d7da;
    border-color: #dc3545;
}

.precaution-item h3 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.precaution-item p {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}

/* ================================
   GUIDE FAQ SECTION
================================ */
.guide-faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.faq-accordion .faq-item {
    margin-bottom: 15px;
}

/* ================================
   CONTACT PAGE
================================ */
.contact-methods-section {
    padding: 80px 0;
    background: #fff;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-card {
    background: #f8f9fa;
    padding: 35px 25px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-image {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.hours-image {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.hours-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}
}

.contact-card:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
}

.contact-card:hover h3,
.contact-card:hover p,
.contact-card:hover .contact-time {
    color: #fff;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.contact-card:hover .contact-icon {
    background: #fff;
    color: #ff6b35;
}

.contact-card h3 {
    font-size: 17px;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.contact-card p {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-time {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255,107,53,0.1);
    color: #ff6b35;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ================================
   SUPPORT CATEGORIES
================================ */
.support-categories-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.support-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.support-item h3 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b35;
}

.support-item ul li {
    padding: 8px 0;
    color: #666;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.support-item ul li:last-child {
    border-bottom: none;
}

/* ================================
   WORKING HOURS
================================ */
.working-hours-section {
    padding: 80px 0;
    background: #fff;
}

.hours-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.hours-item {
    text-align: center;
    padding: 35px;
    background: #f8f9fa;
    border-radius: 10px;
}

.hours-item h3 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.hours-status {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 10px;
}

.hours-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* ================================
   RESPONSE SECTION
================================ */
.response-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.response-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.response-item {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.response-time {
    font-size: 36px;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 15px;
}

.response-item h3 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.response-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* ================================
   DEFAULT PAGE
================================ */
.default-page {
    padding: 60px 0;
}

.entry-header {
    margin-bottom: 40px;
    text-align: center;
}

.entry-title {
    font-size: 36px;
    color: #1a1a2e;
}

.entry-content {
    max-width: 800px;
    margin: 0 auto;
}

.entry-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
}

/* ================================
   RESPONSIVE STYLES
================================ */
@media (max-width: 1024px) {
    .brand-grid,
    .content-grid,
    .faq-grid,
    .rewards-grid,
    .vip-levels,
    .terms-content,
    .deposit-methods,
    .precautions-grid,
    .contact-methods-grid,
    .support-grid,
    .hours-content,
    .response-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid,
    .errors-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-content {
        padding-top: 60px;
    }
    
    .page-hero {
        padding: 80px 0 60px;
    }
    
    .page-hero h1 {
        font-size: 28px;
    }
    
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .brand-grid,
    .content-grid,
    .faq-grid,
    .rewards-grid,
    .vip-levels,
    .terms-content,
    .deposit-methods,
    .precautions-grid,
    .contact-methods-grid,
    .support-grid,
    .hours-content,
    .response-grid {
        grid-template-columns: 1fr;
    }
    
    .vip-card.featured {
        transform: none;
    }
    
    .tutorial-step,
    .tutorial-step.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .step-image {
        flex: none;
        width: 100%;
    }
    
    .event-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-content h2 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }
    
    .page-hero h1 {
        font-size: 24px;
    }
    
    .brand-card,
    .reward-card,
    .vip-card,
    .contact-card {
        padding: 25px 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}
