:root {
  --primary-pink: #e91e63;
  --primary-purple: #7b60f4;
  --light-bg: #f8f9fa;
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --hover-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #888888;
  --border-color: #eaeaea;
}

#normalmetre-container {
  margin-top: 8em;
}

.normalmetre-hero-slider {
  margin-top: 20px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.normalmetre-hero-slide {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  color: white;
  background: linear-gradient(
    135deg,
    var(--primary-pink),
    var(--primary-purple)
  );
}

.normalmetre-hero-content {
  max-width: 50%;
  z-index: 2;
}

.normalmetre-hero-image {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 60%;
  background-size: cover;
  background-position: center;
  border-radius: 0 16px 16px 0;
}

.normalmetre-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.2;
}

.normalmetre-hero-description {
  font-size: 1.1rem;
  margin-bottom: 25px;
  opacity: 0.9;
}

.normalmetre-hero-btn {
  background-color: white;
  color: var(--primary-pink);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.normalmetre-hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.normalmetre-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
}

.normalmetre-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.normalmetre-section-title i {
  color: var(--primary-pink);
}

.normalmetre-slider-nav {
  display: flex;
  gap: 10px;
}

.normalmetre-slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--card-shadow);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.normalmetre-slider-btn:hover {
  background-color: var(--primary-purple);
  color: white;
  border-color: var(--primary-purple);
}

.normalmetre-test-card {
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid var(--border-color);
}

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

.normalmetre-test-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.normalmetre-test-category {
  width: max-content;
  margin-bottom: 1em;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-purple);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.normalmetre-test-content {
  padding: 20px;
}

.normalmetre-test-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
  line-height: 1.3;
}

.normalmetre-test-description {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: 15px;
  line-height: 1.5;
}

.normalmetre-test-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.normalmetre-test-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.normalmetre-test-btn {
  background-color: var(--primary-pink);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.normalmetre-test-btn:hover {
  background-color: var(--primary-purple);
  color: white;
}

.normalmetre-test-btn-outline {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-medium);
  padding: 8px 12px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.normalmetre-test-btn-outline:hover {
  border-color: var(--primary-purple);
  color: var(--primary-purple);
}

.normalmetre-categories {
  margin: 50px 0;
}

.normalmetre-category-card {
  background-color: white;
  border-radius: 16px;
  padding: 25px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.normalmetre-category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.normalmetre-category-icon {
  font-size: 2.5rem;
  color: var(--primary-purple);
  margin-bottom: 15px;
}

.normalmetre-category-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.normalmetre-category-count {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.normalmetre-category-btn {
  background-color: transparent;
  border: 1px solid var(--primary-pink);
  color: var(--primary-pink);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.normalmetre-category-btn:hover {
  background-color: var(--primary-pink);
  color: white;
}

.normalmetre-slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 8px;
}

.normalmetre-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.normalmetre-slider-dot.active {
  background-color: var(--primary-pink);
  width: 30px;
  border-radius: 5px;
}

/* Buzzfeed tarzı ek özellikler */
.normalmetre-header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.normalmetre-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-pink);
  text-decoration: none;
}

.normalmetre-nav {
  display: flex;
  gap: 25px;
  align-items: center;
}

.normalmetre-nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.normalmetre-nav-link:hover {
  color: var(--primary-pink);
}

.normalmetre-search-bar {
  display: flex;
  max-width: 400px;
  margin: 30px auto;
}

.normalmetre-search-input {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid var(--border-color);
  border-radius: 50px 0 0 50px;
  font-size: 1rem;
  outline: none;
}

.normalmetre-search-btn {
  background-color: var(--primary-pink);
  color: white;
  border: none;
  padding: 0 25px;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.normalmetre-search-btn:hover {
  background-color: var(--primary-purple);
}

.normalmetre-footer {
  background-color: white;
  padding: 40px 0;
  margin-top: 50px;
  border-top: 1px solid var(--border-color);
}

.normalmetre-footer-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.normalmetre-footer-links {
  list-style: none;
  padding: 0;
}

.normalmetre-footer-links li {
  margin-bottom: 10px;
}

.normalmetre-footer-links a {
  color: var(--text-medium);
  text-decoration: none;
  transition: color 0.3s ease;
}

.normalmetre-footer-links a:hover {
  color: var(--primary-pink);
}

.normalmetre-social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.normalmetre-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.normalmetre-social-link:hover {
  background-color: var(--primary-pink);
  color: white;
}

.normalmetre-copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 0.9rem;
}

/* --- Üst Hikaye Listesi --- */
.nm-story-container {
  /* background-color: #fff; */
  border-radius: 12px;
  /* padding: 16px 0; */
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
  margin-bottom: 24px;
  margin-top: -3em;
}

.nm-story-thumb {
  cursor: pointer;
  text-align: center;
  width: 80px; /* Sabit genişlik */
  flex-shrink: 0;
}

.nm-story-thumb-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 8px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  background: linear-gradient(
    45deg,
    var(--secondary-color),
    var(--primary-color)
  );
  transition: transform 0.2s ease-in-out;
}

