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

:root {
  --primary-yellow: #ffd700;
  --secondary-yellow: #ffaa00;
  --neon-glow: #ffcc00;
  --dark-bg: #050505;
  --card-bg: rgba(20, 20, 20, 0.6);
  --card-border: rgba(255, 215, 0, 0.15);
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --glass-blur: blur(20px);
  --neon-shadow: 0 0 10px var(--primary-yellow), 0 0 20px var(--primary-yellow),
    0 0 40px var(--secondary-yellow);
  --neon-shadow-soft: 0 0 15px rgba(255, 215, 0, 0.5),
    0 0 30px rgba(255, 215, 0, 0.3);
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  overflow-y: auto;
}

/* Particle Canvas Background */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Animated Gradient Background */
.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      ellipse at 0% 50%,
      rgba(255, 215, 0, 0.12) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 100% 50%,
      rgba(255, 170, 0, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 50% 100%,
      rgba(255, 215, 0, 0.05) 0%,
      transparent 40%
    );
  z-index: -1;
  animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
  0%,
  100% {
    opacity: 0.7;
    filter: hue-rotate(0deg);
  }
  50% {
    opacity: 1;
    filter: hue-rotate(10deg);
  }
}

/* Main Container */
.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 25px 30px 30px;
  position: relative;
  z-index: 1;
}

/* Main Content - 3 Column Layout (Equal Width) */
.main-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 25px;
}

/* Column Base Style */
.column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Left Column - Discord */
.discord-column {
  animation: fadeInLeft 1s ease-out;
}

/* Center Column - Profile + Links */
.center-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* Right Column - Servers */
.servers-column {
  animation: fadeInRight 1s ease-out 0.4s both;
}

/* Social Links Wrapper */
.social-links-wrapper {
  width: 100%;
}

/* Servers Wrapper */
.servers-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Discord Wrapper */
.discord-wrapper {
  display: flex;
  flex-direction: column;
}

.discord-widget {
  background: var(--card-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 2px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  min-height: 280px;
  transition: all 0.4s ease;
}

.discord-widget:hover {
  border-color: #5865f2;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.4), 0 0 40px rgba(88, 101, 242, 0.2);
}

.discord-widget iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: none;
  border-radius: 14px;
}

/* Discord Placeholder */
.discord-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 280px;
  padding: 20px;
  text-align: center;
}

.discord-placeholder-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.discord-placeholder h4 {
  font-size: 1.2rem;
  color: #5865f2;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(88, 101, 242, 0.5);
}

.discord-placeholder p {
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.discord-join-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
  width: 100%;
}

.discord-join-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.6),
    0 8px 25px rgba(88, 101, 242, 0.4);
}

.discord-logo {
  display: flex;
  align-items: center;
}

/* Discord Card - Basit Temiz Tasarım */
.discord-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  background: #2b2d31;
  border-radius: 8px;
}

.discord-blur-bg {
  display: none;
}

.discord-banner {
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
}

.discord-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.discord-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px 20px;
  margin-top: -30px;
  background: #2b2d31;
}

.discord-card .discord-icon {
  width: 60px;
  height: 60px;
  background: #5865f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid #2b2d31;
}

.discord-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 12px 0 4px;
}

.discord-desc {
  font-size: 0.85rem;
  color: #b5bac1;
  margin: 0 0 15px;
}

.discord-btn {
  display: inline-block;
  width: 100%;
  padding: 10px 20px;
  background: #248046;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-align: center;
}

.discord-btn:hover {
  background: #1a6334;
}

/* ============ PROFILE SECTION ============ */
.profile-section {
  text-align: center;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease-out;
}

.profile-image {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 15px;
}

.profile-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-yellow);
  box-shadow: var(--neon-shadow);
  position: relative;
  z-index: 2;
  animation: profileGlow 3s ease-in-out infinite;
}

@keyframes profileGlow {
  0%,
  100% {
    box-shadow: 0 0 20px var(--primary-yellow), 0 0 40px rgba(255, 215, 0, 0.5);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 30px var(--primary-yellow), 0 0 60px rgba(255, 215, 0, 0.7),
      0 0 80px rgba(255, 170, 0, 0.4);
    filter: brightness(1.1);
  }
}

