@import "tailwindcss";

:root {
  --background: #000000;
  --foreground: #ffffff;
  --primary-gold: #FFD700;
  --secondary-gold: #FFA500;
  --accent-purple: #9D4EDD;
  --accent-blue: #4A90E2;
  --dark-bg: #0A0A0A;
  --card-bg: rgba(255, 255, 255, 0.03);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  position: relative;
  margin: 0;
  padding: 0;
}

/* Cinematic Background with Depth */
.cinematic-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(157, 78, 221, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(74, 144, 226, 0.1), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(255, 215, 0, 0.08), transparent),
    linear-gradient(180deg, #000000 0%, #0A0A0A 50%, #000000 100%);
  overflow: hidden;
  pointer-events: none;
}

.cinematic-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(255, 255, 255, 0.03) 4px
    );
  animation: filmGrain 8s steps(10) infinite;
  pointer-events: none;
}

@keyframes filmGrain {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.5; }
}

/* Animated Light Rays - Sadece anasayfada */
.light-ray {
  position: fixed;
  width: 1px;
  height: 100vh;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 215, 0, 0.1) 20%,
    rgba(157, 78, 221, 0.2) 50%,
    rgba(74, 144, 226, 0.1) 80%,
    transparent 100%
  );
  animation: rayMove 15s ease-in-out infinite;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

@keyframes rayMove {
  0% {
    transform: translateX(-100px) rotate(2deg);
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: translateX(calc(100vw + 100px)) rotate(-2deg);
    opacity: 0;
  }
}

/* Premium Glass Card - Cinematic Depth */
.premium-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.premium-card:hover::before {
  left: 100%;
}

.premium-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 40px rgba(255, 215, 0, 0.2);
}

/* Hero Title - Cinematic Typography */
.cinematic-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #FFD700 30%,
    #ffffff 60%,
    #9D4EDD 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleShine 6s ease infinite;
  filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.3));
  position: relative;
  text-align: center;
  width: 100%;
}

@keyframes titleShine {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.cinematic-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffffff, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: titleGlow 3s ease-in-out infinite;
  filter: blur(20px);
}

@keyframes titleGlow {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 0.3;
  }
}

/* Premium Textarea */
.premium-textarea {
  width: 100%;
  padding: 28px 32px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  line-height: 1.8;
  resize: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  min-height: 200px;
}

.premium-textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.premium-textarea:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 
    0 0 0 4px rgba(255, 215, 0, 0.1),
    0 0 40px rgba(255, 215, 0, 0.3);
  transform: scale(1.01);
}

/* Modern Textarea - Minimal & Clean */
.modern-textarea {
  width: 100%;
  padding: 24px 28px;
  padding-bottom: 48px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 16px;
  line-height: 1.7;
  resize: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  min-height: 240px;
}

.modern-textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
  font-weight: 300;
}

.modern-textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 
    0 0 0 1px rgba(255, 215, 0, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.3);
}

.modern-textarea:hover:not(:focus) {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

/* Premium Button - Cinematic */
.premium-button {
  width: 100%;
  padding: 24px 48px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(157, 78, 221, 0.2));
  border: 2px solid rgba(255, 215, 0, 0.4);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  font-family: inherit;
}

.premium-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.premium-button:hover::before {
  width: 300px;
  height: 300px;
}

.premium-button:hover {
  border-color: rgba(255, 215, 0, 0.8);
  box-shadow: 
    0 0 30px rgba(255, 215, 0, 0.5),
    inset 0 0 30px rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.premium-button:active {
  transform: translateY(0) scale(0.98);
}

.premium-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Modern Button - Minimal & Elegant */
.modern-button {
  width: 100%;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

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

.modern-button:hover::before {
  left: 100%;
}

.modern-button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 215, 0, 0.1);
  transform: translateY(-1px);
}

.modern-button:active {
  transform: translateY(0);
}

.modern-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  border-color: rgba(255, 255, 255, 0.05);
}

