@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;700&family=Space+Grotesk:wght@400;600&display=swap');

:root {
  --bg-dark: #ffffff;
  --bg-card: #ffffff;
  --border-color: #2a2a2a;
  --text-white: #000000;
  --accent-yellow: #ffc400;
  --shadow-color: rgba(0, 0, 0, 0.5);
}

/* === KEYFRAME ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

body {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  background-color: #f5f5f5;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 196, 0, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 196, 0, 0.04) 0%, transparent 70%);
  background-attachment: fixed;
  color: var(--text-white);
  line-height: 1.8;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
}

/* === STICKY NAVIGATION === */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, var(--accent-yellow), #ffb000);
  padding: 1rem 0;
  text-align: center;
  overflow: hidden;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.4s ease;
}

.sticky-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 3s infinite;
}

.sticky-nav.visible {
  transform: translateY(0);
  opacity: 1;
}

.sticky-nav-content {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sticky-nav-logo {
  display: flex;
  align-items: center;
  margin-right: 2rem;
}

.sticky-nav-logo a {
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.1);
}

.sticky-nav-buttons {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.sticky-nav-toggle { display: none; }

.sticky-nav-btn {
  background: rgba(0, 0, 0, 0.8);
  color: var(--accent-yellow);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.7rem 1.5rem;
  border: 2px solid rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.sticky-nav-btn:hover {
  background: var(--accent-yellow);
  color: #000;
  border-color: var(--accent-yellow);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.sticky-nav-btn.active {
  background: #000;
  color: var(--accent-yellow);
  border-color: #000;
}

@media (max-width: 768px) {
  .sticky-nav-content {
    padding: 0 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .sticky-nav-logo {
    margin-right: 0;
  }

  .sticky-nav-buttons {
    gap: 1rem;
  }

  .sticky-nav-btn {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }

  .nav-logo {
    height: 55px;
  }
}

/* === CYCLING BANNER (Seamless Loop Fix) === */


.cycling-banner {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-yellow), #ffb000);
  padding: 1rem 0;
  position: relative;
  overflow: hidden;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  white-space: nowrap;
}

.cycling-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 3s infinite;
  z-index: 1;
}

.banner-content {
  display: inline-flex;
  gap: 2rem;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
  animation: marquee 60s linear infinite;
  position: relative;
  z-index: 2;
  min-width: 400%;
  padding-left: 25%;
  height: 100%;
}

/* Keep mobile speed faster */
@media (max-width: 768px) {
  .banner-content {
    animation: marquee 45s linear infinite;
  }
}

.banner-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 1px;
  vertical-align: middle;
}

.banner-separator {
  display: inline-flex;
  align-items: center;
  font-size: 2rem;
  color: #000;
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(-25%); }
  to   { transform: translateX(-125%); }
}

@media (prefers-reduced-motion: reduce) {
  .banner-content { animation: none; }
}

.banner-logo {
  height: 55px;
  width: auto;
  vertical-align: middle;
  display: inline-block;
  margin: 0;
  padding: 0;
}

/* === Live NBA scores in the banner === */
.banner-live-game {
  background: #0c0c0c;
  color: var(--accent-yellow, #ffc400);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 2px solid #0c0c0c;
  text-decoration: none;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.banner-live-game:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.banner-live-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7);
  animation: bannerLivePulse 1.6s infinite;
  flex-shrink: 0;
}

@keyframes bannerLivePulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 59, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0); }
}

.banner-live-label {
  background: #ff3b3b;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: 'Bebas Neue', sans-serif;
}

