/* ==========================================================================
   purplerecords.net - F8bet (f88bet / f8 bet) Official Platform Stylesheet
   Theme: Cerulean Deep Blue & Pearl White (Tông Xanh Trắng Sang Trọng)
   ========================================================================== */

:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --primary-deep: #0c4a6e;
    --primary-light: #e0f2fe;
    --accent-cyan: #38bdf8;
    --accent-gold: #f59e0b;
    --accent-orange: #ea580c;
    --bg-pearl: #f8fafc;
    --bg-tint: #f0f9ff;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #64748b;
    --border-light: #e2e8f0;
    --border-primary: #bae6fd;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 10px rgba(2, 132, 199, 0.06);
    --shadow-md: 0 10px 25px -4px rgba(2, 132, 199, 0.12);
    --shadow-lg: 0 20px 40px -8px rgba(12, 74, 110, 0.18);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-pearl);
    color: var(--text-main);
    line-height: 1.68;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ==========================================================================
   Top Notice Ribbon & Header Navigation
   ========================================================================== */
.top-notice-bar {
    background: linear-gradient(90deg, #0c4a6e 0%, #0369a1 50%, #0284c7 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.top-notice-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge-bonus {
    background: #f59e0b;
    color: #ffffff;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    text-transform: uppercase;
    margin-right: 8px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.site-header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px -2px rgba(2, 132, 199, 0.08);
    border-bottom: 1px solid var(--border-light);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.brand-title {
    font-size: 21px;
    font-weight: 900;
    color: var(--primary-deep);
    line-height: 1.15;
    display: flex;
    flex-direction: column;
}

.brand-title span.sub-brand {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Nav links */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.nav-link.highlight {
    color: #e11d48;
    background: #ffe4e6;
    border: 1px solid #fecdd3;
}

/* Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
    text-align: center;
    text-decoration: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0c4a6e 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}

.btn-secondary {
    background: #ffffff;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.btn-bonus {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-bonus:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: #ffffff;
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    background: #f1f5f9;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 22px;
    color: var(--text-main);
    cursor: pointer;
    padding: 6px 12px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

/* Mobile Header Subbar (Đặt Gọn Gàng Dưới Logo) */
.mobile-header-subbar {
    display: none;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    padding: 8px 0 10px;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.05);
}

.mobile-subbar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
}

.mobile-subbar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 6px;
    padding: 0 12px;
}

.btn-subbar-login {
    background: #f0f9ff;
    color: var(--primary-dark);
    border: 1.5px solid var(--border-primary);
}

.btn-subbar-login:active {
    background: #e0f2fe;
    transform: scale(0.96);
}

.btn-subbar-register {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.35);
}

.btn-subbar-register:active {
    transform: scale(0.96);
    filter: brightness(0.95);
}

/* ==========================================================================
   Hero Section & VIP Cash Rebate Tracker Card
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #bae6fd 100%);
    padding: 50px 0 60px;
    position: relative;
    border-bottom: 1px solid var(--border-primary);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 40px;
    align-items: center;
}

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--border-primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-deep);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.22;
    color: var(--primary-deep);
    margin-bottom: 16px;
}

.hero-title .highlight-text {
    background: linear-gradient(135deg, #0284c7 0%, #0c4a6e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.hero-trust-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(2, 132, 199, 0.15);
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-deep);
}

.metric-lbl {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

/* VIP Rebate Tracker Card */
.hero-card-tracker {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-primary);
    overflow: hidden;
    position: relative;
}

.tracker-header {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 100%);
    color: #ffffff;
    padding: 16px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tracker-header h3 {
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-badge {
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    animation: blinker 1.8s infinite ease-in-out;
}

@keyframes blinker {
    50% { opacity: 0.6; }
}

.tracker-body {
    padding: 18px 22px;
    min-height: 250px;
}

.tracker-item {
    display: grid;
    grid-template-columns: 1.2fr 1.3fr 1.3fr 0.8fr;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-pearl);
    margin-bottom: 8px;
    font-size: 13px;
    border-left: 3px solid var(--primary);
    animation: fadeInSlide 0.3s ease-out;
}

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.tracker-item:nth-child(even) {
    background: #ffffff;
    border-left-color: var(--accent-gold);
}

