
/* =========================================
   1. CSS Reset & Base Styles
   ========================================= */
:root {
  /* Colors - Modern Dark/Neon Palette */
  --bg-body: #0f172a;
  --bg-surface: #1e293b;
  --bg-surface-hover: #334155;
  --primary-color: #ff3b30; /* Energetic Red */
  --primary-gradient: linear-gradient(135deg, #ff3b30 0%, #ff9500 100%);
  --secondary-color: #007aff; /* Electric Blue */
  --secondary-gradient: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.1);
  
  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --leading-normal: 1.6;
  
  /* Spacing & Layout */
  --container-width: 1200px;
  --gap-md: 1.5rem;
  --gap-lg: 3rem;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  /* Effects */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: var(--leading-normal);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 122, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 59, 48, 0.08) 0%, transparent 40%);
  overflow-x: hidden;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #60a5fa;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================
   2. Layout & Container
   ========================================= */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-content {
  margin-top: 2rem;
  margin-bottom: 4rem;
}

/* =========================================
   3. Header Section
   ========================================= */
.site-header {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: padding var(--transition-fast);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Area */
.site-branding {
  flex-shrink: 0;
}

.site-logotype {
  width: 140px;
  height: 40px;
  background-color: var(--bg-surface); /* Fallback */
  background-image: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  position: relative;
}
.site-logotype::after {
    content: 'AZINO777'; /* Fallback text if image missing */
}

/* Search Form */
.mob-search {
  margin-left: auto;
  margin-right: 1rem;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-form__text {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  color: var(--text-main);
  font-size: var(--text-sm);
  width: 200px;
  transition: all var(--transition-fast);
}

.search-form__text:focus {
  outline: none;
  border-color: var(--secondary-color);
  width: 240px;
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

.search-form__submit {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.6;
}
.search-form__submit::before {
    content: "🔍";
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Hamburger */
.mob-hamburger {
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.mob-hamburger span, 
.mob-hamburger::before, 
.mob-hamburger::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* =========================================
   4. Typography & Article Content
   ========================================= */
.entry-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.entry-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.entry-content {
  font-size: 1.125rem;
  color: #cbd5e1;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content h3 {
  font-size: 1.75rem;
  color: var(--text-main);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
}

.entry-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
  marker-color: var(--primary-color); /* Note: limited support, often needs ::marker */
}
.entry-content li::marker {
    color: var(--primary-color);
}

/* Images within content */
.wp-block-image {
  margin: 2.5rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-smooth);
}

.wp-block-image img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.wp-block-image:hover {
  transform: translateY(-5px);
}

.wp-block-image:hover img {
  transform: scale(1.03);
}

/* =========================================
   5. Buttons & Interactive Elements
   ========================================= */
.wp-block-buttons {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.btn-box {
    width: 100%;
    display: flex;
    justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: var(--primary-gradient);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 20px -5px rgba(255, 59, 48, 0.4);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(255, 59, 48, 0.5);
  color: #fff;
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: translateY(1px);
}

/* =========================================
   6. Comments Section
   ========================================= */
.comments-area {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.comments-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-main);
}

.comment-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comment-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition-fast);
  position: relative;
}

.comment-box:hover {
  background: var(--bg-surface-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.comment-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.comment-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  margin-right: 1rem;
}

.comment-meta {
  display: flex;
  flex-direction: column;
}

.comment-author {
  font-weight: 700;
  color: var(--text-main);
  font-style: normal;
  font-size: 1rem;
}

.comment-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.comment-text {
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.5;
}

.comment-footer {
  margin-top: 1rem;
  text-align: right;
}

.comment-reply-link {
  color: var(--secondary-color);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  transition: background var(--transition-fast);
}

.comment-reply-link:hover {
  background: rgba(0, 122, 255, 0.1);
  text-decoration: none;
}

/* =========================================
   7. Utilities & Responsive
   ========================================= */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.page-separator, 
.header-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
  margin: 2rem 0;
  border: none;
}

/* Tablet & Mobile */
@media (max-width: 768px) {
  :root {
    --text-base: 0.9375rem;
  }
  
  .site-header-inner {
    padding: 0.5rem;
  }
  
  .search-form__text {
    width: 140px;
  }
  
  .search-form__text:focus {
    width: 160px;
  }
  
  .entry-title {
    margin-bottom: 0.5rem;
  }
  
  .btn {
    width: 100%;
    padding: 0.875rem 1rem;
  }
  
  .comment-box {
    padding: 1rem;
  }
  
  .comment-header {
    flex-wrap: wrap;
  }
  
  .entry-content h3 {
    font-size: 1.4rem;
  }
}
