@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* Design Tokens & Theme Configuration */
:root {
  --bg-color: rgb(253, 253, 253);
  --primary-color: rgb(199, 55, 72);
  --primary-color-hover: rgb(170, 40, 56);
  --text-color-main: #2d3142;
  --text-color-muted: #6c757d;
  --card-bg: rgba(255, 255, 255, 0.75);
  --card-border: rgba(255, 255, 255, 0.6);
  --card-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.04);
  --card-shadow-hover: 0 20px 50px -10px rgba(199, 55, 72, 0.1);
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color-main);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}



/* Content Layout (Individual stacked sections) */
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.2rem; /* Gap between the sections */
  max-width: 700px;
  width: 90%;
  z-index: 10;
  position: relative;
  text-align: center;
}

/* Section 1: Logo Image Styling */
.logo-section {
  animation: logoFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  justify-content: center;
}

.logo {
  width: clamp(240px, 200px + 10vw, 320px); /* Larger scale */
  height: auto;
  mix-blend-mode: multiply; /* Seamlessly blends the logo background */
  display: block;
  user-select: none;
  pointer-events: none;
}

/* Section 2: Headline Typography */
.headline-section {
  animation: pageFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.15s;
}

.headline {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 2rem + 3.5vw, 4.2rem); /* Significantly larger */
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  text-wrap: balance;
}

/* Section 3: Button Component (Scaled Up & Minimal) */
.button-section {
  animation: pageFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.3s;
}

.btn-primary {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  border: 3px solid var(--primary-color); /* Thicker border */
  padding: 1.05rem 3.4rem; /* Scaled padding */
  font-family: var(--font-body);
  font-size: 1.1rem; /* Scaled font size */
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 60px; /* Scaled border-radius */
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(199, 55, 72, 0.08);
  transition: var(--transition-smooth);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(199, 55, 72, 0.22);
}

.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

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

.btn-primary:focus-visible {
  outline: 3px solid rgba(199, 55, 72, 0.35);
  outline-offset: 5px;
}

/* Journal Page Layout (`bulten.html`) */
.journal-container {
  max-width: 800px;
  width: 90%;
  margin: 2rem auto;
  z-index: 10;
  background: var(--card-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: 24px;
  padding: 3rem;
  animation: pageFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.journal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(199, 55, 72, 0.15);
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
}

.back-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.back-link:hover {
  transform: translateX(-4px);
}

.journal-logo {
  height: 50px;
  width: auto;
  mix-blend-mode: multiply;
}

.journal-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.journal-intro {
  color: var(--text-color-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  text-wrap: pretty;
  border-left: 3px solid var(--primary-color);
  padding-left: 1rem;
}

.issue-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.5);
  transition: var(--transition-smooth);
}

.issue-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  border-color: rgba(199, 55, 72, 0.1);
}

.issue-meta {
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.issue-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.issue-description {
  color: var(--text-color-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  text-wrap: pretty;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  color: var(--primary-color);
  gap: 0.8rem;
}

/* Animations */
@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading & Error States */
.articles-loading, .article-loading, .table-loading {
  padding: 3rem 0;
  text-align: center;
  color: var(--text-color-muted);
  font-size: 1.1rem;
  font-weight: 500;
}

.articles-error, .table-error {
  padding: 2.5rem;
  background-color: rgba(199, 55, 72, 0.05);
  border: 1px solid rgba(199, 55, 72, 0.15);
  border-radius: 12px;
  color: var(--primary-color);
  text-align: center;
  font-weight: 600;
}

.articles-empty, .table-empty {
  padding: 3rem 0;
  text-align: center;
  color: var(--text-color-muted);
}

.articles-empty h3 {
  color: var(--text-color-main);
  margin-bottom: 0.5rem;
}

/* Admin Dashboard Section Styling */
.admin-section {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 18px;
  padding: 2rem;
  margin-top: 1.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-color-main);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(199, 55, 72, 0.1);
  padding-bottom: 0.5rem;
}

/* Drag-and-drop Dropzone */
.dropzone-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(199, 55, 72, 0.3);
  border-radius: 14px;
  padding: 3rem 1.5rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.6);
  transition: var(--transition-smooth);
}

.dropzone-area:hover, .dropzone-area.dragover {
  border-color: var(--primary-color);
  background: rgba(199, 55, 72, 0.02);
  box-shadow: 0 4px 15px rgba(199, 55, 72, 0.05);
}

.dropzone-area input[type="file"] {
  display: none;
}

.upload-icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.dropzone-area:hover .upload-icon {
  transform: translateY(-4px);
}

