/* ============================================================
   LỤC NHÂM ĐẠI ĐỘN — Stylesheet
   Motip tương tự Kỳ Môn Độn Giáp — Học Viện Tâm An
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, sans-serif;
    background: #f4f1ec;
    color: #333;
}

.lndd-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* ========== HEADER ========== */
.lndd-header {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px 10px;
    background: transparent;
    border-bottom: 2px solid #a67c52;
    position: relative;
    overflow: hidden;
}

.lndd-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #8b0000;
    margin: 0 0 6px;
    position: relative; z-index: 1;
    letter-spacing: 3px;
}

.lndd-tagline {
    color: #a67c52;
    font-size: 14px;
    font-weight: 600;
    position: relative; z-index: 1;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ========== FORM ========== */
.lndd-form-section {
    background: #fff;
    border: 1px solid #dde1e6;
    border-radius: 14px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.lndd-form-section h3 {
    font-size: 15px;
    font-weight: 700;
    color: #8b0000;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #a67c52;
    display: inline-block;
}

.lndd-form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.lndd-form-group {
    flex: 1;
    min-width: 100px;
}

.lndd-form-group.lndd-wide {
    flex: 2;
    min-width: 200px;
}

.lndd-form-group label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lndd-input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 2px solid #dde1e6;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s;
    background: #fafbfc;
}

.lndd-input:focus {
    border-color: #a67c52;
    outline: none;
    box-shadow: 0 0 0 3px rgba(78,205,196,0.15);
    background: #fff;
}

.lndd-btn-row {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    justify-content: center;
}

.lndd-btn-now {
    height: 42px;
    padding: 0 20px;
    border: 2px solid #8b0000;
    background: transparent;
    color: #8b0000;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.lndd-btn-now:hover {
    background: #8b0000;
    color: white;
}

/* ========== QUESTION SECTION ========== */
.lndd-birth-note {
    font-size: 12px;
    color: #999;
    font-style: italic;
    margin: 4px 0 0;
}

.lndd-question-section h3 {
    border-bottom-color: #9b59b6;
}

.lndd-optional {
    font-size: 12px;
    font-weight: 400;
    color: #999;
}

.lndd-question-input {
    height: 48px !important;
    font-size: 15px !important;
    border-left: 4px solid #9b59b6 !important;
    padding-left: 16px !important;
    background: #faf8fc !important;
}

.lndd-question-input::placeholder {
    color: #aaa;
    font-style: italic;
}

.lndd-question-input:focus {
    border-color: #9b59b6 !important;
    box-shadow: 0 0 0 3px rgba(155,89,182,0.12) !important;
}

.lndd-btn-lap {
    background: linear-gradient(135deg, #a67c52, #a67c52);
    color: white;
    border: none;
    padding: 14px 45px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(78,205,196,0.35);
}

.lndd-btn-lap:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(78,205,196,0.5);
}

.lndd-btn-lap:active { transform: translateY(0); }

/* ========== RESULT: HEADER INFO ========== */
.lndd-header-info {
    background: linear-gradient(135deg, #8b0000, #2a1a3e);
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 18px;
    color: white;
}

.lndd-info-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.lndd-info-left, .lndd-info-right {
    flex: 1;
    min-width: 280px;
}

.lndd-info-row {
    font-size: 13px;
    margin-bottom: 6px;
    line-height: 1.6;
}

.lndd-info-label {
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lndd-highlight {
    color: #a67c52;
    font-weight: 600;
}

.lndd-kv-text {
    color: #ff6b6b;
    font-size: 12px;
}

.lndd-time-display {
    font-size: 15px;
    font-weight: 700;
    color: #a67c52;
    margin-bottom: 8px;
}

.lndd-nt-value {
    color: #ffd93d;
    font-weight: 700;
    font-size: 14px;
}

/* ========== MAIN 4×4 GRID ========== */
.lndd-main-grid-wrapper {
    margin-bottom: 20px;
}

.lndd-dir-top, .lndd-dir-bottom {
    display: flex;
    justify-content: space-around;
    padding: 4px 50px;
    font-size: 12px;
    color: #888;
    letter-spacing: 2px;
}

.lndd-grid-container {
    display: flex;
    align-items: stretch;
}

.lndd-dir-left, .lndd-dir-right {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 0 8px;
    font-size: 12px;
    color: #888;
    text-align: center;
    min-width: 40px;
}

.lndd-grid-4x4 {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    border: 3px solid #8b0000;
    border-radius: 4px;
    overflow: hidden;
}

/* ========== PALACE CELL ========== */
.lndd-palace {
    border: 1px solid #c4b896;
    padding: 8px 6px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #fffef8, #fdf8ec);
    position: relative;
    transition: all 0.2s;
}

.lndd-palace:hover {
    background: linear-gradient(180deg, #fff5dd, #ffedcc);
    z-index: 2;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

.lndd-cell-kv {
    background: linear-gradient(180deg, #f5efef, #ece3e3) !important;
    opacity: 0.85;
}

.lndd-cell-tt {
    border-color: #e74c3c !important;
    border-width: 2px;
}

.lndd-p-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    padding-bottom: 3px;
    border-bottom: 1px solid #e8dcc8;
}

.lndd-p-diban {
    font-size: 10px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lndd-p-thienban {
    font-size: 16px;
    font-weight: 700;
}

.lndd-p-general {
    font-size: 12px;
    color: #7b2d8e;
    font-weight: 700;
    text-align: center;
    margin: 3px 0;
}

.lndd-p-nt {
    font-size: 11px;
    color: #8b0000;
    text-align: center;
    font-weight: 500;
}

.lndd-p-lucthan {
    font-size: 11px;
    color: #c0392b;
    text-align: center;
    font-weight: 600;
    margin: 2px 0;
}

.lndd-p-thansat {
    font-size: 10px;
    color: #e67e22;
    text-align: center;
    margin-top: 1px;
    line-height: 1.3;
}

.lndd-p-kv-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: #e74c3c;
    color: white;
    font-size: 8px;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 700;
}

/* ========== CENTER CELLS ========== */
.lndd-center-cell {
    border: 1px solid #c4b896;
    padding: 8px;
    background: linear-gradient(135deg, #fef9ee, #f8f0dc);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lndd-center-title {
    font-size: 11px;
    font-weight: 700;
    color: #8b0000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    text-align: center;
}

/* Thời Khóa mini table */
.lndd-tk-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
}

.lndd-tk-table th {
    background: #8b0000;
    color: white;
    padding: 3px 4px;
    font-size: 9px;
    font-weight: 600;
}

.lndd-tk-table td {
    padding: 3px 4px;
    text-align: center;
    font-size: 10px;
    border-bottom: 1px solid #e8dcc8;
    color: #333;
    font-weight: 500;
}

.lndd-tk-kv td {
    font-size: 9px;
    color: #e74c3c;
}

/* Nguyệt Tướng center */
.lndd-nt-big {
    font-size: 28px;
    font-weight: 700;
    color: #8b0000;
    text-align: center;
    line-height: 1.2;
}

.lndd-nt-name {
    font-size: 11px;
    color: #8b0000;
    text-align: center;
    margin-bottom: 6px;
}

.lndd-can-chi-table {
    border-collapse: collapse;
    margin-top: 4px;
}

.lndd-can-chi-table .lndd-label {
    font-size: 9px;
    color: #888;
    text-align: center;
    padding: 2px 10px;
}

.lndd-can-chi-table .lndd-val {
    font-size: 14px;
    font-weight: 700;
    color: #4a1942;
    text-align: center;
    padding: 2px 10px;
}

/* Tứ Khóa table */
.lndd-tukhoa-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
}

.lndd-tukhoa-table th {
    background: #2a1a3e;
    color: white;
    padding: 3px 4px;
    font-size: 9px;
}

.lndd-tukhoa-table td {
    padding: 3px 4px;
    text-align: center;
    border-bottom: 1px solid #e8dcc8;
}

.lndd-general-name {
    font-size: 9px;
    color: #7b2d8e;
    font-weight: 600;
}

.lndd-tk-top {
    font-size: 12px;
    font-weight: 700;
    color: #c0392b;
}

.lndd-tk-bot {
    font-size: 12px;
    font-weight: 600;
    color: #8b0000;
}

/* Tam Truyền table */
.lndd-tamtruyen-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
}

.lndd-tamtruyen-table th {
    background: #c0392b;
    color: white;
    padding: 3px 4px;
    font-size: 9px;
}

.lndd-tamtruyen-table td {
    padding: 3px 4px;
    text-align: center;
    border-bottom: 1px solid #e8dcc8;
    font-size: 11px;
}

.lndd-tt-label {
    font-weight: 700;
    color: #c0392b;
}

.lndd-tt-branch {
    font-weight: 700;
    color: #8b0000;
    font-size: 13px;
}

.lndd-tt-gen {
    font-size: 9px;
    color: #7b2d8e;
}

/* ========== CTA BANNER ========== */
.lndd-cta-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #8b0000 0%, #8b0000 50%, #8b0000 100%);
    border-radius: 14px;
    margin-bottom: 18px;
    border: 1px solid rgba(78, 205, 196, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}
.lndd-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(78,205,196,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.lndd-cta-icon {
    font-size: 32px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(78,205,196,0.4));
}
.lndd-cta-content {
    flex: 1;
    min-width: 0;
}
.lndd-cta-title {
    font-size: 15px;
    font-weight: 700;
    color: #f0f0f0;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}
.lndd-cta-desc {
    font-size: 12.5px;
    color: rgba(255,255,255,0.55);
    line-height: 1.4;
}
.lndd-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #a67c52 0%, #a67c52 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(78,205,196,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.lndd-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(78,205,196,0.5);
}
.lndd-cta-phone-icon {
    font-size: 16px;
    animation: lndd-ring 1.5s ease-in-out infinite;
}
@keyframes lndd-ring {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(8deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(0deg); }
}
@media (max-width: 600px) {
    .lndd-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 18px 16px;
    }
    .lndd-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========== RAW TEXT & AI GUIDE ========== */
.lndd-ai-guide-box {
    background: #fffdf5;
    border: 1.5px solid #f3c267;
    border-radius: 14px;
    padding: 22px 20px;
    margin-top: 25px;
    margin-bottom: 22px;
    box-shadow: 0 4px 15px rgba(243, 194, 103, 0.12);
    box-sizing: border-box;
}

.lndd-ai-guide-title {
    text-align: center;
    color: #8b0000;
    font-family: 'Playfair Display', serif;
    font-size: 16.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.lndd-ai-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.lndd-ai-step-card {
    border-radius: 10px;
    padding: 14px 12px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.lndd-ai-step-card.step-1 { border: 1px solid #d0ebff; background: #f8fbff; }
.lndd-ai-step-card.step-2 { border: 1px solid #b2ebf2; background: #f0fdff; }
.lndd-ai-step-card.step-3 { border: 1px solid #c7f0db; background: #f2fbf7; }

.lndd-ai-step-card .step-title { font-size: 13px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.lndd-ai-step-card.step-1 .step-title { color: #dc2626; }
.lndd-ai-step-card.step-2 .step-title { color: #0284c7; }
.lndd-ai-step-card.step-3 .step-title { color: #059669; }

.lndd-ai-step-card .step-desc { font-size: 12.5px; color: #374151; line-height: 1.5; }

.lndd-ai-text-box {
    background: #fffdfa;
    border: 1px solid #ebd9c5;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(139, 0, 0, 0.03);
    box-sizing: border-box;
}

.lndd-ai-text-title {
    margin: 0 0 12px 0;
    color: #8b0000;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 16px;
}

.lndd-ai-textarea {
    width: 100%;
    min-height: 150px;
    max-height: 250px;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    font-family: Consolas, Monaco, monospace;
    font-size: 12.5px;
    line-height: 1.5;
    color: #374151;
    box-sizing: border-box;
    outline: none;
    resize: vertical;
}

.lndd-ai-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.lndd-btn-copy-ai {
    background: #8b0000;
    color: #ffffff !important;
    border: none;
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(139, 0, 0, 0.2);
}

.lndd-btn-copy-ai:hover {
    background: #a00b0b;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(139, 0, 0, 0.3);
}

.lndd-btn-gemini {
    background: #2563eb;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.lndd-btn-gemini:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
    .lndd-ai-guide-title { font-size: 14.5px; }
    .lndd-ai-steps-grid { grid-template-columns: 1fr; gap: 10px; }
    .lndd-ai-btn-group { flex-direction: column; width: 100%; }
    .lndd-btn-copy-ai, .lndd-btn-gemini { width: 100%; box-sizing: border-box; text-align: center; }
}

/* ========== INTRO ========== */
.lndd-intro {
    background: #fff;
    border-left: 4px solid #4a1942;
    border-radius: 0 12px 12px 0;
    padding: 22px 28px;
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 1.85;
    color: #444;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.lndd-intro p {
    margin: 0 0 10px;
}

.lndd-intro p:last-child {
    margin-bottom: 0;
}

.lndd-intro strong {
    color: #8b0000;
}

.lndd-intro em {
    color: #7b2d8e;
    font-style: italic;
}

/* ========== GUIDE ========== */
.lndd-guide {
    background: #fff;
    border: 1px solid #dde1e6;
    border-radius: 14px;
    padding: 22px 26px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.lndd-guide h3 {
    font-size: 16px;
    font-weight: 700;
    color: #7b2d8e;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #7b2d8e;
    display: inline-block;
}

.lndd-guide ul {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}

.lndd-guide li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 13.5px;
    line-height: 1.7;
    color: #444;
    border-bottom: 1px solid #f0ebe3;
}

.lndd-guide li:last-child {
    border-bottom: none;
}

.lndd-guide li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: #a67c52;
    font-weight: 900;
    font-size: 16px;
}

.lndd-guide li strong {
    color: #8b0000;
}

.lndd-guide-note {
    font-size: 12.5px;
    color: #888;
    margin: 0;
    padding-top: 8px;
    border-top: 1px dashed #ddd;
}

/* ========== LEARN / ACCORDION ========== */
.lndd-learn {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 30px;
}

.lndd-learn-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: #8b0000;
    margin: 0 0 6px;
}

.lndd-learn-desc {
    font-size: 13px;
    color: #888;
    margin: 0 0 20px;
    font-style: italic;
}

.lndd-accordion {
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.lndd-accordion:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.lndd-accordion-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    background: linear-gradient(135deg, #2a1a3e, #4a1942);
    color: white;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.lndd-accordion-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.lndd-accordion-arrow {
    margin-left: auto;
    font-size: 22px;
    font-weight: 300;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.lndd-accordion-open .lndd-accordion-arrow {
    transform: rotate(90deg);
}

.lndd-accordion-body {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    padding: 0 22px;
    transition: max-height 0.4s ease, padding 0.4s ease;
    text-align: left;
    font-size: 13.5px;
    line-height: 1.8;
    color: #444;
    border: 1px solid transparent;
}

.lndd-accordion-open .lndd-accordion-body {
    max-height: 600px;
    padding: 18px 22px;
    border-color: #e8dcc8;
    border-top: none;
}

.lndd-accordion-body p {
    margin: 0 0 10px;
}

.lndd-accordion-body p:last-child {
    margin-bottom: 0;
}

.lndd-accordion-body ul {
    padding-left: 20px;
    margin: 0;
}

.lndd-accordion-body li {
    margin-bottom: 6px;
}

.lndd-accordion-body strong {
    color: #8b0000;
}

.lndd-accordion-body em {
    color: #7b2d8e;
}

.lndd-accordion-body h4 {
    font-size: 14px;
    font-weight: 700;
    color: #2a1a3e;
    margin: 20px 0 8px;
    padding-bottom: 4px;
    border-bottom: 1px dashed #ddd;
}

.lndd-accordion-body h4:first-child {
    margin-top: 0;
}

.lndd-accordion-body ol {
    padding-left: 22px;
    margin: 8px 0;
}

.lndd-accordion-body ol li {
    margin-bottom: 6px;
}

.lndd-compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 14px;
    font-size: 13px;
}

.lndd-compare-table th {
    background: #8b0000;
    color: white;
    padding: 8px 10px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
}

.lndd-compare-table td {
    padding: 6px 10px;
    border-bottom: 1px solid #eee;
}

.lndd-compare-table tr:nth-child(even) td {
    background: #f8f6f3;
}

.lndd-compare-table tr:hover td {
    background: #edf9f8;
}

/* ========== FOOTER ========== */
.lndd-footer {
    text-align: center;
    padding: 22px;
    margin-top: 25px;
    border-top: 2px solid #e8dcc8;
    color: #888;
    font-size: 12px;
}

.lndd-footer a {
    color: #a67c52;
    font-weight: 700;
    text-decoration: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .lndd-wrapper { padding: 10px 4px !important; }
    .lndd-form-row { flex-direction: column; }
    .lndd-form-group { min-width: 100%; }
    .lndd-grid-4x4 { font-size: 10px; }
    .lndd-palace { padding: 5px 3px; min-height: 90px; }
    .lndd-p-thienban { font-size: 13px; }
    .lndd-p-general { font-size: 10px; }
    .lndd-center-cell { padding: 5px; }
    .lndd-nt-big { font-size: 22px; }
    .lndd-info-grid { flex-direction: column; gap: 15px !important; }
    .lndd-dir-left, .lndd-dir-right { min-width: 28px; font-size: 10px; }
    .lndd-dir-top, .lndd-dir-bottom { padding: 4px 30px; font-size: 10px; }
    .lndd-tk-table, .lndd-tukhoa-table, .lndd-tamtruyen-table { font-size: 12px !important; }
    .lndd-tk-table th, .lndd-tk-table td,
    .lndd-tukhoa-table th, .lndd-tukhoa-table td,
    .lndd-tamtruyen-table th, .lndd-tamtruyen-table td {
        padding: 6px 4px !important;
    }
}

@media (max-width: 480px) {
    .lndd-wrapper { padding: 10px 4px !important; }
    .lndd-title { font-size: 22px; }
    .lndd-palace { min-height: 75px; padding: 4px 2px; }
    .lndd-p-diban { font-size: 9px; }
    .lndd-p-thienban { font-size: 11px; }
    .lndd-p-general { font-size: 9px; }
    .lndd-p-nt { font-size: 9px; }
    .lndd-p-lucthan { font-size: 9px; }
    .lndd-center-title { font-size: 9px; }
    .lndd-tk-table, .lndd-tukhoa-table, .lndd-tamtruyen-table { font-size: 11px !important; }
    .lndd-btn-lap { padding: 12px 28px; font-size: 14px; }
}