/* Arabic Text - Premium Styling */
.arabic {
  font-family: "Amiri", "Scheherazade New", "Arabic Typesetting", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 2.2;
  direction: rtl;
  text-align: center;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 
    0 0 10px rgba(255, 215, 0, 0.3),
    0 2px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  padding: 0 20px;
}

/* Result Cards - Cinematic Reveal */
.result-card {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  animation: cinematicReveal 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  margin-bottom: 1.5rem;
}

@keyframes cinematicReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95) rotateX(10deg);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
    filter: blur(0);
  }
}

.result-card:nth-child(1) {
  animation-delay: 0.2s;
}

.result-card:nth-child(2) {
  animation-delay: 0.4s;
}

.result-card:nth-child(3) {
  animation-delay: 0.6s;
}

.result-card:nth-child(4) {
  animation-delay: 0.8s;
}

.result-card:nth-child(5) {
  animation-delay: 1s;
}

.result-card:nth-child(4) {
  animation-delay: 0.8s;
}

.result-card:nth-child(5) {
  animation-delay: 1s;
}

/* Gold Accent Line */
.gold-accent {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.gold-accent::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FFD700, transparent);
  border-radius: 2px;
}

/* Loading Animation */
.loading-dots {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.loading-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.8);
  animation: loadingPulse 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loadingPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.5);
    opacity: 1;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 215, 0, 0.8), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.5;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(10px);
  }
}

/* Navigation Bar - Icon Buttons */
.nav-icon-button {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  z-index: 10;
}

.nav-icon-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 215, 0, 0.5);
  transform: translateY(-2px) scale(1.05);
  color: rgba(255, 215, 0, 1);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.nav-icon-button:active {
  transform: translateY(0) scale(0.95);
}

.nav-icon-button svg {
  width: 20px;
  height: 20px;
}

/* Language Dropdown */
.relative.group {
  position: relative;
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.group:hover .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-option:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 1);
}

.language-option.active {
  background: rgba(255, 215, 0, 0.15);
  color: rgba(255, 215, 0, 1);
  border: 1px solid rgba(255, 215, 0, 0.3);
}


/* Responsive Adjustments */
@media (max-width: 768px) {
  .cinematic-title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }
  
  .premium-card {
    border-radius: 20px;
  }
  
  .arabic {
    font-size: clamp(1.2rem, 5vw, 2rem);
    word-break: break-word;
    overflow-wrap: break-word;
  }
  
  nav {
    padding: 12px;
  }
  
  .nav-icon-button {
    width: 40px;
    height: 40px;
  }
  
  .nav-icon-button svg {
    width: 18px;
    height: 18px;
  }
}

/* Smooth Page Transition */
.page-enter {
  opacity: 0;
  transform: translateY(20px);
}

.page-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Particle Effect - Sadece anasayfada */
.particle {
  position: fixed;
  width: 2px;
  height: 2px;
  background: rgba(255, 215, 0, 0.6);
  border-radius: 50%;
  animation: particleFloat 8s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(50px);
    opacity: 0;
  }
}

/* Premium Textarea New - Enhanced Design */
.premium-textarea-new {
  width: 100%;
  padding: 22px 26px;
  padding-bottom: 40px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 16px;
  line-height: 1.7;
  resize: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  min-height: 200px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.premium-textarea-new::placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 300;
}

.premium-textarea-new:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 
    0 12px 48px rgba(0, 0, 0, 0.4),
    0 0 0 3px rgba(255, 215, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.premium-textarea-new:hover:not(:focus) {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Premium Button New - Enhanced Design */
.premium-button-new {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(157, 78, 221, 0.15));
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1.5px solid rgba(255, 215, 0, 0.35);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.98);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 215, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

.premium-button-new:hover::before {
  left: 100%;
}

.premium-button-new::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.25);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.premium-button-new:hover::after {
  width: 400px;
  height: 400px;
}

