:root {
  --ob-primary: #ff2f72;
  --ob-dark: #050814;
  --ob-light: #f5f5fa;
  --ob-accent: #00bcd4;
  --ob-radius-lg: 1.25rem;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--ob-dark);
  color: #fdfdfd;
  padding-top: 76px;
}

/* NAVBAR */
.navbar {
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
  background: rgba(5, 8, 20, 0.92);
  backdrop-filter: blur(12px);
}

.navbar.scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  background: #050814;
}

.navbar-brand span {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

/* HERO */
#hero {
  position: relative;
  color: #fff;
  padding: 4.5rem 0 4rem;
  overflow: hidden;

  /* Semi-transparent gradient OVER the image */
  background:
    linear-gradient(120deg, rgba(255, 47, 114, 0.75), rgba(5, 8, 20, 0.9)),
    url("/images/hero-bg-olympics.jpg") center center / cover no-repeat;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.08) 0, transparent 60%),
    radial-gradient(circle at 90% 15%, rgba(0, 188, 212, 0.25) 0, transparent 55%);
  opacity: 0.75;          /* toned down so the photo still shows */
  pointer-events: none;
}

#hero .hero-inner {
  position: relative;
  z-index: 1;
}

/* MAIN LAYOUT */
#main-layout {
  background: var(--ob-light);
  color: #151515;
  padding: 3rem 0 4rem;
}

/* SIDEBAR */
.sidebar-wrapper {
  position: sticky;
  top: 96px;
}

.sidebar-card {
  background: #ffffff;
  border-radius: var(--ob-radius-lg);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.sidebar-title {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #555;
  margin-bottom: 0.6rem;
}

.btn-sidebar {
  width: 100%;
  justify-content: flex-start;
  border-radius: 999px;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
}

.btn-sidebar i {
  margin-right: 0.45rem;
  font-size: 1rem;
}

.btn-sidebar-primary {
  background: var(--ob-primary);
  border-color: var(--ob-primary);
}

.btn-sidebar-primary:hover {
  background: #ff145c;
  border-color: #ff145c;
}

.btn-sidebar-outline {
  border-color: #d0d0dd;
  color: #333;
  background: #fff;
}

.btn-sidebar-outline:hover {
  background: #f3f3ff;
}

.linktree-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.linktree-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #e2e2f0;
  font-size: 0.85rem;
  color: #222;
  text-decoration: none;
  background: #fff;
  transition: all 0.15s ease;
}

.linktree-list a span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.linktree-list a i {
  font-size: 0.95rem;
}

.linktree-list a:hover {
  border-color: var(--ob-primary);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.promo-banner {
  margin-top: 0.85rem;
  border-radius: 1.1rem;
  padding: 0.9rem;
  background: linear-gradient(135deg, #050814, #282b4a);
  color: #fff;
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
}

.promo-banner small {
  opacity: 0.85;
}

.promo-tag {
  position: absolute;
  top: 0.6rem;
  right: 0.9rem;
  font-size: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* MAIN CONTENT */
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: #7b7b90;
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #646484;
  margin-bottom: 1.5rem;
}

.event-card {
  border-radius: var(--ob-radius-lg);
  border: 1px solid #e1e1f0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.09);
  overflow: hidden;
  margin-bottom: 1.1rem;
  background: #ffffff;
}

.event-card-inner {
  display: flex;
  flex-direction: row;
  gap: 0;
}

/* EVENT THUMBNAILS */
.event-card-inner {
  display: flex;
  flex-direction: row;
  gap: 0;
}

.event-thumb {
  flex: 0 0 140px;
  min-height: 140px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* These must match your filenames exactly */
.event-thumb.summer {
  background-image: url("/images/summer-games.jpg");
}

.event-thumb.winter {
  background-image: url("/images/winter-games.jpg");
}

.event-thumb.superbowl {
  background-image: url("/images/super-bowl.jpg");
}

.event-thumb.fifa {
  background-image: url("/images/fifa-world-cup.jpg");
}

.event-thumb.default-thumb {
  background-image: url("/images/sports-generic.jpg");
}


.event-body {
  padding: 1.15rem 1.2rem;
  flex: 1;
}

.event-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8888a6;
  margin-bottom: 0.2rem;
}

.event-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.event-meta {
  font-size: 0.8rem;
  color: #8a8aa0;
  margin-bottom: 0.4rem;
}

.event-text {
  font-size: 0.9rem;
  color: #42425a;
  margin-bottom: 0.7rem;
}

.event-actions .btn {
  font-size: 0.8rem;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
  .sidebar-wrapper {
    position: static;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .event-card-inner {
    flex-direction: column;
  }

  .event-thumb {
    width: 100%;
  }
}

/* FOOTER */
footer {
  background: #050814;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  padding: 1.4rem 0;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}