.dropzone-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-color-main);
  margin-bottom: 0.2rem;
}

.dropzone-subtext {
  font-size: 0.85rem;
  color: var(--text-color-muted);
}

/* Selected File Display */
.selected-file-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(199, 55, 72, 0.05);
  border: 1px solid rgba(199, 55, 72, 0.15);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-top: 1rem;
}

.selected-file-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.selected-file-name {
  font-family: monospace;
  font-weight: bold;
  color: var(--text-color-main);
  margin-left: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60%;
}

.btn-clear {
  background: transparent;
  border: none;
  color: var(--text-color-muted);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-clear:hover {
  color: var(--primary-color);
}

/* Admin Status Alerts */
.status-msg {
  display: none;
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.status-msg.success {
  background-color: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.2);
  color: #28a745;
}

.status-msg.error {
  background-color: rgba(199, 55, 72, 0.1);
  border: 1px solid rgba(199, 55, 72, 0.2);
  color: var(--primary-color);
}

/* Articles Management Table */
.table-container {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.articles-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: #ffffff;
  font-size: 0.95rem;
}

.articles-table th, .articles-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.articles-table th {
  background-color: rgba(199, 55, 72, 0.03);
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-weight: 700;
}

.articles-table tbody tr:last-child td {
  border-bottom: none;
}

.col-title {
  color: var(--text-color-main);
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.col-file code {
  background: rgba(0, 0, 0, 0.03);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.85rem;
}

.col-date {
  color: var(--text-color-muted);
}

.btn-delete {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 0.35rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-delete:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(199, 55, 72, 0.2);
}

/* Article Viewer Typography & Spacing */
.article-container {
  max-width: 760px;
  padding: 4rem 3.5rem;
}

.article-meta-header {
  border-bottom: 1px dashed rgba(199, 55, 72, 0.2);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.article-date-badge {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.article-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 1.8rem + 2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-color-main);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* Markdown Rendered Content Styles */
.article-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #2c3e50;
  text-wrap: pretty;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-color-main);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.article-body blockquote {
  border-left: 4px solid var(--primary-color);
  background: rgba(199, 55, 72, 0.02);
  padding: 1.2rem 1.8rem;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.2rem;
  color: #4a4a4a;
  border-radius: 0 12px 12px 0;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-body ul, .article-body ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body code {
  font-family: monospace;
  font-size: 0.95em;
  background: rgba(0, 0, 0, 0.04);
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  color: #d63384;
}

.article-body pre {
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
}

.article-body pre code {
  background: transparent;
  padding: 0;
  color: inherit;
  font-size: 0.9rem;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 2.5rem 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
}

.article-body strong {
  color: var(--text-color-main);
  font-weight: 700;
}

/* Login Page Specific Layout & Styling */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  width: 100%;
  padding: 2rem;
  z-index: 10;
  position: relative;
}

.login-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: 24px;
  padding: 3.5rem 2.5rem;
  width: 100%;
  max-width: 420px;
  animation: pageFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.login-logo {
  height: 50px;
  width: auto;
  mix-blend-mode: multiply;
}

.login-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.login-subtitle {
  color: var(--text-color-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* Form inputs & structure */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.input-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-color-main);
  letter-spacing: 0.02em;
}

.input-group input[type="text"],
.input-group input[type="password"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-color-main);
  transition: var(--transition-smooth);
}

.input-group input[type="text"]::placeholder,
.input-group input[type="password"]::placeholder {
  color: #c0c0c0;
}

.input-group input[type="text"]:focus,
.input-group input[type="password"]:focus {
  outline: none;
  border-color: var(--primary-color);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(199, 55, 72, 0.12);
}

.btn-block {
  width: 100%;
  text-align: center;
  margin-top: 0.75rem;
}

.btn-logout-link:hover {
  color: var(--primary-color) !important;
}

/* Newsletter Modal (Pop-up) */
.newsletter-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(45, 49, 66, 0.35);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.newsletter-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.newsletter-modal {
  background: var(--card-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15), var(--card-shadow);
  position: relative;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.newsletter-modal-overlay.active .newsletter-modal {
  transform: scale(1) translateY(0);
}

.newsletter-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-color-muted);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.newsletter-modal-close:hover {
  background: rgba(199, 55, 72, 0.08);
  color: var(--primary-color);
  transform: rotate(90deg);
}

.newsletter-modal-icon {
  width: 56px;
  height: 56px;
  background: rgba(199, 55, 72, 0.08);
  color: var(--primary-color);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  animation: bounceSlow 3s infinite ease-in-out;
}

.newsletter-modal-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.newsletter-modal-text {
  color: var(--text-color-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  text-wrap: pretty;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.newsletter-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-color-main);
}

.newsletter-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.newsletter-input {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-color-main);
  transition: var(--transition-smooth);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(199, 55, 72, 0.12);
}

