
:root {
  --primary: #0A3D62;
  --secondary: #34D399;
  --bg: #F5F5F5;
  --text: #333;
  --accent: #6C5CE7;
  --card-bg: #FFF;
}

body {
  font-family: 'Roboto', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  padding: 0;
  min-height: 100%;
}

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

.header {
  background: linear-gradient(135deg, var(--primary), #1E5F8C);
  color: white;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--secondary), #4ECDC4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.notice {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

.main {
  padding: 3rem 0;
}

.hero {
  text-align: center;
  padding: 4rem 0;
  background: radial-gradient(circle at 50% 0%, rgba(52, 211, 153, 0.1), transparent 70%);
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--text);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover .card-img {
  transform: scale(1.02);
}

article {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 3rem;
  margin: 3rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

article h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary);
  position: relative;
  padding-bottom: 1rem;
}

article h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--secondary), var(--accent));
  border-radius: 2px;
}

article h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1.5rem;
  color: var(--primary);
}

article p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

pre {
  background: #1E1E1E;
  color: #F8F8F2;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

code {
  font-family: 'Fira Code', monospace;
}

.footer {
  background: var(--primary);
  color: white;
  padding: 3rem 0;
  margin-top: 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 0.8rem;
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--secondary);
}

.dynamic-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.dynamic-line:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: flow 3s linear infinite;
}

@keyframes flow {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.button {
  display: inline-block;
  background: linear-gradient(to right, var(--secondary), #4ECDC4);
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 211, 153, 0.3);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 211, 153, 0.4);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  article {
    padding: 2rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 1rem 0;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .notice {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  article {
    padding: 1.5rem;
  }
  
  article h2 {
    font-size: 1.7rem;
  }
}

