
:root {
  --primary: #0d47a1;
  --secondary: #1976d2;
  --accent: #ffc107;
  --light: rgba(255,255,255,0.9);
  --dark: #121212;
  --gray: rgba(255,255,255,0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--light);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  background-attachment: fixed;
  min-height: 100%;
  overflow-x: hidden;
}

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

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

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
  z-index: -1;
}

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

.notice {
  background: rgba(0,0,0,0.3);
  padding: 15px;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 800px;
  text-align: center;
  border-left: 4px solid var(--accent);
}

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

.nav-tabs a {
  color: var(--light);
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 50px;
  background: rgba(255,255,255,0.1);
  transition: var(--transition);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.nav-tabs a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.nav-tabs a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.nav-tabs a:hover::before {
  left: 100%;
}

article {
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  margin: 40px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
}

article h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--accent);
  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), transparent);
}

article h3 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
  color: #fff;
}

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

pre {
  background: rgba(0,0,0,0.5);
  border-radius: 10px;
  padding: 20px;
  margin: 25px 0;
  overflow: auto;
  border-left: 4px solid var(--accent);
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

code {
  color: #f8f8f2;
}

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

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

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

.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: 2rem;
  }
  
  article {
    padding: 25px;
  }
  
  article h2 {
    font-size: 1.5rem;
  }
  
  article h3 {
    font-size: 1.3rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
}

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

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

.decorative-element {
  position: absolute;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  filter: blur(30px);
  z-index: -1;
}

.decorative-element:nth-child(1) {
  top: 10%;
  left: 5%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,193,7,0.1), transparent 70%);
}

.decorative-element:nth-child(2) {
  bottom: 15%;
  right: 10%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(25,118,210,0.1), transparent 70%);
}

.decorative-element:nth-child(3) {
  top: 40%;
  right: 20%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
}