.premium-button-new:hover {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.22), rgba(157, 78, 221, 0.22));
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 
    0 12px 48px rgba(0, 0, 0, 0.4),
    0 0 0 2px rgba(255, 215, 0, 0.2),
    0 0 40px rgba(255, 215, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.premium-button-new:active {
  transform: translateY(-1px) scale(0.98);
}

.premium-button-new:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

/* Religion Buttons */
.religion-selector {
  margin-bottom: 1.5rem;
}

.religion-selector label {
  display: block;
  text-align: center;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.religion-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.religion-btn {
  padding: 0.625rem 1.5rem;
  border-radius: 0.75rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.religion-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.5);
}

.religion-btn.active {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(157, 78, 221, 0.3));
  border: 2px solid rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
  transform: scale(1.05);
  color: rgba(255, 255, 255, 1);
  font-weight: 600;
}

.religion-icon {
  font-size: 1.125rem;
}

/* Textarea Wrapper */
.textarea-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.char-counter {
  position: absolute;
  bottom: 0.75rem;
  right: 1rem;
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
  z-index: 10;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-content {
  max-width: 42rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.close-btn {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 0.5rem;
}

.close-btn:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
}

.modal-body {
  margin-bottom: 1.5rem;
}

.modal-body p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.modal-body blockquote {
  margin: 1.5rem 0;
  padding: 1rem;
  border-left: 3px solid rgba(255, 215, 0, 0.5);
  background: rgba(255, 215, 0, 0.05);
  font-style: italic;
  color: rgba(255, 215, 0, 0.9);
}

.modal-footer {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer h3 {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.95);
}

.modal-footer p {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.modal-footer a {
  color: rgba(255, 215, 0, 0.9);
  text-decoration: none;
}

.modal-footer a:hover {
  color: rgba(255, 215, 0, 1);
  text-decoration: underline;
}

/* Nav Container */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Container */
.container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 6rem 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Results Section - Boş ekrana kaydırmasın */
.results-section {
  padding-bottom: 2rem;
  max-height: none;
}

.results-section::after {
  content: '';
  display: block;
  height: 0;
  clear: both;
}

/* Hero Section */
.hero-section {
  text-align: center;
  margin-bottom: 2rem;
  margin-top: -2rem;
  padding-top: 0;
}

.description {
  font-size: clamp(0.875rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  letter-spacing: 0.025em;
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.7;
  text-align: center;
}

/* Input Section */
.input-section {
  max-width: 42rem;
  margin: 0 auto;
}

/* Error Card */
.error-card {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.1);
  padding: 2rem;
  margin-bottom: 3rem;
}

.error-card p {
  color: rgba(252, 165, 165, 1);
  text-align: center;
  font-size: 1.125rem;
}

/* Results Section */
.results-section {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2rem;
  /* Boş ekrana kaydırmasın - sadece içerik kadar scroll */
  min-height: auto;
}

.verse-card {
  position: relative;
  overflow: hidden;
}

.glow-effect {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(157, 78, 221, 0.1), rgba(74, 144, 226, 0.1));
  filter: blur(3rem);
  z-index: -1;
}

.verse-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reference-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

.reference-badge span {
  font-size: clamp(0.625rem, 1.5vw, 0.875rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.reference-badge button {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
}

.reference-badge button:hover {
  color: rgba(255, 255, 255, 0.9);
}

.verse-text {
  font-size: clamp(1.125rem, 3vw, 1.875rem);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  text-align: center;
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.card-header .icon {
  font-size: 2rem;
}

.card-header h3,
.card-header h4 {
  font-size: clamp(1.125rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.translation-name {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-bottom: 0.5rem;
}

.translation-text,
.reason-text,
.message-text,
.dua-text {
  font-size: clamp(0.875rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  text-align: center;
  font-weight: 300;
  padding: 0 0.25rem;
}

/* Loading Dots */
.loading-dots {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.loading-dots span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.8);
  animation: loadingPulse 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loadingPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.5);
    opacity: 1;
  }
}
