/**
 * VN88 Theme Styles
 * 
 * @package VN88_Theme
 */

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

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

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

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

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

ul, ol {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
}

.btn-primary {
    background-color: #e74c3c;
    color: #fff;
}

.btn-primary:hover {
    background-color: #c0392b;
}

.btn-secondary {
    background-color: #3498db;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #2980b9;
}

.btn-login {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
    padding: 8px 16px;
}

.btn-login:hover {
    background-color: #fff;
    color: #2c3e50;
}

.btn-register {
    background-color: #e74c3c;
    color: #fff;
    padding: 8px 16px;
}

.btn-register:hover {
    background-color: #c0392b;
}

.btn-cta {
    background-color: #f39c12;
    color: #fff;
    padding: 16px 32px;
    font-size: 16px;
}

.btn-cta:hover {
    background-color: #e67e22;
}

/* Header */
.site-header {
    background-color: #2c3e50;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-title {
    font-size: 28px;
    font-weight: 700;
    color: #e74c3c;
}

.main-navigation {
    display: flex;
    align-items: center;
}

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

.nav-menu a {
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #e74c3c;
}

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

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

.header-actions {
    display: flex;
    gap: 10px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-desc {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

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

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

.page-title {
    font-size: 36px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-desc {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Section Styles */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

/* Brand Section */
.brand-section {
    background-color: #fff;
}

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

/* Features Section */
.features-section {
    background-color: #f8f9fa;
}

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

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

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

.feature-title {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Content Section */
.content-section {
    background-color: #fff;
}

.content-blocks {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.content-title {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.content-block p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    text-align: center;
}

.cta-section .section-title,
.cta-title {
    color: #fff;
}

.cta-title {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-desc {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* FAQ Section */
.faq-section {
    background-color: #f8f9fa;
}

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

.faq-item {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-question {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
}

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

/* Footer */
.site-footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #e74c3c;
}

.footer-desc {
    color: #bdc3c7;
    line-height: 1.7;
}

.footer-nav-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

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

.footer-menu a {
    color: #bdc3c7;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: #e74c3c;
}

.footer-contact p {
    color: #bdc3c7;
    margin-bottom: 8px;
    font-size: 14px;
}

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

.copyright {
    color: #bdc3c7;
    margin-bottom: 10px;
}

.footer-seo-text {
    color: #7f8c8d;
    font-size: 12px;
    line-height: 1.6;
}

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

.step-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    line-height: 50px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.step-title {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.login-form-section {
    background-color: #f8f9fa;
}

.login-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.login-form-placeholder {
    text-align: center;
    padding: 40px;
    border: 2px dashed #ddd;
    border-radius: 8px;
}

.form-note {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border-radius: 4px;
    font-size: 14px;
}

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

.error-item {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.error-title {
    font-size: 18px;
    color: #e74c3c;
    margin-bottom: 10px;
}

.tips-section {
    background-color: #f8f9fa;
}

.tips-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Template: Huong Dan */
.guide-hero {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.guide-intro-section {
    background-color: #fff;
}

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

.tutorial-section {
    background-color: #f8f9fa;
}

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

.tutorial-step {
    background: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 4px solid #27ae60;
}

.tutorial-step-title {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.cards-section {
    background-color: #fff;
}

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

.info-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.card-title {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.notes-section {
    background-color: #f8f9fa;
}

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

.note-block {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.note-block h3 {
    color: #e74c3c;
    margin-bottom: 10px;
    font-size: 18px;
}

/* Template: Khuyen Mai */
.promo-hero {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.promo-intro-section {
    background-color: #fff;
}

.rewards-section {
    background-color: #f8f9fa;
}

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

.reward-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
}

.reward-card.highlight {
    border: 2px solid #f39c12;
}

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

.reward-title {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.reward-value {
    font-size: 24px;
    color: #f39c12;
    font-weight: 700;
    margin-bottom: 15px;
}

.reward-desc {
    margin-bottom: 15px;
    line-height: 1.6;
}

.reward-terms {
    list-style: disc;
    padding-left: 20px;
}

.reward-terms li {
    margin-bottom: 5px;
    color: #666;
    font-size: 14px;
}

.events-section {
    background-color: #fff;
}

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

.event-item {
    display: flex;
    gap: 20px;
    background: #f8f9fa;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    align-items: flex-start;
}

.event-date {
    background: #f39c12;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    min-width: 80px;
}

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

.event-month {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.event-title {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 8px;
}

.comparison-section {
    background-color: #f8f9fa;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table th {
    background: #2c3e50;
    color: #fff;
}

.comparison-table tr:hover {
    background: #f8f9fa;
}

.terms-section {
    background-color: #fff;
}

.terms-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Template: Lien He */
.contact-hero {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.contact-intro-section {
    background-color: #fff;
}

.contact-channels-section {
    background-color: #f8f9fa;
}

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

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

.channel-title {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.channel-status {
    color: #9b59b6;
    font-weight: 700;
    margin-bottom: 15px;
}

.channel-desc {
    margin-bottom: 15px;
    line-height: 1.6;
}

.channel-note {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.office-section {
    background-color: #fff;
}

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

.office-name {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.office-details p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.office-map {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.timeline-section {
    background-color: #f8f9fa;
}

.timeline {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
}

.timeline-item {
    text-align: center;
    position: relative;
    flex: 1;
}

.timeline-step {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #9b59b6;
    color: #fff;
    border-radius: 50%;
    line-height: 50px;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.timeline-title {
    font-size: 16px;
    color: #2c3e50;
    margin: 15px 0 10px;
}

.timeline-item p {
    font-size: 14px;
    color: #666;
}

/* Page Content */
.page-content-section {
    background-color: #fff;
    padding: 60px 0;
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-size: 32px;
    color: #2c3e50;
}

.entry-content {
    line-height: 1.8;
}

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

/* Blog Section */
.blog-section {
    background-color: #fff;
    padding: 60px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        background: #34495e;
        padding: 10px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 10px 20px;
        border-bottom: 1px solid #465669;
    }

    .header-actions {
        margin-left: auto;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .page-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }

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

    .timeline {
        flex-direction: column;
        gap: 30px;
    }

    .timeline::before {
        display: none;
    }

    .event-item {
        flex-direction: column;
        text-align: center;
    }

    .event-date {
        margin: 0 auto;
    }

    .comparison-table-wrapper {
        font-size: 14px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }
}

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

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

    .hero-title {
        font-size: 24px;
    }

    section {
        padding: 40px 0;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .feature-card,
    .step-card,
    .reward-card,
    .channel-card,
    .tutorial-step {
        padding: 20px;
    }
}

/* Image Styles */
.brand-image img,
.feature-image img,
.intro-image img,
.login-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.brand-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.feature-image {
    margin-bottom: 15px;
}

.feature-image img {
    height: 180px;
    object-fit: cover;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .brand-content,
    .intro-content,
    .login-wrapper {
        grid-template-columns: 1fr;
    }

    .feature-image img {
        height: 150px;
    }
}