.tracker-user {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--text-main);
}

.vip-tag {
    background: #0284c7;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
}

.tracker-type {
    color: var(--primary-deep);
    font-weight: 600;
}

.tracker-amount {
    color: #059669;
    font-weight: 700;
    text-align: right;
}

.tracker-time {
    color: var(--text-light);
    font-size: 11px;
    text-align: right;
}

.tracker-footer {
    background: var(--bg-tint);
    padding: 12px 22px;
    border-top: 1px solid var(--border-light);
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-deep);
}

/* ==========================================================================
   Section Common Styles
   ========================================================================== */
.section {
    padding: 60px 0;
}

.section-tint {
    background-color: var(--bg-tint);
}

.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 40px;
}

.section-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary-deep);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 15px;
    color: var(--text-muted);
}

/* Cards Grid */
.cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

.cards-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.pr-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.pr-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-primary);
}

.pr-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}

.pr-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-deep);
    margin-bottom: 10px;
}

.pr-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.card-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-link:hover {
    color: var(--primary-dark);
    gap: 9px;
}

/* Table Style for Information / Odds */
.data-table-wrapper {
    overflow-x: auto;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin: 24px 0;
}

.pr-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.pr-table th {
    background: var(--bg-tint);
    color: var(--primary-deep);
    font-weight: 700;
    padding: 14px 16px;
    border-bottom: 2px solid var(--border-primary);
}

.pr-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-main);
}

.pr-table tr:hover td {
    background: var(--primary-light);
}

.badge-status {
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
}

.badge-live {
    background: #fee2e2;
    color: #ef4444;
}

.badge-odds {
    background: #dcfce7;
    color: #15803d;
    font-weight: 700;
}

/* ==========================================================================
   Article & Content Formats
   ========================================================================== */
.content-wrapper {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 36px 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 30px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.breadcrumb-nav a {
    color: var(--text-muted);
}

.breadcrumb-nav a:hover {
    color: var(--primary);
}

.article-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-deep);
    line-height: 1.3;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.content-body h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-deep);
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
}

.content-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 24px 0 12px;
}

.content-body p {
    margin-bottom: 18px;
    line-height: 1.75;
    color: #334155;
}

.content-body ul, .content-body ol {
    margin: 0 0 20px 24px;
    color: #334155;
}

.content-body li {
    margin-bottom: 8px;
    line-height: 1.65;
}

.callout-box {
    background: var(--bg-tint);
    border-left: 4px solid var(--primary);
    padding: 18px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 24px 0;
}

.callout-box.warning {
    background: #fffbeb;
    border-left-color: #f59e0b;
}

.callout-box p {
    margin: 0;
    font-size: 14px;
    color: #1e293b;
    font-weight: 500;
}

/* FAQ Accordion */
.faq-section {
    margin-top: 40px;
}

.pr-faq-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.pr-faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-deep);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    user-select: none;
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    font-weight: 400;
    color: var(--primary);
    transition: transform 0.2s ease;
}

.pr-faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 20px 18px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

.pr-faq-item.active .faq-answer {
    display: block;
}

/* ==========================================================================
   Trust & Partners Ribbon
   ========================================================================== */
.partner-ribbon {
    background: #ffffff;
    padding: 30px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.partner-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.partner-item {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.partner-item:hover {
    opacity: 1;
    color: var(--primary-deep);
}

/* ==========================================================================
   Footer & Mobile Dock
   ========================================================================== */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 30px;
    border-top: 4px solid var(--primary);
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--primary);
}

.footer-col p {
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #cbd5e1;
}

