/* ========================================
   WC2026 — Dark Luxury Sports Theme
   ======================================== */

:root {
    --bg-deep:     #080c10;
    --bg-card:     #0f1419;
    --bg-elevated: #141b22;
    --gold:        #d4a946;
    --gold-light:  #f0c96a;
    --green:       #00c853;
    --red:         #e53935;
    --text-primary: #f0ede6;
    --text-muted:   #8a9bb0;
    --border:       rgba(212,169,70,0.15);
    --border-soft:  rgba(255,255,255,0.07);
    --radius:       6px;
    --transition:   0.25s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Source Serif 4', Georgia, serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============= TYPOGRAPHY ============= */
h1, h2, h3, h4, h5 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: .02em;
}

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

/* ============= NAVBAR ============= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8,12,16,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0;
    transition: var(--transition);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: .05em;
    flex-shrink: 0;
}
.brand-icon { font-size: 1.4rem; }
.brand-text em { color: var(--gold); font-style: normal; }

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: .25rem;
}

.nav-links a {
    font-family: 'Oswald', sans-serif;
    font-size: .9rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: .5rem .9rem;
    border-radius: var(--radius);
    transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a.active { color: var(--gold); }

.nav-admin {
    background: var(--gold) !important;
    color: #000 !important;
    padding: .45rem 1rem !important;
    border-radius: var(--radius) !important;
    font-weight: 600 !important;
}
.nav-admin:hover { background: var(--gold-light) !important; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============= HERO ============= */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--bg-deep);
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--border);
}

.hero-bg {
    position: absolute; inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(212,169,70,.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 20%, rgba(0,200,83,.05) 0%, transparent 50%),
        repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,.012) 60px, rgba(255,255,255,.012) 61px),
        repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,.012) 60px, rgba(255,255,255,.012) 61px);
}

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

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: 'Oswald', sans-serif;
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: .3rem .8rem;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}
.hero-tag::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(.7); }
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.05;
}
.hero h1 em {
    font-style: normal;
    color: var(--gold);
    display: block;
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 2rem;
}

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: 'Oswald', sans-serif;
    font-size: .85rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 600;
    padding: .7rem 1.6rem;
    border-radius: var(--radius);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-gold {
    background: var(--gold);
    color: #000;
}
.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,169,70,.25);
}

.btn-outline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-soft);
}
.btn-outline:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
}

/* ============= STATS BAR ============= */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 3rem;
    overflow: hidden;
}

.stat-item {
    background: var(--bg-card);
    padding: 1.2rem 1.5rem;
    text-align: center;
}

.stat-num {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.stat-label {
    font-size: .75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-top: .25rem;
}

/* ============= SECTION ============= */
.section { padding: 60px 0; }
.section + .section { border-top: 1px solid var(--border-soft); }

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
}

.section-title {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    color: var(--text-primary);
}
.section-title span {
    color: var(--gold);
    font-size: .75em;
    letter-spacing: .12em;
    display: block;
    margin-bottom: .25rem;
    font-weight: 400;
}

.see-all {
    font-family: 'Oswald', sans-serif;
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}
.see-all:hover { border-color: var(--gold); }

/* ============= POST CARDS ============= */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    background: var(--border-soft);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
}

.post-card {
    background: var(--bg-card);
    padding: 1.6rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}
.post-card:hover { background: var(--bg-elevated); }
.post-card::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 3px; height: 0;
    background: var(--gold);
    transition: height .3s ease;
}
.post-card:hover::after { height: 100%; }

.post-tag {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .2rem .6rem;
    border-radius: 2px;
    margin-bottom: .8rem;
}
.tag-analysis { background: rgba(0,200,83,.15); color: var(--green); }
.tag-discussion { background: rgba(212,169,70,.12); color: var(--gold); }
.tag-schedule { background: rgba(255,255,255,.07); color: var(--text-muted); }

.post-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: .6rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-excerpt {
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: .78rem;
    color: var(--text-muted);
}
.post-meta time { opacity: .7; }
.post-meta .views::before { content: '👁 '; }

/* FEATURED post (large) */
.post-card.featured {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem 2.4rem;
}
.post-card.featured .post-title { font-size: 1.5rem; }
.post-card.featured .post-excerpt { -webkit-line-clamp: 5; }

/* ============= SCHEDULE ============= */
.schedule-list { display: flex; flex-direction: column; gap: 2px; }

.match-row {
    display: grid;
    grid-template-columns: 80px 1fr auto 1fr 100px;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    padding: 1rem 1.4rem;
    border-radius: var(--radius);
    transition: var(--transition);
}
.match-row:hover { background: var(--bg-elevated); }

.match-date {
    font-family: 'Oswald', sans-serif;
    font-size: .8rem;
    color: var(--gold);
    text-align: center;
}
.match-date .day { font-size: 1.4rem; font-weight: 700; display: block; line-height: 1; }
.match-date .month { opacity: .6; font-size: .7rem; letter-spacing: .05em; }

.team-home { text-align: right; }
.team-away { text-align: left; }
.team-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}
.team-flag { font-size: 1.4rem; }

.match-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    flex-shrink: 0;
}
.vs-text {
    font-family: 'Oswald', sans-serif;
    font-size: .75rem;
    letter-spacing: .12em;
    color: var(--text-muted);
}
.match-time {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-light);
}

.match-group {
    font-family: 'Oswald', sans-serif;
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: right;
    border: 1px solid var(--border-soft);
    padding: .25rem .6rem;
    border-radius: 2px;
}

/* ============= HOT LIST ============= */
.hot-list { display: flex; flex-direction: column; gap: 2px; }

.hot-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    padding: .9rem 1.2rem;
    border-radius: var(--radius);
    transition: var(--transition);
}
.hot-item:hover { background: var(--bg-elevated); }
.hot-item:hover .hot-title { color: var(--gold); }