.banner-live-score {
  color: #ffffff;
  font-size: 1.15rem;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.banner-live-status {
  color: var(--accent-yellow, #ffc400);
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
  opacity: 0.95;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .banner-live-score { font-size: 1rem; }
  .banner-live-status { font-size: 0.75rem; }
  .banner-live-game { padding: 0.35rem 0.7rem; gap: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .banner-live-pulse { animation: none; }
}

/* === Rest of your styles unchanged === */

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.container {
  margin: 3rem auto;
  text-align: center;
  background-color: var(--bg-card);
  border: 3px solid var(--accent-yellow);
  padding: 3rem 4rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: scaleIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.container:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 40px rgba(255, 196, 0, 0.4);
  border-color: #ffe066;
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: var(--accent-yellow);
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.main-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--accent-yellow);
  letter-spacing: 2px;
}

.main-logo {
  height: 220px;
  width: auto;
  margin: 0.25rem 0;
  transition: all 0.6s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.main-logo:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

p {
  font-size: 1.3rem;
  opacity: 0.9;
  color: var(--text-white);
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.main-button {
  background-color: var(--accent-yellow);
  color: #000;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 200px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.main-button:hover {
  background-color: #ffe066;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 196, 0, 0.4);
}

.main-button:active {
  transform: translateY(0);
}

.secondary-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.secondary-btn {
  background-color: var(--bg-card);
  color: var(--text-white);
  border: 2px solid #000;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  min-width: 200px;
}

.secondary-btn:hover {
  background-color: var(--bg-card);
  color: var(--accent-yellow);
  border-color: var(--accent-yellow);
  transform: translateY(-1px);
}

.instagram-section {
  background-color: #000;
  padding: 4rem 0;
  border-top: 3px solid var(--accent-yellow);
  border-bottom: 3px solid var(--accent-yellow);
  width: 100%;
  animation: fadeIn 1s ease-out 0.8s both;
}

.instagram-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  background-color: #000;
}

.instagram-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--accent-yellow);
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 1.5px;
}

.instagram-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.instagram-post {
  background-color: var(--bg-card);
  border: 2px solid var(--accent-yellow);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-color: #ffe066;
}

.instagram-media {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
  background-color: #000;
}
.instagram-post.media-unavailable::before {
  content: 'Instagram preview unavailable';
  display: grid;
  place-items: end center;
  min-height: 260px;
  padding: 1.5rem;
  background: #111 url('./hoopshall-logo.png') center 42% / 96px auto no-repeat;
  color: #fff;
  font: 600 0.85rem 'Inter', sans-serif;
}

.instagram-content {
  padding: 1.25rem;
}

.instagram-caption {
  font-size: 0.95rem;
  color: var(--text-white);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.instagram-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--accent-yellow);
  opacity: 0.8;
}

.instagram-date {
  font-family: 'Inter', sans-serif;
}

