
:root {
  --primary: #1E90FF;
  --secondary: #2F4F4F;
  --accent: #FFD700;
  --bg-dark: #0A192F;
  --bg-light: rgba(255, 255, 255, 0.1);
  --text: #E6F1FF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background: linear-gradient(135deg, var(--bg-dark), #162A47);
  color: var(--text);
  line-height: 1.6;
  padding-top: 80px;
}

.header-notice {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 25, 47, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px;
  text-align: center;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  font-size: 14px;
  color: var(--accent);
}

.navbar {
  position: fixed;
  top: 50px;
  width: 100%;
  background: rgba(30, 144, 255, 0.8);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 15px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar li {
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0 20px;
  font-weight: 500;
  position: relative;
}

.navbar li:hover {
  color: var(--accent);
}

.navbar li::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.navbar li:hover::after {
  width: 60%;
}

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

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  padding: 40px;
  background: var(--bg-light);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-text {
  flex: 1;
  padding-right: 40px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  flex: 0 0 40%;
}

.hero-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

article {
  background: var(--bg-light);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

article h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--primary);
  position: relative;
  padding-bottom: 10px;
}

article h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

article p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

pre {
  background: rgba(10, 25, 47, 0.8);
  border-radius: 10px;
  padding: 20px;
  margin: 25px 0;
  overflow-x: auto;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
  border-left: 3px solid var(--accent);
}

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

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

.grid-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.grid-item:hover {
  transform: translateY(-10px);
}

.grid-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.grid-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 15px;
  color: white;
}

.footer {
  text-align: center;
  padding: 30px;
  margin-top: 60px;
  background: var(--bg-light);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 30px;
  }
  
  .hero-text {
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .hero-images {
    width: 100%;
  }
  
  article {
    padding: 30px;
  }
  
  .navbar ul {
    flex-wrap: wrap;
  }
  
  .navbar li {
    padding: 5px 15px;
  }
}

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

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