/* ═══════════════════════════════════════════════════════════
   BARÇA CANADA - Complete Fan Media Site
   ═══════════════════════════════════════════════════════════ */

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

:root {
    --blaugrana: #a50044;
    --barca-blue: #004d98;
    --gold: #edbb00;
    --dark: #0a0a14;
    --dark-2: #12121e;
    --dark-3: #1a1a2e;
    --gray-50: #fafafa;
    --gray-100: #f5f5f7;
    --gray-200: #e8e8ec;
    --gray-400: #9999a8;
    --gray-500: #6b6b7b;
    --gray-700: #3a3a4a;
    --white: #ffffff;
    --red: #dc2626;
    --radius: 10px;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
    --font: 'Inter', sans-serif;
    --font-title: 'Montserrat', sans-serif;
}

body { font-family: var(--font); background: var(--gray-100); color: var(--gray-700); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── Top Bar ─────────────────────────────────────── */
.top-bar { background: var(--dark); padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; }
.top-links { display: flex; gap: 16px; }
.top-links a { font-size: 11px; color: var(--gray-400); font-weight: 500; transition: color 0.2s; }
.top-links a:hover { color: var(--gold); }
.top-social { display: flex; gap: 8px; }
.top-social a { font-size: 10px; color: var(--gray-400); font-weight: 700; background: rgba(255,255,255,0.06); padding: 3px 8px; border-radius: 3px; transition: background 0.2s; }
.top-social a:hover { background: var(--blaugrana); color: #fff; }

/* ── Header ─────────────────────────────────────── */
.header { background: var(--dark-2); padding: 12px 0; }
.header-inner { display: flex; align-items: center; gap: 20px; }
.logo-text { font-family: var(--font-title); font-size: 26px; font-weight: 900; letter-spacing: 1px; white-space: nowrap; }
.logo-text-sm { font-size: 18px; margin-bottom: 8px; }
.logo-barca { color: var(--blaugrana); }
.logo-canada { color: var(--white); }
.logo-mobile { display: none; }
.header-search { flex: 1; max-width: 360px; position: relative; margin-left: 30px; }
.header-search input { width: 100%; padding: 9px 40px 9px 14px; border: none; border-radius: 6px; background: rgba(255,255,255,0.08); color: #fff; font-size: 13px; }
.header-search input::placeholder { color: var(--gray-400); }
.header-search input:focus { outline: none; background: rgba(255,255,255,0.12); }
.search-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--gray-400); cursor: pointer; }
.header-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.dark-toggle { background: rgba(255,255,255,0.08); border: none; color: #fff; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.dark-toggle:hover { background: rgba(255,255,255,0.15); }

/* ── Navigation ─────────────────────────────────── */
.nav { background: linear-gradient(90deg, var(--blaugrana), var(--barca-blue)); position: sticky; top: 0; z-index: 1000; box-shadow: 0 3px 15px rgba(0,0,0,0.2); }
.nav-inner { display: flex; align-items: center; }
.nav-menu { list-style: none; display: flex; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: block; padding: 14px 16px; color: #fff; font-size: 13px; font-weight: 600; transition: background 0.2s; }
.nav-menu > li > a:hover, .nav-menu > li > a.active { background: rgba(0,0,0,0.2); }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--white); min-width: 200px; border-radius: 0 0 8px 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.15); list-style: none; z-index: 100; }
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a { display: block; padding: 10px 16px; font-size: 13px; color: var(--gray-700); border-bottom: 1px solid var(--gray-200); transition: background 0.2s; }
.dropdown li a:hover { background: var(--gray-100); color: var(--blaugrana); }
.dropdown li:last-child a { border-bottom: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 12px 0; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; }

/* ── Hero Section ─────────────────────────────────── */
.hero-section { padding: 20px 0; }
.hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; height: 420px; }
.hero-main { position: relative; border-radius: var(--radius); overflow: hidden; }
.hero-main-link { display: block; height: 100%; }
.hero-main-link img { width: 100%; height: 100%; object-fit: cover; }
.hero-main-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px 24px; background: linear-gradient(transparent, rgba(0,0,0,0.85)); }
.hero-main-overlay h1 { font-family: var(--font-title); font-size: 24px; font-weight: 800; color: #fff; line-height: 1.3; margin-top: 10px; }
.hero-meta { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,0.6); display: flex; gap: 12px; }
.hero-side { display: flex; flex-direction: column; gap: 12px; }
.hero-side-card { flex: 1; position: relative; border-radius: var(--radius); overflow: hidden; }
.hero-side-card a { display: block; height: 100%; }
.hero-side-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-side-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; background: linear-gradient(transparent, rgba(0,0,0,0.8)); }
.hero-side-overlay h3 { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.3; margin-top: 6px; }