.profile-ring {
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border-radius: 50%;
  border: 2px solid var(--primary-yellow);
  opacity: 0.4;
  animation: ringRotate 10s linear infinite, ringPulse 2s ease-in-out infinite;
  box-shadow: var(--neon-shadow-soft);
}

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

@keyframes ringPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

.profile-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-yellow);
  text-shadow: var(--neon-shadow);
  margin-bottom: 5px;
  letter-spacing: 3px;
  animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from {
    text-shadow: 0 0 10px var(--primary-yellow), 0 0 20px var(--primary-yellow),
      0 0 30px var(--secondary-yellow);
  }
  to {
    text-shadow: 0 0 20px var(--primary-yellow), 0 0 40px var(--primary-yellow),
      0 0 60px var(--secondary-yellow), 0 0 80px var(--neon-glow);
  }
}

.profile-bio {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============ SOCIAL LINKS - GLASSMORPHISM ============ */
.social-links {
  animation: fadeInUp 1s ease-out 0.3s both;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 10px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.1) 0%,
    transparent 50%,
    rgba(255, 215, 0, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.social-link::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--primary-yellow),
    transparent,
    var(--secondary-yellow),
    transparent
  );
  border-radius: 18px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderRotate 3s linear infinite;
  background-size: 400% 400%;
}

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

.social-link:hover::before {
  opacity: 1;
}

.social-link:hover::after {
  opacity: 0.8;
}

.social-link:hover {
  transform: translateX(8px) scale(1.02);
  border-color: var(--primary-yellow);
  box-shadow: var(--neon-shadow-soft), 0 10px 40px rgba(0, 0, 0, 0.3);
}

.social-link-content {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.social-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.4), inset 0 0 15px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    var(--primary-yellow) 0%,
    transparent 70%
  );
  opacity: 0.08;
  transition: opacity 0.3s ease;
}

.social-icon svg {
  width: 26px;
  height: 26px;
  color: var(--link-color, var(--primary-yellow));
  filter: drop-shadow(0 0 3px var(--link-color, rgba(255, 215, 0, 0.5)));
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.social-link:hover .social-icon {
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.2),
    inset 0 0 15px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
  border-color: var(--primary-yellow);
}

.social-link:hover .social-icon::before {
  opacity: 0.3;
}

.social-link:hover .social-icon svg {
  filter: drop-shadow(0 0 15px var(--link-color, var(--primary-yellow)));
  transform: scale(1.1);
}

.social-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.social-info p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.social-arrow {
  font-size: 1.4rem;
  color: var(--primary-yellow);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px var(--primary-yellow);
}

.social-link:hover .social-arrow {
  transform: translateX(8px);
  text-shadow: var(--neon-shadow);
}

/* ============ SECTION TITLE (used by servers) ============ */
.section-title {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 12px;
  color: var(--primary-yellow);
  font-weight: 600;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  letter-spacing: 1px;
}

/* ============ YOUTUBE VIDEOS SECTION ============ */
.youtube-section {
  animation: fadeInUp 1s ease-out 0.5s both;
  text-align: center;
  width: 100%;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--card-border);
}

.videos-grid {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.video-card {
  position: relative;
  width: 220px;
  background: var(--card-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 2px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-card:hover {
  border-color: #ff0000;
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.4), 0 20px 40px rgba(0, 0, 0, 0.4);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.1);
  filter: brightness(0.7);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 50px;
  height: 50px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

.video-play-btn span {
  color: white;
  font-size: 1.5rem;
  margin-left: 4px;
}

.video-card:hover .video-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-new-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 2px 10px rgba(255, 0, 0, 0.5);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.video-info {
  padding: 15px;
  text-align: left;
}

.video-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.video-card:hover .video-info h4 {
  color: #ff4444;
}

/* ============ ACTIVE SERVERS SECTION ============ */
.servers-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.server-card {
  position: relative;
  width: 100%;
  background: var(--card-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 2px solid var(--card-border);
  border-radius: 14px;
  padding: 12px 15px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.server-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 107, 0, 0.1) 0%,
    rgba(255, 69, 0, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.server-card:hover::before {
  opacity: 1;
}

.server-card:hover {
  border-color: #ff6b00;
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.5), 0 0 40px rgba(255, 69, 0, 0.3),
    0 20px 40px rgba(0, 0, 0, 0.4);
}

.server-logo {
  position: relative;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  z-index: 1;
}

.server-logo img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid rgba(255, 107, 0, 0.3);
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.server-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 0, 0.2) 0%,
    rgba(255, 69, 0, 0.1) 100%
  );
  border-radius: 10px;
  border: 2px solid rgba(255, 107, 0, 0.3);
  transition: all 0.4s ease;
}

