
:root {
  --primary: #1E3A8A;
  --secondary: #D1D5DB;
  --accent: linear-gradient(45deg, #C7BDE2, #9F7AEA);
  --text: #2D3748;
  --light: rgba(255,255,255,0.8);
  --dark: rgba(0,0,0,0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', system-ui, -apple-system, sans-serif;
}

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  color: var(--text);
  line-height: 1.6;
  padding-top: 80px;
}

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

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 30px;
  background: rgba(30, 58, 138, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
}

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

.nav-links a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

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

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.gptkong.com/demo/sample6.png') center/cover no-repeat;
  opacity: 0.1;
  z-index: -1;
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text);
}

.notice {
  background: rgba(255,255,255,0.9);
  padding: 15px;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 800px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border-left: 4px solid var(--primary);
}

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

.card {
  background: rgba(255,255,255,0.8);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.2);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--accent);
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card:hover .card-img {
  transform: scale(1.03);
}

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

.card p {
  margin-bottom: 20px;
}

article {
  background: white;
  border-radius: 16px;
  padding: 40px;
  margin: 40px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

article h2 {
  font-size: 1.8rem;
  margin: 30px 0 20px;
  color: var(--primary);
  position: relative;
  padding-bottom: 10px;
}

article h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
}

article h3 {
  font-size: 1.4rem;
  margin: 25px 0 15px;
  color: var(--primary);
}

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

pre {
  background: #1E3A8A;
  color: white;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

code {
  font-family: 'Courier New', monospace;
  background: rgba(0,0,0,0.1);
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 0.9rem;
}

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

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

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

.footer {
  text-align: center;
  padding: 30px;
  margin-top: 60px;
  background: rgba(30, 58, 138, 0.8);
  color: white;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .header h1 {
    font-size: 2rem;
  }
  
  .grid-container {
    grid-template-columns: 1fr;
  }
  
  article {
    padding: 25px;
  }
}

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

.floating {
  animation: float 3s ease-in-out infinite;
}

