
:root {
  --primary: #0d1b2a;
  --secondary: #1b263b;
  --accent: #00aaff;
  --highlight: #ff6600;
  --text: #333333;
  --light: #f0f4f8;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@font-face {
  font-family: 'Roboto';
  src: url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
}

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

body {
  background: linear-gradient(135deg, var(--light) 0%, #d9e2ec 100%);
  font-family: 'Roboto', sans-serif;
  color: var(--text);
  line-height: 1.6;
  padding: 0;
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
}

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

.header {
  text-align: center;
  padding: 60px 20px 40px;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(13, 27, 42, 0.8) 0%, rgba(0, 170, 255, 0.5) 100%);
  z-index: -1;
}

.header h1 {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1s ease-out;
}

.header p {
  font-size: 1.2rem;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.notice {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 15px;
  border-radius: var(--radius);
  margin: 30px auto;
  max-width: 800px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow);
}

.notice p {
  color: var(--white);
  font-weight: 500;
  margin: 0;
}

article {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  margin: 40px auto;
  max-width: 1000px;
  position: relative;
  overflow: hidden;
}

article::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.1;
  z-index: 0;
}

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

article h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--highlight) 100%);
  border-radius: 3px;
}

article h3 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin: 40px 0 20px;
  position: relative;
  z-index: 1;
}

article p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text);
  position: relative;
  z-index: 1;
}

article strong {
  color: var(--secondary);
}

article span {
  color: var(--accent);
  font-weight: 500;
}

pre {
  background: #f8f9fa;
  border-radius: var(--radius);
  padding: 20px;
  margin: 25px 0;
  overflow-x: auto;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}

code {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.9rem;
  color: #333;
}

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

.image-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

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

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius) var(--radius) 0 0;
}

.image-caption {
  padding: 15px;
  text-align: center;
  background: var(--white);
}

.nav-tabs {
  display: flex;
  justify-content: center;
  margin: 40px 0;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-tab {
  padding: 12px 25px;
  background: var(--white);
  border-radius: 30px;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-tab:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

@media (max-width: 768px) {
  .header h1 {
    font-size: 2.2rem;
  }
  
  .header p {
    font-size: 1rem;
  }
  
  article {
    padding: 30px;
  }
  
  article h2 {
    font-size: 1.8rem;
  }
  
  article h3 {
    font-size: 1.3rem;
  }
  
  .image-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .header {
    padding: 40px 20px;
  }
  
  .header h1 {
    font-size: 1.8rem;
  }
  
  article {
    padding: 20px;
    margin: 20px auto;
  }
  
  .nav-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-tab {
    width: 100%;
    text-align: center;
  }
}

