/*
Theme Name: XOSO66
Theme URI: https://xoso66.com
Author: XOSO66 Team
Author URI: https://xoso66.com
Description: XOSO66主题 - 专业的越南语xổ số直接在线平台
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: xoso66
Tags: right-sidebar, custom-background, custom-logo, threaded-comments, translation-ready
*/

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* 图片优化样式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 响应式图片容器 */
.img-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.img-container:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.img-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.img-container:hover img {
    transform: scale(1.02);
}

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

/* 头部样式 */
header {
    background-color: #1a73e8;
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo img {
    max-height: 50px;
}

/* 导航样式 */
nav {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-right: 20px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
    display: inline-block;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #1a73e8;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #1a73e8;
    transform: translateY(-2px);
}

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

.auth-buttons {
    display: flex;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    margin-left: 10px;
}

.btn-primary {
    background-color: #1a73e8;
    color: white;
}

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

.btn-secondary {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

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

/* 汉堡菜单 */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #1a73e8, #34a853);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 内容区域 */
.content {
    padding: 40px 0;
}

.content .container h1 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #1a73e8;
    text-align: center;
}

/* 关于我们页面容器样式 */
.about-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 40px;
    margin-bottom: 40px;
}

/* 关于我们页面section样式 */
.about-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.about-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.about-section:hover {
    transform: translateX(10px);
}

.about-section h2 {
    color: #1a73e8;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.about-section h2:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 24px;
    background-color: #1a73e8;
    border-radius: 4px;
}