.footer-col a:hover {
    color: var(--accent-cyan);
    padding-left: 4px;
}

/* Textlink Matrix Partner Section (Chuẩn SEO & WCAG: Tự Nhiên, Không Cloaking, Không Ẩn) */
.tlm-partner-section {
    padding: 18px 0;
    margin-bottom: 24px;
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
}

.tlm-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #64748b;
}

.tlm-title {
    font-weight: 700;
    color: #94a3b8;
    white-space: nowrap;
}

.tlm-links-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.tlm-link {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 2px 6px;
    border-radius: 4px;
}

.tlm-link:hover {
    color: var(--accent-cyan);
    background: rgba(56, 189, 248, 0.1);
}

.tlm-separator {
    color: #475569;
    font-size: 10px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

/* Mobile Bottom Navigation Dock */
.mobile-bottom-dock {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)) 6px;
}

.dock-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    text-align: center;
    align-items: center;
}

.dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 4px 2px;
    border-radius: var(--radius-sm);
    min-height: 48px;
    touch-action: manipulation;
    transition: transform 0.15s ease, background 0.15s ease;
}

.dock-item:active {
    transform: scale(0.92);
}

.dock-item .dock-icon {
    font-size: 19px;
    line-height: 1;
    margin-bottom: 3px;
}

.dock-item.primary-dock {
    color: var(--primary-deep);
}

.dock-item.highlight-dock {
    color: #ffffff !important;
    background: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);
    box-shadow: 0 3px 10px rgba(234, 88, 12, 0.35);
    border-radius: 12px;
    padding: 6px 2px;
}

.dock-item.highlight-dock .dock-icon {
    font-size: 18px;
}

/* Mobile Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 10002;
    padding: 24px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.18);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-nav-drawer.active {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 20px;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-main);
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
}

.mobile-nav-list a {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.mobile-nav-list a:hover,
.mobile-nav-list a:active {
    background: var(--primary-light);
    color: var(--primary);
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 10001;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mobile-overlay.active {
    display: block;
}

/* Toast Container */
.pr-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
}

.pr-toast {
    background: #0f172a;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid var(--accent-cyan);
}

.pr-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints Optimized for Mobile Devices
   ========================================================================== */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }
    .header-btn-desktop {
        display: none !important;
    }
    .mobile-header-subbar {
        display: block;
    }
    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        font-size: 22px;
        background: #f1f5f9;
        border: 1px solid var(--border-light);
        border-radius: var(--radius-sm);
        cursor: pointer;
        padding: 6px 12px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .cards-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px));
        font-size: 15px;
    }
    .header-inner {
        height: 60px;
    }
    .hero-title {
        font-size: 24px;
        line-height: 1.25;
    }
    .article-title {
        font-size: 21px;
        line-height: 1.3;
    }
    .content-body {
        font-size: 15px;
        line-height: 1.68;
    }
    .content-wrapper {
        padding: 18px 14px;
        border-radius: 14px;
    }
    .cards-grid-3,
    .cards-grid-2,
    .cards-grid-4 {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .mobile-bottom-dock {
        display: block;
    }
    .top-notice-bar {
        font-size: 11px;
        padding: 6px 0;
    }
    .top-notice-bar .container {
        flex-direction: column;
        gap: 3px;
        text-align: center;
    }
    .breadcrumb-nav {
        font-size: 12px;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }
    .breadcrumb-nav::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 480px) {
    .site-header .container {
        padding: 0 12px;
    }
    .header-inner {
        height: 62px;
    }
    .brand-title {
        font-size: 18px;
    }
    .brand-title span.sub-brand {
        font-size: 9px;
    }
    .logo-img {
        height: 36px;
    }
    .hero-banner {
        padding: 24px 14px;
    }
    .hero-banner h1 {
        font-size: 22px;
    }
    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .pr-card {
        padding: 16px;
    }
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .partner-item {
        font-size: 12px;
        padding: 6px 10px;
    }
}
