
:root {
  --primary: #0f2027;
  --secondary: #203a43;
  --accent: #2c5364;
  --highlight: #f1c40f;
  --text: #e0e0e0;
  --success: #2ecc71;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

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

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

.notice {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 14px;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  animation: float 3s ease-in-out infinite;
}

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

.hero {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(241, 196, 15, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 80% 70%, rgba(46, 204, 113, 0.1) 0%, transparent 20%);
  animation: rotate 60s linear infinite;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--highlight), var(--success));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(32, 58, 67, 0.7);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  z-index: 100;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar:hover {
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

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

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

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

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

article {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  margin-bottom: 60px;
}

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

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

article h3 {
  font-size: 1.5rem;
  margin: 30px 0 20px;
  color: var(--highlight);
}

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

pre {
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  overflow-x: auto;
  position: relative;
}

code {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.9rem;
  color: var(--highlight);
}

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

.card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--highlight), var(--success));
}

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

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

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

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

.footer {
  background: rgba(0,0,0,0.3);
  padding: 40px 0;
  text-align: center;
  margin-top: 60px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

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

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

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

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

@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }
  
  .nav-links {
    gap: 15px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  article {
    padding: 30px 20px;
  }
  
  .grid-container {
    grid-template-columns: 1fr;
  }
}

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

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

