/* ===== CSS Variables ===== */
:root {
    --color-white: #FFFFFF;
    --color-red: #D32F2F;
    --color-red-dark: #B71C1C;
    --color-red-light: #FFCDD2;
    --color-gold: #FFD700;
    --color-gold-dark: #FFC107;
    --color-gold-light: #FFF8E1;
    --color-gray-light: #F5F5F5;
    --color-gray: #9E9E9E;
    --color-text: #333333;
    --color-text-light: #666666;
    
    --gradient-red: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    --gradient-hero: linear-gradient(180deg, #FFF8E1 0%, #FFFFFF 100%);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    
    --transition-fast: 200ms ease-out;
    --transition-normal: 300ms ease-out;
    --transition-slow: 400ms ease-out;
    
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

/* ===== Navigation - Premium Style ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,248,225,0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--transition-normal);
    border-bottom: 1px solid transparent;
}

.navbar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-red), var(--color-gold), var(--color-red));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(211, 47, 47, 0.1);
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}



.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-red);
    position: relative;
}

.logo::after {
    content: '2026';
    position: absolute;
    top: -8px;
    right: -30px;
    font-size: 0.6rem;
    background: var(--gradient-gold);
    color: #8B4513;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 600;
}

.logo-icon {
    width: 40px;
    height: 55px;
    filter: drop-shadow(0 2px 4px rgba(211, 47, 47, 0.3));
    animation: swing 3s ease-in-out infinite;
}

.logo-text {
    background: linear-gradient(135deg, var(--color-red) 0%, #E53935 50%, var(--color-red-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu li {
    position: relative;
}

.nav-menu a {
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: 10px 16px;
    border-radius: 25px;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--color-red-light) 0%, var(--color-gold-light) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.nav-menu a:hover::before {
    opacity: 1;
}

.nav-menu a:hover {
    color: var(--color-red);
    transform: translateY(-2px);
}

.nav-menu a.active {
    background: var(--gradient-red);
    color: white;
}

/* Nav decorative dots */
.nav-menu li:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gold);
    font-size: 8px;
    opacity: 0.5;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-red);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 60px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title { margin-bottom: 24px; }

.title-line {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--color-red);
    margin-bottom: 12px;
}

.title-sub {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

/* ===== Countdown ===== */
.countdown {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--color-white);
    border: 2px solid var(--color-gold);
    border-radius: var(--border-radius);
    padding: 20px 24px;
    min-width: 85px;
    box-shadow: var(--shadow-md);
}

.countdown-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-red);
    line-height: 1;
}

.countdown-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Buttons ===== */
.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
}

.btn-primary {
    background: var(--gradient-red);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.5);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-red);
    border: 2px solid var(--color-red);
}

.btn-secondary:hover {
    background: var(--color-red);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* ===== Scroll Indicator ===== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-light);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
}

/* ===== Animations ===== */
@keyframes swing {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

@keyframes sway {
    0%, 100% { transform: rotate(-8deg); }
    50% { transform: rotate(8deg); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}


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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--color-gold-light);
    color: var(--color-gold-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-red);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== About Section ===== */
.about { background: var(--color-white); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-intro {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 32px;
    line-height: 1.8;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--color-gray-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-gold);
    transition: all var(--transition-normal);
}

.info-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.info-icon svg {
    width: 100%;
    height: 100%;
}

.info-card h4 {
    font-size: 1rem;
    color: var(--color-red);
    margin-bottom: 4px;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Illustration Box */
.about-illustration {
    display: flex;
    justify-content: center;
}

.illustration-box {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: url('images/binhngo.png') center/cover no-repeat;
    border-radius: var(--border-radius-lg);
    border: 3px solid var(--color-gold);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.illustration-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
    z-index: 0;
}

.illustration-box > * {
    position: relative;
    z-index: 1;
}

.tet-symbols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.symbol-svg {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: all var(--transition-normal);
}

.symbol-svg:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15));
}

.symbol-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.illustration-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-heading);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.illustration-text span:first-child {
    font-size: 2.5rem;
    color: #FFFFFF;
    font-weight: 600;
}

.illustration-text span:last-child {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-gold);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}

/* Symbols Grid */
.symbols-section { padding-top: 40px; }

.symbols-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--color-red);
    margin-bottom: 40px;
}

.symbols-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.symbol-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--color-white);
    border-radius: var(--border-radius);
    border: 1px solid #eee;
    transition: all var(--transition-normal);
}

.symbol-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-gold);
}

.card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    padding: 10px;
    background: linear-gradient(135deg, var(--color-gold-light) 0%, #FFF 100%);
    border-radius: 16px;
    border: 2px solid var(--color-gold);
    transition: all var(--transition-normal);
}

.card-img-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--color-gold);
    transition: all var(--transition-normal);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.symbol-card:hover .card-icon,
.tradition-card:hover .card-icon,
.symbol-card:hover .card-img-wrapper,
.tradition-card:hover .card-img-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.symbol-card:hover .card-img,
.tradition-card:hover .card-img {
    transform: scale(1.1);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.symbol-card h4 {
    font-size: 1.1rem;
    color: var(--color-red);
    margin-bottom: 8px;
}

.symbol-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ===== Traditions Section ===== */
.traditions { background: var(--color-gray-light); }

.traditions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tradition-card {
    background: var(--color-white);
    padding: 32px 24px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.tradition-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gold);
}

.tradition-card h3 {
    font-size: 1.1rem;
    color: var(--color-red);
    margin-bottom: 12px;
}

.tradition-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===== Lion Dance Section ===== */
.lion-dance-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--color-gold-light);
}

.lion-dance-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--color-red);
    margin-bottom: 12px;
}

.lion-dance-desc {
    text-align: center;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1rem;
}

.lion-dance-video-single {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--color-gold);
}

.lion-dance-video-single video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

/* ===== Events Section ===== */
.events { background: var(--color-white); }

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--color-gold), var(--color-red));
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 92px;
    top: 10px;
    width: 20px;
    height: 20px;
    background: var(--color-white);
    border: 4px solid var(--color-red);
    border-radius: 50%;
    z-index: 1;
}

