/**
 * Blue Whale Live - Global Styles
 * Theme: Pale Black Gold (淡黑金)
 */

:root {
  --primary-gold: #c5a059;
  --primary-gold-dark: #a67c37;
  --primary-gold-light: #e0ca9a;
  --bg-black: #121212;
  --bg-darker: #0a0a0a;
  --bg-card: #1e1e1e;
  --text-white: #f5f5f5;
  --text-gray: #a0a0a0;
  --gold-gradient: linear-gradient(135deg, #c5a059 0%, #e0ca9a 100%);
  --black-gradient: linear-gradient(180deg, #121212 0%, #000000 100%);
}

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

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: var(--bg-black);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
header {
  background-color: rgba(10, 10, 10, 0.95);
  border-bottom: 2px solid var(--primary-gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-gold);
  letter-spacing: 2px;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--text-white);
  margin-left: 5px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  font-size: 16px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-gold);
}

.cta-btn {
  background: var(--gold-gradient);
  color: #000;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 14px;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

/* Hero Section */
.hero {
  padding: 100px 0;
  background: var(--black-gradient);
  text-align: center;
}

.hero h1 {
  font-size: 52px;
  margin-bottom: 20px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.hero p {
  color: var(--text-gray);
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Section Common */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 36px;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-gold);
}

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: var(--bg-card);
  border: 1px solid #333;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

.card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-10px);
}

.card-img {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-tag {
  background: rgba(197, 160, 89, 0.2);
  color: var(--primary-gold);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 15px;
  display: inline-block;
}

.card-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.card-desc {
  color: var(--text-gray);
  font-size: 14px;
}

/* Footer */
footer {
  background-color: var(--bg-darker);
  padding: 80px 0 30px;
  border-top: 1px solid #222;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo {
  font-size: 24px;
  color: var(--primary-gold);
  margin-bottom: 20px;
  font-weight: bold;
}

.footer-info p {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.8;
}

.footer-title {
  color: var(--text-white);
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 25px;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--text-gray);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary-gold);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #222;
  color: var(--text-gray);
  font-size: 12px;
}

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

.animate-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
  .nav-links {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