.hot-num {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--border);
    min-width: 32px;
    text-align: center;
    line-height: 1;
}
.hot-item:nth-child(1) .hot-num { color: var(--gold); }
.hot-item:nth-child(2) .hot-num { color: var(--text-muted); }
.hot-item:nth-child(3) .hot-num { color: #c9843e; }

.hot-content { flex: 1; min-width: 0; }
.hot-title {
    font-family: 'Oswald', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hot-meta {
    font-size: .75rem;
    color: var(--text-muted);
    margin-top: .15rem;
}

/* ============= SIDEBAR LAYOUT ============= */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.widget {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 1.4rem;
}
.widget-title {
    font-family: 'Oswald', sans-serif;
    font-size: .8rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold);
    border-bottom: 1px solid var(--border);
    padding-bottom: .7rem;
    margin-bottom: 1rem;
}

/* ============= CATEGORY CARDS ============= */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.5px;
}

.cat-card {
    background: var(--bg-card);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}
.cat-card:hover { background: var(--bg-elevated); }
.cat-card:hover .cat-icon { transform: scale(1.1); }

.cat-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: .8rem;
    transition: transform .3s;
}
.cat-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: .4rem;
}
.cat-desc { font-size: .8rem; color: var(--text-muted); line-height: 1.5; }

/* ============= CTA BANNER ============= */
.cta-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(212,169,70,.15) 0%, rgba(0,200,83,.07) 100%);
    border: 1px solid rgba(212,169,70,.25);
    border-radius: var(--radius);
    padding: 3rem 2.5rem;
    text-align: center;
    margin: 3rem 0;
}
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .7rem; }
.cta-banner p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ============= ADMIN PANEL ============= */
.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
    min-height: calc(100vh - 64px);
}

.admin-sidebar {
    background: var(--bg-card);
    border-right: 1px solid var(--border-soft);
    padding: 1.5rem 0;
}
.admin-sidebar nav ul { list-style: none; }
.admin-sidebar nav li a {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .75rem 1.5rem;
    font-family: 'Oswald', sans-serif;
    font-size: .85rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: var(--transition);
}
.admin-sidebar nav li a:hover,
.admin-sidebar nav li a.active {
    color: var(--gold);
    background: rgba(212,169,70,.07);
    border-right: 2px solid var(--gold);
}

.admin-main {
    padding: 2rem;
    background: var(--bg-deep);
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-soft);
}
.admin-header h1 { font-size: 1.5rem; }

/* ============= FORM ============= */
.form-grid { display: grid; gap: 1.2rem; }

.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
    font-family: 'Oswald', sans-serif;
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    color: var(--text-primary);
    padding: .7rem 1rem;
    border-radius: var(--radius);
    font-family: 'Source Serif 4', serif;
    font-size: .9rem;
    line-height: 1.6;
    outline: none;
    transition: border-color .2s;
    resize: vertical;
}
.form-control:focus { border-color: var(--gold); }

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238a9bb0' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .8rem center;
    padding-right: 2.5rem;
}

/* ============= PAGINATION ============= */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    margin-top: 2.5rem;
}
.page-link {
    font-family: 'Oswald', sans-serif;
    font-size: .85rem;
    font-weight: 600;
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    color: var(--text-muted);
    transition: var(--transition);
}
.page-link:hover, .page-link.active {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

/* ============= BREADCRUMB ============= */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 0;
    font-size: .8rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-soft);
    margin-bottom: 2rem;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { opacity: .4; }

/* ============= ARTICLE ============= */
.article-header { margin-bottom: 2rem; }
.article-title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: .85rem;
    color: var(--text-muted);
    padding: 1rem 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.article-body {
    font-size: 1rem;
    line-height: 1.85;
    color: #d4cfc6;
}
.article-body h2 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 2rem 0 .8rem;
    padding-left: 1rem;
    border-left: 3px solid var(--gold);
}
.article-body p { margin-bottom: 1.2rem; }
.article-body strong { color: var(--text-primary); }

/* ============= TOAST ============= */
.toast {
    position: fixed;
    bottom: 2rem; right: 2rem;
    background: var(--bg-elevated);
    border: 1px solid var(--green);
    color: var(--green);
    font-family: 'Oswald', sans-serif;
    font-size: .85rem;
    padding: .8rem 1.5rem;
    border-radius: var(--radius);
    z-index: 9999;
    transform: translateX(200%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.toast.show { transform: translateX(0); }

/* ============= FOOTER ============= */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-brand p { font-size: .85rem; color: var(--text-muted); line-height: 1.7; }
.footer-links h4 {
    font-family: 'Oswald', sans-serif;
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .8rem;
}
.footer-links ul { list-style: none; }
.footer-links li + li { margin-top: .4rem; }
.footer-links a { font-size: .85rem; color: var(--text-muted); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
    border-top: 1px solid var(--border-soft);
    padding-top: 1rem;
    font-size: .78rem;
    color: var(--text-muted);
    text-align: center;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 900px) {
    .posts-grid { grid-template-columns: 1fr; }
    .post-card.featured { grid-column: span 1; grid-template-columns: 1fr; }
    .content-layout { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .match-row { grid-template-columns: 60px 1fr auto 1fr; }
    .match-group { display: none; }
}

@media (max-width: 600px) {
    .hamburger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px; left: 0; right: 0;
        flex-direction: column;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border);
        padding: 1rem;
        gap: .25rem;
    }
    .nav-links.open { display: flex; }
    .nav-links a { width: 100%; }
    .hero { padding: 50px 0 40px; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .match-row { grid-template-columns: 50px 1fr auto 1fr; gap: .5rem; padding: .8rem 1rem; }
    .team-name { font-size: .85rem; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
}
