:root {
  --bg-color: #0b0f19;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --primary: #0ea5e9;
  --primary-hover: #38bdf8;
  --accent: #8b5cf6;
  
  --glass-bg: rgba(15, 23, 42, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-code: 'Fira Code', monospace;
  
  --radius-lg: 16px;
  --radius-md: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background Effects */
.background-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: float 20s infinite alternate;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  bottom: -150px;
  right: -100px;
  animation-delay: -5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: #3b82f6;
  top: 40%;
  left: 40%;
  animation-delay: -10s;
  opacity: 0.3;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Layout */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #fff 0%, var(--primary-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 2rem;
  margin-top: 3rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--glass-border);
  color: var(--primary);
}

h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-muted);
}

strong {
  color: var(--text-main);
}

/* Glassmorphism */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
}

/* Header & Footer */
.site-header {
  padding: 2rem 0;
  margin: 2rem auto;
  max-width: 1000px;
  text-align: center;
}

.site-header p {
  font-size: 1.1rem;
  margin: 0;
}

.site-footer {
  padding: 2rem 0;
  margin: 4rem auto 2rem;
  text-align: center;
  max-width: 1000px;
}

/* Main Content */
.main-content {
  padding: 3rem;
}

/* Images */
.main-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  margin: 1.5rem 0;
  transition: transform 0.3s ease;
}

.main-content img:hover {
  transform: scale(1.02);
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

figure {
  margin: 2rem 0;
  text-align: center;
}

.wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  list-style: none;
}

.blocks-gallery-item {
  margin: 0;
}

/* Code Blocks */
pre {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-family: var(--font-code);
  font-size: 0.9rem;
  color: #a78bfa;
}

code {
  font-family: var(--font-code);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  color: #34d399;
}

/* Lists */
ul {
  list-style-position: inside;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

li {
  margin-bottom: 0.5rem;
}

/* Accordion (Details & Summary) */
.glass-details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  transition: all 0.3s ease;
  overflow: hidden;
}

.glass-details:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.glass-details[open] {
  background: rgba(14, 165, 233, 0.05);
  border-color: var(--primary);
}

summary {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-hover);
  display: flex;
  align-items: center;
  list-style: none; /* Hide default arrow */
  position: relative;
  transition: color 0.3s ease;
}

summary::-webkit-details-marker {
  display: none; /* Hide default arrow in webkit */
}

summary::before {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 50%;
  margin-right: 12px;
  font-size: 1.2rem;
  font-weight: normal;
  color: var(--primary);
  transition: all 0.3s ease;
}

.glass-details[open] summary::before {
  content: '-';
  background: var(--primary);
  color: #fff;
  transform: rotate(180deg);
}

.details-content {
  padding: 0 1.5rem 1.5rem 4rem;
  animation: slideDown 0.3s ease-out;
  color: var(--text-muted);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .main-content {
    padding: 1.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .wp-block-gallery {
    grid-template-columns: 1fr;
  }
  
  .details-content {
    padding-left: 1.5rem;
  }
}

