
:root {
  --primary: #1e3c72;
  --secondary: #2a5298;
  --accent: #ff8c00;
  --text: #f8f9fa;
  --card-bg: rgba(255, 255, 255, 0.1);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text);
  font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  min-height: 100%;
  overflow-x: hidden;
}

.header {
  position: relative;
  padding: 2rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #fff, #aaa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.notice {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  font-size: 0.9rem;
}

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

.nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav a:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.article-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

article {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

article:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

article h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #fff;
  position: relative;
  padding-bottom: 0.5rem;
}

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

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

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

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

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  aspect-ratio: 1/1;
  object-fit: cover;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

pre {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 1.5rem;
  overflow: auto;
  margin: 1.5rem 0;
  border-left: 4px solid var(--accent);
}

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

.footer {
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  article {
    padding: 1.5rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
  
  .nav {
    flex-direction: column;
    align-items: center;
  }
  
  .nav a {
    width: 100%;
    text-align: center;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

.highlight-box {
  background: rgba(255, 140, 0, 0.1);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

.highlight-box h3 {
  color: var(--accent);
  margin-bottom: 1rem;
}

