/* ============================================
   SITE FOOTER - Public Component
   Responsive: PC and Mobile layouts
   ============================================ */

.site-footer {
  width: 100%;
  background: #f8f8f8;
  border-top: 1px solid #e5e5e5;
  padding: 0;
  margin-top: 40px;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  color: #666;
}

/* --- Top section: media + responsible gambling --- */
.site-footer-top {
  display: flex;
  align-items: center;
  padding: 16px 30px;
  border-bottom: 1px solid #e5e5e5;
  gap: 20px;
}

.site-footer-media {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.site-footer-media-icon {
  width: 28px;
  height: 28px;
  background: #1a6fb5;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer-media-icon::after {
  content: '📺';
  font-size: 14px;
}

.site-footer-responsible {
  flex: 1;
  padding: 0 20px;
}

.site-footer-responsible-title {
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
  font-size: 12px;
}

.site-footer-responsible-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer-responsible-list li {
  position: relative;
  padding-left: 12px;
  line-height: 1.6;
  font-size: 11px;
  color: #666;
}

.site-footer-responsible-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #999;
}

.site-footer-rgp-img {
  flex: 0 0 70px;
}

.site-footer-rgp-img img {
  width: 70px;
  height: auto;
  display: block;
}

/* --- Bottom section: links + copyright --- */
.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 30px;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.site-footer-links a {
  color: #555;
  text-decoration: none;
  font-size: 11px;
  white-space: nowrap;
}

.site-footer-links a:hover {
  color: #a30907;
  text-decoration: underline;
}

.site-footer-links a::after {
  content: '|';
  margin-left: 6px;
  color: #ccc;
}

.site-footer-links a:last-child::after {
  content: '';
}

.site-footer-copyright {
  font-size: 11px;
  color: #999;
  white-space: nowrap;
}

/* --- Mobile Layout --- */
@media (max-width: 767px) {
  .site-footer {
    margin-top: 20px;
  }

  .site-footer-top {
    flex-wrap: wrap;
    padding: 14px 15px;
    gap: 12px;
  }

  .site-footer-media {
    flex: 0 0 auto;
  }

  .site-footer-rgp-img {
    flex: 0 0 60px;
    order: -1;
    margin-left: auto;
  }

  .site-footer-rgp-img img {
    width: 60px;
  }

  .site-footer-responsible {
    flex: 0 0 100%;
    padding: 0;
    order: 3;
  }

  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 15px;
    gap: 8px;
  }

  .site-footer-links {
    gap: 4px;
  }

  .site-footer-links a {
    font-size: 10px;
  }

  .site-footer-copyright {
    font-size: 10px;
    text-align: center;
    width: 100%;
  }
}