.timeline-date {
    min-width: 80px;
    text-align: right;
}

.date-day {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-red);
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 4px;
}

.timeline-content {
    flex: 1;
    background: var(--color-gray-light);
    padding: 24px;
    border-radius: var(--border-radius);
    margin-left: 40px;
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.timeline-tag {
    display: inline-block;
    background: var(--color-red-light);
    color: var(--color-red);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tag-yellow { background: #FFF3CD; color: #856404; }
.tag-orange { background: #FFE0B2; color: #E65100; }
.tag-purple { background: #E1BEE7; color: #7B1FA2; }
.tag-teal { background: #B2DFDB; color: #00695C; }


/* ===== Gallery Section ===== */
.gallery { background: var(--color-gray-light); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, var(--color-red-light) 0%, var(--color-gold-light) 100%);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.gallery-item-large { grid-row: span 2; }

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(211, 47, 47, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-normal);
    color: var(--color-white);
    font-weight: 600;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-zoom {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
}

/* ===== Checklist Section ===== */
.checklist { background: var(--color-white); }

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.checklist-category {
    background: var(--color-white);
    border: 2px solid var(--color-gray-light);
    border-radius: var(--border-radius);
    padding: 28px;
    transition: all var(--transition-normal);
}

.checklist-category:hover {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-md);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: var(--color-red);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-gold-light);
}

.category-title svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--color-gray-light);
    border-radius: 8px;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.checklist-item:hover {
    background: var(--color-gold-light);
    transform: translateX(4px);
}

.check-box {
    width: 22px;
    height: 22px;
    background: var(--color-white);
    border: 2px solid var(--color-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-fast);
    font-size: 12px;
    color: transparent;
}

.check-box::after { content: '✓'; }

.checklist-item:hover .check-box,
.checklist-item.checked .check-box {
    background: var(--color-red);
    color: var(--color-white);
}

.checklist-item.checked {
    opacity: 0.6;
}

.checklist-item.checked span:last-child {
    text-decoration: line-through;
}

.checklist-item span:last-child {
    font-size: 0.9rem;
    color: var(--color-text);
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--gradient-red);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta-wishes {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.wish-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 50px;
    color: var(--color-white);
    font-weight: 600;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.wish-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
}

/* ===== Footer - Premium Style ===== */
.footer {
    background: linear-gradient(135deg, #B71C1C 0%, #8B0000 50%, #5D0000 100%);
    color: var(--color-white);
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Decorative top wave */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23ffffff' d='M0,50 C360,100 720,0 1080,50 C1260,75 1380,75 1440,50 L1440,0 L0,0 Z'/%3E%3C/svg%3E");
    background-size: cover;
}

/* Floating lanterns decoration */
.footer::after {
    content: '🏮';
    position: absolute;
    top: 120px;
    right: 10%;
    font-size: 3rem;
    opacity: 0.15;
    animation: float 4s ease-in-out infinite;
}

.footer-top {
    padding: 120px 0 60px;
    position: relative;
}

/* Golden line separator */
.footer-top::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
}

.footer-brand {
    position: relative;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer-logo svg {
    width: 35px;
    height: 50px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Decorative quote */
.footer-quote {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-gold);
    font-size: 1.1rem;
    padding-left: 20px;
    border-left: 3px solid var(--color-gold);
    margin-top: 20px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--color-gold);
    position: relative;
    display: inline-block;
}

.footer-links h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-gold);
    border-radius: 2px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a::before {
    content: '›';
    color: var(--color-gold);
    font-size: 1.2rem;
    transition: transform var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
    transform: translateX(8px);
}

.footer-links a:hover::before {
    transform: translateX(4px);
}

.social-icons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.social-icon svg {
    width: 22px;
    height: 22px;
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
}

.social-icon:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover svg {
    color: #8B4513;
    fill: #8B4513;
}

/* Footer Contact Section */
.footer-contact {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--color-gold);
}

.footer-contact p {
    margin-bottom: 8px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    transition: all var(--transition-normal);
    padding: 8px 0;
}

.contact-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--color-gold);
}

.contact-link:hover {
    color: var(--color-gold);
    transform: translateX(6px);
}

.contact-link:hover svg {
    transform: scale(1.1);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 20px;
    position: relative;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom .heart {
    color: var(--color-gold);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-red);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.5);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
}

.lightbox-close:hover {
    background: var(--color-red);
    transform: rotate(90deg);
}

.lightbox-content { text-align: center; }

.lightbox-image {
    max-width: 90vw;
    max-height: 70vh;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-title {
    color: var(--color-white);
    font-size: 1.5rem;
    font-family: var(--font-heading);
}


/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .symbols-grid,
    .traditions-grid,
    .checklist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 180px);
    }
    
    .gallery-item-1 { grid-row: span 1; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li { border-bottom: 1px solid var(--color-gray-light); }
    .nav-menu a { display: block; padding: 16px 0; }
    .nav-toggle { display: flex; }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero { padding: 120px 20px 80px; }
    
    .countdown { gap: 10px; }
    .countdown-item { padding: 16px 12px; min-width: 70px; }
    .countdown-number { font-size: 2rem; }
    
    .hero-cta { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-illustration { order: -1; }
    .illustration-box { max-width: 300px; }
    .symbol-svg { width: 55px; height: 55px; }
    
    .symbols-grid { gap: 16px; }
    .traditions-grid { grid-template-columns: 1fr; }
    
    .timeline::before { left: 20px; }
    
    .timeline-item {
        flex-direction: column;
        gap: 16px;
        padding-left: 50px;
    }
    
    .timeline-item::before { left: 12px; top: 0; }
    .timeline-date { text-align: left; }
    .timeline-content { margin-left: 0; }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item { height: 180px; }
    .checklist-grid { grid-template-columns: 1fr; }
    
    /* Footer responsive */
    .footer::before { height: 60px; }
    .footer-top { padding: 80px 0 40px; }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links h4::after,
    .footer-social h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-quote {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid var(--color-gold);
        padding-top: 15px;
    }
    
    .social-icons { justify-content: center; }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    /* Nav menu responsive adjustments */
    .nav-menu li::after { display: none; }
    .nav-menu a::before { display: none; }
    .logo::after { display: none; }
        text-align: center;
    }
    
    .social-icons { justify-content: center; }
    
    .cta-wishes { gap: 12px; }
    .wish-item { padding: 10px 18px; font-size: 1rem; }
}

