/*
Theme Name: Đăng Ký Jun88
Theme URI: https://jun88.ms/
Author: Jun88 SEO Team
Author URI: https://jun88.ms/
Description: Chuyên trang đăng ký Jun88 - Nhà cái uy tín hàng đầu châu Á. Đăng ký ngay nhận thưởng 58k. Template tối ưu SEO cho từ khóa Đăng Ký Jun88.
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: seo-theme-dang-ky-jun88
Tags: casino, betting, gaming, seo, responsive
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c8102e;
    --secondary-color: #1a1a1a;
    --accent-color: #ffd700;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: var(--secondary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 50px;
    width: auto;
}

/* Navigation */
.nav-desktop {
    display: flex;
}

/* Header Auth Buttons */
.header-auth-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-login,
.btn-register {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-icon {
    font-size: 16px;
}

.btn-login {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-login:hover {
    background: var(--white);
    color: var(--secondary-color);
}

.btn-register {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(200, 16, 46, 0.3);
}

.btn-register:hover {
    background: #a00d25;
    border-color: #a00d25;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(200, 16, 46, 0.4);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    background: var(--primary-color);
    color: var(--accent-color);
}

.nav-mobile {
    display: none;
}

.menu-toggle {
    display: none;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 18px;
    transition: background 0.3s ease;
}

.menu-toggle:hover {
    background: #a00d24;
}

.menu-icon {
    display: inline-block;
    font-size: 20px;
    line-height: 1;
}

.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cta-button:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.content-section h3 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin: 25px 0 15px;
}

.content-section p {
    margin-bottom: 20px;
    text-align: justify;
}

.content-section ul,
.content-section ol {
    margin: 20px 0 20px 40px;
}

.content-section li {
    margin-bottom: 10px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-top: 0;
}

/* Step by Step */
.steps-container {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
    margin: 40px 0;
}

.step-item {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.step-number {
    background: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--white);
}

table th,
table td {
    padding: 15px;
    border: 1px solid var(--border-color);
    text-align: left;
}

table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

table tr:nth-child(even) {
    background: var(--light-bg);
}

table tr:hover {
    background: #f0f0f0;
}

/* Footer */
.site-footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        position: relative;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .header-auth-buttons {
        display: none;
    }

    .nav-desktop {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary-color);
        flex-direction: column;
        padding: 10px;
        gap: 5px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
        z-index: 999;
    }

    .nav-desktop.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        padding: 12px 15px;
        text-align: center;
        display: block;
        width: 100%;
        border-radius: 4px;
    }

    .nav-menu a:hover,
    .nav-menu .current-menu-item a {
        background: var(--primary-color);
    }

    .menu-toggle {
        display: block;
        z-index: 1000;
    }

    .nav-mobile {
        display: block;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }

    table {
        font-size: 0.9rem;
    }

    table th,
    table td {
        padding: 10px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.highlight {
    background: var(--accent-color);
    padding: 2px 8px;
    border-radius: 3px;
    color: var(--secondary-color);
    font-weight: 600;
}

/* Mobile Menu Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