.nm-story-thumb:hover .nm-story-thumb-ring {
  transform: scale(1.05);
}

.nm-story-thumb-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
}

.nm-story-thumb-username {
  font-size: 12px;
  color: #262626;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- Hikaye Görüntüleyici Modal --- */
.nm-story-viewer-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.nm-story-viewer-modal.active {
  display: block;
  opacity: 1;
}

.nm-story-viewer-container {
  width: 100%;
  height: 100%;
  max-width: 450px; /* Instagram'a benzer bir genişlik */
  max-height: 95vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.nm-story-viewer .swiper-slide {
  border-radius: 12px;
  overflow: hidden;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nm-story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Görüntüleyici UI Elemanları */
.nm-story-ui-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.nm-story-progress-bars {
  position: absolute;
  top: 15px;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 4px;
  z-index: 20;
}

.nm-story-progress-bar {
  flex-grow: 1;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  overflow: hidden;
}

.nm-story-progress-bar-fill {
  height: 100%;
  background-color: #fff;
  width: 0;
  transition: width var(--story-duration) linear;
}

.nm-story-progress-bar-fill.active {
  width: 100%;
}

.nm-story-progress-bar-fill.finished {
  width: 100%;
  transition: none;
}

.nm-story-user-info {
  position: absolute;
  top: 30px;
  left: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 20;
  pointer-events: all;
}

.nm-story-user-info img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
}

.nm-story-user-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.nm-story-username {
  color: #fff;
  font-weight: 500;
  font-size: 14px;
}

.nm-story-sponsored-label {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

.nm-story-close-btn {
  position: absolute;
  top: 55px;
  right: 20px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  z-index: 1001; /* Modal'ın üzerinde olmalı */
  pointer-events: all;
  background-color: rgba(0, 0, 0, 0.3);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}
.nm-story-close-btn:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.nm-story-link-button {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  padding: 12px 24px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  z-index: 20;
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}
.nm-story-link-button:hover {
  transform: translateX(-50%) scale(1.05);
  background-color: #fff;
}

.nm-story-viewer .swiper-button-next,
.nm-story-viewer .swiper-button-prev {
  color: #fff;
  width: 30%;
  height: 100%;
  top: 0;
  margin-top: 0;
  background-image: none;
  opacity: 0.2;
  transition: opacity 0.2s;
}
.nm-story-viewer .swiper-button-next:hover,
.nm-story-viewer .swiper-button-prev:hover {
  opacity: 0.8;
}
.nm-story-viewer .swiper-button-next::after,
.nm-story-viewer .swiper-button-prev::after {
  font-size: 32px;
}

.nm-story-viewer .swiper-button-next {
  right: 0;
}
.nm-story-viewer .swiper-button-prev {
  left: 0;
}

.nm-story-slider .swiper-slide {
    width: auto; 
}

@media (max-width: 768px) {
  .normalmetre-hero-slide {
    height: 300px;
    padding: 0 20px;
  }

  .normalmetre-hero-content {
    max-width: 100%;
    text-align: center;
  }

  .normalmetre-hero-image {
    display: none;
  }

  .normalmetre-hero-title {
    font-size: 1.8rem;
  }

  .normalmetre-section-title {
    font-size: 1.5rem;
  }

  .normalmetre-nav {
    display: none;
  }
}
