
:root {
  --primary-color: #5DADE2;
  --secondary-color: #AAB7B8;
  --accent-color: #FF6F61;
  --highlight-color: #8E44AD;
  --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  --card-bg: rgba(255, 255, 255, 0.85);
  --text-dark: #2C3E50;
  --text-light: #ECF0F1;
}

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

body {
  background: var(--bg-gradient);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100%;
  overflow-x: hidden;
  padding-bottom: 80px;
}

.header {
  position: relative;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.2);
  padding: 20px 5%;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}

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

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-color);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 5%;
}

.hero {
  text-align: center;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(93,173,226,0.1) 0%, rgba(255,255,255,0) 70%);
  z-index: -1;
  animation: pulse 15s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(1.2); opacity: 0.1; }
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--primary-color), var(--highlight-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fadeIn 1.5s ease;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
  color: var(--text-dark);
  opacity: 0.9;
}

.notice {
  background: var(--card-bg);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  padding: 15px;
  margin: 30px auto;
  max-width: 800px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid rgba(255,255,255,0.3);
}

.notice p {
  color: var(--accent-color);
  font-weight: 500;
}

.content-section {
  background: var(--card-bg);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  padding: 40px;
  margin: 40px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}

.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, var(--accent-color) 0%, rgba(255,111,97,0) 70%);
  opacity: 0.1;
  z-index: -1;
}

.content-section h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 10px;
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), var(--highlight-color));
  border-radius: 3px;
}

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

.code-container {
  background: #2C3E50;
  border-radius: 10px;
  padding: 20px;
  margin: 25px 0;
  overflow: auto;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

pre {
  margin: 0;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ECF0F1;
}

code {
  font-family: 'Courier New', monospace;
}

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

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.feature-card {
  background: var(--card-bg);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.feature-card p {
  margin-bottom: 15px;
}

.feature-card ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.feature-card li {
  margin-bottom: 8px;
}

.footer {
  text-align: center;
  padding: 30px;
  margin-top: 60px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    padding: 15px;
  }
  
  .nav-links {
    margin-top: 15px;
    gap: 15px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .content-section {
    padding: 30px 20px;
  }
  
  .feature-cards {
    grid-template-columns: 1fr;
  }
  
  .grid-gallery {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animated {
  animation: fadeIn 1s ease forwards;
}

