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

:root {
  --orange: #FF6B35;
  --denim: #004E89;
  --bg: #F4F1EA;
  --gold: #C9A96E;
}

body.r4-body {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  background: var(--bg);
  color: #222;
  line-height: 1.6;
  padding-top: 52px;
}

h1, h2, .r4-display { font-family: 'Bebas Neue', sans-serif; letter-spacing: 2px; }

.r4-countdown {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--denim);
  color: #fff;
  text-align: center;
  padding: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 3px;
}

.r4-countdown span { color: var(--orange); }

.r4-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.r4-logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: var(--orange); text-decoration: none; }
.r4-nav { display: flex; gap: 20px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.r4-nav a { color: var(--denim); text-decoration: none; font-weight: 600; }

.r4-hero {
  height: 360px;
  background: linear-gradient(135deg, var(--denim), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin-bottom: 32px;
}

.r4-hero h2 { font-size: 3rem; margin: 0; }
.r4-hero p { opacity: 0.9; margin-top: 12px; }

.r4-main { max-width: 1200px; margin: 0 auto; padding: 0 24px 48px; }

.r4-h1-row { display: flex; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.r4-h1-row h1 { margin: 0 0 0 20px; font-size: 1.8rem; color: var(--denim); }
.r4-h1-row .site-subtitle { font-size: 16px; color: var(--orange); font-family: 'Work Sans', sans-serif; letter-spacing: 0; }

.r4-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.r4-product {
  background: #fff;
  border: 2px solid var(--gold);
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.r4-product:hover { transform: rotateY(15deg) scale(1.03); }
.r4-product img { width: 80px; height: 80px; object-fit: contain; }
.r4-product-name { font-family: 'Bebas Neue', sans-serif; color: var(--denim); margin-top: 12px; letter-spacing: 1px; }

.r4-video-wall { columns: 3; gap: 16px; margin-bottom: 32px; }
.r4-video-card {
  break-inside: avoid;
  background: #fff;
  margin-bottom: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid #ddd;
}

.r4-video-card img { width: 100%; height: 140px; object-fit: cover; }
.r4-video-card-body { padding: 12px; font-size: 0.88rem; }

.r4-panel { background: #fff; border: 2px solid var(--denim); padding: 16px; margin-bottom: 20px; }

.r4-footer {
  background: var(--denim);
  color: #ccc;
  text-align: center;
  padding: 32px 20px;
  line-height: 2;
  font-size: 0.88rem;
  width: 100%;
}

.r4-footer .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.r4-footer p {
  text-align: center;
  margin: 5px 0;
}

.r4-footer a { color: var(--gold); }

.r4-body .match_filter_item.active a { background: var(--orange) !important; color: #fff !important; }
.r4-body .zb-area_btn.start .live { color: var(--orange) !important; font-weight: 700; }

@media (max-width: 768px) {
  .r4-video-wall { columns: 1; }
  .r4-hero h2 { font-size: 2rem; }
}
