/*
Theme Name: jun88 TV
Theme URI: https://jun88.tv
Author: jun88 TV Team
Author URI: https://jun88.tv
Description: jun88 TV - Trang chủ thể thao và giải trí đầu tiên, cung cấp nội dung chất lượng cao về bóng đá, cá cược, game online và xem trực tiếp.
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-tv
Tags: custom-background, threaded-comments, translation-ready
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #8b0000;
    color: #fff;
    padding: 20px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-width: 200px;
    height: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-right: 30px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #ff6b35;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.login-btn,
.register-btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.login-btn {
    background: #ff6b35;
    color: #fff;
}

.login-btn:hover {
    background: #e55a2b;
}

.register-btn {
    background: #fff;
    color: #000000 !important;
}

.register-btn:hover {
    background: #f0f0f0;
}

main {
    padding: 40px 0;
}

section {
    margin-bottom: 60px;
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

p {
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
}

.hero {
    text-align: center;
    padding: 40px 0;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 30px;
}

.hero img {
    max-width: 100%;
    margin: 0 auto 30px;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #ff6b35;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    transition: background 0.3s;
}

.cta-btn:hover {
    background: #e55a2b;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item img {
    margin: 0 auto 15px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.news-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item img {
    margin: 0 0 15px;
}

.news-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #ff6b35;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.mission,
.vision {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.contact-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    min-height: 150px;
}

.submit-btn,
.login-submit-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover,
.login-submit-btn:hover {
    background: #e55a2b;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
}

.remember-me input[type="checkbox"] {
    width: auto;
}

.login-links {
    margin-top: 20px;
}

.login-links a {
    display: block;
    margin-bottom: 10px;
    color: #ff6b35;
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
}

.service-detail {
    margin-bottom: 40px;
}

.service-detail img {
    margin: 20px 0;
}

footer {
    background: #8b0000;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 15px;
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        margin: 20px 0;
    }

    nav ul li {
        margin: 10px 0;
    }

    .auth-buttons {
        margin-top: 20px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .service-grid,
    .news-grid,
    .mission-vision-grid,
    .contact-info-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
}