/* Tags */
.tag { display: inline-block; padding: 3px 9px; border-radius: 3px; font-size: 10px; font-weight: 700; color: #fff; letter-spacing: 0.3px; text-transform: uppercase; }
.tag-liga { background: var(--barca-blue); }
.tag-mercato { background: #16a34a; }
.tag-ucl { background: #1e3a5f; }
.tag-analyse { background: #7c3aed; }
.tag-notes { background: #ea580c; }
.tag-conference { background: #6b7280; }
.tag-canada { background: #dc2626; }

/* ── Content Layout ─────────────────────────────── */
.content-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; }
.section { padding: 40px 0; }
.section-alt { background: var(--gray-50); }
.section-title { font-family: var(--font-title); font-size: 22px; font-weight: 800; margin-bottom: 24px; padding-left: 14px; border-left: 4px solid var(--blaugrana); }

/* ── Articles Grid ─────────────────────────────── */
.articles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.article-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.article-card-img { display: block; position: relative; height: 180px; overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card-img .tag { position: absolute; top: 10px; left: 10px; }
.article-card-body { padding: 16px; }
.article-card-body h3 { font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.article-card-body h3 a { color: var(--dark); transition: color 0.2s; }
.article-card-body h3 a:hover { color: var(--blaugrana); }
.article-card-body p { font-size: 12px; color: var(--gray-500); line-height: 1.5; margin-bottom: 10px; }
.article-card-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--gray-400); }
.article-card-meta .author { font-weight: 600; }

.btn-load-more { display: block; width: 100%; padding: 14px; margin-top: 24px; background: var(--white); border: 2px solid var(--gray-200); border-radius: var(--radius); font-size: 14px; font-weight: 600; color: var(--gray-700); cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.btn-load-more:hover { border-color: var(--blaugrana); color: var(--blaugrana); }

/* ── Sidebar ─────────────────────────────────────── */
.sidebar-widget { background: var(--white); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; box-shadow: var(--shadow); }
.widget-title { font-family: var(--font-title); font-size: 14px; font-weight: 800; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--blaugrana); text-transform: uppercase; letter-spacing: 0.5px; }

/* Match Widget */
.widget-match { text-align: center; }
.widget-match-league { font-size: 11px; color: var(--blaugrana); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.widget-match-teams { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 10px; }
.wm-team { font-size: 20px; font-weight: 900; color: var(--dark); }
.wm-vs { font-size: 12px; color: var(--gray-400); font-weight: 600; }
.widget-match-info { font-size: 13px; font-weight: 600; color: var(--dark); }
.widget-match-venue { font-size: 11px; color: var(--gray-400); margin-top: 4px; }

/* Social Buttons */
.social-buttons { display: flex; flex-direction: column; gap: 8px; }
.social-btn { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; transition: opacity 0.2s; }
.social-btn:hover { opacity: 0.85; }
.social-fb { background: #1877f2; color: #fff; }
.social-tw { background: #0f1419; color: #fff; }
.social-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.social-yt { background: #ff0000; color: #fff; }
.social-tk { background: #010101; color: #fff; }
.social-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 12px; background: rgba(255,255,255,0.2); border-radius: 50%; }
.social-info { flex: 1; }
.social-info strong { display: block; font-size: 13px; }
.social-info small { font-size: 10px; opacity: 0.8; }
.social-follow { font-size: 11px; font-weight: 700; background: rgba(255,255,255,0.2); padding: 4px 10px; border-radius: 4px; }

/* Trending */
.trending-list { display: flex; flex-direction: column; gap: 0; }
.trending-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-200); font-size: 13px; font-weight: 500; color: var(--gray-700); transition: color 0.2s; }
.trending-item:hover { color: var(--blaugrana); }
.trending-item:last-child { border-bottom: none; }
.trending-num { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; background: var(--blaugrana); color: #fff; border-radius: 50%; font-size: 11px; font-weight: 800; flex-shrink: 0; }

/* Classement */
.classement-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.classement-table th { text-align: left; padding: 8px 6px; border-bottom: 2px solid var(--gray-200); font-weight: 700; color: var(--gray-500); font-size: 11px; text-transform: uppercase; }
.classement-table td { padding: 8px 6px; border-bottom: 1px solid var(--gray-200); }
.classement-table tr.highlight { background: rgba(165,0,68,0.06); font-weight: 700; }
.classement-table tr.highlight td { color: var(--blaugrana); }

/* ── Canada Section ─────────────────────────────── */
.canada-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.canada-card { background: var(--white); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); transition: transform 0.3s; }
.canada-card:hover { transform: translateY(-3px); }
.canada-icon { font-size: 32px; margin-bottom: 12px; }
.canada-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.canada-card p { font-size: 12px; color: var(--gray-500); line-height: 1.5; }

/* ── Newsletter ─────────────────────────────────── */
.section-newsletter { background: linear-gradient(135deg, var(--blaugrana), var(--barca-blue)); padding: 40px 0; }
.newsletter-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.newsletter-text h3 { font-family: var(--font-title); font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.newsletter-text p { font-size: 14px; color: rgba(255,255,255,0.7); }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { padding: 12px 18px; border: none; border-radius: 6px; font-size: 14px; width: 280px; }
.newsletter-form input:focus { outline: none; }
.newsletter-form button { padding: 12px 24px; background: var(--gold); color: var(--dark); border: none; border-radius: 6px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.newsletter-form button:hover { background: #ffd000; }

/* ── Footer ─────────────────────────────────────── */
.footer { background: var(--dark); padding: 40px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer-col h5 { color: var(--white); font-size: 13px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col a { display: block; font-size: 13px; color: var(--gray-400); margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-about { font-size: 12px; color: var(--gray-400); line-height: 1.6; margin-top: 6px; }
.footer-newsletter { display: flex; gap: 6px; margin-top: 10px; }
.footer-newsletter input { flex: 1; padding: 8px 12px; border: none; border-radius: 4px; font-size: 12px; background: rgba(255,255,255,0.08); color: #fff; }
.footer-newsletter input::placeholder { color: var(--gray-500); }
.footer-newsletter button { padding: 8px 14px; background: var(--blaugrana); color: #fff; border: none; border-radius: 4px; font-size: 12px; font-weight: 700; cursor: pointer; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 16px; text-align: center; }
.footer-legal { display: flex; justify-content: center; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }
.footer-legal a { font-size: 11px; color: var(--gray-400); transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold); }
.footer-social-bottom { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
.footer-social-bottom a { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.06); color: var(--gray-400); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; transition: background 0.2s; }
.footer-social-bottom a:hover { background: var(--blaugrana); color: #fff; }
.footer-copy { font-size: 11px; color: var(--gray-500); }

/* ── Dark Mode ─────────────────────────────────── */
[data-theme="dark"] { --gray-100: #0f0f1a; --gray-50: #0c0c18; --gray-200: #1e1e30; --white: #16162a; --gray-700: #e0e0e8; --gray-500: #9999aa; --gray-400: #777; --shadow: 0 2px 12px rgba(0,0,0,0.2); }
[data-theme="dark"] body { background: #0a0a14; }
[data-theme="dark"] .article-card-body h3 a,
[data-theme="dark"] .canada-card h4,
[data-theme="dark"] .section-title,
[data-theme="dark"] .widget-title,
[data-theme="dark"] .trending-item,
[data-theme="dark"] .wm-team { color: #f0f0f0; }
[data-theme="dark"] .dropdown { background: var(--dark-3); }
[data-theme="dark"] .dropdown li a { color: #ccc; border-bottom-color: rgba(255,255,255,0.05); }
[data-theme="dark"] .dropdown li a:hover { background: rgba(255,255,255,0.05); }
[data-theme="dark"] .classement-table th { color: #888; }
[data-theme="dark"] .classement-table td { color: #ccc; border-bottom-color: rgba(255,255,255,0.05); }
[data-theme="dark"] .header-search input { background: rgba(255,255,255,0.06); }
[data-theme="dark"] .btn-load-more { background: var(--dark-3); border-color: rgba(255,255,255,0.1); color: #ccc; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
    .content-layout { grid-template-columns: 1fr; }
    .sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .canada-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; height: auto; }
    .hero-main { height: 280px; }
    .hero-side { flex-direction: row; gap: 8px; }
    .hero-side-card { height: 160px; }
    .articles-grid { grid-template-columns: 1fr; }
    .newsletter-card { flex-direction: column; text-align: center; }
    .newsletter-form input { width: 220px; }
    .sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .top-bar { display: none; }
    .logo-desktop { display: none; }
    .logo-mobile { display: inline; font-family: var(--font-title); font-size: 26px; font-weight: 900; }
    .header-search { margin-left: 12px; }
    .header-search input { padding: 8px 34px 8px 10px; font-size: 12px; }
    .nav-toggle { display: block; }
    .nav-menu { display: none; flex-direction: column; width: 100%; }
    .nav-menu.active { display: flex; }
    .nav-menu > li > a { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .dropdown { position: static; box-shadow: none; border-radius: 0; }
    .has-dropdown:hover .dropdown { display: none; }
    .has-dropdown.open .dropdown { display: block; }
    .dropdown li a { padding-left: 32px; }
    .hero-grid { gap: 8px; }
    .hero-main { height: 220px; }
    .hero-main-overlay h1 { font-size: 18px; }
    .hero-side { flex-direction: column; }
    .hero-side-card { height: 140px; }
    .section { padding: 30px 0; }
    .canada-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   ADDITIONAL PAGES STYLES
   ═══════════════════════════════════════════════════════════ */

/* ── Article Page ─────────────────────────────────── */
.article-page { max-width: 760px; margin: 0 auto; }
.article-title { font-family: var(--font-title); font-size: 32px; font-weight: 900; line-height: 1.25; margin: 14px 0 16px; color: var(--dark); }
.article-meta-full { font-size: 13px; color: var(--gray-500); margin-bottom: 24px; }
.article-hero-img { width: 100%; border-radius: var(--radius); margin-bottom: 24px; }
.article-video { position: relative; width: 100%; padding-bottom: 56.25%; margin-bottom: 24px; border-radius: var(--radius); overflow: hidden; }
.article-video iframe, .article-video video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.article-content { font-size: 16px; line-height: 1.85; color: var(--gray-700); }
.article-content p { margin-bottom: 18px; }
.article-share { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--gray-200); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.article-share strong { font-size: 13px; }
.share-btn { display: inline-block; padding: 8px 16px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #fff; transition: opacity 0.2s; }
.share-btn:hover { opacity: 0.85; }
.share-btn:nth-of-type(1) { background: #1877f2; }
.share-btn:nth-of-type(2) { background: #0f1419; }
.share-btn:nth-of-type(3) { background: #25d366; }

/* ── Videos Page ─────────────────────────────────── */
.videos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s; }
.video-card:hover { transform: translateY(-3px); }
.video-card-player { position: relative; width: 100%; padding-bottom: 56.25%; }
.video-card-player iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-card-body { padding: 14px 16px; }
.video-card-body h3 { font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; color: var(--dark); }
.video-card-cat { font-size: 11px; font-weight: 600; color: var(--blaugrana); text-transform: uppercase; letter-spacing: 0.3px; }

/* ── Effectif / Squad Page ────────────────────────── */
.position-title { font-family: var(--font-title); font-size: 16px; font-weight: 800; margin: 28px 0 14px; padding: 8px 14px; background: linear-gradient(90deg, var(--blaugrana), var(--barca-blue)); color: #fff; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.players-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.player-card { display: flex; align-items: center; gap: 14px; background: var(--white); padding: 14px 18px; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform 0.2s; }
.player-card:hover { transform: translateX(4px); }
.player-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gray-200); flex-shrink: 0; }
.player-number { width: 36px; height: 36px; background: var(--barca-blue); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-title); font-size: 14px; font-weight: 900; flex-shrink: 0; }
.player-info strong { display: block; font-size: 14px; font-weight: 700; color: var(--dark); }
.player-info span { font-size: 12px; color: var(--gray-500); }

/* ── Calendar Page ────────────────────────────────── */
.calendar-filters { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.cal-filter { padding: 8px 18px; border: 2px solid var(--gray-200); border-radius: 20px; background: var(--white); font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.cal-filter:hover { border-color: var(--blaugrana); color: var(--blaugrana); }
.cal-filter.active { background: var(--blaugrana); border-color: var(--blaugrana); color: #fff; }
.calendar-list { display: flex; flex-direction: column; gap: 0; }
.cal-month { font-family: var(--font-title); font-size: 14px; font-weight: 800; color: var(--blaugrana); text-transform: uppercase; letter-spacing: 0.5px; padding: 16px 0 8px; border-bottom: 2px solid var(--blaugrana); margin-top: 12px; }
.cal-match { display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: var(--white); border-bottom: 1px solid var(--gray-200); border-radius: 0; transition: background 0.2s; }
.cal-match:hover { background: var(--gray-50); }
.cal-match:last-child { border-bottom: none; }
.cal-date { text-align: center; min-width: 50px; }
.cal-day { display: block; font-family: var(--font-title); font-size: 22px; font-weight: 900; color: var(--dark); line-height: 1; }
.cal-month-sm { display: block; font-size: 11px; color: var(--gray-400); text-transform: uppercase; margin-top: 2px; }
.cal-info { flex: 1; }
.cal-info strong { display: block; font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.cal-info span { font-size: 12px; color: var(--gray-500); }
.cal-venue { font-size: 12px; color: var(--gray-400); white-space: nowrap; }

/* ── Club Info Grid ───────────────────────────────── */
.club-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.club-info-card { background: var(--white); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); }
.club-info-icon { font-size: 28px; display: block; margin-bottom: 8px; }
.club-info-card strong { display: block; font-size: 13px; font-weight: 700; color: var(--blaugrana); text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 4px; }
.club-info-card span { font-size: 14px; color: var(--gray-700); }
[data-theme="dark"] .club-info-card { background: var(--dark-3); }
[data-theme="dark"] .club-info-card span { color: #ccc; }
@media (max-width: 768px) { .club-info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .club-info-grid { grid-template-columns: 1fr; } }

/* ── History Section ──────────────────────────────── */
.history-content { max-width: 860px; font-size: 15px; line-height: 1.85; color: var(--gray-700); }
.history-content p { margin-bottom: 18px; }
.history-content h3 { font-family: var(--font-title); font-size: 18px; font-weight: 800; color: var(--blaugrana); margin: 32px 0 12px; padding-left: 12px; border-left: 3px solid var(--gold); }
.palmares-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.palmares-item { background: var(--white); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); }
.palmares-count { display: block; font-family: var(--font-title); font-size: 36px; font-weight: 900; color: var(--blaugrana); line-height: 1; }
.palmares-label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-500); margin-top: 6px; }
[data-theme="dark"] .history-content { color: #ccc; }
[data-theme="dark"] .history-content h3 { color: var(--gold); }
[data-theme="dark"] .palmares-item { background: var(--dark-3); }
[data-theme="dark"] .palmares-count { color: var(--gold); }
@media (max-width: 600px) {
    .palmares-grid { grid-template-columns: repeat(2, 1fr); }
    .history-content h3 { font-size: 16px; }
}

/* ── Live Scores Widget ───────────────────────────── */
.scores-widget { background: var(--dark); border-radius: var(--radius); padding: 16px; margin-bottom: 24px; }
.scores-widget-title { font-size: 12px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.scores-widget iframe { width: 100%; height: 500px; border: none; border-radius: 6px; }

/* ── Language Toggle ──────────────────────────────── */
.lang-toggle { display: flex; gap: 0; border-radius: 4px; overflow: hidden; border: 1px solid rgba(255,255,255,0.15); }
.lang-btn { padding: 5px 10px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.6); background: transparent; border: none; cursor: pointer; transition: all 0.2s; }
.lang-btn.active { background: var(--gold); color: var(--dark); }
.lang-btn:hover:not(.active) { color: #fff; }

/* ── Dark mode extras ─────────────────────────────── */
[data-theme="dark"] .article-title,
[data-theme="dark"] .video-card-body h3,
[data-theme="dark"] .player-info strong,
[data-theme="dark"] .cal-day,
[data-theme="dark"] .cal-info strong { color: #f0f0f0; }
[data-theme="dark"] .player-card,
[data-theme="dark"] .video-card,
[data-theme="dark"] .cal-match { background: var(--dark-3); }
[data-theme="dark"] .cal-match:hover { background: var(--dark-2); }
[data-theme="dark"] .cal-filter { background: var(--dark-3); border-color: rgba(255,255,255,0.1); color: #ccc; }
[data-theme="dark"] .position-title { background: linear-gradient(90deg, var(--blaugrana), var(--barca-blue)); }
[data-theme="dark"] .share-btn { opacity: 0.9; }

/* ── Responsive extras ────────────────────────────── */
@media (max-width: 768px) {
    .videos-grid { grid-template-columns: repeat(2, 1fr); }
    .article-title { font-size: 24px; }
    .cal-match { flex-wrap: wrap; gap: 10px; }
    .cal-venue { width: 100%; padding-left: 66px; }
}
@media (max-width: 600px) {
    .videos-grid { grid-template-columns: 1fr; }
    .players-grid { grid-template-columns: 1fr; }
    .calendar-filters { gap: 6px; }
    .cal-filter { padding: 6px 12px; font-size: 12px; }
    .article-title { font-size: 20px; }
}
