/* ============================================================
   PHATDAT CSS v2.0 - 完全匹配 nhomkinhphatdat.com 设计
   紫蓝渐变主题体育资讯模板
   ============================================================ */
:root {
    --pd-primary: #4E54C8;
    --pd-primary-light: #8F94FB;
    --pd-accent: #0D6EFD;
    --pd-cyan: #0DCAF0;
    --pd-dark: #1C1F3F;
    --pd-dark-2: #0D1B2A;
    --pd-dark-3: #141625;
    --pd-dark-4: #1B263B;
    --pd-purple: #3D0B40;
    --pd-text: #444444;
    --pd-text-light: #6c757d;
    --pd-text-muted: #a0a0a0;
    --pd-bg: #ffffff;
    --pd-bg-soft: #F4F7FB;
    --pd-bg-news: #F1E7E7;
    --pd-border: #dee2e6;
    --pd-shadow-sm: 0 2px 4px rgba(0,0,0,0.075);
    --pd-shadow-md: 0 6px 20px rgba(0,0,0,0.06);
    --pd-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --pd-radius: 12px;
    --pd-radius-lg: 16px;
    --pd-radius-pill: 800px;
    --pd-transition: 0.3s ease;
    --pd-font: "Helvetica Neue", Arial, sans-serif;
}
body { color: var(--pd-text) !important; background: var(--pd-bg) !important; line-height: 1.6 !important; font-family: var(--pd-font) !important; font-size: 14px !important; -webkit-font-smoothing: antialiased; }
img { width: auto !important; height: auto !important; max-width: 100% !important; margin: 0 !important; }
a { color: var(--pd-accent); transition: color 0.2s ease; text-decoration: none; }
a:hover { color: var(--pd-primary); text-decoration: none; }
h1,h2,h3,h4,h5,h6 { margin: 0 0 0.5rem 0 !important; line-height: 1.3; font-weight: 700; color: #212529; }
p { margin: 0 0 1rem 0 !important; line-height: 1.7; }
ul,ol { margin: 0 0 1rem 0 !important; padding-left: 1.5rem !important; }
.container { width: 100% !important; max-width: 1140px !important; margin-left: auto !important; margin-right: auto !important; padding-left: 15px !important; padding-right: 15px !important; box-sizing: border-box !important; }

/* ===== Header - 完全匹配nhomkinhphatdat.com header-6 ===== */
.pd-header { z-index: 999; background: linear-gradient(to right, #4e54c8, #8f94fb) !important; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.pd-navbar { padding: 10px 0; }
.pd-navbar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; }
.pd-brand { display: flex; align-items: center; }
.pd-brand img { max-height: 60px !important; max-width: 100px !important; height: auto !important; width: auto !important; }
.pd-navbar-nav { display: flex; align-items: center; list-style: none !important; padding: 0 !important; margin: 0 auto !important; gap: 0; flex: 1; justify-content: center; }
.pd-navbar-nav li { margin: 0; }
.pd-navbar-nav a { color: #fff !important; font-weight: 500; padding: 8px 16px !important; transition: all 0.3s; display: inline-block; border-radius: 4px; font-size: 14px !important; text-decoration: none !important; }
.pd-navbar-nav a:hover { background-color: rgba(255,255,255,0.15); color: #fff !important; }
.pd-btn-reg { color: #fff !important; border: 1px solid #fff; border-radius: 4px; padding: 6px 16px !important; font-weight: 500; font-size: 14px !important; transition: all 0.3s; margin-left: 16px; text-decoration: none !important; display: inline-flex; align-items: center; background: transparent; }
.pd-btn-reg:hover { background-color: #fff !important; color: #4e54c8 !important; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
.pd-btn-mobile-reg { color: #fff !important; border: 1px solid #fff; border-radius: 4px; padding: 4px 12px !important; font-weight: 500; font-size: 13px !important; margin-right: 12px; text-decoration: none !important; display: inline-flex; align-items: center; background: transparent; }
.pd-mobile-toggle { display: none; background: rgba(255,255,255,0.2); border: none; border-radius: 4px; padding: 6px 10px; cursor: pointer; }
.pd-mobile-toggle .navbar-toggler-icon { display: inline-block; width: 1.5em; height: 1.5em; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: center; background-size: 100%; }
.pd-mobile-nav { background: linear-gradient(to right, #4e54c8, #8f94fb); padding: 15px 0; position: relative; z-index: 1029; }
.pd-mobile-nav a { display: block; color: rgba(255,255,255,0.9) !important; padding: 10px 20px !important; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,0.1); text-decoration: none !important; }
.pd-mobile-nav a:hover { color: #fff !important; background: rgba(255,255,255,0.05); }

/* ===== Hero - 完全匹配nhomkinhphatdat.com hero-1 ===== */
.pd-hero { position: relative !important; overflow: hidden; background: linear-gradient(135deg, #1e3c72, #2a5298) !important; color: #fff; padding: 80px 0 120px !important; display: flex !important; align-items: center !important; min-height: 500px; }
.pd-hero .container { position: relative !important; z-index: 2; text-align: center; }
.pd-hero h1 { font-size: 32px !important; font-weight: 700 !important; color: #fff !important; margin-bottom: 20px !important; line-height: 1.4; }
.pd-hero-lead { font-size: 18px !important; max-width: 800px !important; margin: 0 auto 30px !important; line-height: 1.6 !important; color: rgba(255,255,255,0.9) !important; }
.pd-hero-lead strong { color: #fff !important; }
.pd-hero-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; }
.pd-btn-hero { background: #fff; color: #1e3c72 !important; padding: 12px 24px; border-radius: 30px; font-weight: 700; text-decoration: none !important; transition: 0.3s; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); font-size: 14px !important; }
.pd-btn-hero:hover { background: #2a5298; color: #fff !important; }
.pd-wave { position: absolute; bottom: 0; left: 0; width: 200%; height: 80px; overflow: hidden; z-index: 0; }
.pd-wave svg { width: 200%; height: 100%; animation: 6s ease-in-out infinite pdWaveMove; }
.pd-wave path { fill: #ffffff; opacity: 1; }
@keyframes pdWaveMove { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-25%); } }

/* ===== About - 完全匹配nhomkinhphatdat.com about-11 ===== */
.pd-about { background: linear-gradient(135deg, #0d1b2a, #1b263b) !important; padding: 80px 0 !important; }
.pd-about h2 { font-size: 1.6rem !important; color: #fff !important; margin-bottom: 1rem !important; font-weight: 700; }
.pd-about > .container > .row > .col-lg-5 > p { color: rgba(255,255,255,0.85) !important; margin-bottom: 1.5rem !important; font-size: 15px; line-height: 1.7; }
.pd-about-img { border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.pd-about-img mip-img { display: block; width: 100% !important; height: auto !important; }
/* Timeline */
.pd-timeline { position: relative; padding-left: 1.5rem; }
.pd-timeline-item { position: relative; margin-bottom: 2.5rem; padding-left: 1.5rem; }
.pd-timeline-dot { position: absolute; top: 0; left: -13px; width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff; z-index: 2; }
.pd-dot-primary { background: #0d6efd; }
.pd-dot-success { background: #198754; }
.pd-dot-warning { background: #ffc107; }
.pd-timeline-card { background: rgba(255,255,255,0.75); border-radius: 16px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); padding: 1.25rem; }
.pd-timeline-card h4 { font-size: 1.1rem !important; font-weight: 700 !important; color: #212529 !important; margin-bottom: 0.5rem !important; }
.pd-timeline-card p { font-size: 14px; color: #6c757d !important; margin-bottom: 0 !important; line-height: 1.6; }

/* ===== Services - 完全匹配nhomkinhphatdat.com departments-3 ===== */
.pd-services { background: linear-gradient(to bottom right, #578fca, #f5f0cd, #578fca) !important; padding: 80px 0 !important; }
.pd-section-title { max-width: 640px; margin: 0 auto 40px !important; text-align: center; }
.pd-section-title h2 { font-size: 32px !important; font-weight: 800 !important; color: #212529 !important; position: relative; display: inline-block; padding-bottom: 12px; margin-bottom: 8px !important; }
.pd-section-title h2::after { content: ''; position: absolute; width: 50px; height: 3px; background-color: #0d6efd; bottom: 0; left: 50%; transform: translateX(-50%); border-radius: 4px; }
.pd-section-title p { color: #666; font-size: 16px; line-height: 1.6; margin-bottom: 0 !important; }
.pd-game-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,0.06); transition: transform 0.2s ease-in-out; height: 100%; }
.pd-game-card:hover { transform: translateY(-6px); }
.pd-game-card-img { height: 160px; overflow: hidden; }
.pd-game-card-img mip-img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.pd-game-card-body { padding: 20px; }
.pd-game-card-body h3 { font-size: 18px !important; font-weight: 700 !important; color: #002b5b !important; margin-bottom: 10px !important; }
.pd-game-card-body p { font-size: 15px; color: #444; line-height: 1.7; margin-bottom: 0 !important; }

/* ===== FAQ - 完全匹配nhomkinhphatdat.com faq-8 ===== */
.pd-faq { background: linear-gradient(135deg, #f4f7fb 0, #e9f1ff 100%) !important; padding: 80px 0 !important; }
.pd-faq h2 { font-size: 1.6rem !important; font-weight: 700 !important; color: #212529 !important; margin-bottom: 1rem !important; }
.pd-faq-sub { max-width: 720px; margin: 0 auto !important; color: var(--pd-text-light) !important; font-size: 14px; }
.pd-faq-nav { display: flex; flex-direction: column; gap: 12px; }
.pd-faq-navlink { font-weight: 600; color: #444 !important; text-decoration: none !important; border-left: 3px solid transparent; padding-left: 12px; transition: 0.3s; font-size: 14px; display: block; padding: 8px 12px; border-radius: 4px; }
.pd-faq-navlink:hover, .pd-faq-navlink.active { color: #0d6efd !important; border-color: #0d6efd; background: rgba(13,110,253,0.05); }
.pd-faq-content h5 { font-size: 1rem !important; font-weight: 700 !important; color: #212529 !important; margin-bottom: 0.5rem !important; }
.pd-faq-content p { color: var(--pd-text-light) !important; font-size: 14px; margin-bottom: 0 !important; }

/* ===== App - 完全匹配nhomkinhphatdat.com app-15 ===== */
.pd-app { background: linear-gradient(135deg, #141625, #1f2035) !important; padding: 80px 0 !important; color: #fff; }
.pd-app h2 { font-size: 2rem !important; font-weight: 700 !important; color: #fff !important; margin-bottom: 1.5rem !important; }
.pd-app-sub { font-weight: 400 !important; font-size: 1.1rem !important; color: rgba(255,255,255,0.7) !important; }
.pd-app-text { color: rgba(255,255,255,0.6) !important; font-size: 14px; margin-bottom: 1rem !important; }
.pd-app-text strong { color: rgba(255,255,255,0.9) !important; }
.pd-app-feat { list-style: none !important; padding: 0 !important; margin: 1.5rem 0 !important; }
.pd-app-feat li { padding: 6px 0 !important; color: rgba(255,255,255,0.6); font-size: 14px; }
.pd-app-feat li i { margin-right: 8px; }
.pd-app-feat li:nth-child(1) i { color: #198754; }
.pd-app-feat li:nth-child(2) i { color: #0dcaf0; }
.pd-app-feat li:nth-child(3) i { color: #ffc107; }
.pd-app-feat li:nth-child(4) i { color: #0d6efd; }
.pd-app-feat li:nth-child(5) i { color: #f8f9fa; }
.pd-app-img-wrap { position: relative; display: block; max-width: 500px; margin: 0 auto; }
.pd-app-img { border-radius: 16px; overflow: hidden; background: rgba(255,255,255,0.05); position: relative; }
.pd-app-img mip-img { display: block; width: 100% !important; height: auto !important; }
.pd-app-img mip-img > [mip-fill-content] { position: relative !important; }
.pd-rating-badge { position: absolute; top: 1rem; left: 1rem; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); color: #212529; font-size: 14px; z-index: 10; }
.pd-rating-badge .fas, .pd-rating-badge .far { color: #ffc107; font-size: 14px; }
.pd-rating-badge .fw-semibold { font-weight: 600; }
.pd-rating-badge .text-muted { color: #6c757d !important; font-size: 12px; }
.pd-btn-primary { background: #0d6efd; color: #fff !important; border-radius: 50px; padding: 12px 24px; font-weight: 600; font-size: 14px !important; border: none; }
.pd-btn-primary:hover { background: #0b5ed7; color: #fff !important; }
.pd-btn-outline-white { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,0.6); border-radius: 50px; padding: 12px 24px; font-weight: 600; font-size: 14px !important; }
.pd-btn-outline-white:hover { background: rgba(255,255,255,0.1); color: #fff !important; }

/* ===== News - 完全匹配nhomkinhphatdat.com news-12 ===== */
.pd-news { background: #f8f9fa !important; padding: 80px 0 !important; }
.pd-news h2 { font-size: 1.6rem !important; font-weight: 700 !important; color: #212529 !important; margin-bottom: 0.5rem !important; }
.pd-news-sub { color: var(--pd-text-light) !important; font-size: 13px; margin-bottom: 0 !important; }
.pd-news-card { display: flex; flex-direction: column; height: 100%; box-shadow: 0 2px 8px rgba(0,0,0,0.05); border-radius: 16px; padding: 1.5rem; background: #fff; border: 1px solid var(--pd-border); position: relative; transition: transform 0.3s, box-shadow 0.3s; }
.pd-news-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,0.05); }
.pd-news-icon { width: 42px; height: 42px; font-size: 1rem; background-color: #ffc107; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; box-shadow: 0 0 0 4px rgba(255,193,7,0.2); }
.pd-news-card h3 { font-size: 14px !important; font-weight: 700 !important; color: #212529 !important; margin-bottom: 0.5rem !important; line-height: 1.5; }
.pd-news-card h3 a { color: #212529 !important; text-decoration: none !important; }
.pd-news-card h3 a:hover { color: var(--pd-accent) !important; }
.pd-news-card p { font-size: 13px; color: var(--pd-text-light) !important; flex-grow: 1; margin-bottom: 0 !important; }
.pd-news-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; }
.pd-news-meta time { font-size: 12px; color: var(--pd-text-muted); }
.pd-news-detail { font-size: 13px; color: #fff !important; background: #ffc107; padding: 4px 12px; border-radius: 4px; text-decoration: none !important; }
.pd-news-detail:hover { background: #e0a800; color: #fff !important; }

/* ===== Footer ===== */
.pd-footer { background: linear-gradient(to right, #1C1F3F, #3D0B40) !important; color: #f8f9fa !important; padding: 48px 0 24px !important; }
.pd-footer h5 { color: var(--pd-cyan) !important; font-size: 14px !important; font-weight: 700; margin-bottom: 1rem !important; }
.pd-footer p { font-size: 13px; color: rgba(255,255,255,0.7) !important; }
.pd-footer-links { list-style: none !important; padding: 0 !important; }
.pd-footer-links li { margin-bottom: 8px; }
.pd-footer-links a { color: rgba(255,255,255,0.7) !important; font-size: 13px; text-decoration: none !important; }
.pd-footer-links a:hover { color: var(--pd-cyan) !important; }
.pd-footer-contact { list-style: none !important; padding: 0 !important; }
.pd-footer-contact li { margin-bottom: 8px; font-size: 13px; color: rgba(255,255,255,0.7); display: flex; gap: 8px; }
.pd-footer-contact i { color: var(--pd-cyan); margin-top: 3px; }
.pd-footer-bottom { padding-top: 20px; margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 12px; color: rgba(255,255,255,0.5); }

/* ===== Article List ===== */
.pd-list { padding: 40px 0 60px; background: var(--pd-bg-soft) !important; }
.pd-lcard { background: #fff; border: 1px solid var(--pd-border); border-radius: var(--pd-radius); overflow: hidden; margin-bottom: 20px; transition: all var(--pd-transition); }
.pd-lcard:hover { box-shadow: var(--pd-shadow-md); }
.pd-lcard-img { height: 200px; overflow: hidden; position: relative; }
.pd-lcard-img mip-img { position: absolute; width: 100% !important; height: 100% !important; object-fit: cover; }
.pd-lcard-body { padding: 20px; }
.pd-lcard-body h3 { font-size: 1rem !important; margin-bottom: 0.5rem !important; }
.pd-lcard-body h3 a { color: #212529 !important; }
.pd-lcard-body h3 a:hover { color: var(--pd-accent) !important; }

/* ===== Article Detail ===== */
.pd-detail { padding: 40px 0 60px; background: var(--pd-bg-soft) !important; }
.pd-detail-title { font-size: 1.75rem !important; font-weight: 700 !important; color: #212529 !important; margin-bottom: 0.75rem !important; }
.pd-detail-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: 13px; color: var(--pd-text-light); margin-bottom: 1.5rem !important; padding-bottom: 1rem !important; border-bottom: 1px solid var(--pd-border); }
.pd-detail-meta i { color: var(--pd-primary); margin-right: 5px; }
.pd-detail-body { background: #fff; border-radius: var(--pd-radius-lg); padding: 2rem; box-shadow: var(--pd-shadow-sm); margin-bottom: 2rem; }
.pd-detail-body h2 { font-size: 1.3rem !important; margin: 1.5rem 0 0.75rem !important; }
.pd-detail-body h3 { font-size: 1.1rem !important; margin: 1.25rem 0 0.5rem !important; }
.pd-detail-body p { margin-bottom: 1rem !important; line-height: 1.8; }
.pd-detail-body mip-img { border-radius: var(--pd-radius); margin: 1rem 0; }
.pd-detail-nav { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.pd-detail-nav a { color: var(--pd-primary) !important; font-size: 14px; }

/* ===== Related ===== */
.pd-related { margin-bottom: 2rem; }
.pd-related h3 { font-size: 1.2rem !important; margin-bottom: 1rem !important; padding-bottom: 0.5rem; border-bottom: 2px solid var(--pd-primary); display: inline-block; }
.pd-rcard { background: #fff; border: 1px solid var(--pd-border); border-radius: var(--pd-radius); overflow: hidden; transition: all var(--pd-transition); }
.pd-rcard:hover { box-shadow: var(--pd-shadow-md); transform: translateY(-3px); }
.pd-rcard-img { height: 140px; overflow: hidden; position: relative; }
.pd-rcard-img mip-img { position: absolute; width: 100% !important; height: 100% !important; object-fit: cover; }
.pd-rcard-body { padding: 12px; }
.pd-rcard-body h4 { font-size: 14px !important; font-weight: 600 !important; margin-bottom: 4px !important; }
.pd-rcard-body h4 a { color: #212529 !important; }
.pd-rcard-body h4 a:hover { color: var(--pd-primary) !important; }

/* ===== Sidebar ===== */
.pd-sb-card { background: #fff; border: 1px solid var(--pd-border); border-radius: var(--pd-radius); padding: 20px; margin-bottom: 20px; }
.pd-sb-card h5 { font-size: 14px !important; font-weight: 700 !important; color: #212529 !important; margin-bottom: 1rem !important; padding-bottom: 0.5rem; border-bottom: 2px solid var(--pd-primary); }
.pd-sb-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.pd-sb-list li { padding: 8px 0 !important; border-bottom: 1px solid var(--pd-bg-soft); }
.pd-sb-list li:last-child { border-bottom: none; }
.pd-sb-list li a { color: var(--pd-text) !important; font-size: 13px; display: flex; justify-content: space-between; }
.pd-sb-list li a:hover { color: var(--pd-primary) !important; }

/* ===== Search ===== */
.pd-search { padding: 40px 0 60px; background: var(--pd-bg-soft) !important; }
.pd-search-box { background: #fff; padding: 30px; border-radius: var(--pd-radius-lg); box-shadow: var(--pd-shadow-sm); margin-bottom: 2rem; }
.pd-search-box input { width: 100%; padding: 12px 20px; border: 1px solid var(--pd-border); border-radius: var(--pd-radius); font-size: 14px; }

/* ===== 404 ===== */
.pd-404 { padding: 120px 0; background: var(--pd-bg-soft) !important; min-height: 60vh; display: flex; align-items: center; }
.pd-404 h1 { font-size: 6rem !important; font-weight: 700 !important; color: var(--pd-primary); }

/* ===== GoTop ===== */
.pd-gotop { width: 40px; height: 40px; background: var(--pd-primary) !important; color: #fff !important; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--pd-shadow-md); cursor: pointer; }

/* ===== Pagination ===== */
.pd-pagination { display: flex; justify-content: center; gap: 4px; margin: 2rem 0; }
.pd-pagination a,.pd-pagination span { padding: 6px 12px; border: 1px solid var(--pd-border); border-radius: var(--pd-radius); color: var(--pd-text); font-size: 13px; text-decoration: none; }
.pd-pagination a:hover { background: var(--pd-primary); color: #fff; border-color: var(--pd-primary); }

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .pd-hero { padding: 60px 0 80px !important; min-height: 400px; }
    .pd-hero h1 { font-size: 24px !important; }
    .pd-hero-lead { font-size: 15px !important; }
    .pd-navbar-nav { display: none; }
    .pd-btn-reg { display: none !important; }
    .pd-mobile-toggle { display: block; }
    .pd-services,.pd-about,.pd-news,.pd-faq,.pd-app { padding: 60px 0 !important; }
    .pd-section-title h2 { font-size: 24px !important; }
    .pd-app h2 { font-size: 1.5rem !important; }
}
@media (max-width: 767.98px) {
    .pd-hero { padding: 50px 0 60px !important; min-height: 350px; }
    .pd-hero h1 { font-size: 1.3rem !important; }
    .pd-detail-title { font-size: 1.3rem !important; }
    .pd-detail-body { padding: 1.25rem; }
    .pd-section-title h2 { font-size: 1.5rem !important; }
    .pd-timeline { padding-left: 0.5rem; }
    .pd-timeline-item { padding-left: 1rem; }
}
@media (max-width: 575.98px) {
    .pd-header { height: 60px; }
    .pd-footer-contact li { flex-direction: column; }
    .pd-hero-btns { flex-direction: column; align-items: center; }
    .pd-btn-hero { width: 80%; justify-content: center; }
}