@media (max-width: 480px) {
    section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
    
    .countdown { flex-wrap: wrap; }
    .countdown-item { min-width: 65px; padding: 12px 10px; }
    .countdown-number { font-size: 1.6rem; }
    .countdown-label { font-size: 0.7rem; }
    
    .symbols-grid { grid-template-columns: 1fr; }
    .symbol-card, .tradition-card { padding: 24px 16px; }
    .checklist-category { padding: 20px; }
    
    .lightbox-image svg { width: 150px; height: 150px; }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

a:focus, button:focus {
    outline: 3px solid var(--color-gold);
    outline-offset: 2px;
}

/* ===== Scroll Animation Classes ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== New Enhanced Effects ===== */

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-red), var(--color-gold), var(--color-red));
    z-index: 1001;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px var(--color-gold);
}

/* Floating Particles */
.particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.floating-particle {
    position: absolute;
    bottom: -50px;
    animation: floatUp linear infinite;
    opacity: 0.6;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Confetti Effect */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    border-radius: 2px;
    animation: confettiFall linear forwards;
    pointer-events: none;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(300px) rotate(720deg);
        opacity: 0;
    }
}

/* Enhanced Card Hover */
.tradition-card,
.symbol-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Glowing Border Effect */
.tradition-card:hover,
.symbol-card:hover {
    box-shadow: 
        0 10px 40px rgba(211, 47, 47, 0.2),
        0 0 0 2px var(--color-gold),
        inset 0 0 20px rgba(255, 215, 0, 0.05);
}

/* Image Shine Effect */
.card-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.tradition-card:hover .card-img-wrapper::after,
.symbol-card:hover .card-img-wrapper::after {
    left: 100%;
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

/* Countdown Pulse Effect */
.countdown-item {
    animation: countdownPulse 2s ease-in-out infinite;
}

.countdown-item:nth-child(1) { animation-delay: 0s; }
.countdown-item:nth-child(2) { animation-delay: 0.5s; }
.countdown-item:nth-child(3) { animation-delay: 1s; }
.countdown-item:nth-child(4) { animation-delay: 1.5s; }

@keyframes countdownPulse {
    0%, 100% { box-shadow: var(--shadow-md); }
    50% { box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4); }
}

/* Hero Content Animation */
.hero-content {
    animation: heroFadeIn 1.5s ease-out;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Title Gradient Animation */
.title-line {
    background: linear-gradient(
        90deg,
        var(--color-red),
        #E53935,
        var(--color-red-dark),
        var(--color-red)
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Gallery Enhanced Grid */
@media (min-width: 769px) {
    .gallery-grid {
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(2, 200px);
    }
    
    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(3, 180px);
    }
    
    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }
}

/* Lightbox Navigation Arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    color: white;
}

.lightbox-nav:hover {
    background: var(--color-red);
}

.lightbox-nav.prev { left: 30px; }
.lightbox-nav.next { right: 30px; }

/* Section Divider */
.section-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-red), var(--color-gold));
    margin: 0 auto 30px;
    border-radius: 2px;
}

/* Ripple Effect on Buttons */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* Checklist Progress */
.checklist-category {
    position: relative;
}

.checklist-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 4px;
    background: var(--color-gray-light);
    border-radius: 4px 0 0 4px;
    transition: background 0.3s ease;
}

.checklist-category:hover::before {
    background: linear-gradient(to bottom, var(--color-red), var(--color-gold));
}

/* Timeline Enhanced */
.timeline-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Wish Items Sparkle */
.wish-item {
    position: relative;
}

.wish-item::before {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wish-item:hover::before {
    opacity: 1;
    animation: sparkle 0.5s ease;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.5); }
}

/* Loading Animation for Images */
.gallery-img,
.card-img {
    background: linear-gradient(
        90deg,
        var(--color-gray-light) 0%,
        #e0e0e0 50%,
        var(--color-gray-light) 100%
    );
    background-size: 200% 100%;
    animation: imageLoading 1.5s ease infinite;
}

.gallery-img[src],
.card-img[src] {
    animation: none;
    background: none;
}

@keyframes imageLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Smooth Number Transition */
.countdown-number {
    transition: transform 0.3s ease, opacity 0.3s ease;
}


/* Lightbox Counter */
.lightbox-counter {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Lightbox Image Transition */
.lightbox-image {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Mobile Gallery Grid */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .gallery-item {
        height: 150px;
    }
    
    .gallery-item:nth-child(1) {
        grid-column: span 2;
        height: 200px;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-nav.prev { left: 10px; }
    .lightbox-nav.next { right: 10px; }
}

/* Tradition Cards Image Wrapper Enhancement */
.tradition-card-img .card-img-wrapper {
    height: 120px;
    margin-bottom: 16px;
}

.tradition-card-img .card-img {
    border-radius: 8px;
}


/* Designer Credit */
.designer-credit {
    color: var(--color-gold);
    font-size: 0.95rem;
}

.designer-credit strong {
    background: linear-gradient(90deg, var(--color-gold), #FFF, var(--color-gold));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 3s ease-in-out infinite;
}

@keyframes shimmerText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}


/* ===== Foods Section ===== */
.foods { background: var(--color-white); }

.foods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.foods-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.food-img-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-gold);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.food-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.food-card:hover .food-img {
    transform: scale(1.1);
}

.food-card {
    background: var(--color-white);
    border: 2px solid var(--color-gray-light);
    border-radius: var(--border-radius);
    padding: 28px 24px;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.food-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-red), var(--color-gold));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.food-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-lg);
}

.food-card:hover::before {
    transform: scaleX(1);
}

