/*
Theme Name: Vòng Quay May Mắn (VQMM)
Theme URI: https://vongquaymayman.co/
Author: Antigravity Team
Author URI: https://vongquaymayman.co/
Description: Theme WordPress Vòng Quay May Mắn, Hộp Quà May Mắn và Minigame trực tuyến tương tác cao cấp, chuẩn SEO 100%, tối ưu hóa AI Overviews / GEO, Core Web Vitals (INP < 200ms, CLS = 0, LCP < 2.5s), Schema.org JSON-LD WebApplication và tích hợp Programmatic SEO.
Version: 1.0.1
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vqmm
Tags: lucky-wheel, decision-maker, minigame, responsive, clean-seo, bootstrap5, html5-canvas, geo, schema-org
*/

/* Reset & Base Utilities */
:root {
    --primary-color: #0d6efd;
    --primary-hover: #0b5ed7;
    --accent-color: #ff4757;
    --body-bg: #f8f9fa;
    --text-color: #212529;
}

body {
    background-color: var(--body-bg);
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
}

/* Core Web Vitals: Zero Layout Shift (CLS = 0) */
#wheel-container {
    width: 100%;
    max-width: 580px;
    min-height: 380px;
    aspect-ratio: 1;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    contain: layout size;
}

/* Header & Navigation */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.site-navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: #0d6efd;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-navbar .nav-link {
    font-weight: 500;
    color: #495057;
    transition: color 0.2s ease;
    padding: 0.5rem 0.85rem;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: #0d6efd;
}

.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Breadcrumbs */
.vqmm-breadcrumb {
    background: #f1f3f5;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.vqmm-breadcrumb a {
    color: #0d6efd;
    text-decoration: none;
}

.vqmm-breadcrumb a:hover {
    text-decoration: underline;
}

/* Post Content & Typography */
.entry-content {
    line-height: 1.75;
    font-size: 1.05rem;
    color: #333333;
}

.entry-content h1, .entry-content h2, .entry-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Card Styling */
.card-vqmm {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.card-vqmm:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Accordion FAQ Styling */
.accordion-button:not(.collapsed) {
    background-color: #f0f7ff;
    color: #0d6efd;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(13, 110, 253, 0.25);
}

/* Footer */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #dee2e6;
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
    font-size: 0.92rem;
    color: #6c757d;
}

.site-footer h6 {
    color: #212529;
    font-weight: 700;
    margin-bottom: 1rem;
}

.site-footer a {
    color: #495057;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #e9ecef;
    margin-top: 2rem;
    padding-top: 1.25rem;
}
