
/* ========================================
   INNER PAGE SHARED STYLES (v2)
   ======================================== */

/* Notice bar */
.notice-bar {
    background: linear-gradient(90deg, #003DB8, #0057FF 50%, #003DB8);
    padding: 7px 0;
    overflow: hidden;
}
.notice-bar a { color: #fff; }
.notice-marquee { font-size: 12px; color: #fff; font-weight: 600; letter-spacing: 0.05em; }

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: var(--transition);
}
.btn-sm { padding: 7px 14px; font-size: 12px; }

/* Breadcrumb */
.ky-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    padding: 14px 0 20px;
}
.ky-breadcrumb a { color: var(--text-muted); transition: var(--transition); }
.ky-breadcrumb a:hover { color: var(--primary); }
.ky-breadcrumb span { color: var(--text-dim); }

/* Inner page header */
.inner-header {
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-deepest) 100%);
    border-bottom: 1px solid var(--border-subtle);
    padding: 40px 0 32px;
}
.inner-header-badge {
    display: inline-block;
    background: rgba(0,87,255,0.15);
    border: 1px solid var(--border-glow);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}
.inner-header h1 {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 10px;
}
.inner-header p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 640px;
}

/* Content area */
.inner-main {
    background: var(--bg-deepest);
    min-height: 60vh;
    padding: 40px 0 60px;
}

/* Card grid for archive pages */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}
.archive-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.archive-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,87,255,0.12);
}
.archive-card-thumb {
    height: 180px;
    overflow: hidden;
    background: var(--bg-dark);
    position: relative;
}
.archive-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.archive-card:hover .archive-card-thumb img { transform: scale(1.04); }
.archive-card-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-dark));
}
.archive-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.archive-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.archive-card-cat {
    background: rgba(0,87,255,0.15);
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: 0.08em;
}
.archive-card-date { font-size: 11px; color: var(--text-dim); }
.archive-card-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.35;
}
.archive-card-title a { color: inherit; }
.archive-card-title a:hover { color: var(--primary); }
.archive-card-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.7; flex: 1; }
.archive-card-footer {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Pagination */
.ky-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.ky-pagination span a,
.ky-pagination span.current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}
.ky-pagination span a { background: var(--bg-card); border: 1px solid var(--border-subtle); color: var(--text-muted); }
.ky-pagination span a:hover { border-color: var(--primary); color: #fff; background: rgba(0,87,255,0.15); }
.ky-pagination span.current { background: var(--primary); color: #fff; border: 1px solid var(--primary); }

/* Single post content */
.single-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    align-items: start;
}
@media (max-width: 900px) { .single-layout { grid-template-columns: 1fr; } }

.post-article { min-width: 0; }
.post-body {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-bright);
}
.post-body h2 { font-size:22px; color:#fff; margin:32px 0 12px; border-left:3px solid var(--primary); padding-left:12px; }
.post-body h3 { font-size:18px; color:#fff; margin:24px 0 10px; }
.post-body p  { margin-bottom:16px; }
.post-body a  { color: var(--primary); text-decoration:underline; }
.post-body ul,.post-body ol { margin:16px 0 16px 24px; }
.post-body li { margin-bottom:8px; }
.post-body img { border-radius:var(--radius-md); margin:16px 0; }
.post-body blockquote { border-left:3px solid var(--gold); padding:12px 20px; margin:20px 0; background:var(--bg-card); border-radius:0 var(--radius-md) var(--radius-md) 0; color:var(--text-muted); }
.post-body table { width:100%; border-collapse:collapse; margin:16px 0; }
.post-body th,.post-body td { padding:10px 12px; border:1px solid var(--border-subtle); text-align:left; font-size:13px; }
.post-body th { background:var(--bg-card); color:#fff; font-weight:700; }
.post-body td { color:var(--text-muted); }

/* Sidebar */
.post-sidebar {}
.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
}
.sidebar-widget-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-widget-title::before {
    content:'';
    width:3px;
    height:16px;
    background:var(--primary);
    border-radius:2px;
}

/* Post tags */
.post-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:24px; }
.post-tag {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    color: var(--text-muted);
    transition: var(--transition);
}
.post-tag:hover { border-color:var(--primary); color:var(--primary); }

/* Related posts */
.related-posts { margin-top:40px; }
.related-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:12px; }
.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}
.related-card:hover { border-color:var(--border-glow); transform:translateY(-2px); }
.related-card-img { height:120px; background:var(--bg-dark); overflow:hidden; }
.related-card-img img { width:100%; height:100%; object-fit:cover; }
.related-card-body { padding:12px; }
.related-card-title { font-size:13px; font-weight:700; color:#fff; line-height:1.4; }
.related-card-title a { color:inherit; }
.related-card-title a:hover { color:var(--primary); }

/* Match single page */
.match-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
    text-align: center;
}
.match-detail-score { font-family:var(--font-display); font-size:clamp(40px,8vw,80px); font-weight:900; color:#fff; line-height:1; letter-spacing:-2px; }
.match-detail-teams { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.match-detail-team { flex:1; text-align:center; }
.match-detail-team-name { font-size:18px; font-weight:800; color:#fff; margin-bottom:6px; }
.match-detail-odds { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:24px; }
.match-detail-odd {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}
.match-detail-odd:hover { background:rgba(0,87,255,0.15); border-color:var(--primary); }
.match-detail-odd-label { font-size:11px; color:var(--text-dim); display:block; margin-bottom:4px; }
.match-detail-odd-val { font-family:var(--font-display); font-size:24px; font-weight:800; color:var(--gold); }

/* Promo single page */
.promo-hero-card {
    background: linear-gradient(135deg, #003DB8 0%, #001A6B 50%, #000B35 100%);
    border: 1px solid rgba(0,87,255,0.3);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}
.promo-hero-amount { font-family:var(--font-display); font-size:clamp(48px,8vw,80px); font-weight:900; color:var(--gold); line-height:1; text-shadow:0 0 40px var(--gold-glow); }
.promo-hero-title { font-size:20px; font-weight:800; color:#fff; margin:12px 0 8px; }
.promo-hero-desc { font-size:14px; color:rgba(255,255,255,0.6); max-width:500px; }

/* 404 page */
.page-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}
.page-404-num { font-family:var(--font-display); font-size:clamp(80px,15vw,160px); font-weight:900; line-height:1; background:linear-gradient(135deg,var(--primary),var(--gold)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.page-404 h2 { font-size:28px; font-weight:800; color:#fff; margin:10px 0 16px; }
.page-404 p { color:var(--text-muted); font-size:16px; margin-bottom:28px; max-width:400px; }

/* Search results page */
.search-form-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 28px;
    display: flex;
    gap: 12px;
}
.search-form-bar input[type=search] {
    flex: 1;
    background: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    color: #fff;
    font-size: 15px;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
}
.search-form-bar input[type=search]:focus { border-color: var(--primary); }
.search-form-bar button { background:var(--primary); border:none; color:#fff; padding:10px 22px; border-radius:var(--radius-sm); font-weight:700; cursor:pointer; font-size:14px; transition:var(--transition); }
.search-form-bar button:hover { background:#1a6aff; }

/* Mobile responsive additions */
@media (max-width: 1024px) {
    .mobile-menu-btn { display: flex; }
    .header-actions .btn-outline.btn-sm { display: none; }
}
@media (max-width: 600px) {
    .archive-grid { grid-template-columns: 1fr; }
    .match-detail-teams { flex-direction: column; gap: 10px; }
    .promo-hero-card { padding: 24px; }
    .inner-header { padding: 28px 0 20px; }
}