.instagram-link {
  color: var(--accent-yellow);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.instagram-link:hover {
  color: #ffe066;
}

.instagram-loading,
.instagram-error {
  text-align: center;
  padding: 2rem;
  color: var(--text-white);
  opacity: 0.7;
  font-style: italic;
}

@media (max-width: 768px) {
  .button-group {
    flex-direction: column;
  }

  .container {
    padding: 2rem 2.5rem;
    margin-top: 1rem;
  }

  .banner-content {
    font-size: 1.2rem;
    padding: 0 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  .main-text {
    font-size: 2.5rem;
  }

  .main-logo {
    height: 150px;
  }

  .banner-logo {
    height: 45px;
  }

  p {
    font-size: 1.1rem;
  }

  button {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    min-width: 180px;
  }

  .instagram-feed {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .instagram-title {
    font-size: 2rem;
  }
}

/* === FEATURED QUOTE SECTION === */
.quote-section {
  max-width: 960px;
  margin: 4rem auto;
  padding: 0 2rem;
  animation: scaleIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1.2s both;
}

.quote-container {
  background: linear-gradient(135deg, #000 0%, #2a2a2a 100%);
  border: 3px solid var(--accent-yellow);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 40px rgba(255, 196, 0, 0.2);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.quote-container:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 15px 50px rgba(255, 196, 0, 0.35);
}

.quote-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.featured-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  line-height: 1.8;
  color: #fff;
  font-style: italic;
  margin: 1.5rem 0;
  position: relative;
}

.quote-author {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--accent-yellow);
  letter-spacing: 2px;
  margin-top: 1.5rem;
}

/* === DAILY TRIVIA SECTION === */
.trivia-section {
  padding: 2rem;
  animation: fadeInUp 0.8s ease-out 1.6s both;
}

.trivia-container {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 3px solid #000;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.trivia-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: #000;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 3px;
  white-space: nowrap;
}

.trivia-subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  color: #666;
  text-align: center;
  margin-bottom: 3rem;
}

.trivia-questions {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.trivia-question {
  background: #fff;
  border: 3px solid var(--accent-yellow);
  border-radius: 12px;
  padding: 2rem;
  animation: scaleIn 0.6s ease-out both;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.trivia-question:nth-child(1) { animation-delay: 0.2s; }
.trivia-question:nth-child(2) { animation-delay: 0.4s; }
.trivia-question:nth-child(3) { animation-delay: 0.6s; }

/* Hide questions on desktop until revealed */
@media (min-width: 769px) {
  .trivia-question.hidden-desktop {
    display: none;
  }
}

.question-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--accent-yellow);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.question-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  color: #000;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.answer-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.answer-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: #000;
  background: #f8f9fa;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
}

.answer-btn:not(:disabled):hover {
  background: var(--accent-yellow);
  border-color: var(--accent-yellow);
  transform: translateX(5px);
}

.answer-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.answer-btn.correct {
  background: #28a745;
  border-color: #28a745;
  color: #fff;
  font-weight: 600;
}

.answer-btn.incorrect {
  background: #dc3545;
  border-color: #dc3545;
  color: #fff;
}

.answer-result {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.correct-text {
  background: #d4edda;
  color: #155724;
  border: 2px solid #28a745;
}

.incorrect-text {
  background: #f8d7da;
  color: #721c24;
  border: 2px solid #dc3545;
}

.trivia-score {
  margin-top: 3rem;
  text-align: center;
}

.final-score {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: #000;
  letter-spacing: 3px;
  background: var(--accent-yellow);
  padding: 2rem;
  border-radius: 12px;
  border: 3px solid #000;
  animation: scaleIn 0.5s ease-out;
}

.final-score small {
  display: block;
  font-size: 1.2rem;
  margin-top: 0.5rem;
  letter-spacing: 1px;
}

.loading-trivia {
  text-align: center;
  padding: 3rem;
  font-size: 1.2rem;
  color: #666;
}

/* === MOBILE RESPONSIVE FOR QUOTE & TRIVIA === */
@media (max-width: 768px) {
  .featured-quote {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .quote-container {
    padding: 2rem 1.5rem;
  }

  .quote-author {
    font-size: 1.2rem;
  }

  .trivia-section {
    padding: 3rem 1rem;
  }

  .trivia-title {
    font-size: 1.6rem;
    white-space: normal;
    letter-spacing: 2px;
  }

  .trivia-subtitle {
    font-size: 1rem;
  }

  .trivia-question {
    padding: 1.5rem;
  }

  .question-text {
    font-size: 1.1rem;
  }

  .answer-options {
    grid-template-columns: 1fr;
  }

  .answer-btn {
    font-size: 0.95rem;
    padding: 0.9rem 1.2rem;
  }

  .final-score {
    font-size: 2rem;
    padding: 1.5rem;
  }
}

/* === SIDEBAR LAYOUT === */
.page-layout {
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 2rem;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem 2rem 2rem;
  animation: fadeIn 0.6s ease-out;
  align-items: start;
}

.left-sidebar,
.right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3.25rem;
  align-self: start;
  position: sticky;
  top: 1rem;
}

.main-content {
  min-width: 0;
}

.sidebar-widget {
  background: #fff;
  border: 3px solid #000;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: scaleIn 0.5s ease-out both;
}

.sidebar-widget:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(255, 196, 0, 0.3);
}

.sidebar-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  color: #000;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-yellow);
}

.sidebar-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

.sidebar-loading {
  color: #666;
  font-style: italic;
  font-size: 0.9rem;
}

/* === SOCIAL MEDIA WIDGET === */
.instagram-button,
.twitter-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: white;
  text-decoration: none;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.instagram-button {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(188, 24, 136, 0.4);
}

.twitter-button {
  background: linear-gradient(45deg, #1DA1F2 0%, #0d8bd9 100%);
}

.twitter-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(29, 161, 242, 0.4);
}

.instagram-icon,
.twitter-icon {
  font-size: 1.5rem;
}

