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

html, body {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background: url('naber.gif') no-repeat center center fixed;
  background-size: cover;
}

* {
  cursor: url('selam.png') 0 0, auto !important;
}

/* Container flex yönünü dikey yaptık, alt alta dizilir */
.container {
  display: flex;
  flex-direction: column; /* önemli! */
  justify-content: center;
  align-items: center;
  height: 100%;
  backdrop-filter: blur(6px);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  overflow: auto; /* taşınca scroll */
}

/* Glassmorphism Card */
.card {
  background: rgba(0, 50, 0, 0.85);
  backdrop-filter: blur(15px);
  color: white;
  padding: 25px 20px;
  border-radius: 15px;
  text-align: center;
  width: 100%;
  max-width: 580px; /* Widget'lar için genişletildi */
  box-shadow: 
    0 0 20px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  margin-bottom: 20px; /* altına boşluk */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth Hover Animation */
.card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Tarık yazısı */
.card h1 {
  color: black;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
  transition: all 0.3s ease;
}

.card h1:hover {
  transform: scale(1.02);
  text-shadow: 0 0 15px rgba(0, 0, 0, 1);
}

/* Modern Avatar Styling */
.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid green;
  margin-bottom: 15px;
  box-shadow: 
    0 0 25px rgba(0, 0, 0, 0.9),
    inset 0 2px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtle Hover Effect */
.avatar:hover {
  transform: scale(1.05);
  border-color: rgba(0, 255, 0, 0.8);
  box-shadow: 
    0 0 35px rgba(0, 255, 0, 0.5),
    0 0 25px rgba(0, 0, 0, 0.9),
    inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

/* Açıklama yazısı */
.desc {
  color: #ccc;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
  transition: all 0.3s ease;
}

.desc:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 0, 0, 0.8);
}

/* Simgeler */
.icons {
  margin-bottom: 20px;
}

.icons a {
  font-size: 40px;
  color: black;
  margin: 0 7px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  display: inline-block;
}

/* Smooth Hover Animations */
.icons a:hover {
  transform: translateY(-4px) scale(1.1);
  text-shadow: 0 0 20px rgba(0, 0, 0, 1);
}

.icons a i {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.icons a:hover i {
  transform: rotate(5deg);
}

/* Kalp simgesi özelleştirme */
.icons a.heart i {
  color: red;
  text-shadow: 0 0 6px rgba(255, 0, 0, 0.6);
  animation: pulse 2s infinite ease-in-out;
  transition: all 0.05s ease;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1.5);
    text-shadow: 0 0 6px rgba(255, 0, 0, 0.6);
  }
  50% {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255, 0, 0, 1);
  }
}

.icons a.heart:hover i {
  transform: scale(1.3);
  text-shadow: 0 0 12px rgba(255, 0, 0, 0.9);
}

.with-glow-hover {
  position: relative;
  display: block;
  margin-top: 10px;
  color: black;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
  cursor: default;
}

.hover-box {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 0, 0, 0.8);
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-family: monospace;
  white-space: nowrap;
  text-shadow: 0 0 6px rgba(255, 0, 0, 0.9);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 10;
}

.with-glow-hover:hover .hover-box {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

.avatar-wrapper {
  position: relative;
  display: inline-block;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid green;
  margin-bottom: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  display: block;
}

/* Kutucuk (kırmızı iç ve kırmızı glow) */
.gif-box {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 100, 0, 0.85);
  backdrop-filter: blur(10px);
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(0, 255, 0, 0.7);
  display: none;
  z-index: 10;
  transition: all 0.3s ease;
}

/* GIF içeriği */
.gif-box .gif {
  width: 150px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(0, 100, 0, 0.85);
}

/* Hover ile kutuyu göster */
.avatar-wrapper:hover .gif-box {
  display: block;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.desc {
  color: white;
  font-weight: bold;
  font-size: 15px;
  text-shadow: 0 0 5px red;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.desc i {
  color: white;
  text-shadow: 0 0 8px red;
  font-size: 13px;
}

.particle-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  margin: 0 auto;
}

.with-glow-hover {
  position: relative;
  z-index: 2;
  font-size: 42px;
  color: black;
  text-shadow: 0 0 10px red;
  text-align: center;
  font-family: "Merienda", cursive;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  transition: all 0.3s ease;
}

.with-glow-hover:hover {
  transform: scale(1.02);
  text-shadow: 0 0 20px red;
}

.particles {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 40px;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: black;
  border-radius: 50%;
  opacity: 0.7;
  animation: float 3s infinite ease-in-out;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-10px) scale(1.2);
    opacity: 1;
  }
}

/* Yeni eklenenlar */

.container {
  flex-direction: column; /* alt alta dizecek */
  overflow: auto; /* scroll lazımsa */
}

.card {
  margin-bottom: 20px; /* alt boşluk */
  width: 100%;
  max-width: 620px;
  position: relative;
}

/* Glassmorphism Comments */
#comments {
  width: 100%;
  max-width: 620px;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: left;
  background: rgba(255, 140, 0, 0.85);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 15px 20px;
  box-shadow:
    0 0 20px rgba(255, 140, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin-top: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#comments:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 32px rgba(255, 140, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

#comments h3 {
  margin-bottom: 10px;
  color: #ffae42;
  text-shadow: 0 0 6px #cc7a00;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  display: inline-block;
  transition: all 0.3s ease;
}

#comments h3:hover {
  transform: translateX(5px);
  text-shadow: 0 0 12px #cc7a00;
}

