
:root {
  --primary: #03A9F4;
  --secondary: #FF9800;
  --accent: #1E88E5;
  --bg: #F5F5F5;
  --text: #333;
  --light: #FFF;
  --dark: #222;
  --success: #4CAF50;
}

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

body {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

.header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--light);
  padding: 2rem 0;
  text-align: center;
  margin-bottom: 3rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  animation: pulse 15s infinite linear;
}

@keyframes pulse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.notice {
  background: var(--light);
  color: var(--dark);
  padding: 1rem;
  border-radius: 4px;
  display: inline-block;
  margin: 1rem auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
}

.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
  position: relative;
  z-index: 2;
}

.nav a {
  color: var(--light);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
}

.nav a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.article {
  background: var(--light);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.article::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.article h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  position: relative;
}

.article h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.article h3 {
  color: var(--secondary);
  margin: 1.5rem 0 1rem;
  font-size: 1.4rem;
}

.article p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.article img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 1.5rem 0;
  transition: transform 0.3s ease;
}

.article img:hover {
  transform: scale(1.02);
}

.code-container {
  background: #282c34;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  overflow: auto;
  position: relative;
}

.code-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px 8px 0 0;
}

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

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

.footer {
  background: linear-gradient(135deg, var(--dark), #111);
  color: var(--light);
  padding: 2rem 0;
  text-align: center;
  margin-top: 3rem;
}

.footer p {
  margin-bottom: 1rem;
}

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

.card {
  background: var(--light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.split-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0;
}

.split-panel {
  flex: 1;
  min-width: 300px;
  background: var(--light);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.button {
  display: inline-block;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  color: var(--light);
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  margin: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  background: linear-gradient(45deg, var(--accent), var(--primary));
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }
  
  .nav {
    flex-direction: column;
    align-items: center;
  }
  
  .split-layout {
    flex-direction: column;
  }
}