.food-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.food-card h3 {
    font-size: 1.2rem;
    color: var(--color-red);
    margin-bottom: 12px;
}

.food-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.food-region {
    display: inline-block;
    background: var(--color-gold-light);
    color: var(--color-gold-dark);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===== Cau Doi Section ===== */
.caudoi { background: var(--color-gray-light); }

.caudoi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.caudoi-card {
    background: linear-gradient(135deg, #B71C1C 0%, #D32F2F 100%);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.caudoi-card::before,
.caudoi-card::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid var(--color-gold);
    opacity: 0.3;
}

.caudoi-card::before {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.caudoi-card::after {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

.caudoi-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(183, 28, 28, 0.4);
}

.caudoi-content {
    margin-bottom: 16px;
}

.caudoi-line {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-gold);
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.caudoi-meaning {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    display: block;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
}

/* ===== Tools Section ===== */
.tools { background: var(--color-white); }

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.tool-card {
    background: var(--color-white);
    border: 2px solid var(--color-gray-light);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    transition: all var(--transition-normal);
}

.tool-card:hover {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-md);
}

.tool-card h3 {
    font-size: 1.3rem;
    color: var(--color-red);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
}

/* Lunar Calendar */
.lunar-display {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--color-red-light) 0%, var(--color-gold-light) 100%);
    border-radius: var(--border-radius);
}

.lunar-date {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-red);
    font-weight: 700;
}

.lunar-info {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 12px 0;
    font-size: 1rem;
    color: var(--color-text);
}

.lunar-zodiac {
    font-size: 1.1rem;
    color: var(--color-gold-dark);
    font-weight: 600;
}

/* Greeting Generator */
.greeting-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.greeting-form input,
.greeting-form select {
    padding: 12px 16px;
    border: 2px solid var(--color-gray-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.greeting-form input:focus,
.greeting-form select:focus {
    outline: none;
    border-color: var(--color-gold);
}

.greeting-preview {
    margin-top: 20px;
}

.greeting-card-preview {
    background: linear-gradient(135deg, #B71C1C 0%, #D32F2F 100%);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.greeting-card-preview::before {
    content: '🌸';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 1.5rem;
    opacity: 0.5;
}

.greeting-card-preview::after {
    content: '🌸';
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 1.5rem;
    opacity: 0.5;
}

.card-decoration {
    font-size: 3rem;
    margin-bottom: 16px;
}

.card-recipient {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--color-gold);
}

.card-message {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.card-signature {
    font-size: 0.9rem;
    opacity: 0.9;
}

.greeting-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    justify-content: center;
}

/* Xong Dat Checker */
.xongdat-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.xongdat-form select {
    padding: 12px 16px;
    border: 2px solid var(--color-gray-light);
    border-radius: 8px;
    font-size: 1rem;
}

.xongdat-result {
    margin-top: 20px;
    padding: 20px;
    background: var(--color-gold-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-gold);
}

.xongdat-result h4 {
    color: var(--color-red);
    margin-bottom: 12px;
}

.xongdat-result ul {
    list-style: none;
    padding: 0;
}

.xongdat-result li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.xongdat-result li:last-child {
    border-bottom: none;
}

.tuoi-tot { color: #2E7D32; }
.tuoi-xau { color: #C62828; }

/* Quiz */
.quiz-container {
    display: none;
}

.quiz-container.active {
    display: block;
}

.quiz-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
    padding: 16px;
    background: var(--color-gray-light);
    border-radius: 8px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.quiz-option {
    padding: 12px 16px;
    border: 2px solid var(--color-gray-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: white;
}

.quiz-option:hover {
    border-color: var(--color-gold);
    background: var(--color-gold-light);
}

.quiz-option.correct {
    border-color: #4CAF50;
    background: #E8F5E9;
}

.quiz-option.wrong {
    border-color: #F44336;
    background: #FFEBEE;
}

.quiz-progress {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.quiz-result {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-red-light) 100%);
    border-radius: var(--border-radius);
}

.quiz-result h4 {
    font-size: 1.5rem;
    color: var(--color-red);
    margin-bottom: 12px;
}

.quiz-result p {
    font-size: 1.1rem;
    color: var(--color-text);
}

/* Lucky Money / Lì Xì */
.lixi-card {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
    text-align: center;
}

.lixi-card .btn {
    margin: 0 auto;
}

.lixi-container {
    display: flex;
    justify-content: center;
    padding: 40px 0;
    perspective: 1000px;
}

.lixi-envelope {
    width: 180px;
    height: 260px;
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.lixi-envelope:hover {
    transform: scale(1.05) rotateY(5deg);
}

.lixi-envelope.shake {
    animation: shakeEnvelope 0.5s ease;
}

@keyframes shakeEnvelope {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(-10deg); }
    40% { transform: rotate(10deg); }
    60% { transform: rotate(-10deg); }
    80% { transform: rotate(10deg); }
}

.envelope-front {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #E53935 0%, #C62828 50%, #B71C1C 100%);
    border-radius: 8px 8px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
    position: relative;
    overflow: hidden;
}

.envelope-front::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 4px;
}

.envelope-front::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmerLixi 2s infinite;
}

@keyframes shimmerLixi {
    0% { left: -100%; }
    100% { left: 100%; }
}

.envelope-decoration {
    font-size: 4.5rem;
    color: var(--color-gold);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-family: serif;
}

.envelope-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 4px;
    margin-top: 8px;
}

.envelope-flap {
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(180deg, #F44336 0%, #E53935 100%);
    clip-path: polygon(0 100%, 50% 30%, 100% 100%);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.lixi-envelope.opened .envelope-flap {
    transform: rotateX(180deg);
}

.lixi-result {
    text-align: center;
    padding: 20px;
    animation: fadeInUp 0.5s ease;
}

.lixi-money {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-red);
    margin-bottom: 12px;
    text-shadow: 2px 2px 0 var(--color-gold);
}

.lixi-message {
    font-size: 1.1rem;
    color: var(--color-text);
    padding: 16px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border-left: 4px solid var(--color-gold);
    margin-bottom: 16px;
    font-style: italic;
}

#drawAgain {
    margin-top: 10px;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(300px) rotate(720deg);
        opacity: 0;
    }
}

