
/* بنەڕەتی گشتی */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  line-height: 1.6;
  color: #333;
}

/* Main Header */
.main-header {
  background: linear-gradient(135deg, #ff7f50, #ff4500);
  color: white;
  padding: 15px 20px;
  position: relative;
  text-align: center;
  box-shadow: 0 4px 20px rgba(255, 69, 0, 0.3);
}

.main-header h1 {
  margin: 0;
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  font-weight: bold;
}

.menu-btn {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  font-size: 28px;
  cursor: pointer;
  display: none;
  background: none;
  border: none;
  color: white;
  padding: 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.menu-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-50%) scale(1.1);
}

/* مۆبایل مینوو */
.nav-menu ul {
  list-style: none;
  margin: 15px 0 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-menu li {
  margin: 5px;
}

.nav-menu a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding: 12px 18px;
  border-radius: 25px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
}

.nav-menu a:hover {
  background: white;
  color: #ff4500;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

@media screen and (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .main-header h1 {
    font-size: 2rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 300px;
    background: linear-gradient(180deg, #ff7f50, #ff4500);
    z-index: 1000;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 80px 20px 20px;
    overflow-y: auto;
    box-shadow: 5px 0 20px rgba(0,0,0,0.3);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 15px;
  }

  .nav-menu li {
    margin: 0;
    width: 100%;
  }

  .nav-menu a {
    width: 100%;
    justify-content: flex-start;
    padding: 18px 25px;
    font-size: 1.1rem;
    border-radius: 15px;
  }
}

/* overlay بۆ مۆبایل مینوو */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  backdrop-filter: blur(3px);
}

.nav-overlay.active {
  display: block;
}

/* ناوەڕۆکی سەرەکی */
main {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Arc‐Container & Chapters List */
.arc-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 25px;
margin-bottom: 40px;
}

.arc {
background-color: #ffffff;
border: 2px solid #ffd1a4;
border-radius: 15px;
box-shadow: 0 6px 20px rgba(0,0,0,0.1);
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.arc:hover {
transform: translateY(-6px);
box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.arc-header {
display: flex;
align-items: center;
background: linear-gradient(135deg, #ffb07c, #ff9966);
padding: 16px 20px;
cursor: pointer;
direction: ltr;
transition: background 0.3s ease;
}

.arc-header:hover {
background: linear-gradient(135deg, #ff9966, #ff7f50);
}

.arc-header .toggle-icon {
order: 0;
margin-right: 12px;
font-size: 1.3rem;
color: #ffffff;
transition: transform 0.3s ease;
transform: rotate(180deg);
font-weight: bold;
}

.arc-header .text-container {
order: 1;
flex: 1;
text-align: right;
}

.arc-header h2 {
font-size: 1.4rem;
color: #ffffff;
margin: 0;
text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.arc-header p {
font-size: 1rem;
color: #f3e0d6;
margin-top: 6px;
}

.arc-header.collapsed .toggle-icon {
transform: rotate(180deg) rotate(-90deg);
}

.chapter-list {
list-style: none;
display: none;
grid-template-columns: repeat(auto-fill, minmax(65px, 1fr));
gap: 12px;
padding: 20px;
background: linear-gradient(135deg, #fffaf0, #fff8f0);
animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}

.chapter-list.open {
display: grid;
}

.chapter-list li {
background: linear-gradient(135deg, #ffe8c5, #ffd1a4);
border: 2px solid #ffb07c;
border-radius: 8px;
text-align: center;
transition: all 0.3s ease;
overflow: hidden;
}

.chapter-list li:hover {
background: linear-gradient(135deg, #ffdbac, #ffc896);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(255,127,80,0.3);
}

.chapter-list a {
display: block;
padding: 12px 8px;
text-decoration: none;
color: #333;
font-size: 1rem;
font-weight: 600;
transition: all 0.3s ease;
}

.chapter-list a:hover {
color: #ff4500;
transform: scale(1.05);
}

/* Responsive for different screen sizes */
@media (max-width: 1024px) {
.arc-container {
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
}
}

@media (max-width: 768px) {
.manga-title h1 {
font-size: 2.5rem;
}

.arc-container {
grid-template-columns: 1fr;
gap: 15px;
}

.chapter-list {
grid-template-columns: repeat(auto-fill, minmax(55px, 1fr));
gap: 10px;
padding: 15px;
}
}

@media (max-width: 480px) {
.manga-title {
padding: 20px;
margin-bottom: 25px;
}

.manga-title h1 {
font-size: 2rem;
}

.manga-title p {
font-size: 1rem;
}

.arc-header h2 {
font-size: 1.1rem;
}

.arc-header p {
font-size: 0.9rem;
}

.chapter-list {
grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
gap: 8px;
}

.chapter-list a {
padding: 10px 6px;
font-size: 0.9rem;
}
}

/* Welcome Message */
.welcome-message {
  text-align: center;
  background: linear-gradient(135deg, white);
  color: white;
  padding: 30px;
  border-radius: 15px;
  font-size: 1.3rem;
  font-weight: bold;
  box-shadow: 0 8px 25px rgba(255,127,80,0.3);
}

/* Title Animations */
@keyframes hunterPulse {
  0%, 100% { 
    transform: scale(1); 
    filter: brightness(1);
  }
  50% { 
    transform: scale(1.05); 
    filter: brightness(1.2);
  }
}

@keyframes xRotate {
  0% { 
    transform: rotate(0deg) scale(1); 
    filter: brightness(1);
  }
  25% { 
    transform: rotate(90deg) scale(1.1); 
    filter: brightness(1.3);
  }
  50% { 
    transform: rotate(180deg) scale(1); 
    filter: brightness(1);
  }
  75% { 
    transform: rotate(270deg) scale(1.1); 
    filter: brightness(1.3);
  }
  100% { 
    transform: rotate(360deg) scale(1); 
    filter: brightness(1);
  }
}

@keyframes hunterBounce {
  0%, 100% { 
    transform: translateY(0) scale(1); 
    filter: brightness(1);
  }
  25% { 
    transform: translateY(-8px) scale(1.03); 
    filter: brightness(1.15);
  }
  50% { 
    transform: translateY(0) scale(1); 
    filter: brightness(1);
  }
  75% { 
    transform: translateY(-4px) scale(1.02); 
    filter: brightness(1.1);
  }
}

.hunter1 {
  color: white !important;
  text-shadow: 
    -2px -2px 0 #ff0000,
    2px -2px 0 #ff0000,
    -2px 2px 0 #ff0000,
    2px 2px 0 #ff0000,
    0 0 10px #ff000080,
    0 0 20px #ff000060 !important;
  display: inline-block;
  animation: hunterPulse 1.5s ease-in-out infinite;
}

.x-symbol {
  color: #00ff00 !important;
  text-shadow: 
    0 0 10px #00ff00,
    0 0 20px #00ff0080,
    0 0 30px #00ff0060 !important;
  display: inline-block;
  margin: 0 0.2em !important;
  animation: xRotate 3s linear infinite;
}

.hunter2 {
  color: #ff8c00 !important;
  text-shadow: 
    0 0 10px #ff8c00,
    0 0 20px #ff8c0080,
    0 0 30px #ff8c0060 !important;
  display: inline-block;
  animation: hunterBounce 2s ease-in-out infinite;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    margin-top: 50px;
    color: #666;
    font-size: 1rem;
    border-top: 3px solid #ff6600;
}

/* Responsive Adjustments for main & header */
@media screen and (max-width: 1024px) {
  main {
    padding: 20px 15px;
  }
}

@media screen and (max-width: 480px) {
  .main-header h1 {
    font-size: 1.8rem;
  }
  .welcome-message {
    font-size: 1.1rem;
    padding: 20px;
  }
}

@font-face {
  font-family: 'footer';
  src: url('../fonts/K24KurdishLight-Light.ttf') format('truetype');
}
footer p {
  font-family: 'footer', 'Segoe UI', sans-serif !important;
}