
:root {
  --primary-blue: #1A237E;
  --primary-purple: #6200EA;
  --accent-green: #32CD32;
  --accent-orange: #FFA726;
  --background-gray: #F5F5F5;
  --text-dark: #333;
  --text-light: #fff;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
  background: linear-gradient(135deg, rgba(245, 245, 245, 0.95) 0%, rgba(26, 35, 126, 0.05) 100%);
  color: var(--text-dark);
  line-height: 1.6;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
  color: var(--text-light);
  padding: 1rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.nav {
  display: flex;
  gap: 2rem;
}

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

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

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

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

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

.hero {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(98, 0, 234, 0.1) 0%, transparent 70%);
  z-index: -1;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
  position: relative;
  display: inline-block;
}

.hero h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-orange));
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.notice {
  background: rgba(255, 167, 38, 0.2);
  border-left: 4px solid var(--accent-orange);
  padding: 1rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

.notice p {
  margin: 0;
  font-weight: 500;
}

article {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

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

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

pre {
  background: rgba(26, 35, 126, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
  border-left: 4px solid var(--primary-blue);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  line-height: 1.5;
}

code {
  font-family: 'Courier New', Courier, monospace;
  background: rgba(26, 35, 126, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

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

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.5) 100%);
}

.footer {
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
  color: var(--text-light);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 3rem;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    padding: 1rem;
  }
  
  .nav {
    margin-top: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .main {
    margin-top: 150px;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  article {
    padding: 2rem;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2rem 1rem;
  }
  
  article {
    padding: 1.5rem;
  }
  
  article h2 {
    font-size: 1.5rem;
  }
  
  article h3 {
    font-size: 1.3rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
}