/* ===== BẦU CUA GAME ===== */
.baucua-card {
    background: linear-gradient(135deg, #1a472a 0%, #2d5a3f 50%, #1a472a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.baucua-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.baucua-card h3 {
    color: var(--color-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.baucua-card .tool-desc {
    color: rgba(255,255,255,0.8);
}

.baucua-game {
    position: relative;
    z-index: 1;
}

.baucua-balance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.balance-icon {
    font-size: 1.5rem;
}

.balance-amount {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #5D4037;
}

.balance-label {
    color: #5D4037;
    font-weight: 600;
}

.baucua-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.bc-item {
    background: linear-gradient(145deg, #f5f5dc 0%, #e8e4c9 100%);
    border: 3px solid #8B4513;
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2), inset 0 2px 4px rgba(255,255,255,0.5);
}

.bc-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.5);
}

.bc-item.selected {
    border-color: var(--color-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), inset 0 2px 4px rgba(255,255,255,0.5);
}

.bc-item.winner {
    animation: winnerGlow 0.5s ease infinite alternate;
}

@keyframes winnerGlow {
    from { box-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700; }
    to { box-shadow: 0 0 20px #FFD700, 0 0 40px #FFD700, 0 0 60px #FFD700; }
}

.bc-icon {
    font-size: 2.5rem;
    margin-bottom: 5px;
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.2));
}

.bc-name {
    font-weight: 700;
    color: #5D4037;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.bc-bet {
    background: var(--color-red);
    color: white;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    min-width: 40px;
    display: inline-block;
}

.baucua-chips {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.bc-chip {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px dashed rgba(255,255,255,0.5);
    background: linear-gradient(145deg, #E53935 0%, #C62828 100%);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.bc-chip:hover {
    transform: scale(1.1);
}

.bc-chip.active {
    border-color: var(--color-gold);
    border-style: solid;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    transform: scale(1.1);
}

.baucua-dice {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.bc-die {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, #ffffff 0%, #f0f0f0 100%);
    border: 3px solid #8B4513;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 6px 12px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.8);
}

.bc-die.rolling {
    animation: diceRoll 0.1s ease infinite;
}

@keyframes diceRoll {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.1); }
    50% { transform: rotate(180deg) scale(1); }
    75% { transform: rotate(270deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.baucua-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.baucua-result {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
    min-height: 24px;
}

.baucua-result.win {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3) 0%, rgba(56, 142, 60, 0.3) 100%);
    color: #81C784;
    border: 1px solid #4CAF50;
}

.baucua-result.lose {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.3) 0%, rgba(211, 47, 47, 0.3) 100%);
    color: #EF9A9A;
    border: 1px solid #F44336;
}

/* ===== VÒNG QUAY MAY MẮN ===== */
.wheel-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
}

.wheel-card h3 {
    color: var(--color-gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.wheel-card .tool-desc {
    color: rgba(255,255,255,0.8);
}

.wheel-game {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

.wheel-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin-bottom: 25px;
}

.wheel-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--color-gold);
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    animation: pointerBounce 1s ease-in-out infinite;
}

@keyframes pointerBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(5px); }
}

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 0 8px var(--color-gold),
        0 0 0 12px #8B4513,
        0 0 30px rgba(255, 215, 0, 0.4);
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.wheel-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        #E53935 0deg 45deg,
        #FFB300 45deg 90deg,
        #43A047 90deg 135deg,
        #1E88E5 135deg 180deg,
        #8E24AA 180deg 225deg,
        #F4511E 225deg 270deg,
        #00ACC1 270deg 315deg,
        #FFD700 315deg 360deg
    );
    position: relative;
}

.wheel-icon {
    position: absolute;
    font-size: 2.2rem;
    filter: drop-shadow(2px 2px 3px rgba(0,0,0,0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    backdrop-filter: blur(2px);
}

/* Vị trí icon ở giữa mỗi ô (22.5° + n*45°) từ tâm ra ngoài 35% */
.wheel-icon:nth-child(1) { top: 12%; left: 50%; transform: translate(-50%, 0); }
.wheel-icon:nth-child(2) { top: 22%; right: 15%; transform: translate(0, 0); }
.wheel-icon:nth-child(3) { top: 50%; right: 8%; transform: translate(0, -50%); }
.wheel-icon:nth-child(4) { bottom: 22%; right: 15%; transform: translate(0, 0); }
.wheel-icon:nth-child(5) { bottom: 12%; left: 50%; transform: translate(-50%, 0); }
.wheel-icon:nth-child(6) { bottom: 22%; left: 15%; transform: translate(0, 0); }
.wheel-icon:nth-child(7) { top: 50%; left: 8%; transform: translate(0, -50%); }
.wheel-icon:nth-child(8) { top: 22%; left: 15%; transform: translate(0, 0); }

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #FFD700 0%, #FFA000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 4px solid #8B4513;
    z-index: 5;
}

.wheel-spin-btn {
    font-size: 1.1rem;
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--color-gold) 0%, #FFA000 100%);
    color: #5D4037;
    border: none;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
}

.wheel-spin-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
}

.wheel-spin-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.wheel-result {
    margin-top: 20px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wheel-result .prize-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
    animation: prizePopIn 0.5s ease;
}

.wheel-result .prize-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-gold);
}

.wheel-result .prize-message {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    margin-top: 8px;
}

