
:root {
  --primary: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  --secondary: #1a1a2e;
  --accent: #ff7e5f;
  --text: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  background: var(--primary);
  color: var(--text);
  font-family: 'Helvetica', sans-serif;
  line-height: 1.6;
  min-height: 100%;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.header::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

h1, h2, h3, h4 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

h1 {
  font-size: 2.5rem;
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

h2 {
  font-size: 1.8rem;
  padding-bottom: 0.5rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 2px;
  background: var(--accent);
}

h3 {
  font-size: 1.4rem;
  color: #feb47b;
}

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

strong {
  color: #feb47b;
}

article {
  background: rgba(26, 26, 46, 0.7);
  border-radius: 15px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 3rem;
}

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

.card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  transition: var(--transition);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.card h3 {
  margin-bottom: 1rem;
  color: #6a11cb;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: rgba(106, 17, 203, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #b388ff;
}

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

.img-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  aspect-ratio: 1/1;
}

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

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

pre {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  overflow: auto;
  border-left: 3px solid var(--accent);
}

code {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #b388ff;
}

.button {
  background: linear-gradient(45deg, #ff7e5f, #feb47b);
  border: none;
  padding: 0.8rem 1.5rem;
  color: #fff;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
  margin: 0.5rem 0;
  box-shadow: 0 4px 15px rgba(255, 126, 95, 0.3);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 126, 95, 0.4);
  background: linear-gradient(45deg, #6a11cb, #2575fc);
}

.note {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--accent);
  padding: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .container {
    padding: 1.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  article {
    padding: 1.5rem;
  }
}

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

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

.decorator {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106,17,203,0.3) 0%, rgba(37,117,252,0) 70%);
  z-index: -1;
}

.decorator-1 {
  top: 10%;
  left: 5%;
  width: 200px;
  height: 200px;
}

.decorator-2 {
  bottom: 15%;
  right: 5%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255,126,95,0.2) 0%, rgba(254,180,123,0) 70%);
}

.decorator-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  opacity: 0.1;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
}

