
:root {
  --primary: #0d47a1;
  --secondary: #1e88e5;
  --accent: #00ffea;
  --text: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.1);
  --nav-bg: rgba(13, 71, 161, 0.8);
}

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

body {
  background: linear-gradient(135deg, var(--primary), var(--secondary), #8e24aa);
  background-size: 600% 600%;
  animation: gradientAnimation 15s ease infinite;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  line-height: 1.6;
  min-height: 100%;
}

@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

.header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.header h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.note {
  background: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 8px;
  margin: 30px 0;
  text-align: center;
  border-left: 4px solid var(--accent);
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  padding: 15px 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--secondary);
  padding: 10px;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  min-width: 200px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  color: var(--text);
  padding: 8px 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.dropdown a:hover {
  background: rgba(0, 200, 83, 0.5);
}

article {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

article h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--accent);
  text-align: center;
}

section {
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

section:last-child {
  border-bottom: none;
}

section h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text);
}

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

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

.img-card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.img-card img {
  width: 100%;
  height: auto;
  display: block;
}

pre {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  overflow-x: auto;
  border-left: 4px solid var(--accent);
}

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

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 12px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 234, 0.3);
}

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

.future-gate {
  width: 300px;
  height: 300px;
  perspective: 1000px;
  margin: 40px auto;
}

.gate {
  width: 100%;
  height: 100%;
  background: var(--card-bg);
  border: 2px solid var(--accent);
  border-radius: 10px;
  transform-style: preserve-3d;
  animation: rotateGate 20s linear infinite;
}

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

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

.card {
  background: var(--card-bg);
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.card h4 {
  font-family: 'Roboto', sans-serif;
  margin-bottom: 15px;
  color: var(--accent);
}

.dashboard {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  margin: 30px 0;
}

.dashboard .data {
  font-size: 2.5rem;
  margin: 15px 0;
  transition: all 0.3s ease;
}

.footer {
  text-align: center;
  padding: 30px;
  margin-top: 50px;
  color: var(--text);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .container {
    padding: 80px 15px 30px;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 10px;
  }
  
  article {
    padding: 25px;
  }
  
  .future-gate {
    width: 200px;
    height: 200px;
  }
  
  .img-grid {
    grid-template-columns: 1fr;
  }
}

