
:root {
  --primary: #1e3c72;
  --secondary: #2a5298;
  --accent: #ff5722;
  --text: #333;
  --light: rgba(255,255,255,0.8);
  --glass: rgba(255,255,255,0.2);
  --shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

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

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: var(--text);
  line-height: 1.6;
  padding: 0;
  margin: 0;
  min-height: 100%;
}

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

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

.header h1 {
  font-size: 2.8rem;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
}

.notice {
  background: var(--glass);
  backdrop-filter: blur(10px);
  padding: 15px;
  border-radius: 10px;
  margin: 20px 0;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: var(--shadow);
}

.article-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

article {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.18);
}

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

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

article h3 {
  color: var(--secondary);
  margin: 25px 0 15px;
  font-size: 1.5rem;
}

article h4 {
  color: var(--secondary);
  margin: 20px 0 10px;
  font-size: 1.2rem;
}

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

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

.gallery img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

pre {
  background: rgba(0,0,0,0.8);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  overflow-x: auto;
  color: #f8f8f2;
  font-family: 'Courier New', monospace;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

code {
  font-family: 'Courier New', monospace;
  background: rgba(0,0,0,0.1);
  padding: 2px 5px;
  border-radius: 3px;
}

.nav-tabs {
  display: flex;
  margin-bottom: 30px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 10px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.18);
}

.nav-tab {
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 5px;
}

.nav-tab.active {
  background: rgba(255,255,255,0.3);
  color: var(--primary);
  font-weight: bold;
}

.card {
  background: var(--glass);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255,255,255,0.18);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.button {
  display: inline-block;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin: 10px 0;
}

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

@media (max-width: 768px) {
  .container {
    padding: 15px;
  }
  
  article {
    padding: 25px;
  }
  
  .header h1 {
    font-size: 2rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
}

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

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