
:root {
  --primary: linear-gradient(135deg, #FF9800, #F7DC6F);
  --secondary: linear-gradient(135deg, #2196F3, #9E9E9E);
  --accent: #FF5722;
  --text: #333;
  --light: #f8f9fa;
  --dark: #212529;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--light);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

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

.header {
  background: var(--primary);
  color: white;
  padding: 60px 0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.header h1 {
  font-size: 2.5rem;
  margin: 0;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.header p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 20px auto 0;
  position: relative;
  z-index: 1;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(33, 150, 243, 0.95);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.realtime {
  font-weight: bold;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

article {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  padding: 40px;
  margin-bottom: 40px;
}

article h2 {
  color: #2196F3;
  margin-top: 40px;
  position: relative;
  padding-bottom: 10px;
}

article h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
}

article p {
  font-size: 17px;
  margin: 20px 0;
  color: #555;
}

color {
  font-weight: bold;
  color: #FF5722;
}

pre {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 20px;
  overflow-x: auto;
  margin: 25px 0;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

code {
  font-family: 'Courier New', monospace;
  color: #333;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  margin-top: 0;
  color: #2196F3;
}

.footer {
  background: var(--secondary);
  color: white;
  padding: 40px 0;
  text-align: center;
  margin-top: 60px;
}

.footer p {
  margin: 0;
}

.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.notice {
  background: rgba(255, 152, 0, 0.1);
  border-left: 4px solid #FF9800;
  padding: 15px;
  margin: 30px 0;
  border-radius: 0 4px 4px 0;
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }
  
  .nav-links {
    gap: 15px;
  }
  
  article {
    padding: 25px;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header h1 {
    font-size: 2rem;
  }
  
  .header p {
    font-size: 1rem;
  }
  
  .navbar {
    flex-direction: column;
    padding: 10px;
  }
  
  .nav-links {
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

