/* ========== ANILTASI - RED THEME - OPTIMIZED ========== */

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

/* Font optimization */
@font-face {
  font-family: 'Poppins';
  font-display: swap;
  font-weight: 400 700;
  src: local('Poppins');
}

:root {
  --red-primary: #ff2d55;
  --red-dark: #ff1744;
  --red-light: #ff6b81;
  --red-glow: rgba(255, 45, 85, 0.3);
  
  --bg-dark: #0a0a0f;
  --bg-darker: #050508;
  --bg-card: #13131a;
  --bg-card-hover: #1a1a24;
  
  --text-primary: #ffffff;
  --text-secondary: #b4b4c8;
  --text-muted: #6b6b7e;
  
  --border: rgba(255, 45, 85, 0.1);
  --border-hover: rgba(255, 45, 85, 0.3);
}

html {
  font-size: 16px;
  scroll-behavior: auto;
  overflow-x: hidden;
  overflow-anchor: none;
  /* iOS overscroll fix */
  overscroll-behavior: none;
  overscroll-behavior-y: none;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: 'Poppins', -apple-system, sans-serif;
  background: var(--bg-darker);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  overflow-anchor: none;
  /* iOS overscroll fix - prevent white bounce */
  overscroll-behavior: none;
  overscroll-behavior-y: none;
  -webkit-overflow-scrolling: touch;
  /* Ensure background color is always visible */
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ========== ANIMATED BACKGROUND ========== */
.bg-animation {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 45, 85, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 107, 129, 0.02) 0%, transparent 50%);
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
  animation: float 25s infinite ease-in-out;
  will-change: transform;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--red-primary), transparent);
  top: -200px;
  left: -200px;
  animation-duration: 20s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--red-dark), transparent);
  bottom: -150px;
  right: -150px;
  animation-delay: -10s;
  animation-duration: 30s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--red-light), transparent);
  top: 40%;
  right: 20%;
  animation-delay: -5s;
  animation-duration: 25s;
}

@keyframes float {
  0%, 100% { 
    transform: translate(0, 0) scale(1);
  }
  33% { 
    transform: translate(50px, -30px) scale(1.1);
  }
  66% { 
    transform: translate(-30px, 30px) scale(0.95);
  }
}

/* ========== LOADER ========== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: loaderFadeOut 0.6s ease 2s forwards;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  -webkit-overflow-scrolling: auto;
}

/* Loader aktifken body scroll'u engelle */
body:has(.loader[style*="display: flex"]),
body:has(.loader:not([style*="display: none"])) {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
}

.loader-wrapper {
  text-align: center;
  position: relative;
  animation: loaderFadeIn 0.5s ease forwards;
  will-change: opacity, transform;
}

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

.spinner {
  width: 100px;
  height: 100px;
  margin: 0 auto 32px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spinnerScale 0.6s ease forwards;
  will-change: opacity, transform;
}

@keyframes spinnerScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.spinner-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-top-color: var(--red-primary);
  border-radius: 50%;
  animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.spinner-circle:nth-child(2) {
  width: 70%;
  height: 70%;
  border-top-color: var(--red-dark);
  animation-delay: -0.5s;
}

.spinner-circle:nth-child(3) {
  width: 40%;
  height: 40%;
  border-top-color: var(--red-light);
  animation-delay: -1s;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loader h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: loaderTextFade 0.5s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
  will-change: opacity, transform;
}

.loader p {
  color: var(--text-muted);
  font-size: 16px;
  animation: loaderTextFade 0.4s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
  will-change: opacity, transform;
}

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

