
:root {
  --primary: #0f0c29;
  --secondary: #302b63;
  --accent: #00ffcc;
  --highlight: #ffcc00;
  --text: #ffffff;
  --text-secondary: #dcdcdc;
  --card-bg: #1e1e2f;
}

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

body {
  background: linear-gradient(135deg, var(--primary), var(--secondary), #24243e);
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  min-height: 100%;
  overflow-x: hidden;
}

.header {
  background: linear-gradient(90deg, var(--highlight), var(--accent));
  padding: 2rem;
  text-align: center;
  border-radius: 8px;
  margin: 2rem auto;
  max-width: 1200px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

.header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255,255,255,0.1) 0%,
    rgba(255,255,255,0) 50%
  );
  transform: rotate(30deg);
  pointer-events: none;
}

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

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

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(30, 30, 47, 0.95);
  padding: 1rem 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar ul {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
}

.navbar li {
  margin: 0 1.5rem;
  position: relative;
}

.navbar li::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.navbar li:hover::after {
  width: 100%;
}

.navbar a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  font-weight: 500;
  padding: 0.5rem 0;
  display: block;
}

.navbar a:hover {
  color: var(--highlight);
}

.main-content {
  padding-top: 6rem;
  padding-bottom: 4rem;
}

article {
  background: rgba(30,30,47,0.7);
  border-radius: 15px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.1);
}

article h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--highlight);
  position: relative;
  padding-bottom: 0.5rem;
}

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

article p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

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

.card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  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,
    rgba(255,255,255,0.05) 0%,
    rgba(255,255,255,0) 50%
  );
  pointer-events: none;
}

.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: 1px solid rgba(255,255,255,0.1);
}

.card-content {
  padding: 1.5rem;
}

pre {
  background: #1e1e2f;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  overflow: auto;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
  border-left: 4px solid var(--accent);
}

code {
  font-family: 'Courier New', monospace;
  color: #dcdcdc;
  font-size: 0.9rem;
}

.highlight {
  background: rgba(255,204,0,0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  color: var(--highlight);
}

.footer {
  text-align: center;
  padding: 2rem;
  background: rgba(30,30,47,0.7);
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  article {
    padding: 2rem 1.5rem;
  }
  
  .navbar ul {
    justify-content: space-around;
  }
  
  .navbar li {
    margin: 0 0.5rem;
  }
  
  .card-grid {
    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.03);
  border-radius: 50%;
  filter: blur(20px);
  z-index: -1;
}

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

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