.server-card:hover .server-icon {
  border-color: #ff6b00;
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.6), 0 0 40px rgba(255, 69, 0, 0.4);
  transform: scale(1.1);
}

.server-card:hover .server-logo img {
  border-color: #ff6b00;
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.6), 0 0 40px rgba(255, 69, 0, 0.4);
  transform: scale(1.1);
}

.server-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #00ff00;
  border: 2px solid var(--dark-bg);
  box-shadow: 0 0 10px #00ff00, 0 0 20px rgba(0, 255, 0, 0.5);
  animation: statusPulse 2s ease-in-out infinite;
}

.server-status.active {
  background: #00ff00;
  box-shadow: 0 0 10px #00ff00, 0 0 20px rgba(0, 255, 0, 0.5);
}

@keyframes statusPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.server-info {
  position: relative;
  z-index: 1;
}

.server-info h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.server-card:hover .server-info h4 {
  color: #ff6b00;
  text-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}

.server-badge {
  display: none;
}

.server-hover-text {
  display: none;
}

/* ============ FOOTER ============ */
.footer {
  width: 100%;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 20px 0;
  margin-top: auto;
  animation: fadeIn 1s ease-out 0.8s both;
}

.footer p {
  transition: all 0.3s ease;
}

.footer:hover p {
  color: var(--primary-yellow);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* ============ LOADING ============ */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(255, 215, 0, 0.1);
  border-top: 3px solid var(--primary-yellow);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: var(--neon-shadow-soft);
}

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

/* ============ ANIMATIONS ============ */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ============ TABLET ============ */
@media (max-width: 1200px) {
  .container {
    padding: 30px 25px 40px;
  }

  .main-content {
    gap: 30px;
  }

  .left-column {
    flex: 0 0 240px;
  }

  .middle-column {
    max-width: 350px;
  }

  .right-column {
    flex: 0 0 280px;
  }

  .profile-image {
    width: 130px;
    height: 130px;
  }
  .profile-name {
    font-size: 2rem;
  }

  .discord-widget {
    min-height: 350px;
  }

  .discord-widget iframe {
    min-height: 350px;
  }

  .video-card {
    width: 200px;
  }
}

/* ============ TABLET SMALL ============ */
@media (max-width: 1000px) {
  .main-content {
    flex-wrap: wrap;
    justify-content: center;
  }

  .column {
    flex: 0 0 calc(50% - 15px);
    min-width: 300px;
  }

  .center-column {
    flex: 0 0 100%;
    order: -1;
  }

  .discord-column {
    order: 0;
  }

  .servers-column {
    order: 1;
  }

  .servers-grid {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .server-card {
    flex: 0 0 calc(50% - 6px);
    padding: 15px;
  }
}

/* ============ MOBILE ============ */
@media (max-width: 768px) {
  body {
    overflow-y: auto;
    overflow-x: hidden;
  }

  .container {
    padding: 30px 15px 40px;
    min-height: auto;
  }

  .main-content {
    flex-direction: column;
    gap: 25px;
    width: 100%;
  }

  .column {
    flex: none !important;
    width: 100%;
    min-width: 100%;
  }

  .center-column {
    order: -1;
  }

  .social-links-wrapper {
    width: 100%;
  }

  .servers-wrapper {
    width: 100%;
  }

  .discord-wrapper {
    width: 100%;
  }

  .discord-widget {
    min-height: 350px;
  }

  .discord-widget iframe {
    min-height: 350px;
  }

  .profile-section {
    width: 100%;
  }

  .profile-image {
    width: 110px;
    height: 110px;
  }
  .profile-name {
    font-size: 2rem;
  }

  .social-link {
    padding: 14px 18px;
  }
  .social-icon {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }

  .servers-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .server-card {
    flex: 0 0 calc(50% - 6px);
    min-width: 140px;
    padding: 15px;
  }

  .server-logo {
    width: 50px;
    height: 50px;
  }

  .youtube-section {
    width: 100%;
    margin-top: 25px;
  }

  .videos-grid {
    gap: 12px;
  }

  .video-card {
    width: calc(50% - 8px);
    min-width: 140px;
  }

  .video-info {
    padding: 10px;
  }

  .video-info h4 {
    font-size: 0.85rem;
  }

  .footer {
    margin-top: 25px;
  }
}

/* ============ SMALL MOBILE ============ */
@media (max-width: 400px) {
  .container {
    padding: 25px 12px 30px;
  }

  .profile-name {
    font-size: 1.7rem;
    letter-spacing: 2px;
  }

  .server-card {
    flex: 0 0 100%;
    padding: 12px;
  }

  .server-logo {
    width: 45px;
    height: 45px;
  }

  .server-info h4 {
    font-size: 0.85rem;
  }

  .discord-widget {
    min-height: 300px;
  }

  .discord-widget iframe {
    min-height: 300px;
  }

  .video-card {
    width: 100%;
  }
}

/* ============ TOPLU EP BUTTON & MODAL ============ */
.toplu-ep-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(
    135deg,
    rgba(20, 20, 20, 0.95),
    rgba(30, 30, 30, 0.95)
  );
  border: 2px solid var(--primary-yellow);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.2),
    inset 0 0 20px rgba(255, 215, 0, 0.05);
  animation: epPulse 2s ease-in-out infinite;
}

