
:root {
  --primary: #032B44;
  --secondary: #1A237E;
  --accent: #66BB6A;
  --highlight: #FFB300;
  --text: #FFFFFF;
  --bg: #0A192F;
}

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

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.header {
  position: relative;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  margin-bottom: 5rem;
}

.header::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--bg);
  clip-path: polygon(0 0, 100% 0, 100% 20%, 0 100%);
  z-index: 1;
}

.header h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--accent), var(--highlight));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header p {
  font-size: 1.2rem;
  max-width: 800px;
  margin-bottom: 2rem;
}

.notice {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.2);
}

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10,25,47,0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--highlight);
  transition: width 0.3s;
}

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

.main {
  position: relative;
  padding-top: 6rem;
}

.sidebar {
  position: fixed;
  left: 0;
  top: 80px;
  width: 250px;
  height: calc(100vh - 80px);
  background: rgba(26,35,126,0.8);
  backdrop-filter: blur(10px);
  padding: 2rem 1rem;
  transform: translateX(-100%);
  transition: transform 0.3s;
  z-index: 90;
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar-toggle {
  position: fixed;
  left: 20px;
  top: 20px;
  background: var(--highlight);
  color: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 110;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.article {
  background: rgba(255,255,255,0.03);
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.05);
}

.article h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--accent);
  position: relative;
  padding-bottom: 1rem;
}

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

.article h3 {
  font-size: 1.8rem;
  margin: 2rem 0 1.5rem;
  color: var(--highlight);
}

.article p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.article strong {
  color: var(--highlight);
}

.article pre {
  background: rgba(3,43,68,0.5);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 2rem 0;
  overflow: auto;
  border-left: 4px solid var(--highlight);
}

.article code {
  font-family: 'Courier New', monospace;
  color: var(--text);
  line-height: 1.5;
}

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

.card {
  background: rgba(26,35,126,0.5);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(102,187,106,0.1));
  z-index: 0;
}

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

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid var(--highlight);
}

.card-content {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--highlight);
}

.card-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}

.card-text {
  margin-bottom: 1rem;
}

.footer {
  background: var(--primary);
  padding: 3rem 0;
  text-align: center;
  margin-top: 5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-link {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--highlight);
}

.copyright {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .header h1 {
    font-size: 2.5rem;
  }
  
  .sidebar {
    width: 200px;
  }
  
  .article {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .header {
    height: 60vh;
  }
  
  .header h1 {
    font-size: 2rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .sidebar {
    width: 80%;
  }
  
  .article {
    padding: 1.5rem;
  }
  
  .article h2 {
    font-size: 2rem;
  }
  
  .article h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .header {
    height: 50vh;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  }
  
  .header h1 {
    font-size: 1.8rem;
  }
  
  .article {
    padding: 1rem;
  }
  
  .grid-container {
    grid-template-columns: 1fr;
  }
}

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

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

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

.decorator-1 {
  top: 10%;
  left: 10%;
}

.decorator-2 {
  bottom: 20%;
  right: 15%;
}

.decorator-3 {
  top: 30%;
  right: 20%;
}