/* === RECENT POSTS WIDGET === */
.sidebar-post-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.sidebar-post {
  padding: 0.75rem;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.sidebar-post:hover {
  border-left-color: var(--accent-yellow);
  background: #f8f9fa;
  transform: translateX(4px);
}

.sidebar-post-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.sidebar-post-date {
  font-size: 0.8rem;
  color: #666;
}

/* === QUICK LINKS WIDGET === */
.quick-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links li {
  margin-bottom: 0.75rem;
}

.quick-links a {
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 6px;
}

.quick-links a:hover {
  color: #000;
  background: #f8f9fa;
  transform: translateX(4px);
}

.quick-links a::before {
  content: '🏀';
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.quick-links a:hover::before {
  transform: rotate(360deg);
}

/* === RESPONSIVE SIDEBAR LAYOUT === */
@media (max-width: 1200px) {
  .page-layout {
    grid-template-columns: 1fr;
  }

  .left-sidebar {
    display: none;
  }

  /* Keep the right sidebar (Fun Fact + Follow Us) visible on mobile,
     stacked below the main content rather than fixed to the side. */
  .right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    position: static;
    top: auto;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .main-content {
    max-width: 900px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .sticky-nav { min-height: 64px; padding: 0.55rem 0; overflow: visible; }
  .sticky-nav-content { display: grid; grid-template-columns: auto 1fr; padding: 0 1rem; gap: 0.75rem; }
  .sticky-nav-logo { margin: 0; }
  .nav-logo { height: 44px; }
  .sticky-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    justify-self: end;
    width: 124px;
    min-width: 0;
    padding: 0.55rem 0.8rem;
    border: 2px solid #000;
    border-radius: 8px;
    background: #111;
    color: var(--accent-yellow);
    font: 700 1rem 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
  }
  .sticky-nav-chevron { transition: transform 0.2s ease; }
  .sticky-nav-toggle[aria-expanded="true"] .sticky-nav-chevron { transform: rotate(180deg); }
  .sticky-nav-buttons {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0.5rem;
    padding-top: 0.35rem;
  }
  .sticky-nav-buttons.open { display: grid; }
  .sticky-nav-btn { width: 100%; padding: 0.65rem; font-size: 1rem; }
  .page-layout {
    padding: 1rem;
  }

  .instagram-feed {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .trivia-container {
    padding: 2rem 1.5rem;
  }

  .right-sidebar {
    margin-top: 1.5rem;
    gap: 1rem;
  }

  .right-sidebar .sidebar-widget {
    padding: 1.25rem;
  }
}

/* === HoopsHints teaser card === */
.playerdle-teaser {
  margin: 1.5rem auto;
  max-width: 900px;
  padding: 0 1rem;
}
.playerdle-teaser-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #000, #1a1a1a);
  color: var(--accent-yellow, #ffc400);
  border: 3px solid var(--accent-yellow, #ffc400);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.playerdle-teaser-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(255,196,0,0.35);
}
.playerdle-teaser-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  line-height: 1;
}
.playerdle-teaser-body { flex: 1; min-width: 0; }
.playerdle-teaser-body h2 {
  margin: 0 0 0.25rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 2px;
  color: var(--accent-yellow, #ffc400);
}
.playerdle-teaser-body p {
  margin: 0;
  color: #f5f5f5;
  font-size: 0.95rem;
  opacity: 0.9;
}
.playerdle-teaser-cta {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 1.5px;
  background: var(--accent-yellow, #ffc400);
  color: #000;
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .playerdle-teaser-link { padding: 1rem; }
  .playerdle-teaser-body h2 { font-size: 1.35rem; }
  .playerdle-teaser-body p { font-size: 0.85rem; }
  .playerdle-teaser-cta { padding: 0.45rem 0.8rem; font-size: 1rem; }
}

/* === FOOTER === */
footer {
  background: #000;
  text-align: center;
  padding: 1.5rem 0;
  color: white;
  border-top: 3px solid var(--accent-yellow);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  width: 100%;
  margin: 0;
  margin-top: auto;
}

footer p {
  color: white;
  margin: 0.25rem 0;
}

footer p.footer-credit {
  font-size: 11px;
  opacity: 0.4;
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}
/* === FOOTER MOBILE === */
@media (max-width: 768px) {
  footer {
    padding: 1rem 0.75rem;
    font-size: 0.8rem;
  }
  footer p {
    margin: 0.15rem 0;
    line-height: 1.4;
  }
  footer p.footer-credit {
    font-size: 10px;
  }
}
