/* ========================================
   PAGE3.CSS - PARTICIPANTS PAGE STYLES
   ======================================== */

/* ========================================
   FONTS
   ======================================== */
@font-face {
  font-display: swap;
  font-family: "ProximaNova-Bold";
  font-style: normal;
  font-weight: auto;
  src: url("../fonts/ProximaNova-Bold.woff") format("woff");
}

@font-face {
  font-display: swap;
  font-family: "ProximaNova-Extrabld";
  font-style: normal;
  font-weight: auto;
  src: url("../fonts/ProximaNova-Extrabld.woff") format("woff");
}

@font-face {
  font-display: swap;
  font-family: "ProximaNova-Regular";
  font-style: normal;
  font-weight: auto;
  src: url("../fonts/ProximaNova-Regular.woff") format("woff");
}

@font-face {
  font-display: swap;
  font-family: "ProximaNova-Semibold";
  font-style: normal;
  font-weight: auto;
  src: url("../fonts/ProximaNova-Semibold.woff") format("woff");
}



/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
  /* Background Colors */
  --bg-color: #0E0E0E;
  --page3-bg: #0E0E0E;
  --page3-card-bg: #101010;

  /* Border Colors */
  --page3-card-border: #222222;
  --page3-active-border: #D83B3B;

  /* Text Colors */
  --page3-title: #FFFFFF;
  --page3-desc: #FFFFFF;
  --text-color-one: #6E6E6E;
  --text-color-two: #FFFFFF;
  --text-color-three: #515151;
  --text-color-four: #292929;
  --text-color-five: #828282;

  /* Accent Colors */
  --page3-accent: #BC3131;
  --page3-accent2: #D83B3B;
  --accent-color-one: #BC3131;
  --accent-color-two: #DD3C3C;
  --accent-color-three: #BD3232;
  --accent-color-four: #D83B3B;

  /* Background Gradients */
  --page3-active-bg: radial-gradient(circle at center, #7E2222 0%, #101010 100%);
}

/* ========================================
   BASE STYLES
   ======================================== */
body {
  zoom: 0.85;
}

.page3-main {
  background: var(--page3-bg);
  color: var(--page3-title);
  min-width: 320px;
}

/* ========================================
   BACKGROUND DECORATION
   ======================================== */
.page3-bg-decor {
  height: 100%;
  left: 0;
  opacity: 0.15;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: -1;
}

.participants-title {
  font-family: "ProximaNova-Bold";
}

.participants-desc {
  font-size: 1.5rem;
  color: white;
  font-family: "ProximaNova-Semibold";
}