@keyframes prizePopIn {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    50% { transform: scale(1.3) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.wheel.spinning {
    animation: none;
}

/* ===== OẲN TÙ TÌ (KÉO BÚA BAO) ===== */
.rps-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.rps-card h3 {
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.rps-card .tool-desc {
    color: rgba(255,255,255,0.9);
}

.rps-game {
    padding: 15px 0;
}

.rps-arena {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.rps-player {
    text-align: center;
}

.rps-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.9);
}

.rps-hand {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border: 3px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.rps-hand.shake {
    animation: handShake 0.5s ease;
}

.rps-hand.winner {
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    transform: scale(1.1);
}

.rps-hand.loser {
    opacity: 0.5;
    transform: scale(0.9);
}

@keyframes handShake {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-15px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-10px); }
}

.rps-vs {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.rps-choices {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.rps-choice {
    width: 80px;
    height: 90px;
    background: rgba(255,255,255,0.15);
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.rps-choice span {
    font-size: 2rem;
}

.rps-choice small {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
}

.rps-choice:hover {
    background: rgba(255,255,255,0.25);
    border-color: #FFD700;
    transform: translateY(-5px);
}

.rps-choice:active {
    transform: scale(0.95);
}

.rps-choice.selected {
    background: rgba(255, 215, 0, 0.3);
    border-color: #FFD700;
}

.rps-score {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.rps-score .score-item {
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.15);
}

.rps-score .score-item strong {
    color: #FFD700;
}

.rps-result {
    text-align: center;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rps-result.win {
    background: rgba(76, 175, 80, 0.3);
    color: #A5D6A7;
    border: 2px solid #4CAF50;
}

.rps-result.lose {
    background: rgba(244, 67, 54, 0.3);
    color: #EF9A9A;
    border: 2px solid #F44336;
}

.rps-result.draw {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    border: 2px solid #FFD700;
}

/* ===== TÍNH TUỔI ÂM LỊCH ===== */
.zodiac-calc-card {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.zodiac-calc-card h3 {
    color: #FFD700;
}

.zodiac-calc {
    padding: 15px 0;
}

.zodiac-input {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.zodiac-input input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.zodiac-result {
    background: rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

.zodiac-animal {
    font-size: 4rem;
    margin-bottom: 15px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.zodiac-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 8px;
}

.zodiac-element {
    font-size: 1.1rem;
    margin-bottom: 12px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    display: inline-block;
}

.zodiac-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

/* ===== XEM TỬ VI 2026 ===== */
.horoscope-card {
    background: linear-gradient(135deg, #4a00e0 0%, #8e2de2 100%);
    color: white;
}

.horoscope-card h3 {
    color: #FFD700;
}

.horoscope-game {
    padding: 15px 0;
}

.horoscope-select select {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    margin-bottom: 20px;
}

.horoscope-result {
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px;
    animation: fadeInUp 0.5s ease;
}

.horoscope-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.horoscope-icon {
    font-size: 2.5rem;
}

.horoscope-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFD700;
}

.horoscope-rating {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.horoscope-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    border-left: 4px solid #FFD700;
}

.horoscope-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.detail-item {
    background: rgba(255,255,255,0.1);
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
}

.detail-item span:last-child {
    color: #FFD700;
    font-weight: 600;
}

/* ===== MEMORY CARD GAME ===== */
.memory-card-game {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.memory-card-game h3 {
    color: #FFD700;
}

.memory-game {
    padding: 15px 0;
}

.memory-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.memory-stats span {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.memory-stats strong {
    color: #FFD700;
}

.memory-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.memory-card {
    aspect-ratio: 1;
    background: linear-gradient(145deg, #FFD700 0%, #FFA000 100%);
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.memory-card.flipped {
    transform: rotateY(180deg);
}

.memory-card.matched {
    opacity: 0.7;
    cursor: default;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.6);
}

.memory-card .card-front,
.memory-card .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.memory-card .card-front {
    background: linear-gradient(145deg, #FFD700 0%, #FFA000 100%);
    font-size: 1.5rem;
}

.memory-card .card-front::after {
    content: '🏮';
    font-size: 1.8rem;
}

.memory-card .card-back {
    background: linear-gradient(145deg, #fff 0%, #f5f5f5 100%);
    transform: rotateY(180deg);
    font-size: 2rem;
}

.memory-result {
    text-align: center;
    padding: 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    margin-top: 15px;
}

.memory-result h4 {
    color: #FFD700;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.memory-result p {
    font-size: 0.95rem;
}

@keyframes jackpotPulse {
    0%, 100% {
        transform: scale(1);
        color: var(--color-red);
    }
    50% {
        transform: scale(1.1);
        color: var(--color-gold);
    }
}

@keyframes fireworkParticle {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* Social Share */
.social-share {
    text-align: center;
    padding: 40px;
    background: var(--color-gray-light);
    border-radius: var(--border-radius-lg);
}

.social-share h3 {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    color: white;
}

.share-btn svg {
    width: 20px;
    height: 20px;
}

.share-btn.facebook { background: #1877F2; }
.share-btn.facebook:hover { background: #166FE5; transform: translateY(-3px); }

.share-btn.zalo { background: #0068FF; }
.share-btn.zalo:hover { background: #0054CC; transform: translateY(-3px); }

.share-btn.twitter { background: #1DA1F2; }
.share-btn.twitter:hover { background: #1A91DA; transform: translateY(-3px); }

.share-btn.copy { background: var(--color-text); }
.share-btn.copy:hover { background: #555; transform: translateY(-3px); }

.zalo-icon {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Responsive for new sections */
@media (max-width: 1024px) {
    .foods-grid { grid-template-columns: repeat(2, 1fr); }
    .caudoi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .foods-grid { grid-template-columns: 1fr; }
    .caudoi-grid { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: 1fr; }
    .share-buttons { flex-direction: column; align-items: center; }
    .share-btn { width: 100%; max-width: 250px; justify-content: center; }
}


/* ===== Navbar Controls ===== */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    background: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.nav-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
    border-color: var(--color-red);
}

.nav-btn-icon {
    font-size: 1.1rem;
    transition: transform var(--transition-fast);
}

.nav-btn:hover .nav-btn-icon {
    transform: scale(1.1);
}

/* Audio Button Wrapper with Tooltip */
.nav-btn-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    background: var(--color-red);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.nav-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--color-red);
}

.nav-btn-wrapper:hover .nav-tooltip,
.nav-btn-wrapper .nav-btn.playing + .nav-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Tooltip animation when music playing */
.nav-btn.playing + .nav-tooltip {
    animation: tooltipPulse 2s ease-in-out infinite;
}

@keyframes tooltipPulse {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(3px); }
}

/* Theme Dropdown */
.theme-dropdown {
    position: relative;
}

.theme-options {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--color-gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: 100;
}

.theme-dropdown.active .theme-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: var(--color-gray-light);
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.theme-option:hover {
    transform: scale(1.1);
    border-color: var(--color-gold);
}

.theme-option.active {
    border-color: var(--color-red);
    background: var(--color-red-light);
}

/* ===== Theme Colors ===== */
/* Pink Theme */
body.theme-pink {
    --color-red: #E91E63;
    --color-red-dark: #C2185B;
    --color-red-light: #FCE4EC;
    --color-gold: #FF80AB;
    --color-gold-dark: #F48FB1;
    --color-gold-light: #FFF0F5;
    --gradient-red: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
    --gradient-gold: linear-gradient(135deg, #FF80AB 0%, #F48FB1 100%);
}

/* Green Theme */
body.theme-green {
    --color-red: #2E7D32;
    --color-red-dark: #1B5E20;
    --color-red-light: #E8F5E9;
    --color-gold: #8BC34A;
    --color-gold-dark: #689F38;
    --color-gold-light: #F1F8E9;
    --gradient-red: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    --gradient-gold: linear-gradient(135deg, #8BC34A 0%, #689F38 100%);
}

/* Hide nav-controls on mobile, show mobile-controls instead */
@media (max-width: 768px) {
    .nav-controls {
        display: none !important;
    }
}

/* ===== Mobile Controls ===== */
.mobile-controls {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    flex-direction: column;
    gap: 10px;
    z-index: 9998;
}

.mobile-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    background: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all var(--transition-normal);
}

.mobile-btn:hover,
.mobile-btn:active {
    transform: scale(1.1);
    border-color: var(--color-red);
}

.mobile-btn-icon {
    font-size: 1.2rem;
}

.mobile-theme-options {
    position: absolute;
    right: 55px;
    bottom: 0;
    display: none;
    flex-direction: row;
    gap: 8px;
    background: var(--color-white);
    padding: 8px 12px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border: 2px solid var(--color-gold);
}

.mobile-theme-options.active {
    display: flex;
}

.mobile-theme-opt {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: var(--color-gray-light);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.mobile-theme-opt:hover,
.mobile-theme-opt.active {
    border-color: var(--color-red);
}

@media (max-width: 768px) {
    .mobile-controls {
        display: flex;
    }
}

/* Dark mode mobile controls */
body.dark-mode .mobile-btn {
    background: #16213e;
    border-color: #8BC34A;
}

body.dark-mode .mobile-theme-options {
    background: #16213e;
    border-color: #8BC34A;
}

body.dark-mode .mobile-theme-opt {
    background: #1a1a2e;
}

/* ===== Dark Mode Styles ===== */
body.dark-mode {
    --color-white: #1a1a2e;
    --color-gray-light: #16213e;
    --color-text: #eaeaea;
    --color-text-light: #b0b0b0;
    background-color: #0f0f23;
}

body.dark-mode .navbar {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98) 0%, rgba(22, 33, 62, 0.95) 100%);
}

body.dark-mode .hero {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f23 100%);
}

body.dark-mode .section-title {
    color: var(--color-gold);
}

body.dark-mode .symbol-card,
body.dark-mode .tradition-card,
body.dark-mode .food-card,
body.dark-mode .tool-card,
body.dark-mode .checklist-category {
    background: #16213e;
    border-color: #2a2a4a;
}

body.dark-mode .info-card {
    background: #16213e;
}

body.dark-mode .timeline-content {
    background: #16213e;
}

body.dark-mode .gallery-item {
    background: linear-gradient(135deg, #2a1a1a 0%, #1a2a1a 100%);
}

body.dark-mode .nav-btn {
    background: #16213e;
    border-color: #8BC34A;
}

@media (max-width: 768px) {
    body.dark-mode .nav-btn {
        background: #16213e;
        border-color: #8BC34A;
    }
}

/* ===== Petal/Snowfall Effect ===== */
.petal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.petal {
    position: absolute;
    top: -50px;
    animation: petalFall linear forwards;
    pointer-events: none;
    opacity: 0.8;
}

@keyframes petalFall {
    0% {
        transform: translateY(0) rotate(0deg) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(720deg) translateX(100px);
        opacity: 0;
    }
}

/* ===== Custom Cursor ===== */
body.custom-cursor {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ctext y='24' font-size='24'%3E🌸%3C/text%3E%3C/svg%3E") 16 16, auto;
}

body.custom-cursor a,
body.custom-cursor button {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ctext y='24' font-size='24'%3E👆%3C/text%3E%3C/svg%3E") 16 16, pointer;
}

/* ===== Audio Player ===== */
.audio-player {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 999;
}

.audio-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    background: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.audio-toggle:hover {
    transform: scale(1.1);
}

.audio-toggle.playing {
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(211, 47, 47, 0); }
}




/* ===== Nav Audio Button ===== */
.nav-audio {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    background: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-normal);
    margin-left: 12px;
}

.nav-audio:hover {
    transform: scale(1.1);
    background: var(--color-gold-light);
}

.nav-audio.playing {
    animation: audioPulse 1s ease-in-out infinite;
    background: var(--color-gold-light);
    border-color: var(--color-red);
}

@keyframes audioPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(255, 215, 0, 0); }
}

body.dark-mode .nav-audio {
    background: #16213e;
    border-color: var(--color-gold);
}

@media (max-width: 768px) {
    .nav-audio {
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .nav-audio:hover {
        transform: translateY(-50%) scale(1.1);
    }
}


/* ===== Welcome Overlay ===== */
.welcome-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #B71C1C 0%, #D32F2F 50%, #8B0000 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.welcome-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.welcome-content {
    text-align: center;
    color: white;
    padding: 40px;
    animation: welcomeFadeIn 1s ease;
}

@keyframes welcomeFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.welcome-lantern {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: lanternSwing 2s ease-in-out infinite;
}

@keyframes lanternSwing {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

.welcome-content h2 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.welcome-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 15px;
    color: var(--color-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.welcome-content > p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.85);
}

.welcome-btn {
    background: linear-gradient(135deg, var(--color-gold) 0%, #FFC107 100%);
    color: #8B0000;
    border: none;
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
    animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 12px 40px rgba(255, 215, 0, 0.6); }
}

.welcome-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.6);
}

.welcome-note {
    margin-top: 25px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Decorative elements */
.welcome-overlay::before,
.welcome-overlay::after {
    content: '🌸';
    position: absolute;
    font-size: 3rem;
    opacity: 0.3;
    animation: floatDecor 4s ease-in-out infinite;
}

.welcome-overlay::before {
    top: 10%;
    left: 10%;
}

.welcome-overlay::after {
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes floatDecor {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}


/* ===== Fortune Telling ===== */
.fortune-container {
    text-align: center;
    padding: 20px;
    margin-bottom: 16px;
}

.fortune-sticks {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.stick {
    width: 12px;
    height: 100px;
    background: linear-gradient(180deg, #D4A84B 0%, #8B4513 100%);
    border-radius: 6px 6px 2px 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    transform-origin: bottom center;
}

.stick::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--color-red);
    border-radius: 50%;
}

.stick:hover {
    transform: translateY(-10px) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.stick.selected {
    transform: translateY(-30px) rotate(15deg);
    animation: stickShake 0.5s ease;
}

@keyframes stickShake {
    0%, 100% { transform: translateY(-30px) rotate(15deg); }
    25% { transform: translateY(-30px) rotate(20deg); }
    75% { transform: translateY(-30px) rotate(10deg); }
}

.fortune-hint {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-style: italic;
}

.fortune-result {
    margin-top: 20px;
    padding: 24px;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF0F0 100%);
    border-radius: var(--border-radius);
    border: 2px solid var(--color-gold);
    text-align: center;
    animation: fortuneReveal 0.5s ease;
}

@keyframes fortuneReveal {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.fortune-result .fortune-number {
    font-size: 3rem;
    color: var(--color-red);
    font-family: var(--font-heading);
    margin-bottom: 12px;
}

.fortune-result .fortune-title {
    font-size: 1.3rem;
    color: var(--color-red);
    font-weight: 700;
    margin-bottom: 8px;
}

.fortune-result .fortune-poem {
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.8;
    padding: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 8px;
}

.fortune-result .fortune-meaning {
    font-size: 0.95rem;
    color: var(--color-text-light);
    padding-top: 12px;
    border-top: 1px dashed var(--color-gold);
}

.fortune-result .fortune-luck {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.fortune-luck.excellent { background: #E8F5E9; color: #2E7D32; }
.fortune-luck.good { background: #FFF3E0; color: #E65100; }
.fortune-luck.average { background: #FFF8E1; color: #F9A825; }
.fortune-luck.challenging { background: #FFEBEE; color: #C62828; }


/* ===== Article Pages Styles ===== */
.article-page {
    padding: 100px 0 60px;
    min-height: 100vh;
    background: var(--color-gray-light);
}

.article-page .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-content {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.article-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-red);
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-gray-light);
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-red-dark);
    margin: 35px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-gold);
}

.article-content h3 {
    font-size: 1.2rem;
    color: var(--color-text);
    margin: 25px 0 12px;
}

.article-content p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--color-text);
}

.article-content ul, .article-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.highlight-box {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF0F0 100%);
    border: 2px solid var(--color-gold);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 25px 0;
}

.highlight-box h2 {
    margin-top: 0 !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.tet-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
}

.tet-table th, .tet-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid var(--color-gray-light);
}

.tet-table th {
    background: var(--color-red);
    color: white;
    font-weight: 600;
}

.tet-table tr:nth-child(even) {
    background: #FFF9E6;
}

.tet-table tr:hover {
    background: var(--color-gold-light);
}

.cta-box {
    background: var(--gradient-red);
    color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 40px;
}

.cta-box h3 {
    color: white;
    margin-bottom: 10px;
}

.cta-box p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

.cta-box .btn-primary {
    background: var(--color-gold);
    color: var(--color-red-dark);
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-box {
    background: var(--color-white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
}

.sidebar-box h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-red);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-gold);
}

.sidebar-box ul {
    list-style: none;
    padding: 0;
}

.sidebar-box li {
    margin-bottom: 10px;
}

.sidebar-box a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-gray-light);
}

.sidebar-box a:hover {
    color: var(--color-red);
}

/* Van Khan Box */
.van-khan-box {
    background: #FFFBF0;
    border: 2px solid var(--color-gold);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 20px 0;
    font-style: italic;
    line-height: 2;
}

.van-khan-box p {
    margin-bottom: 8px;
    text-align: center;
}

/* Responsive Article */
@media (max-width: 900px) {
    .article-page .container {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: static;
    }
    
    .article-content {
        padding: 25px;
    }
}

@media (max-width: 600px) {
    .article-page {
        padding: 80px 0 40px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .tet-table {
        font-size: 0.85rem;
    }
    
    .tet-table th, .tet-table td {
        padding: 8px 10px;
    }
}

/* Dark mode article */
body.dark-mode .article-page {
    background: #0f0f23;
}

body.dark-mode .article-content,
body.dark-mode .sidebar-box {
    background: #16213e;
}

body.dark-mode .article-content h1,
body.dark-mode .sidebar-box h3 {
    color: var(--color-gold);
}

body.dark-mode .highlight-box {
    background: linear-gradient(135deg, #1a2a1a 0%, #2a1a1a 100%);
}

body.dark-mode .van-khan-box {
    background: #1a1a2e;
}

body.dark-mode .tet-table th {
    background: var(--color-red-dark);
}

body.dark-mode .tet-table tr:nth-child(even) {
    background: #1a1a2e;
}

body.dark-mode .tet-table tr:hover {
    background: #2a2a4a;
}