
:root {
  --primary-color: #121F5B;
  --secondary-color: #6A40E9;
  --accent-color: #00C6FF;
  --text-color: #E0E0E0;
  --bg-gradient: radial-gradient(circle at center, rgba(18,31,91,0.8), rgba(18,31,91,1));
}

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

body {
  background: var(--primary-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-gradient);
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.05) 10px,
    transparent 10px,
    transparent 20px
  );
  pointer-events: none;
  z-index: -1;
}

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

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

.header h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
  -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: rgba(0,0,0,0.7);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.navbar {
  position: sticky;
  top: 0;
  background: rgba(18,31,91,0.95);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  padding: 15px 0;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transform: translateZ(0);
  transition: transform 0.3s ease;
}

.navbar:hover {
  transform: translateY(-5px);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-item a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s;
}

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

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
  transition: width 0.3s;
}

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

article {
  padding: 40px 0;
}

article h2 {
  font-size: 2.2rem;
  margin: 40px 0 20px;
  color: white;
  position: relative;
  padding-bottom: 10px;
}

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

article h3 {
  font-size: 1.8rem;
  margin: 30px 0 15px;
  color: var(--accent-color);
}

article p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

pre {
  background: rgba(0,0,0,0.3);
  border-left: 4px solid var(--accent-color);
  border-radius: 5px;
  padding: 20px;
  margin: 20px 0;
  overflow: auto;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
}

code {
  font-family: 'Courier New', monospace;
  color: var(--accent-color);
}

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

.card {
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}

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

.card h4 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: white;
}

.card p {
  font-size: 1rem;
  margin-bottom: 15px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.tag {
  background: rgba(106,64,233,0.2);
  color: var(--accent-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
}

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

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  transition: transform 0.3s;
  aspect-ratio: 1/1;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.button {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  margin: 10px 0;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

.button:active {
  transform: translateY(0);
}

.footer {
  text-align: center;
  padding: 40px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2.5rem;
  }
  
  .nav-list {
    gap: 15px;
  }
  
  article h2 {
    font-size: 1.8rem;
  }
  
  article h3 {
    font-size: 1.5rem;
  }
  
  .grid-container {
    grid-template-columns: 1fr;
  }
}

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

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