.toplu-ep-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.6), 0 0 60px rgba(255, 215, 0, 0.3),
    inset 0 0 20px rgba(255, 215, 0, 0.1);
}

@keyframes epPulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.7), 0 0 60px rgba(255, 215, 0, 0.4),
      0 0 80px rgba(255, 215, 0, 0.2);
  }
}

.ep-icon {
  font-size: 1.3rem;
  animation: fireFlicker 0.5s ease-in-out infinite alternate;
}

@keyframes fireFlicker {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

.ep-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-yellow);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  letter-spacing: 1px;
}

.ep-pulse {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  background: #00ff00;
  border-radius: 50%;
  animation: livePulse 1s ease-in-out infinite;
}

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

/* Modal Overlay */
.ep-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.ep-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Box */
.ep-modal {
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  border: 2px solid var(--primary-yellow);
  border-radius: 20px;
  padding: 30px;
  width: 90%;
  max-width: 420px;
  position: relative;
  transform: scale(0.8) translateY(50px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.3), 0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.ep-modal-overlay.active .ep-modal {
  transform: scale(1) translateY(0);
}

.ep-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: #888;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
}

.ep-modal-close:hover {
  color: var(--primary-yellow);
  transform: rotate(90deg);
}

.ep-modal-header {
  text-align: center;
  margin-bottom: 25px;
}

.ep-modal-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 10px;
  animation: fireFlicker 0.5s ease-in-out infinite alternate;
}

.ep-modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-yellow);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  letter-spacing: 2px;
}

.ep-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.ep-label {
  color: #888;
  font-size: 0.9rem;
}

.ep-value {
  color: var(--primary-yellow);
  font-weight: 600;
  font-size: 1rem;
}

.ep-description {
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
  margin: 20px 0;
  padding: 15px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 10px;
  border-left: 3px solid var(--primary-yellow);
}

.ep-social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
}

.ep-social-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--icon-color, #ffd700);
  border-radius: 12px;
  color: var(--icon-color, #ffd700);
  transition: all 0.3s ease;
}

.ep-social-icon svg {
  width: 24px;
  height: 24px;
}

.ep-social-icon:hover {
  background: var(--icon-color, #ffd700);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.ep-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

.ep-btn-primary {
  flex: 1;
  padding: 14px 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.9),
    rgba(255, 170, 0, 0.9)
  );
  border: none;
  border-radius: 10px;
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.ep-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
}

.ep-btn-secondary {
  flex: 1;
  padding: 14px 20px;
  background: transparent;
  border: 2px solid #444;
  border-radius: 10px;
  color: #888;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ep-btn-secondary:hover {
  border-color: var(--primary-yellow);
  color: var(--primary-yellow);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .toplu-ep-btn {
    top: 10px;
    right: 10px;
    padding: 10px 15px;
  }

  .ep-text {
    font-size: 0.8rem;
  }

  .ep-modal {
    padding: 25px 20px;
    margin: 20px;
  }

  .ep-modal-header h2 {
    font-size: 1.2rem;
  }

  .ep-modal-actions {
    flex-direction: column;
  }
}
