/* ===== GRC SPORT — SHARED STYLES ===== */

/* CSS VARIABLES */
:root {
  --bg-primary:   #071527;
  --bg-secondary: #0d1e35;
  --bg-card:      #112240;
  --bg-card-hover:#162d52;
  --accent:       #1a6ee8;
  --accent-hover: #1557c0;
  --accent-light: #3b8bff;
  --gold:         #f5c518;
  --gold-dark:    #d4a00e;
  --text-primary: #ffffff;
  --text-muted:   #7a94b8;
  --border:       #1e3355;
  --nav-height:   70px;
}

/* BASE */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  margin: 0;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* NAVBAR */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: var(--nav-height);
  background: rgba(7,21,39,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.site-nav.scrolled { background: rgba(7,21,39,0.98); }
.nav-inner {
  max-width: 1320px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; gap: 40px; padding: 0 20px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo img { height: 40px; object-fit: contain; }
.nav-logo-text { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--text-primary); max-width: 180px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; flex: 1; }
.nav-links a {
  display: block; padding: 6px 12px;
  font-size: 13.5px; font-weight: 500; color: var(--text-muted);
  border-radius: 6px; transition: color 0.2s, background 0.2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--accent-light); }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.btn-nav-search {
  background: none; border: none; color: var(--text-muted);
  font-size: 18px; cursor: pointer; padding: 6px; border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.btn-nav-search:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.btn-nav-primary {
  background: var(--accent); color: #fff; border: none;
  padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: background 0.2s; white-space: nowrap;
}
.btn-nav-primary:hover { background: var(--accent-hover); }
.nav-burger {
  display: none; background: none; border: 1px solid var(--border);
  color: var(--text-primary); padding: 6px 10px; border-radius: 6px;
  font-size: 18px; cursor: pointer;
}

/* MOBILE NAV */
.mobile-nav {
  display: none; position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: rgba(7,21,39,0.98); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); z-index: 999; padding: 16px;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block; padding: 10px 14px; font-size: 15px; font-weight: 500;
  color: var(--text-muted); border-radius: 8px; transition: all 0.2s;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--text-primary); background: rgba(255,255,255,0.06); }

/* PAGE HERO (inner pages) */
.page-hero {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 56px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(26,110,232,0.07) 0%, transparent 70%);
}
.page-hero-content { position: relative; }
.breadcrumb-grc {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted); margin-bottom: 16px;
}
.breadcrumb-grc a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb-grc a:hover { color: var(--text-primary); }
.breadcrumb-grc i { font-size: 10px; }
.page-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900; line-height: 1.15; margin: 0 0 12px;
}
.page-desc { font-size: 16px; color: var(--text-muted); line-height: 1.6; }

/* SECTION COMMONS */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.container-grc { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.section-header { margin-bottom: 40px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent-light); margin-bottom: 12px;
}
.section-label::before {
  content: ''; display: inline-block; width: 20px; height: 2px;
  background: var(--accent-light); border-radius: 1px;
}
.section-title { font-size: clamp(22px, 3vw, 36px); font-weight: 800; line-height: 1.2; margin: 0 0 10px; }
.section-desc { font-size: 15px; color: var(--text-muted); max-width: 540px; line-height: 1.6; margin: 0; }
.see-all {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--accent-light);
  padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.see-all:hover { border-color: var(--accent-light); }