.page3-bg-svg {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.page3-main {
  min-height: 100vh;
  padding-top: clamp(40px, 8vw, 80px);
  position: relative;
  z-index: 5;
}

/* ========================================
   PAGE TITLE SECTION
   ======================================== */
.page3-title-section {
  margin-bottom: 3rem;
}

.page3-title {
  color: var(--page3-title);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.blackout {
  height: 100%;
  margin-left: 0px;
  position: absolute;
}

.page3-desc-wrap {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.page3-desc-content {
  align-items: center;
  display: flex;
}

.page3-desc {
  color: var(--page3-desc);
  font-size: 30px;
  margin-bottom: 5px;
}

.page3-subtract {
  margin-right: 10px;
  width: 25px;
}

.text-block-page3-title {
  text-align: left;
}

/* ========================================
   ACCENT SPAN
   ======================================== */
span {
  color: var(--page3-accent2);
}

/* ========================================
   PARTICIPANTS GRID
   ======================================== */
.page3-participants-grid {
  margin-bottom: 3rem;
}

.page3-participant-card {
  align-items: center;
  background: var(--page3-card-bg);
  border: 1px solid var(--page3-card-border);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
  padding: 0.5rem;
  z-index: 50;
  position: relative;
  transition: all 0.3s ease;
}

.page3-participant-card:hover {
  border-color: var(--page3-accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

.page3-participant-card.active {
  background: var(--page3-active-bg);
  border: 2px solid var(--page3-active-border);
  box-shadow: 0 12px 32px rgba(216, 59, 59, 0.3);
}

/* ========================================
   PARTICIPANT AVATAR
   ======================================== */
.page3-participant-avatar {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.page3-avatar-img {
  object-fit: cover;
  transition: transform 0.3s ease;
  width: 100%;
}

.page3-avatar-overlay {
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: opacity 0.3s ease;
  width: 100%;
}

.page3-participant-card:hover .page3-avatar-img {
  transform: scale(1.05);
}

.page3-participant-card:hover .page3-avatar-overlay {
  opacity: 1;
}

/* ========================================
   PARTICIPANT NAME
   ======================================== */
.page3-participant-name {
  color: var(--page3-title);
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  font-weight: 600;
  line-height: 1.2;
  margin-top: 0.5rem;
  text-align: center;
}

.page3-participant-card.active .page3-participant-name {
  color: var(--page3-accent2);
  font-weight: 700;
}

/* ========================================
   PARTICIPANT INFO CARD
   ======================================== */
.participants-participant-info {
  margin-top: 3rem;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: background-image 0.5s ease-in-out;
  min-height: 500px;
}

.participant-info-bg-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  transition: opacity 0.5s ease-in-out;
  justify-content: center;
  opacity: 0;
}

.participant-info-bg-img.active {
  opacity: 0.5;
}

/* Анимация перекрестного наплыва */
.participant-info-bg-img.fade-in {
  opacity: 0.5;
  animation: fadeIn 0.5s ease-in-out;
}

.participant-info-bg-img.fade-out {
  opacity: 0;
  animation: fadeOut 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.05);
  }

  to {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes fadeOut {
  from {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }

  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
}

.participant-info-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page3-participant-info {
  margin-top: 3rem;
}

.page3-info-card {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.participant-info-img {
  border-radius: 24px;
  height: auto;
  max-width: 745px;
  min-width: 577px;
  object-fit: cover;
  width: 340px;
}

.page3-info-content {
  z-index: 100;
  align-items: flex-start;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: center;
  max-width: 500px;
  min-width: 0;
  text-align: left;
}

/* ========================================
   INFO HEADER
   ======================================== */
.page3-info-header {
  margin-bottom: 1.5rem;
}

.header {
  font-family: "ProximaNova-Bold", sans-serif;
  margin-bottom: 50px;
  margin-top: 30px;
}

.page3-info-name {
  color: var(--page3-accent2);
  font-family: "ProximaNova-Extrabld", sans-serif;
  font-size: 62px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 600px;
}

.page3-info-title {
  color: var(--page3-title);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0;
}



/* ========================================
   INFO DESCRIPTION
   ======================================== */
.page3-info-description {
  margin-bottom: 0.5rem;
}

.page3-info-description p {
  color: var(--page3-title);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0;
}

/* ========================================
   SOCIAL LINKS
   ======================================== */
.page3-info-social {
  border-top: 1px solid var(--page3-card-border);
  padding-top: 1.5rem;
}

.page3-social-title {
  color: var(--page3-title);
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.page3-social-links {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.page3-social-link {
  align-items: center;
  background: var(--page3-card-bg);
  border: 1px solid var(--page3-card-border);
  border-radius: 8px;
  display: flex;
  height: 53px;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 53px;
}

.page3-social-link:hover {
  background: var(--page3-accent2);
  border-color: var(--page3-accent2);
  box-shadow: 0 4px 12px rgba(216, 59, 59, 0.3);
  transform: translateY(-2px);
}

.page3-social-icon {
  font-size: 24px;
  transition: color 0.3s ease;
}

.page3-social-link:hover .page3-social-icon {
  color: white;
}

/* ========================================
   HEADER STYLES
   ======================================== */
.img-Rectangle424 {
  width: 100%;
  z-index: -1;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}





a {
  color: var(--text-color-one);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover,
a.active {
  color: var(--page3-accent2);
}

a.active {
  border-bottom: 4px solid var(--accent-color-one);
  border-radius: 5%;
  padding-bottom: 3px;
}





/* ========================================
   UTILITY CLASSES
   ======================================== */
.mb-5 {
  margin-bottom: 0rem !important;
}

/* ========================================
   IMAGE PROTECTION
   ======================================== */
img {
  -khtml-user-drag: none;
  -khtml-user-select: none;
  -moz-user-drag: none;
  -moz-user-select: none;
  -o-user-drag: none;
  -o-user-select: none;
  -user-drag: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  pointer-events: none;
  user-select: none;
}

/* ========================================
   RESPONSIVE DESIGN - LARGE SCREENS
   ======================================== */

@media (min-width: 1025px) {

  .page3-desc-wrap {
    display: flex;
    justify-content: flex-start;
  }

  .text-block-page3-title {
    text-align: left;
  }
}

@media (min-width: 992px) {
  .col-lg-3 {
    flex: 0 0 auto;
    width: 24%;
  }

  .col-lg-8 {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .col-xl-2 {
    flex: 0 0 auto;
    width: 12.5%;
  }
}

@media (min-width: 1400px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1504px;
  }
}

@media (min-width:1027px) and (max-width: 1440px) {
  .blackout {
    width: 90%;
  }
}

@media (min-width: 1440px) {
  .col-xl-2 {
    flex: 0 0 auto;
    width: 11.5%;
  }

  .text-block-page3-title {
    margin-left: 80px;
  }
}

/* ========================================
   RESPONSIVE DESIGN - MEDIUM SCREENS
   ======================================== */
@media (max-width: 1200px) {

  .page3-info-name {
    max-width: 300px;
  }

  .blackout {
    width: 100%;
  }



  .page3-desc {
    font-size: 25px;
  }

  .page3-desc-wrap {
    display: flex;
    justify-content: center;
  }



  .page3-participant-card {
    padding: 0.4rem;
  }

  .page3-info-card {
    padding: 1.5rem;
  }

  .page3-subtract {
    margin-right: 8px;
    width: 22px;
  }

  .text-block-page3-title {
    margin-left: 15px;
    text-align: center;
  }
}

@media (max-width: 992px) {
  .page3-desc {
    font-size: 22px;
  }

  .page3-desc-wrap {
    display: flex;
    justify-content: center;
  }

  .page3-info-card {
    align-items: stretch;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.2rem;
  }

  .page3-info-content {

    align-items: flex-start;
    text-align: left;
  }

  .page3-participants-grid .row {
    gap: 1rem;
  }

  .page3-participant-card {
    padding: 0.3rem;
  }

  .page3-social-icon {
    font-size: 24px;
  }

  .page3-social-link {
    height: 45px;
    width: 45px;
  }

  .page3-social-links {
    gap: 0.8rem;
  }

  .page3-subtract {
    margin-right: 7px;
    width: 20px;
  }

  .text-block-page3-title {
    margin-left: 12px;
    text-align: center;
  }

  .participant-info-img {
    display: block;
    margin: 0 auto 1.2rem auto;
    max-width: 350px;
    width: 80vw;
  }
}

/* ========================================
   RESPONSIVE DESIGN - SMALL SCREENS
   ======================================== */
@media (max-width: 768px) {
  .participant-info-bg-img {
    position: absolute;
    top: 320px;
    left: 600px;
    transform: translate(-50%, -50%);
    height: 550px;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    transition: opacity 0.5s ease-in-out;
  }

  /* Анимация для мобильных устройств */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translate(-50%, -50%) scale(1.05);
    }

    to {
      opacity: 0.7;
      transform: translate(-50%, -50%) scale(1);
    }
  }

  @keyframes fadeOut {
    from {
      opacity: 0.7;
      transform: translate(-50%, -50%) scale(1);
    }

    to {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.95);
    }
  }

  .page3-info-name {
    max-width: 500px;
  }

  .blackout {
    right: -3px;
    height: 560px;
    position: absolute;
    top: 40px;
  }

  .page3-desc-wrap {
    display: flex;
    justify-content: center;
  }

  .page3-info-card {
    padding: 1rem;
  }

  .page3-info-description p {
    font-size: clamp(0.8rem, 1.3vw, 1rem);
  }

  .page3-info-name {
    font-size: clamp(6rem, 2.5vw, 2.5rem);
  }

  .page3-info-title {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
  }

  .page3-main {
    padding-bottom: 20px;
    padding-top: 20px;
  }

  .page3-participant-info {
    margin-top: 2rem;
  }

  .page3-participants-grid {
    margin-bottom: 2rem;
  }

  .page3-social-icon {
    font-size: 20px;
  }

  .page3-social-link {
    height: 40px;
    width: 40px;
  }

  .page3-social-links {
    gap: 0.6rem;
    justify-content: center;
  }

  .page3-subtract {
    margin-right: 6px;
    width: 18px;
  }

  .text-block-page3-title {
    font-size: 0.9em;
    margin-left: 10px;
    padding: 0 5px;
    text-align: center;
  }

  .page3-info-card {
    align-items: stretch;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.2rem;
  }

  .page3-info-content {
    align-items: center;
    max-width: none;
    text-align: center;
  }

  .participant-info-img {
    margin-top: 45px;
    min-width: 520px;
    display: block;

    max-width: 350px;
    width: 80vw;
  }

  .page3-title {
    color: var(--page3-title);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
}

@media (max-width: 600px) {
  /* Стили для навигации теперь в styles.css */
}

@media (max-width: 576px) {
  .blackout {
    right: -4px;
    height: 395px;
    position: absolute;
    top: -6px;
  }

  .participant-info-bg-img {
    position: absolute;
    top: 110px;
    left: 600px;
    transform: translate(-50%, -50%);
    height: 550px;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    transition: opacity 0.5s ease-in-out;
  }

  /* Анимация для маленьких экранов */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translate(-50%, -50%) scale(1.05);
    }

    to {
      opacity: 0.7;
      transform: translate(-50%, -50%) scale(1);
    }
  }

  @keyframes fadeOut {
    from {
      opacity: 0.7;
      transform: translate(-50%, -50%) scale(1);
    }

    to {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.95);
    }
  }

  .page3-desc {
    font-size: 16px;
  }

  .page3-desc-wrap {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
  }

  .page3-info-card {
    gap: 0.7rem;
    padding: 0.7rem;
  }

  .page3-info-description p {
    font-size: clamp(0.7rem, 1.1vw, 0.9rem);
  }

  .page3-info-name {
    font-size: clamp(1rem, 2vw, 1.8rem);
  }

  .page3-info-title {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  }

  .page3-main {
    padding-bottom: 15px;
    padding-top: 15px;
  }

  .page3-participant-info {
    margin-top: 1.5rem;
  }

  .page3-participants-grid {
    margin-bottom: 1.5rem;
  }

  .page3-title-section {
    margin-bottom: 1.5rem;
  }

  .page3-social-icon {
    font-size: 17px;
  }

  .page3-social-link {
    height: 35px;
    width: 35px;
  }

  .page3-social-links {
    gap: 0.5rem;
  }

  .page3-subtract {
    margin-right: 5px;
    width: 16px;
  }

  .text-block-page3-title {
    font-size: 0.85em;
    padding: 0 3px;
    text-align: center;
  }

  .page3-info-card {
    align-items: stretch;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.8rem;
  }

  .page3-info-content {
    align-items: center;
    text-align: center;
  }

  .page3-info-name {
    font-size: 3.3rem;
  }

  .page3-info-title {
    font-size: 0.8rem;
  }

  .page3-info-description p {
    font-size: 0.8rem;
  }

  .page3-social-title {
    font-size: 0.8rem;
  }

  .page3-social-icon {
    font-size: 28px;
  }

  .participant-info-img {
    border-radius: 14px;
    margin: 0 auto 0.7rem auto;
    max-width: 98vw;
    min-width: 0;
    width: 75vw;
  }

  .page3-participants-grid .col-12,
  .page3-participants-grid .col-sm-6,
  .page3-participants-grid .col-md-4,
  .page3-participants-grid .col-lg-3,
  .page3-participants-grid .col-xl-2,
  .page3-participants-grid .col-xl-3 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 4px;
    padding-right: 4px;
  }

  .page3-participant-card {
    min-width: 0;
    padding: 0.3rem;
  }

  .page3-avatar-img {
    border-radius: 10px;
  }

  .page3-participant-name {
    font-size: 0.8rem;
    padding: 0.2rem 0.1rem;
  }

  .page3-subtract {
    margin-right: 3px;
    width: 12px;
  }




  .header {
    margin-bottom: 30px;
    margin-top: 20px;
  }

  .text-block-page3-title {
    font-size: 0.75em;
    padding: 0 2px;
    text-align: center;
  }

  .page3-desc-wrap {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .page3-desc {
    font-size: 14px;
  }

  .page3-info-card {
    align-items: stretch;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.8rem;
  }

  .page3-info-content {
    align-items: center;
    text-align: center;
  }

  .page3-info-name {
    font-size: 3.5rem;
  }

  .page3-info-title {
    font-size: 0.85rem;
  }

  .page3-info-description p {
    font-size: 0.85rem;
  }

  .page3-social-title {
    font-size: 0.85rem;
  }

  .page3-social-icon {
    font-size: 30px;
  }

  .page3-main {
    max-width: 100vw;
    padding: 0 6px;
  }

  .page3-title {
    font-size: 1.2rem;
  }

  .participant-info-img {
    border-radius: 16px;
    margin: 0 auto 0.8rem auto;
    max-width: 96vw;
    min-width: 0;
    width: 88vw;
  }

  .page3-participants-grid .col-12,
  .page3-participants-grid .col-sm-6,
  .page3-participants-grid .col-md-4,
  .page3-participants-grid .col-lg-3,
  .page3-participants-grid .col-xl-2,
  .page3-participants-grid .col-xl-3 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 5px;
    padding-right: 5px;
  }

  .page3-participant-card {
    min-width: 0;
    padding: 0.35rem;
  }

  .page3-avatar-img {
    border-radius: 11px;
  }

  .page3-participant-name {
    font-size: 0.85rem;
    padding: 0.25rem 0.15rem;
  }

  .page3-subtract {
    margin-right: 4px;
    width: 14px;
  }

  .text-block-page3-title {
    font-size: 0.8em;
    padding: 0 2px;
    text-align: center;
  }

  .page3-desc-wrap {
    display: flex;
    justify-content: center;
  }




  .header {
    margin-bottom: 25px;
    margin-top: 15px;
  }
}

@media (max-width: 425px) {
  /* Стили для навигации теперь в styles.css */
}


@media (min-width: 1284px) and (max-width: 1284px) {
  .blackout {
    width: 100%;
  }
}

@media (max-width:415px) {
  .blackout {
    right: 2px;
    height: 352px;
    position: absolute;
    top: 0px;
  }

  .participant-info-bg-img {
    position: absolute;
    top: 75px;
    left: 600px;
    transform: translate(-50%, -50%);
    height: 550px;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    transition: opacity 0.5s ease-in-out;
  }

  .burger-menu {
    right: 20px;
    top: 25px;
  }
}

@media (max-width:390px) {
  .blackout {
    right: 2px;
    height: 360px;
    position: absolute;
    top: 0px;
  }

  .participant-info-bg-img {
    position: absolute;
    top: 75px;
    left: 600px;
    transform: translate(-50%, -50%);
    height: 550px;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    transition: opacity 0.5s ease-in-out;
  }

  .burger-menu {
    right: 20px;
    top: 25px;
  }
}

@media (max-width:330px) {
  .blackout {
    right: 2px;
    height: 300px;
    position: absolute;
    top: 0px;
  }

  .participant-info-bg-img {
    position: absolute;
    top: 18px;
    left: 600px;
    transform: translate(-50%, -50%);
    height: 550px;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    transition: opacity 0.5s ease-in-out;
  }

  /* Анимация для очень маленьких экранов */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translate(-50%, -50%) scale(1.05);
    }

    to {
      opacity: 0.7;
      transform: translate(-50%, -50%) scale(1);
    }
  }

  @keyframes fadeOut {
    from {
      opacity: 0.7;
      transform: translate(-50%, -50%) scale(1);
    }

    to {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.95);
    }
  }
}