
:root {
  --primary-color: #2B3A67;
  --secondary-color: #4A58A4;
  --accent-color: #F5A623;
  --text-color: #333;
  --light-bg: #FFFFFF;
  --dark-bg: #1E1E1E;
}

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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  min-height: 100%;
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(43, 58, 103, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
}

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

.logo {
  color: var(--light-bg);
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}

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

.nav-links a {
  color: var(--light-bg);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--accent-color);
}

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

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

.hero {
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(75, 88, 164, 0.1) 0%, rgba(43, 58, 103, 0.3) 100%);
  z-index: -1;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: 700;
  animation: fadeIn 1.5s ease-in-out;
}

.hero p {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-color);
  animation: fadeIn 1.8s ease-in-out;
}

.notice {
  background: rgba(245, 166, 35, 0.1);
  border-left: 4px solid var(--accent-color);
  padding: 20px;
  margin: 40px 0;
  border-radius: 0 8px 8px 0;
  font-size: 16px;
}

.notice p {
  margin: 0;
  color: var(--text-color);
}

.content-section {
  padding: 80px 0;
  background: var(--light-bg);
  border-radius: 16px;
  margin: 40px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 36px;
  color: var(--primary-color);
  display: inline-block;
  padding-bottom: 15px;
}

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

.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content h2, 
.article-content h3 {
  color: var(--primary-color);
  margin: 40px 0 20px;
  position: relative;
  padding-left: 20px;
}

.article-content h2 {
  font-size: 28px;
}

.article-content h3 {
  font-size: 24px;
}

.article-content h2::before,
.article-content h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
}

.article-content p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.8;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  margin: 30px 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-content img:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.code-block {
  background: var(--dark-bg);
  color: #f8f8f2;
  padding: 20px;
  border-radius: 8px;
  margin: 25px 0;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 15px;
  line-height: 1.5;
  position: relative;
}

.code-block::before {
  content: 'CSS';
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent-color);
  color: white;
  padding: 3px 10px;
  font-size: 12px;
  border-radius: 0 0 0 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

table th, table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

table th {
  background: var(--primary-color);
  color: white;
  font-weight: 500;
}

table tr:nth-child(even) {
  background: rgba(43, 58, 103, 0.05);
}

table tr:hover {
  background: rgba(245, 166, 35, 0.1);
}

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

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer p {
  margin-bottom: 30px;
  font-size: 16px;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.copyright {
  font-size: 14px;
  opacity: 0.6;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero {
    padding: 150px 0 80px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .nav-links {
    gap: 15px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .article-content h2 {
    font-size: 24px;
  }
  
  .article-content h3 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}