#comments-list {
  max-height: 160px; /* Yükseklik 5 yorum için yaklaşık */
  overflow-y: auto;
  margin-top: 10px;
  padding-right: 8px;
  display: none; /* Başta gizli */
}

/* Scrollbar stil (webkit) */
#comments-list::-webkit-scrollbar {
  width: 6px;
}

#comments-list::-webkit-scrollbar-track {
  background: rgba(255, 140, 0, 0.2);
  border-radius: 10px;
}

#comments-list::-webkit-scrollbar-thumb {
  background: rgba(255, 140, 0, 0.8);
  border-radius: 10px;
}

/* Yorum kutuları */
.comment-item {
  background: rgba(255, 140, 0, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 15px;
  margin-bottom: 10px;
  box-shadow: 
    0 0 10px rgba(255, 140, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.comment-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 140, 0, 0.5);
  box-shadow: 
    0 4px 20px rgba(255, 140, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #ffd580;
  margin-bottom: 6px;
  font-weight: 600;
  text-shadow: 0 0 6px #cc7a00;
}

.comment-username {
  font-style: italic;
  flex: 1;
  text-align: left;
}

.comment-date {
  font-style: normal;
  opacity: 0.7;
  flex: 1;
  text-align: center;
}

.comment-id {
  font-style: normal;
  flex: 1;
  text-align: right;
  opacity: 0.8;
}

.comment-text {
  font-size: 15px;
  color: #fff3e0;
  line-height: 1.3;
  white-space: pre-wrap;
  word-wrap: break-word;
  text-shadow: 0 0 3px #ffa500;
}

/* Input ve butonlar */
#comments input, #comments textarea {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  outline: none;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  background: rgba(255, 140, 0, 0.3);
  backdrop-filter: blur(10px);
  color: white;
  box-shadow: 0 0 8px rgba(255, 140, 0, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  resize: none;
}

#comments input:focus, #comments textarea:focus {
  transform: translateY(-2px);
  box-shadow: 
    0 4px 16px rgba(255, 140, 0, 1),
    0 0 0 3px rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

#comments button {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background-color: #ff8c00;
  color: white;
  font-weight: bold;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  box-shadow: 0 0 15px #ffae42;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#comments button:hover {
  background-color: #ffae42;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px #ffb84d;
  border-color: rgba(255, 255, 255, 0.4);
}

#comments button:active {
  transform: translateY(0);
}

#comment-form {
  display: none; /* Başta gizli */
}

.comment-id {
  font-size: 12px;
  color: #ccc;
  margin-right: 8px;
  font-family: monospace;
}

.view-counter-in-card {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  color: black;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 14px;
  font-family: monospace;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 0 12px black;
  z-index: 10;
  transition: all 0.3s ease;
}

.view-counter-in-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px black;
}

.view-counter-in-card i {
  font-size: 16px;
  color: black;
  text-shadow: 0 0 12px black;
}

/* Valorant Widgets Container */
.valorant-widgets-container {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-top: 15px;
  flex-wrap: nowrap;
}

/* Glassmorphism Widget Styles */
.valorant-widget {
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.85) 0%, rgba(20, 20, 20, 0.9) 100%);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  width: 100%;
  max-width: 300px;
  height: 75px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  margin-top: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  flex: 1;
}

.valorant-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 70, 85, 0.05) 0%, rgba(139, 69, 19, 0.05) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Smooth Hover Animations */
.valorant-widget:hover {
  background: linear-gradient(135deg, rgba(40, 40, 40, 0.95) 0%, rgba(30, 30, 30, 0.98) 100%);
  transform: translateY(-4px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

.widget-content {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  z-index: 3;
  gap: 16px;
}

/* Modern Avatar Styling */
.player-avatar {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Subtle Hover Effect */
.player-avatar:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.left-section {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.player-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.player-name {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.player-name:hover {
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

.player-rank {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.rank-icon {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.rank-icon:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8));
}

.rank-text {
  color: #b19cd9;
  font-size: 13px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-text:hover {
  color: #d4c5f9;
  text-shadow: 0 1px 6px rgba(180, 156, 217, 0.5);
}

.map-section {
  position: relative;
  width: 95px;
  height: 53px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.map-section:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.map-image {
  width: 150%;
  height: 150%;
  object-fit: cover;
  object-position: center;
  transform: translate(-16%, -16%);
  filter: brightness(0.8) contrast(1.2);
  transition: all 0.3s ease;
}

.map-image:hover {
  filter: brightness(0.8) contrast(1.2);
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 6px;
}

.match-result {
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
  text-align: center;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.match-result:hover {
  transform: scale(1.05);
}

.match-result.win {
  color: #10b981;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.match-result.lose {
  color: #ef4444;
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.map-name {
  color: #ffffff;
  font-size: 9px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.map-name:hover {
  transform: scale(1.05);
}

/* Hover Avatar Overlay */
.hover-avatar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  border-radius: 15px;
  filter: brightness(0.3) blur(0.5px);
}

.valorant-widget:hover .hover-avatar {
  opacity: 0.6;
}

.valorant-widget .loading {
  text-align: center;
  color: #ffffff;
  padding: 20px;
  position: relative;
  z-index: 2;
}

.valorant-widget .error {
  text-align: center;
  color: #ef4444;
  padding: 20px;
  position: relative;
  z-index: 2;
}

.loading-spinner {
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  animation: spin 1s linear infinite;
  margin: 0 auto 8px;
}

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