/* Newsletter Persistent Section (Top of Bülten page) */
.newsletter-section {
  background: rgba(199, 55, 72, 0.03);
  border: 1px solid rgba(199, 55, 72, 0.08);
  border-radius: 20px;
  padding: 2.2rem 2rem;
  margin-bottom: 3rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.newsletter-section:hover {
  background: rgba(199, 55, 72, 0.05);
  border-color: rgba(199, 55, 72, 0.15);
  box-shadow: 0 8px 30px rgba(199, 55, 72, 0.03);
}

.newsletter-section-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.newsletter-section-text {
  color: var(--text-color-muted);
  font-size: 0.925rem;
  margin-bottom: 1.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-inline-form {
  display: flex;
  gap: 0.75rem;
  max-width: 540px;
  margin: 0.5rem auto 0 auto;
}

.newsletter-inline-form .newsletter-input {
  flex: 1;
}

.newsletter-inline-form .btn-primary {
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  border-width: 2px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .newsletter-inline-form {
    flex-direction: column;
    width: 100%;
  }
  .newsletter-inline-form .btn-primary {
    width: 100%;
  }
}

/* Admin Dashboard Subscribers Section */
.admin-header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn-action-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-action-outline:hover {
  background: rgba(199, 55, 72, 0.05);
  transform: translateY(-2px);
}

.search-bar-wrapper {
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.75rem;
}

.search-input {
  flex: 1;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(199, 55, 72, 0.1);
}

.subscribers-count {
  font-size: 0.85rem;
  color: var(--text-color-muted);
  font-weight: 500;
  align-self: center;
}

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

/* Home Layout Scroll adjustments */
.home-body {
  justify-content: flex-start !important;
  overflow-y: auto !important;
}

.hero-section {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  padding-bottom: 60px; /* Space for arrow */
}

/* Scroll Indicator Arrow */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition-smooth);
  z-index: 15;
}

.scroll-indicator:hover {
  opacity: 0.85;
  color: var(--primary-color-hover);
  transform: translateX(-50%) translateY(3px);
}

.arrow-bounce {
  animation: arrowBounce 2s infinite;
}

@keyframes arrowBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* FAQ Accordion Styling */
.faq-section {
  max-width: 800px;
  width: 90%;
  margin: 2rem auto 8rem auto;
  z-index: 10;
  background: var(--card-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: 24px;
  padding: 3.5rem;
  animation: pageFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  text-align: left;
}

.faq-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem);
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 0.75rem;
}

.faq-subtitle {
  color: var(--text-color-muted);
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: 3rem;
  text-wrap: pretty;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  background: #ffffff;
  border-color: rgba(199, 55, 72, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.01);
}

.faq-item.active {
  background: #ffffff;
  border-color: rgba(199, 55, 72, 0.25);
  box-shadow: var(--card-shadow-hover);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 1.5rem 1.8rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-color-main);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.faq-question-btn:focus-visible {
  outline: none;
  background: rgba(199, 55, 72, 0.03);
}

.faq-toggle-icon {
  color: var(--primary-color);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
  padding: 0 1.8rem 1.8rem 1.8rem;
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.65;
  text-wrap: pretty;
}

/* Admin FAQ Panel Specifics */
.faq-edit-item {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  position: relative;
  transition: var(--transition-smooth);
}

.faq-edit-item:hover {
  border-color: rgba(199, 55, 72, 0.2);
  background: #ffffff;
}

.faq-edit-item .input-group {
  margin-bottom: 1rem;
}

.faq-edit-item .input-group:last-of-type {
  margin-bottom: 0;
}

.faq-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-color-main);
  transition: var(--transition-smooth);
  resize: vertical;
  min-height: 80px;
}

.faq-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(199, 55, 72, 0.12);
}

.faq-edit-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding-top: 1rem;
}

.faq-reorder-btn {
  background: none;
  border: none;
  color: var(--text-color-muted);
  cursor: pointer;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition-smooth);
}

.faq-reorder-btn:hover:not(:disabled) {
  color: var(--primary-color);
  background: rgba(199, 55, 72, 0.05);
}

.faq-reorder-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Accessibility: Respect Reduced Motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
  
  .btn-primary:hover, .btn-delete:hover, .btn-secondary:hover {
    transform: none !important;
  }
}