.about-section p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.about-section img {
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.about-section img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* 关于我们页面列表样式 */
.about-section ul {
    margin-bottom: 20px;
    padding-left: 25px;
}

.about-section ul li {
    margin-bottom: 12px;
    position: relative;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.about-section ul li:before {
    content: '✓';
    color: #34a853;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}

.about-section ul li:hover {
    padding-left: 10px;
    color: #1a73e8;
}

/* 预测奖励页面容器样式 */
.reward-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 40px;
    margin-bottom: 40px;
}

/* 预测奖励页面section样式 */
.reward-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.reward-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.reward-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.reward-section h2 {
    color: #1a73e8;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.reward-section h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    background-color: #34a853;
    border-radius: 2px;
}

.reward-section p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.reward-section img {
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.reward-section img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* 预测奖励页面列表样式 */
.reward-section ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.reward-section ol li {
    margin-bottom: 12px;
    position: relative;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.reward-section ul {
    margin-bottom: 20px;
    padding-left: 25px;
}

.reward-section ul li {
    margin-bottom: 12px;
    position: relative;
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* 预测奖励页面按钮样式 */
.reward-section .btn {
    margin-top: 20px;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.reward-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

/* 下载App页面容器样式 */
.app-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 40px;
    margin-bottom: 40px;
}

/* 下载App页面section样式 */
.app-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.app-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.app-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.app-section h2 {
    color: #1a73e8;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.app-section h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    background-color: #34a853;
    border-radius: 2px;
}

.app-section p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.app-section img {
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.app-section img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* 下载App页面列表样式 */
.app-section ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.app-section ol li {
    margin-bottom: 12px;
    position: relative;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.app-section ul {
    margin-bottom: 20px;
    padding-left: 25px;
}

.app-section ul li {
    margin-bottom: 12px;
    position: relative;
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* 下载App页面按钮样式 */
.app-section .btn {
    margin-top: 20px;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.app-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

/* 联系我们页面容器样式 */
.contact-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 40px;
    margin-bottom: 40px;
}

/* 联系我们页面section样式 */
.contact-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.contact-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.contact-section h2 {
    color: #1a73e8;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.contact-section h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    background-color: #34a853;
    border-radius: 2px;
}

.contact-section p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

/* 联系我们页面表单样式 */
.contact-section form {
    margin-top: 20px;
}

.contact-section .form-group {
    margin-bottom: 20px;
}

.contact-section .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.contact-section .form-group input,
.contact-section .form-group select,
.contact-section .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-section .form-group input:focus,
.contact-section .form-group select:focus,
.contact-section .form-group textarea:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.1);
}

.contact-section .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 联系我们页面按钮样式 */
.contact-section .btn {
    margin-top: 20px;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.contact-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.section {
    margin-bottom: 40px;
}

.section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1a73e8;
}

.section p {
    margin-bottom: 15px;
}

.section ul,
.section ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.section ul li,
.section ol li {
    margin-bottom: 12px;
    position: relative;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.section ul li {
    list-style: none;
}

.section ul li:before {
    content: '•';
    color: #1a73e8;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}

.section ul li:hover {
    padding-left: 10px;
    color: #1a73e8;
}

.section ol li {
    counter-increment: item;
}

.section ol li:before {
    content: counter(item) ".";
    color: #1a73e8;
    font-weight: bold;
    display: inline-block;
    width: 1.5em;
    margin-left: -1.5em;
    position: absolute;
    left: 0;
}

.section ol li:hover {
    padding-left: 10px;
    color: #1a73e8;
}

.section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 特殊section样式 */
.section.special {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.section.special:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.section.special h2 {
    color: #1a73e8;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e3f2fd;
}

.section.special ol {
    counter-reset: special-counter;
    padding-left: 0;
}

.section.special ol li {
    counter-increment: special-counter;
    list-style: none;
    position: relative;
    padding-left: 50px;
    margin-bottom: 15px;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.section.special ol li:before {
    content: counter(special-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    background-color: #1a73e8;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.section.special ol li:hover {
    padding-left: 60px;
    color: #1a73e8;
}

.section.special ol li:hover:before {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(26, 115, 232, 0.3);
}

.section.special img {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 25px;
    transition: all 0.3s ease;
}

.section.special img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* 卡片样式 */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.card img {
    max-width: 100%;
    border-radius: 4px;
    margin-bottom: 15px;
}

.card ul,
.card ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.card ul li,
.card ol li {
    margin-bottom: 8px;
    position: relative;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.card ul li {
    list-style: none;
}

.card ul li:before {
    content: '•';
    color: #1a73e8;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}

.card ul li:hover {
    padding-left: 8px;
    color: #1a73e8;
}

.card ul li a,
.card ol li a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.card ul li a:hover,
.card ol li a:hover {
    color: #1a73e8;
}

.card ol li {
    counter-increment: card-item;
}

.card ol li:before {
    content: counter(card-item) ".";
    color: #1a73e8;
    font-weight: bold;
    display: inline-block;
    width: 1.5em;
    margin-left: -1.5em;
    position: absolute;
    left: 0;
}

.card ol li:hover {
    padding-left: 8px;
    color: #1a73e8;
}

/* 页脚 */
footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    margin-top: 40px;
}

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

.footer-section h3 {
    margin-bottom: 20px;
    color: #1a73e8;
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.footer-section ul li:before {
    content: '→';
    color: #1a73e8;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-section ul li:hover:before {
    opacity: 1;
    left: -10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #1a73e8;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #444;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 120px;
        left: -100%;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .auth-buttons {
        display: none;
    }

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

    .hero p {
        font-size: 16px;
    }

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

    .content .container h1 {
        font-size: 28px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .social-links {
        justify-content: center;
    }
}

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

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

    .content {
        padding: 20px 0;
    }

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

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

table th,
table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

table th {
    background-color: #1a73e8;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table tr {
    transition: all 0.3s ease;
}

table tr:nth-child(even) {
    background-color: #f8f9fa;
}

table tr:hover {
    background-color: #e3f2fd;
    transform: translateY(-1px);
}

table tr:hover td {
    color: #1a73e8;
}

/* 响应式表格 */
@media (max-width: 768px) {
    table {
        font-size: 14px;
        box-shadow: none;
        overflow-x: auto;
        display: block;
    }
    
    table th,
    table td {
        padding: 10px;
    }
    
    table th {
        font-size: 13px;
    }
}

/* 按钮样式 */
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.social-links {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links .btn {
    margin-left: 0;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 成功/错误消息 */
.message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}