/* CARDS */
.card-grc {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; height: 100%;
}
.card-grc:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
  border-color: rgba(26,110,232,0.3);
}
.card-img-wrap { position: relative; overflow: hidden; }
.card-img-wrap img { width: 100%; display: block; transition: transform 0.4s; }
.card-grc:hover .card-img-wrap img { transform: scale(1.05); }
.card-category {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; padding: 4px 10px; border-radius: 4px;
}
.card-body-grc { padding: 20px; }
.card-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.card-title-grc { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--text-primary); margin-bottom: 10px; transition: color 0.2s; }
.card-grc:hover .card-title-grc { color: var(--accent-light); }
.card-text-grc { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.card-link { font-size: 13px; font-weight: 600; color: var(--accent-light); display: inline-flex; align-items: center; gap: 4px; }
.card-link i { transition: transform 0.2s; font-size: 11px; }
.card-grc:hover .card-link i { transform: translateX(3px); }

/* FILTER TABS */
.filter-tabs {
  display: flex; gap: 4px; background: var(--bg-card);
  border: 1px solid var(--border); padding: 4px; border-radius: 10px; flex-wrap: wrap;
}
.filter-tab {
  padding: 7px 16px; border-radius: 7px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; color: var(--text-muted); border: none; background: none;
}
.filter-tab.active, .filter-tab:hover { background: var(--accent); color: #fff; }

/* STATUS BADGES */
.status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px;
}
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-upcoming { background: rgba(245,197,24,0.15); color: var(--gold); border: 1px solid rgba(245,197,24,0.3); }
.status-active   { background: rgba(40,199,111,0.15); color: #28c76f; border: 1px solid rgba(40,199,111,0.3); }
.status-done     { background: rgba(108,117,125,0.15); color: #8899bb; border: 1px solid rgba(108,117,125,0.2); }

/* BUTTONS */
.btn-primary-grc {
  background: var(--accent); color: #fff; border: none;
  padding: 12px 24px; border-radius: 10px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary-grc:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,110,232,0.4); }
.btn-outline-grc {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25);
  padding: 12px 24px; border-radius: 10px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-grc:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }
.btn-ghost {
  background: transparent; color: var(--text-muted); border: 1px solid var(--border);
  padding: 10px 20px; border-radius: 8px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px;
}
.btn-ghost:hover { color: var(--text-primary); border-color: var(--accent-light); background: rgba(26,110,232,0.08); }

/* TABLE */
.table-grc { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.table-grc thead th {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-muted); padding: 8px 14px;
  border-bottom: 1px solid var(--border);
}
.table-grc tbody tr { background: var(--bg-card); cursor: pointer; transition: background 0.2s; }
.table-grc tbody tr:hover { background: var(--bg-card-hover); }
.table-grc tbody td {
  padding: 14px; font-size: 14px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.table-grc tbody td:first-child { border-left: 1px solid var(--border); border-radius: 10px 0 0 10px; }
.table-grc tbody td:last-child  { border-right: 1px solid var(--border); border-radius: 0 10px 10px 0; }

/* SIDEBAR */
.sidebar-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px; margin-bottom: 20px;
}
.sidebar-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }

/* TICKER */
.ticker-wrap { background: var(--accent); padding: 10px 0; overflow: hidden; }
.ticker-track { display: inline-flex; gap: 48px; animation: ticker 30s linear infinite; white-space: nowrap; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.9); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* PARTNERS */
.partners-section { background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.partner-logo {
  display: flex; align-items: center; justify-content: center; padding: 20px 30px;
  filter: grayscale(100%) brightness(0.6); transition: filter 0.3s; cursor: pointer;
}
.partner-logo:hover { filter: grayscale(0%) brightness(1); }
.partner-logo img { max-height: 48px; object-fit: contain; }

/* FOOTER */
.site-footer { background: #050f1e; border-top: 1px solid var(--border); padding: 60px 0 30px; }
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 38px; object-fit: contain; }
.footer-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; max-width: 300px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 16px; transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social a:hover { color: var(--text-primary); border-color: var(--accent); background: rgba(26,110,232,0.1); }
.footer-col-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-primary); margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13.5px; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom {
  margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: var(--text-muted); }

/* PAGINATION */
.pagination-grc { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 40px; }
.page-btn {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  cursor: pointer; transition: all 0.2s;
}
.page-btn:hover, .page-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-btn.dots { cursor: default; }
.page-btn.dots:hover { background: var(--bg-card); border-color: var(--border); color: var(--text-muted); }

/* RESPONSIVE */
@media (max-width: 992px) {
  .nav-links { display: none; }
  .btn-nav-primary { display: none; }
  .nav-burger { display: flex; align-items: center; }
}
@media (max-width: 768px) { .section { padding: 56px 0; } }
