/**
 * DRAK - Podstrona DRAKRIDERS
 * Wersja WOW z animacjami i efektami
 */

/* ========== SEKCJA GŁÓWNA ========== */

.drakriders-section {
  background-color: #0a0a0a;
  color: #ffffff;
  padding: 100px 20px 80px;
  width: 100%;
  min-height: calc(100vh - 122px);
  position: relative;
  overflow: hidden;
}

/* Tło z subtelnymi liniami */
.drakriders-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(90deg, rgba(220, 38, 38, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(220, 38, 38, 0.05) 1px, transparent 1px);
  background-size: 100px 100px;
  pointer-events: none;
}

/* Glow w tle */
.drakriders-section::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(220, 38, 38, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.drakriders-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ========== HEADER ========== */

.drakriders-header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.drakriders-title {
  font-family: 'Russo One', 'Oswald', sans-serif;
  font-size: clamp(40px, 8vw, 72px);
  letter-spacing: 6px;
  color: #ffffff;
  margin: 0 0 30px 0;
  text-transform: uppercase;
  line-height: 1.2;
}

.drakriders-title .highlight {
  color: var(--draki-red);
  text-shadow: 0 0 40px rgba(220, 38, 38, 0.5);
  position: relative;
}

.drakriders-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--draki-red), transparent);
}

.drakriders-description {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  max-width: 850px;
  margin: 0 auto;
  letter-spacing: 0.5px;
}

.drakriders-description p {
  margin-bottom: 18px;
}

.drakriders-description .highlight {
  color: var(--draki-red);
  font-weight: 600;
}

/* ========== AMBASADORZY SECTION ========== */

.drakriders-ambassadors-header {
  text-align: center;
  margin: 80px 0 50px 0;
  position: relative;
}

.drakriders-ambassadors-header::before,
.drakriders-ambassadors-header::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.5), transparent);
}

.drakriders-ambassadors-header::before {
  left: 5%;
}

.drakriders-ambassadors-header::after {
  right: 5%;
}

.drakriders-subtitle {
  font-family: 'Russo One', 'Oswald', sans-serif;
  font-size: clamp(32px, 6vw, 52px);
  letter-spacing: 5px;
  color: var(--draki-red);
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(220, 38, 38, 0.4);
  display: inline-block;
  padding: 0 30px;
  background: #0a0a0a;
  position: relative;
}

/* ========== AMBASADORZY GRID ========== */

.drakriders-ambassadors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

/* ========== AMBASSADOR CARD ========== */

.drakriders-ambassador-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: linear-gradient(145deg, #1a1a1a 0%, #0f0f0f 100%);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.5s var(--draki-ease);
  position: relative;
  opacity: 0;
  transform: translateY(50px);
}

.drakriders-ambassador-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Glow effect on hover */
.drakriders-ambassador-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--draki-red), transparent, var(--draki-red));
  border-radius: 18px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.drakriders-ambassador-card:hover::before {
  opacity: 1;
}

.drakriders-ambassador-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow:
    0 25px 60px rgba(220, 38, 38, 0.3),
    0 0 100px rgba(220, 38, 38, 0.1);
  border-color: var(--draki-red);
}

/* ========== AMBASSADOR IMAGE ========== */

.drakriders-ambassador-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #0a0a0a;
}

.drakriders-ambassador-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.drakriders-ambassador-card:hover .drakriders-ambassador-image::after {
  opacity: 1;
}

.drakriders-ambassador-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--draki-ease), filter 0.4s ease;
}

.drakriders-ambassador-card:hover .drakriders-ambassador-image img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.drakriders-ambassador-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
}

/* ========== AMBASSADOR INFO ========== */

.drakriders-ambassador-info {
  padding: 25px;
  text-align: center;
  background: linear-gradient(to top, #1a1a1a, #151515);
  position: relative;
}

.drakriders-ambassador-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--draki-red), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drakriders-ambassador-card:hover .drakriders-ambassador-info::before {
  opacity: 1;
}

.drakriders-ambassador-handle {
  font-family: 'Russo One', 'Oswald', sans-serif;
  font-size: 26px;
  letter-spacing: 2px;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.drakriders-ambassador-card:hover .drakriders-ambassador-handle {
  color: var(--draki-red);
  text-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}

/* Instagram icon hint */
.drakriders-ambassador-handle::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-right: 10px;
  vertical-align: middle;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.drakriders-ambassador-card:hover .drakriders-ambassador-handle::before {
  opacity: 1;
}

/* ========== CTA SECTION ========== */

.drakriders-cta-section {
  text-align: center;
  margin-top: 80px;
  padding: 60px 40px;
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.08) 0%, rgba(220, 38, 38, 0.02) 100%);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.drakriders-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--draki-red), transparent);
}

.drakriders-cta-title {
  font-family: 'Russo One', sans-serif;
  font-size: 32px;
  letter-spacing: 4px;
  color: #ffffff;
  margin: 0 0 15px 0;
}

.drakriders-cta-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 30px 0;
}

.drakriders-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Russo One', sans-serif;
  font-size: 16px;
  letter-spacing: 3px;
  color: #ffffff;
  background: var(--draki-red);
  border: 2px solid var(--draki-red);
  padding: 18px 40px;
  text-decoration: none;
  transition: all 0.4s var(--draki-ease);
  position: relative;
  overflow: hidden;
}

.drakriders-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.drakriders-cta-btn:hover {
  background: transparent;
  border: 2px solid var(--draki-red);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(220, 38, 38, 0.5), 0 0 20px rgba(220, 38, 38, 0.2);
}

.drakriders-cta-btn:hover::before {
  left: 100%;
}

/* ========== TABLET ========== */

@media (max-width: 990px) {
  .drakriders-ambassadors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .drakriders-ambassadors-header::before,
  .drakriders-ambassadors-header::after {
    width: 15%;
  }
}

/* ========== MOBILE ========== */

@media (max-width: 749px) {
  .drakriders-section {
    padding: 70px 15px 60px;
  }

  .drakriders-ambassadors-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .drakriders-title {
    letter-spacing: 3px;
  }

  .drakriders-subtitle {
    letter-spacing: 3px;
  }

  .drakriders-description {
    font-size: 14px;
    line-height: 1.7;
  }

  .drakriders-ambassador-handle {
    font-size: 22px;
  }

  .drakriders-ambassador-info {
    padding: 20px;
  }

  .drakriders-ambassadors-header::before,
  .drakriders-ambassadors-header::after {
    display: none;
  }

  .drakriders-cta-section {
    padding: 40px 25px;
    margin-top: 60px;
  }

  .drakriders-cta-title {
    font-size: 24px;
  }

  .drakriders-cta-btn {
    font-size: 14px;
    padding: 16px 30px;
  }
}
