
:root {
  --primary: #1E90FF;
  --secondary: #8A2BE2;
  --accent: #03A9F4;
  --highlight: #AE00FF;
  --text: #FFFFFF;
  --bg-dark: #0A0E17;
  --card-bg: rgba(255, 255, 255, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  background: linear-gradient(135deg, var(--bg-dark), #1A1A2E);
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.header {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(10, 14, 23, 0.8), rgba(26, 26, 46, 0.8)), 
              url('https://images.gptkong.com/demo/sample4.png') center/cover no-repeat;
  margin-bottom: 80px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, var(--accent), transparent 70%);
  opacity: 0.3;
  z-index: -1;
}

.header-content {
  max-width: 800px;
  padding: 40px;
  background: rgba(30, 144, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transform: translateY(50px);
  animation: float 6s ease-in-out infinite;
}

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

.header h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--primary), var(--highlight));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 14, 23, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(90deg, var(--primary), var(--highlight));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

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

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

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

.main-content {
  padding: 100px 0;
}

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

.section-title h2 {
  font-size: 2.5rem;
  display: inline-block;
  padding-bottom: 15px;
  background: linear-gradient(90deg, var(--primary), var(--highlight));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--highlight));
}

.article-container {
  background: rgba(10, 14, 23, 0.7);
  border-radius: 20px;
  padding: 50px;
  margin-bottom: 80px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-container h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--accent);
}

.article-container h3 {
  font-size: 1.5rem;
  margin: 40px 0 20px;
  color: var(--primary);
  position: relative;
  padding-left: 20px;
}

.article-container h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 30px;
  background: linear-gradient(var(--primary), var(--highlight));
  border-radius: 5px;
}

.article-container 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: 30px 0;
  overflow: auto;
  border-left: 4px solid var(--accent);
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
}

pre::before {
  content: 'CSS';
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent);
  color: white;
  padding: 2px 10px;
  font-size: 0.8rem;
  border-radius: 0 0 0 5px;
}

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

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

.card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  transition: var(--transition);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

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

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

.card h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--accent);
}

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

.img-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 50px 0;
}

.decor-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.footer {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  padding: 60px 0 30px;
  clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
  margin-top: 100px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: white;
}

.footer-section p {
  margin-bottom: 15px;
  opacity: 0.9;
}

.footer-section a {
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--highlight);
  transform: translateX(5px);
}

.copyright {
  text-align: center;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.notice {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 15px 25px;
  border-radius: 50px;
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(174, 0, 255, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(174, 0, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(174, 0, 255, 0); }
}

@media (max-width: 992px) {
  .header h1 {
    font-size: 2.5rem;
  }
  
  .nav-links {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 15px;
  }
  
  .nav-links {
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .header {
    height: 60vh;
  }
  
  .header h1 {
    font-size: 2rem;
  }
  
  .article-container {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .header-content {
    padding: 20px;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
}