@keyframes loaderFadeOut {
  to {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
}

/* ========== FLOATING LANGUAGE SWITCHER ========== */
.lang-switcher-float {
  position: fixed;
  top: 32px;
  right: 32px;
  z-index: 1000;
  display: flex;
  gap: 4px;
  background: rgba(13, 13, 26, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.5s;
}

.lang-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  color: white;
  box-shadow: 0 4px 12px var(--red-glow);
  transform: scale(1.05);
}

.lang-btn:hover:not(.active) {
  background: rgba(255, 45, 85, 0.1);
  color: var(--red-primary);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 60px;
}

.hero-content {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero-badges {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.3s;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.badge-premium {
  background: rgba(255, 45, 85, 0.1);
  color: var(--red-primary);
}

.badge-verified {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.badge svg {
  width: 10px;
  height: 10px;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.5s;
}

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

.gradient-text {
  background: linear-gradient(120deg, var(--red-primary) 0%, var(--red-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.7s;
}

.hero-stats-grid {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.9s;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 100px;
}

.stat-value {
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--red-primary), var(--red-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.1s;
  margin-bottom: 60px;
}

/* Scroll Down Indicator - SADECE MOBİLDE */
.scroll-indicator {
  display: none; /* PC'de gizli */
}

@media (max-width: 768px) {
  .scroll-indicator {
    display: flex !important;
    position: absolute !important;
    bottom: 35px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    opacity: 0.75 !important;
    cursor: pointer !important;
    z-index: 10 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .scroll-arrow {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    background: rgba(255, 45, 85, 0.18) !important;
    border: 2px solid rgba(255, 45, 85, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s !important;
  }
  
  .scroll-arrow svg {
    color: var(--red-primary) !important;
    width: 26px !important;
    height: 26px !important;
  }
  
  .scroll-indicator:active {
    opacity: 1 !important;
  }
  
  .scroll-indicator:active .scroll-arrow {
    background: rgba(255, 45, 85, 0.3) !important;
    transform: scale(0.92) !important;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s ease;
}

.btn-primary {
  background: rgba(255, 45, 85, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 45, 85, 0.2);
  color: var(--red-primary);
  box-shadow: 
    0 8px 32px rgba(255, 45, 85, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 
      0 8px 32px rgba(255, 45, 85, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 
      0 8px 40px rgba(255, 45, 85, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 45, 85, 0.3), rgba(255, 23, 68, 0.2));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 50px;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: rgba(255, 45, 85, 0.4);
  background: rgba(255, 45, 85, 0.15);
  box-shadow: 
    0 16px 48px rgba(255, 45, 85, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover svg {
  transform: translateY(4px);
  animation: bounce 0.6s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(4px); }
  50% { transform: translateY(8px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ========== ABOUT ========== */
.about-section {
  padding: 80px 0;
}

.about-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  opacity: 0.03;
}

.about-avatar {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.about-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--red-primary);
  box-shadow: 0 8px 24px var(--red-glow);
}

.about-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.about-content h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 15px;
}

.btn-youtube {
  background: #ff0000;
  color: white;
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
}

.btn-youtube:hover {
  background: #cc0000;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.4);
}

/* ========== SEARCH ========== */
.search-section {
  padding: 60px 0;
}

.search-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 8px 8px 8px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
}

.search-wrapper:focus-within {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 4px var(--red-glow);
}

.search-icon {
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-wrapper input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
}

.search-wrapper input::placeholder {
  color: var(--text-muted);
}

.search-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: var(--bg-darker);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.search-badge kbd {
  padding: 2px 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 11px;
}

/* ========== ANNOUNCEMENTS BAR (TOP FIXED) ========== */
.announcements-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.announcement-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  position: relative;
}

.announcement-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.announcement-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.announcement-content {
  flex: 1;
  min-width: 0;
}

.announcement-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
}

.announcement-message {
  font-size: 13px;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announcement-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
  flex-shrink: 0;
  line-height: 1;
}

.announcement-close:hover {
  background: rgba(255, 45, 85, 0.1);
  color: var(--red-primary);
}

/* Announcement types */
.announcement-item.info {
  color: #93c5fd;
}

.announcement-item.info .announcement-icon {
  color: #3b82f6;
}

.announcement-item.success {
  color: #86efac;
}

.announcement-item.success .announcement-icon {
  color: #4ade80;
}

.announcement-item.warning {
  color: #fde047;
}

.announcement-item.warning .announcement-icon {
  color: #fbbf24;
}

.announcement-item.error {
  color: #ff6b81;
}

.announcement-item.error .announcement-icon {
  color: #ff2d55;
}

/* Mobile announcements */
@media (max-width: 768px) {
  .announcements-bar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  
  .announcement-wrapper {
    padding: 10px 0;
    gap: 12px;
  }
  
  .announcement-icon {
    font-size: 16px;
  }
  
  .announcement-title {
    font-size: 12px;
  }
  
  .announcement-message {
    font-size: 11px;
  }
  
  .announcement-close {
    font-size: 18px;
    padding: 2px 6px;
  }
}

/* ========== SCRIPTS ========== */
.scripts-section {
  padding: 80px 0 100px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
}

/* Category Filter */
.category-filter {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.category-btn {
  padding: 10px 20px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 50px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.category-btn:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
  background: rgba(255, 45, 85, 0.05);
}

.category-btn.active {
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  border-color: var(--red-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(255, 45, 85, 0.3);
}

.scripts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  min-height: 400px;
}

/* Pagination */
.pagination {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 48px;
  flex-wrap: wrap;
}

.pagination-btn {
  padding: 12px 20px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--red-primary);
  color: var(--red-primary);
  background: rgba(255, 45, 85, 0.05);
  transform: translateY(-2px);
}

.pagination-btn.active {
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  border-color: var(--red-primary);
  color: white;
  box-shadow: 0 4px 16px rgba(255, 45, 85, 0.3);
}

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

.pagination-info {
  color: var(--text-muted);
  font-size: 13px;
  padding: 0 12px;
}

.script-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.script-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  opacity: 0;
  transition: opacity 0.3s;
}

.script-card:hover {
  transform: translateY(-6px);
  border-color: var(--red-primary);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.script-card:hover::before {
  opacity: 0.05;
}

/* 🔥 HOT Script - Kırmızı Öne Çıkan Kutu */
.script-card[data-hot="true"] {
  background: linear-gradient(135deg, rgba(255, 45, 85, 0.12), rgba(255, 45, 85, 0.03));
  border: 2px solid rgba(255, 45, 85, 0.5);
  box-shadow: 0 0 30px rgba(255, 45, 85, 0.2), 0 12px 40px rgba(0, 0, 0, 0.4);
}

.script-card[data-hot="true"]:hover {
  border-color: var(--red-primary);
  box-shadow: 0 0 40px rgba(255, 45, 85, 0.3), 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* ✨ NEW Script - Yeşil Öne Çıkan Kutu */
.script-card[data-new="true"]:not([data-hot="true"]) {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.1), rgba(74, 222, 128, 0.02));
  border: 2px solid rgba(74, 222, 128, 0.4);
  box-shadow: 0 0 25px rgba(74, 222, 128, 0.15), 0 12px 40px rgba(0, 0, 0, 0.4);
}

.script-card[data-new="true"]:not([data-hot="true"]):hover {
  border-color: #4ade80;
  box-shadow: 0 0 35px rgba(74, 222, 128, 0.25), 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* 🔥 HOT Script - İndirme butonu KIRMIZI */
.script-card[data-hot="true"] .script-btn-download {
  background: linear-gradient(135deg, #ff2d55, #ff1744);
  border-color: rgba(255, 45, 85, 0.4);
}

.script-card[data-hot="true"] .script-btn-download:hover {
  background: linear-gradient(135deg, #ff1744, #ff0033);
  box-shadow: 0 0 20px rgba(255, 45, 85, 0.5);
}

/* ✨ NEW Script - İndirme butonu YEŞİL */
.script-card[data-new="true"]:not([data-hot="true"]) .script-btn-download {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  border-color: rgba(74, 222, 128, 0.4);
  color: #000;
}

.script-card[data-new="true"]:not([data-hot="true"]) .script-btn-download:hover {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
}

.script-header {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.script-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px var(--red-glow);
}

.script-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.script-info {
  flex: 1;
  min-width: 0;
}

.script-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.script-info h3 {
  font-size: 19px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  min-width: 0;
}

.badge-new,
.badge-hot {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  animation: badgePulse 2s ease-in-out infinite;
}

.badge-new {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  color: #000;
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}

.badge-hot {
  background: linear-gradient(135deg, #ff2d55, #ff1744);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 45, 85, 0.5);
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(255, 45, 85, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 45, 85, 0.6);
  }
}

/* HOT card special styling */
.script-card[data-hot="true"] {
  border-color: rgba(255, 45, 85, 0.4);
  background: linear-gradient(135deg, rgba(255, 45, 85, 0.02), rgba(255, 23, 68, 0.01));
}

.script-card[data-hot="true"]::before {
  opacity: 0.08;
}

.script-info p {
  font-size: 14px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.script-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.script-downloads {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.script-downloads svg {
  width: 16px;
  height: 16px;
}

.script-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.script-btn {
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.script-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px var(--red-glow);
}

.script-btn-youtube {
  background: #FF0000;
  padding: 10px 12px;
  min-width: unset;
}

.script-btn-youtube:hover {
  background: #cc0000;
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.script-btn-download {
  flex: 1;
  min-width: 120px;
}

/* ========== MODAL ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.show {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.modal-wrapper {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: 24px;
  max-width: 500px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
}

.modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-darker);
  color: var(--text-muted);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.modal-close:hover {
  background: var(--red-primary);
  color: white;
  transform: rotate(90deg);
}

.modal-body {
  padding: 20px;
}

.ad-container {
  background: linear-gradient(135deg, rgba(255, 45, 85, 0.05), rgba(255, 45, 85, 0.02));
  border: 2px solid var(--red-primary);
  border-radius: 16px;
  min-height: 260px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  margin-bottom: 24px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 45, 85, 0.15);
  touch-action: auto;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: rgba(255, 45, 85, 0.2);
  padding: 0;
  z-index: 1;
}

.ad-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 45, 85, 0.25);
  border-color: var(--red-secondary);
}

.ad-container:active {
  transform: scale(0.98);
  box-shadow: 0 2px 15px rgba(255, 45, 85, 0.3);
}

.ad-container::before {
  content: '🎯 Reklama tıkla, geri dön';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--red-primary), var(--red-secondary));
  color: white;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  z-index: 100;
  pointer-events: none;
  animation: pulseHint 2s ease-in-out infinite;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 12px rgba(255, 45, 85, 0.4);
}

@keyframes pulseHint {
  0%, 100% { 
    opacity: 1; 
    transform: translateX(-50%) scale(1); 
  }
  50% { 
    opacity: 0.8; 
    transform: translateX(-50%) scale(1.05); 
  }
}

#ad-slot {
  width: 100%;
  height: 100%;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  touch-action: auto;
  flex: 1;
  pointer-events: auto;
  -webkit-user-select: auto;
  user-select: auto;
}

#ad-slot > div {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ad-slot iframe,
#ad-slot ins {
  max-width: 100%;
  height: auto;
  min-height: 250px;
  border: none !important;
  display: block !important;
  margin: 0 auto;
}

/* Native Banner container */
#container-3648786946a67a8d2d8f31e8407fc055 {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 250px !important;
  pointer-events: auto !important;
  touch-action: auto !important;
  -webkit-user-select: auto !important;
  user-select: auto !important;
}

#container-3648786946a67a8d2d8f31e8407fc055 * {
  max-width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  touch-action: auto !important;
}

/* Ensure Adsterra content is visible */
#ad-slot script + * {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.countdown-section {
  margin-bottom: 20px;
  margin-top: -8px;
  display: none; /* Hidden by default, shown when countdown starts */
  animation: slideDown 0.4s ease-out;
}

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

/* Hide hint when countdown is active */
.ad-container:has(~ .countdown-section[style*="display: block"])::before,
.modal-body:has(.countdown-section[style*="display: block"]) .ad-container::before {
  display: none;
}

/* Ad container success state when countdown active */
.modal-body:has(.countdown-section[style*="display: block"]) .ad-container {
  border-color: #4ade80;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.05), rgba(74, 222, 128, 0.02));
  box-shadow: 0 4px 20px rgba(74, 222, 128, 0.2);
}

.countdown-bar {
  background: var(--bg-darker);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 45, 85, 0.2);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-fill {
  height: 100%;
  background: linear-gradient(90deg, #4ade80, #22c55e);
  width: 0%;
  transition: width 1s linear;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
  position: relative;
}

.countdown-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
  border-radius: 999px 999px 0 0;
}

.countdown-info {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  gap: 12px;
  padding: 8px;
  background: rgba(74, 222, 128, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.countdown-time {
  font-size: 28px;
  color: #22c55e;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(74, 222, 128, 0.3);
}

.ad-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  padding: 10px;
  background: rgba(255, 45, 85, 0.05);
  border-radius: 8px;
}

.ad-hint svg {
  flex-shrink: 0;
  opacity: 0.6;
}

/* ========== FOOTER ========== */
.footer {
  background: transparent;
  border-top: none;
  padding: 40px 0 20px;
}

.footer-simple {
  text-align: right;
}

.footer-simple p {
  color: var(--text-muted);
  font-size: 13px;
  opacity: 0.6;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
  .container {
    padding: 0 24px;
  }

  .hero-title {
    font-size: 52px;
  }

  .hero-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .lang-switcher-float {
    top: 16px;
    right: 16px;
    padding: 4px;
  }

  .lang-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .hero {
    min-height: 100svh;
    padding: 60px 0 40px;
  }

  .hero-title {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .hero-desc {
    font-size: 15px;
    padding: 0 20px;
  }

  .hero-badges {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-stats-grid {
    flex-wrap: wrap;
    gap: 20px;
  }

  .stat-box {
    min-width: 80px;
  }

  .stat-value {
    font-size: 32px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
  }

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

  .about-section {
    padding: 60px 0;
  }

  .about-card {
    flex-direction: column;
    padding: 32px 24px;
    text-align: center;
  }

  .about-avatar img {
    width: 100px;
    height: 100px;
  }

  .scripts-section {
    padding: 60px 0;
  }

  .scripts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .search-bar {
    padding: 14px 20px;
  }

  .search-badge {
    display: none;
  }

  /* Modal Responsive - Optimized for Mobile */
  .modal {
    padding: 8px;
    align-items: flex-start;
    padding-top: 40px;
  }

  .modal-wrapper {
    max-width: 100%;
    width: calc(100% - 16px);
    border-radius: 16px;
    max-height: calc(100vh - 80px);
    max-height: calc(100svh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-header {
    padding: 14px 16px;
    position: sticky;
    top: 0;
    background: var(--bg-card);
    z-index: 10;
  }

  .modal-header h3 {
    font-size: 15px;
  }

  .modal-close {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .modal-body {
    padding: 14px;
  }

  .ad-container {
    min-height: 240px;
    border-radius: 14px;
    margin-bottom: 18px;
    touch-action: auto !important;
    -webkit-tap-highlight-color: rgba(255, 45, 85, 0.3) !important;
    cursor: pointer;
    user-select: auto !important;
    -webkit-user-select: auto !important;
    padding: 0 !important;
    overflow: visible !important;
    pointer-events: auto !important;
  }
  
  .ad-container #ad-slot {
    width: 100% !important;
    height: 100% !important;
    min-height: 240px !important;
    pointer-events: auto !important;
    touch-action: auto !important;
  }
  
  .ad-container #ad-slot *,
  .ad-container #container-3648786946a67a8d2d8f31e8407fc055,
  .ad-container #container-3648786946a67a8d2d8f31e8407fc055 * {
    pointer-events: auto !important;
    touch-action: auto !important;
    -webkit-user-select: auto !important;
    user-select: auto !important;
  }

  .ad-container:active {
    border-color: var(--red-primary);
    transform: scale(0.98);
    box-shadow: 0 2px 15px rgba(255, 45, 85, 0.3);
  }

  .ad-container::before {
    font-size: 13px;
    padding: 10px 18px;
    top: 10px;
  }

  #ad-slot {
    min-height: 200px;
  }

  #ad-slot iframe,
  #container-3648786946a67a8d2d8f31e8407fc055 {
    min-height: 200px !important;
  }

  .countdown-section {
    margin-bottom: 14px;
  }

  .countdown-bar {
    height: 6px;
    margin-bottom: 10px;
  }

  .countdown-info {
    font-size: 13px;
  }

  .countdown-time {
    font-size: 22px;
  }

  .ad-hint {
    font-size: 12px;
    padding: 8px;
  }

  .script-btn {
    padding: 12px 24px;
    font-size: 15px;
    -webkit-tap-highlight-color: rgba(255, 45, 85, 0.2);
  }

  .script-btn:active {
    transform: scale(0.95);
  }

  .footer-simple {
    text-align: center;
    padding: 40px 20px;
  }
}

/* Extra small devices (phones in portrait, < 576px) */
@media (max-width: 576px) {
  .modal {
    padding: 4px;
    padding-top: 30px;
  }

  .modal-wrapper {
    max-height: calc(100vh - 60px);
    max-height: calc(100svh - 60px);
    border-radius: 12px;
  }

  .modal-header {
    padding: 12px 14px;
  }

  .modal-header h3 {
    font-size: 14px;
  }

  .modal-close {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .modal-body {
    padding: 12px;
  }

  .ad-container {
    min-height: 200px;
    margin-bottom: 16px;
    border-radius: 12px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
  }

  .ad-container:active {
    transform: scale(0.97);
    border-color: var(--red-primary);
  }

  .ad-container::before {
    font-size: 12px;
    padding: 8px 16px;
    top: 8px;
  }

  #ad-slot {
    min-height: 180px;
  }

  #ad-slot iframe,
  #container-3648786946a67a8d2d8f31e8407fc055 {
    min-height: 180px !important;
  }

  .countdown-time {
    font-size: 20px;
  }

  .countdown-info {
    font-size: 12px;
  }
}

/* ========== MOBILE PERFORMANCE OPTIMIZATIONS ========== */

/* GPU Acceleration for animations - DESKTOP ONLY */
@media (min-width: 769px) {
  .script-card,
  .modal-wrapper,
  .hero-content,
  .stat-card,
  .btn-primary,
  .script-btn {
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
}

/* ========================================
   ULTRA PERFORMANCE MODE - MOBİL
   Redmi Note 12 Pro / Chrome - 60 FPS
   ======================================== */
@media (max-width: 768px) {
  /* STEP 1: Disable MOST GPU-heavy operations (hero ve loader animasyonları hariç) */
  *:not(.hero *):not(.scroll-indicator *):not(.loader *):not(.loader-wrapper):not(.spinner):not(.loader h2):not(.loader p) {
    will-change: auto !important;
    transform: none !important;
    -webkit-transform: none !important;
    animation: none !important;
    transition: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
  }
  
  /* Hero ve loader animasyonları için optimization */
  .hero *,
  .loader-wrapper,
  .spinner,
  .loader h2,
  .loader p {
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    perspective: 1000px !important;
  }
  
  /* STEP 2: Solid colors ONLY - NO gradients/transparency */
  body {
    background: #050508 !important;
  }
  
  .script-icon,
  .btn-primary:not(.hero .btn-primary),
  .script-btn,
  .badge {
    background: #ff2d55 !important;
  }
  
  /* Badge renkleri mobilde de korunsun */
  .badge-new {
    background: #4ade80 !important;
    color: #000 !important;
  }
  
  .badge-hot {
    background: #ff2d55 !important;
    color: #fff !important;
  }
  
  .glass-card,
  .modal-wrapper,
  .script-card {
    background: #0f0f16 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  
  /* HOT/NEW kutu renkleri mobilde de görünsün */
  .script-card[data-hot="true"] {
    background: rgba(255, 45, 85, 0.1) !important;
    border: 2px solid rgba(255, 45, 85, 0.4) !important;
  }
  
  .script-card[data-new="true"]:not([data-hot="true"]) {
    background: rgba(74, 222, 128, 0.08) !important;
    border: 2px solid rgba(74, 222, 128, 0.3) !important;
  }
  
  /* HOT/NEW buton renkleri mobilde de korunsun */
  .script-card[data-hot="true"] .script-btn-download {
    background: #ff2d55 !important;
    border-color: rgba(255, 45, 85, 0.4) !important;
    color: #fff !important;
  }
  
  .script-card[data-new="true"]:not([data-hot="true"]) .script-btn-download {
    background: #4ade80 !important;
    border-color: rgba(74, 222, 128, 0.4) !important;
    color: #000 !important;
    font-weight: 700 !important;
  }
  
  /* Hero mobilde düzenli ve güzel + animasyonlu */
  .hero {
    background: #050508 !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 70px 20px 100px !important;
    position: relative !important;
  }
  
  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    padding: 0 !important;
  }
  
  /* Mobil animasyonlar - kasmasız, smooth */
  .hero-badges {
    opacity: 0 !important;
    transform: translateY(8px) !important;
    animation: mobileSlideUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
    animation-delay: 0.1s !important;
    will-change: opacity, transform !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
  }
  
  .hero-title {
    opacity: 0 !important;
    transform: translateY(12px) !important;
    animation: mobileSlideUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
    animation-delay: 0.2s !important;
    will-change: opacity, transform !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
  }
  
  .hero-desc {
    opacity: 0 !important;
    transform: translateY(8px) !important;
    animation: mobileSlideUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
    animation-delay: 0.35s !important;
    will-change: opacity, transform !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
  }
  
  .hero-stats-grid {
    opacity: 0 !important;
    transform: translateY(8px) !important;
    animation: mobileSlideUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
    animation-delay: 0.5s !important;
    will-change: opacity, transform !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
  }
  
  .hero-cta {
    opacity: 0 !important;
    transform: translateY(8px) !important;
    animation: mobileSlideUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
    animation-delay: 0.65s !important;
    will-change: opacity, transform !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
  }
  
  @keyframes mobileSlideUp {
    to {
      opacity: 1 !important;
      transform: translateY(0) !important;
    }
  }
  
  /* Badges - Görünür ve belirgin */
  .hero-badges {
    display: flex !important;
    gap: 12px !important;
    justify-content: center !important;
    margin-bottom: 28px !important;
    flex-wrap: wrap !important;
    opacity: 1 !important;
  }
  
  .badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
    background: rgba(255, 45, 85, 0.2) !important;
    border: 1.5px solid rgba(255, 45, 85, 0.5) !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-weight: 600 !important;
  }
  
  .badge-premium {
    background: rgba(255, 45, 85, 0.2) !important;
    color: #ff2d55 !important;
  }
  
  .badge-verified {
    background: rgba(74, 222, 128, 0.15) !important;
    border-color: rgba(74, 222, 128, 0.4) !important;
    color: #4ade80 !important;
  }
  
  .badge svg {
    width: 14px !important;
    height: 14px !important;
  }
  
  /* Başlık - Dengeli */
  .hero-title {
    font-size: 48px !important;
    line-height: 1.15 !important;
    margin-bottom: 18px !important;
    letter-spacing: -1px !important;
  }
  
  .gradient-text {
    display: block !important;
  }
  
  /* Açıklama - Okunabilir */
  .hero-desc {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 32px !important;
    padding: 0 12px !important;
    color: rgba(255, 255, 255, 0.8) !important;
  }
  
  /* Stats - Görünür ve okunur */
  .hero-stats-grid {
    display: flex !important;
    gap: 28px !important;
    justify-content: center !important;
    margin-bottom: 36px !important;
    opacity: 1 !important;
  }
  
  .stat-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 90px !important;
    padding: 12px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  
  .stat-value {
    font-size: 38px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    color: #ff2d55 !important;
    /* Mobilde solid renk - performans */
  }
  
  .stat-label {
    font-size: 13px !important;
    margin-top: 0 !important;
    opacity: 1 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600 !important;
  }
  
  /* Buton - Dokunulabilir */
  .hero-cta {
    margin-bottom: 60px !important;
  }
  
  .hero .btn-primary {
    background: rgba(255, 45, 85, 0.25) !important;
    color: #fff !important;
    border: 2px solid rgba(255, 45, 85, 0.6) !important;
    padding: 18px 40px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    min-width: 240px !important;
    border-radius: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
  }
  
  .hero .btn-primary svg {
    width: 24px !important;
    height: 24px !important;
  }
  
  /* Tüm text görünür */
  .hero h1,
  .hero p,
  .hero .stat-value,
  .hero .stat-label {
    color: #fff !important;
    opacity: 1 !important;
  }
  
  /* STEP 3: Remove ALL decorative elements */
  #particles,
  .hero::before,
  .hero::after,
  .glow,
  .orb,
  canvas {
    display: none !important;
  }
  
  /* STEP 4: Disable hover/active effects */
  .script-card:hover,
  .script-card:active,
  .btn-primary:hover,
  .script-btn:hover,
  a:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  
  /* STEP 5: Optimize rendering with contain */
  .script-card,
  .modal-wrapper,
  .hero,
  .container {
    contain: layout style paint !important;
  }
  
  /* STEP 6: Simplify layout - No flex gaps */
  .script-grid {
    display: block !important;
  }
  
  .script-card {
    margin-bottom: 16px !important;
  }
  
  /* STEP 7: Optimize images/icons */
  img,
  svg {
    will-change: auto !important;
    transform: translateZ(0) !important;
  }
  
  /* STEP 8: Minimal scrolling performance */
  body,
  html {
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  /* STEP 9: Disable badge animations */
  .badge-new,
  .badge-hot {
    opacity: 1 !important;
  }
  
  /* STEP 10: Simple borders - no complex shapes */
  * {
    border-radius: 12px !important;
  }
  
  .script-icon,
  .btn-primary,
  .script-btn {
    border-radius: 8px !important;
  }
}

/* Reduced motion for accessibility and performance */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Low-end device optimization - HERO PRESERVED */
@media (max-width: 768px) and (max-height: 800px) {
  /* DON'T touch hero - keep it fully functional */
  
  /* Optimize cards and modals only */
  .script-card {
    animation: none !important;
  }
  
  /* Minimal shadows on cards */
  .script-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
  }
  
  /* Simplify modal filters only */
  .modal-wrapper,
  .glass-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(15, 15, 22, 0.95) !important;
  }
  
  /* Disable announcement animation on low-end */
  .announcement-item {
    animation: none !important;
  }
}

/* Android Chrome specific optimizations */
@media (max-width: 768px) {
  * {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
  }
  
  /* Force hardware acceleration - HERO INCLUDED */
  .hero,
  .hero-content,
  .scripts-section,
  .modal {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
  }
  
  /* Ensure hero is visible */
  .hero {
    display: flex !important;
    min-height: 100vh !important;
  }
  
  .hero-content {
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
  }
  
  /* Optimize scroll performance */
  .scripts-grid,
  .modal-body {
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
  }
  
  /* Reduce repaints on cards only */
  .script-card,
  .modal-wrapper {
    contain: layout style paint;
  }
}

/* ========== PAGINATION ========== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  padding: 0 20px;
  flex-wrap: wrap;
}

.pagination-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 45, 85, 0.1);
  border: 1px solid rgba(255, 45, 85, 0.2);
  border-radius: 10px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.pagination-btn:hover:not(:disabled) {
  background: rgba(255, 45, 85, 0.2);
  border-color: var(--red-primary);
  transform: translateY(-2px);
}

.pagination-btn.active {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 45, 85, 0.3);
}

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

.pagination-info {
  color: var(--text-muted);
  padding: 0 8px;
  font-size: 14px;
}

/* Mobile pagination */
@media (max-width: 768px) {
  .pagination {
    gap: 6px;
    margin-top: 32px;
    padding: 0 16px;
  }
  
  .pagination-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
  }
  
  .pagination-info {
    padding: 0 4px;
    font-size: 13px;
  }
}

