.match-card.small .score-prediction .Who-will-win2>*:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.match-card.small .score-prediction .Who-will-win2>*:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.match-card.small .score-prediction .Who-will-win2>*:nth-child(3) {
  grid-column: 1;
  grid-row: 2;
}

.match-card.small .score-prediction .Who-will-win2>*:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
}

.match-card.small .score-prediction .Who-will-win2>*:nth-child(5) {
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: center;
}

/* ========================================
   PAGE5.CSS - STYLES FOR PICK EM PAGE
   ======================================== */

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

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

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

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

@font-face {
  font-family: "remains";
  src: url("../fonts/ofont.ru_Remains.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Remains(RUS BY LYAJKA)";
  src: url("../fonts/ofont.ru_Remains.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "War-is-Over(RUS BY LYAJKA)";
  src: url("../fonts/ofont.ru_Remains.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Le-Mano";
  src: url("../fonts/LeMano-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* ========================================
     CSS VARIABLES (CUSTOM PROPERTIES)
     ======================================== */
:root {
  --bg-color: #0E0E0E;
  --text-color-one: #6E6E6E;
  --text-color-two: #FFFFFF;
  --text-color-three: #515151;
  --text-color-four: #292929;
  --text-color-five: #828282;
  --accent-color-one: #BC3131;
  --accent-color-two: #DD3C3C;
  --accent-color-three: #BD3232;
  --accent-color-four: #D83B3B;
  --page3-accent2: #D83B3B;
  --card-bg: #090909;
  --card-border: #222222;
  --card-border-active: #D83B3B;
  --text-dark: #1D0A0D;
  --text-gray: #727272;
  --text-blue: #82AEFF;
  --progress-bg: #313131;
  --progress-active: #D83B3B;
}



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

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

.participants-title-section {
  margin-bottom: 3rem;
}

.participants-title span {
  color: #DD3C3C;
}

.participants-desc-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.participants-subtract {
  width: 25px;
  height: auto;
  margin-right: 10px;
}

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

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
  .participants-desc-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .participants-subtract {
    margin-right: 0;
    margin-bottom: 5px;
  }

  .participants-desc {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .participants-desc-content {
    gap: 6px;
  }

  .participants-subtract {
    width: 20px;
  }

  .participants-desc {
    font-size: 1rem;
  }
}

/* Disabled Score Button Styles */
.score-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}

.score-btn.disabled:hover {
  transform: none;
  box-shadow: none;
}

.pickem-features {
  margin-top: 100px;
}

/* ========================================
     BASE STYLES
     ======================================== */
body {
  font-family: "ProximaNova-Regular", sans-serif;
  min-width: 320px;
  background-color: var(--bg-color);
  color: var(--text-color-one);
}

html,
body {
  height: 100%;
}

/* ========================================
     IMAGE PROTECTION STYLES
     ======================================== */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  /* user-drag removed (non-standard) */
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
  pointer-events: none;
}

/* ========================================
     LINK STYLES
     ======================================== */
a {
  text-decoration: none;
  color: var(--text-color-one);
  transition: color .3s;
}

a:hover,
a.active {
  color: var(--accent-color-one);
}

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

/* ========================================
     LAYOUT STYLES
     ======================================== */
.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.main {
  position: relative;
  z-index: 5;
  padding-top: clamp(00px, 8vw, 00px);
}

/* ========================================
     HEADER & NAVIGATION STYLES
     ======================================== */
.header {
  font-family: "ProximaNova-Bold", sans-serif;
  margin-bottom: 50px;
  margin-top: 30px;
}











/* ========================================
     PAGE5 HERO SECTION
     ======================================== */
.page5-hero {
  padding: clamp(60px, 10vw, 120px) 0;
  background: linear-gradient(135deg, #0E0E0E 0%, #151515 100%);
  text-align: center;
}

.page5-content {
  max-width: 800px;
  margin: 0 auto;
}

.page5-title {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 6vw, 72px);
  color: #DD3C3C;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: clamp(24px, 4vw, 48px);
  text-shadow: 0 4px 16px rgba(221, 60, 60, 0.4);
}

.page5-description {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 2.5vw, 24px);
  color: #828282;
  line-height: 1.6;
  margin-bottom: clamp(40px, 6vw, 60px);
}

.page5-actions {
  display: flex;
  gap: clamp(16px, 3vw, 24px);
  justify-content: center;
  flex-wrap: wrap;
}

.page5-button {
  padding: clamp(12px, 2vw, 20px) clamp(24px, 4vw, 40px);
  border-radius: clamp(8px, 1.5vw, 16px);
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 2vw, 18px);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page5-button.primary {
  background: linear-gradient(135deg, #BC3131 0%, #DD3C3C 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(221, 60, 60, 0.4);
}

.page5-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(221, 60, 60, 0.6);
  background: linear-gradient(135deg, #DD3C3C 0%, #BC3131 100%);
}

.page5-button.secondary {
  background: transparent;
  color: #DD3C3C;
  border: 2px solid #DD3C3C;
}

.page5-button.secondary:hover {
  background: rgba(221, 60, 60, 0.1);
  transform: translateY(-2px);
}

/* ========================================
     PAGE5 FEATURES SECTION
     ======================================== */
.page5-features {
  padding: clamp(60px, 10vw, 120px) 0;
  background: #0E0E0E;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 40px);
}

.feature-card {
  background: linear-gradient(135deg, #101010 0%, #151515 100%);
  border: 1px solid #222222;
  border-radius: clamp(16px, 3vw, 24px);
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: clamp(16px, 2.5vw, 24px);
}

.feature-title {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 3vw, 28px);
  color: #DD3C3C;
  margin-bottom: clamp(12px, 2vw, 16px);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-text {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.8vw, 16px);
  color: #828282;
  line-height: 1.6;
}

/* Leaderboard Section */
.leaderboard {
  padding: 40px 0;
  text-align: center;
}

.leaderboard-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
  font-family: 'War is Over(RUS BY LYAJKA)', sans-serif;
}

.current-user-score {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 8px;
  display: inline-block;
}

.leaderboard-table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  color: #fff;
  border-collapse: collapse;
}

.leaderboard-table th,
.leaderboard-table td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-table thead th {
  font-weight: bold;
  color: #ffc107;
  text-transform: uppercase;
}

.leaderboard-table tbody tr:last-child td {
  border-bottom: none;
}

.leaderboard-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* User Info in Navbar */
.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-details {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.user-name {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-color-two);
}

.user-points {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: var(--text-blue);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--card-border-active);
}

.logout-btn {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: var(--text-gray);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.logout-btn:hover {
  color: var(--card-border-active);
  background: rgba(216, 59, 59, 0.1);
}

/* Selected pick styles */
/* Selection highlight with filters and glow matching shape */
.podlozka1.selected,
.podlozka2.selected {
  transform: scale(1.04);
  filter: drop-shadow(0 0 10px rgba(216, 59, 59, 0.6)) saturate(1.1) brightness(1.08);
}

.podlozka1,
.podlozka2 {
  cursor: pointer;
  transition: all 0.3s ease;
}

.podlozka1:hover,
.podlozka2:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
}

/* Tournament Progress Section */
.tournament-progress {
  padding: 60px 0;
  background: var(--bg-color);
}

.progress-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.progress-header {
  text-align: center;
}

.progress-title {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 700;
  font-size: 31.28px;
  color: var(--text-gray);
  text-transform: uppercase;
}

.progress-timeline {
  background: #141414;
  border-radius: 20px;
  padding: 27px 50px;
  position: relative;
  max-width: 822px;
  margin: 0 auto;
}

.progress-stages {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.progress-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 10px;
  border-radius: 10px;
}

.progress-stage:hover {
  background: rgba(216, 59, 59, 0.1);
  transform: translateY(-2px);
}

.progress-stage.active {
  background: rgba(216, 59, 59, 0.2);
}

.stage-info {
  margin-bottom: 7px;
}

.stage-label {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 700;
  font-size: 22.17px;
  color: var(--text-gray);
}

.stage-name {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 700;
  font-size: 33.26px;
  color: var(--text-color-two);
  text-align: center;
}

.stage-status {
  width: 117px;
  height: 35px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 700;
  font-size: 16.09px;
}

.stage-status.skipped {
  border: 1px solid var(--text-gray);
  color: var(--text-gray);
}

.stage-status.completed {
  background: var(--card-border);
  color: var(--text-gray);
}

.stage-status.active {
  border: 1px solid var(--card-border-active);
  color: var(--card-border-active);
  position: relative;
}

.stage-status.pending {
  border: 1px solid var(--text-gray);
  color: var(--text-gray);
  opacity: 0.7;
}


.stage-status.points {
  border: 1px solid var(--text-blue);
  color: var(--text-blue);
}

.progress-line {
  position: absolute;
  top: 40px;
  left: 500px;
  width: 2px;
  height: 99px;
  background: var(--progress-bg);
  border-radius: 55px;
}

.progress-indicator {
  position: absolute;
  top: 0;
  left: 555px;
  width: 113px;
  height: 6px;
  background: var(--progress-active);
  border-radius: 3px;
}

/* ========================================
     MATCH CARDS SECTION
     ======================================== */
.match-cards {
  padding: 60px 0;
  background: var(--bg-color);
}

.LeMano-OneImg {
  position: absolute;
  z-index: 15;
  top: 100px;
  left: 255px;
}

.LeMano-text-one {
  position: absolute;
  font-family: "Le-Mano";
  font-weight: 700;
  font-size: 68px;
  z-index: 20;
  top: 105px;
  right: 265px;
  color: #1d0a0d;
}

.LeMano-TwoImg {
  position: absolute;
  z-index: 15;
  top: 100px;
  right: 245px;
}

.LeMano-text-two {
  position: absolute;
  font-family: "Le-Mano";
  font-weight: 700;
  font-size: 68px;
  z-index: 20;
  top: 105px;
  left: 278px;
  color: #1d0a0d;
}

.match-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
  justify-items: center;
}

.match-card {
  background: #090909;
  border: 1px solid #222222;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  width: 468px;
  height: 640px;
  /* Increased height */
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

/* Уменьшенные карточки для четвертьфиналов и полуфиналов */
.small {
  width: 468px;
  height: 530px;
}

.match-card.small .score-prediction {
  position: relative;
  margin-top: 70px;
  flex-direction: column;
  align-items: center;
  z-index: 27;
}


.match-LeMano {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 400px;
  z-index: 10;
}

/* Корректировка позиций элементов для маленьких карточек */
.match-card.small .kto {
  margin-top: 300px;
}

.match-card.small .Who-will-win {
  top: 345px;
}

.match-card.small .kto2 {
  margin-top: 350px;
}

.match-card.small .Who-will-win2 {
  top: 370px;
}

.match-card.small .match-prediction {
  margin-top: 210px;
}

.match-card.small .LeMano-OneImg {
  top: 80px;
  left: 220px;
}

.match-card.small .LeMano-text-one {
  top: 85px;
  right: 222px;
}

.match-card.small .LeMano-TwoImg {
  top: 80px;
  right: 200px;
}

.match-card.small .LeMano-text-two {
  top: 85px;
  left: 240px;
}

/* Стили для контейнера LeMano в маленьких карточках */
.match-card.small .match-LeMano {
  position: absolute;
  top: 19px;
  left: 32px;
  right: 45px;
  height: 400px;
  z-index: 10;
}

.LeMano-One {
  width: 76px;
  height: 90px;
}

.match-cards-height {
  height: 550px;
}

.match-LeManoBlock {
  position: absolute;
  gap: 30px;
  margin-top: 90px;
  display: flex;
}

.Lemano-OneBlock {

  display: flex;

}

.Lemano-OneBlock {
  justify-content: center;
  align-items: center;
  display: flex;
  width: 78px;
  height: 90px;
}

.Lemano-text-1 {
  position: absolute;
  font-family: "Le-Mano";
  font-weight: 700;
  font-size: 68px;
  z-index: 20;
  color: #1d0a0d;
}

.Lemano-TwoBlock {
  justify-content: center;
  align-items: center;
  display: flex;
  width: 78px;
  height: 90px;
}

.Lemano-text-2 {
  position: absolute;
  font-family: "Le-Mano";
  font-weight: 700;
  font-size: 68px;
  z-index: 20;
  color: #1d0a0d;
}




/* Remove cursor pointer from card, it's on the buttons now */
.match-card:not(.has-prediction) {
  cursor: default;
}

.match-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(216, 59, 59, 0.2);
  border-color: #333333;
}

.match-card.active {
  border-color: #D83B3B;
  box-shadow: 0 0 20px rgba(216, 59, 59, 0.3);
  transform: scale(1.02);
}

.match-card.active::before {
  opacity: 0.4;
}

/* Фоновые текстуры карточки */
.match-card::before {
  content: '';
  position: absolute;
  top: -21.52px;
  left: -19px;
  width: 506px;
  height: 573.08px;
  background: url('../img/texture-bg.jpg') center/cover;
  opacity: 0.29;
  z-index: 0;
}

/* Дополнительные текстуры */
.match-card::after {
  position: absolute;
  top: 78.9px;
  right: 145.21px;
  width: 75.6px;
  height: 88.2px;
  background: url('../img/texture-wood1.jpg') center/cover;
  z-index: 0;
}

.kto {
  position: absolute;
  margin-top: 310px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.match-content {
  position: relative;
  z-index: 2;
  /* Make sure content is above the texture */
  align-items: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.Who-will-win {
  display: flex;
  position: absolute;
  top: 345px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  justify-content: center;
  z-index: 50;
  /* Добавляем высокий z-index */
}

.podlozka1 {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: all 0.3s ease;
  z-index: 51;
  /* Выше чем у .Who-will-win */
  cursor: pointer;
  /* Добавляем cursor pointer */
}

.podlozka2 {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: all 0.3s ease;
  z-index: 51;
  /* Выше чем у .Who-will-win */
  cursor: pointer;
  /* Добавляем cursor pointer */
}

.podlozka1:hover,
.podlozka2:hover {
  transform: scale(1.05);
}

.podlozka1-text {
  font-family: "War is Over(RUS BY LYAJKA)";
  z-index: 49;
  /* Ниже чем у кнопок */
  position: absolute;
  margin-top: 12px;
  font-weight: 400;
  font-size: 24px;
  /* Increased font size */
  text-align: center;
  color: #1d0a0d;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  pointer-events: none;
  /* Отключаем события мыши для текста */
}

.podlozka2-text {
  font-family: "War is Over(RUS BY LYAJKA)";
  position: absolute;
  margin-top: 12px;
  z-index: 49;
  /* Ниже чем у кнопок */
  font-weight: 400;
  font-size: 24px;
  /* Increased font size */
  text-align: center;
  color: #1d0a0d;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  pointer-events: none;
  /* Отключаем события мыши для текста */
}

.podlozka1-img {
  margin-right: 10px;
  pointer-events: none;
  /* Отключаем события мыши для изображения */
}

.podlozka2-img {
  margin-left: 10px;
  pointer-events: none;
  /* Отключаем события мыши для изображения */
}

/* Прогноз пользователя */
.match-prediction {
  z-index: 27;
  margin-top: 220px;
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 166px;
  height: 43.74px;
  text-align: center;
  z-index: 2;
}

.Who-will-win2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2 колонки */
  grid-auto-rows: auto;
  gap: 10px;
  /* отступы между блоками */
  width: 100%;
  justify-items: center;
}

.Who-will-win2> :nth-child(5) {
  grid-column: 1 / -1;
  /* растянуть на всю ширину */
  justify-self: center;
  /* выровнять по центру */
}


.kto2 {
  position: absolute;
  margin-top: 410px;
  /* Adjusted position */
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  /* width: 300px; */
  /* Increased size */
}

.prediction-label-block {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 210px;
  justify-content: center;
}

.prediction-label {
  max-width: 300px;
  font-family: 'Remains(RUS BY LYAJKA)', sans-serif;
  font-weight: 400;
  font-size: 25px;
  /* Increased font size */
  line-height: 1.1504;
  color: #FFFFFF;
  text-align: left;
  margin-bottom: 7.74px;
}

.prediction-team {
  font-family: 'Remains(RUS BY LYAJKA)', sans-serif;
  font-weight: 400;
  font-size: 28px;
  /* Increased font size */
  line-height: 1.1504;
  color: #FFFFFF;
  text-transform: uppercase;
  text-align: center;
}

/* Информация о матче */
.match-info {
  position: absolute;
  top: 27px;
  left: 33px;
  right: 33px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.match-number {
  font-family: 'remains', sans-serif;
  font-weight: normal;
  font-size: 26.099px;
  line-height: 1.1504;
  color: #FFFFFF;
  width: 36px;
  height: 18px;
}

.match-time {
  font-family: 'Remains(RUS BY LYAJKA)', sans-serif;
  font-weight: 400;
  font-size: 26.099px;
  line-height: 1.1504;
  color: #FFFFFF;
  height: 18px;
  text-align: right;
}

/* Команды и счет */
.match-teams {
  position: absolute;
  top: 93px;
  left: 168px;
  right: 269px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.team {
  text-align: center;
}

.team-name {
  font-family: 'War is Over(RUS BY LYAJKA)', sans-serif;
  font-weight: 400;
  font-size: 21.063px;
  line-height: 1.1504;
  color: #1D0A0D;
  text-align: center;
  margin-bottom: 10px;
}

.team-score {
  font-family: 'Le Mano', sans-serif;
  font-weight: 700;
  font-size: 68.174px;
  line-height: 1.195;
  color: #1D0A0D;
  width: 32px;
  height: 48px;
}

/* Иконка VS */
.match-vs {
  position: absolute;
  top: 17px;
  right: 37px;
  width: 30px;
  height: 45.69px;
  color: #FFFFFF;
  z-index: 2;
}

.match-vs::before {
  content: 'VS';
  font-family: 'Remains(RUS BY LYAJKA)', sans-serif;
  font-weight: 400;
  font-size: 26.099px;
  line-height: 1.1504;
  color: #FFFFFF;
}

/* Статус матча */
.match-status {
  position: absolute;
  bottom: 61px;
  left: 122px;
  right: 321px;
  text-align: center;
  z-index: 2;
}

.status-text {
  font-family: 'War is Over(RUS BY LYAJKA)', sans-serif;
  font-weight: 400;
  font-size: 21.063px;
  line-height: 1.1504;
  color: #1D0A0D;
  width: 24px;
  height: 24px;
}

/* Дополнительные текстуры */
.match-card .texture-line {
  position: absolute;
  top: 293px;
  left: 46.32px;
  width: 374.38px;
  height: 18.06px;
  background: url('../img/texture-line.jpg') center/cover;
  z-index: 0;
}

.match-card .texture-pattern1 {
  position: absolute;
  top: 331.26px;
  left: 46.32px;
  width: 176.41px;
  height: 46.46px;
  background: url('../img/texture-pattern1.jpg') center/cover;
  z-index: 0;
}

.match-card .texture-pattern2 {
  position: absolute;
  top: 437.83px;
  left: 46.32px;
  width: 176.41px;
  height: 46.46px;
  background: url('../img/texture-pattern2.jpg') center/cover;
  z-index: 0;
}

.match-card .texture-pattern3 {
  position: absolute;
  top: 331.26px;
  left: 244.59px;
  width: 176.41px;
  height: 46.46px;
  background: url('../img/texture-pattern3.jpg') center/cover;
  z-index: 0;
}

.match-card .texture-pattern4 {
  position: absolute;
  top: 437.83px;
  left: 244.59px;
  width: 176.41px;
  height: 46.46px;
  background: url('../img/texture-pattern4.jpg') center/cover;
  z-index: 0;
}

.match-card .texture-finish {
  position: absolute;
  top: 397.75px;
  left: 46.32px;
  width: 374.38px;
  height: 20.17px;
  background: url('../img/texture-finish.jpg') center/cover;
  z-index: 0;
}

/* ========================================
     RESPONSIVE DESIGN
     ======================================== */

/* Очень большие экраны (4K) */
@media (max-width: 2560px) {
  .match-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1600px;
  }

  .progress-timeline {
    max-width: 1000px;
  }
}

/* Десктопы большие */
@media (max-width: 1920px) {
  .match-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1600px;
  }


}

/* Десктопы стандарт */
@media (max-width: 1600px) {
  .match-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1400px;
  }

  .match-grid {
    justify-content: center;
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;

  }

  .progress-timeline {
    max-width: 800px;
  }
}

/* Малые десктопы / большие ноутбуки */
@media (max-width: 1440px) {
  .match-grid {
    justify-content: center;
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
  }

  .progress-line {
    left: 400px
  }

  .progress-timeline {
    padding: 30px 40px;
  }

  .progress-indicator {
    left: 430px;
  }
}

@media (max-width: 1024px) {
  .match-grid {
    justify-content: center;
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
  }

  .progress-line {
    left: 400px
  }

  .progress-timeline {
    padding: 30px 40px;
  }

  .progress-indicator {
    left: 430px;
  }
}

@media (max-width: 768px) {
  .match-grid {
    justify-content: center;
    grid-template-columns: repeat(1, 1fr);
    max-width: 900px;
  }

  .progress-line {
    left: 430px
  }

  .progress-timeline {
    padding: 30px 40px;
  }

  .progress-indicator {
    left: 380px;
  }

  /* Tournament Progress адаптация для планшетов */
  .tournament-progress {
    padding: 40px 0;
  }

  .progress-container {
    padding: 0 20px;
  }

  .progress-title {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .progress-timeline {
    padding: 25px 20px;
    border-radius: 18px;
    max-width: 100%;
  }

  .progress-stages {
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }

  .progress-stage {
    flex: none;
    width: 100%;
    max-width: 350px;
  }

  .stage-info {
    margin-bottom: 12px;
  }

  .stage-label {
    font-size: 20px;
  }

  .stage-name {
    font-size: 28px;
  }

  .stage-status {
    max-width: 220px;
    height: 38px;
    font-size: 15px;
  }

  .progress-line {
    display: none;
  }

  .progress-indicator {
    display: none;
  }

  /* User Info адаптация для мобильных */
  .user-info {
    flex-direction: column;
    gap: 5px;
    margin-left: 10px;
    padding: 6px 8px;
  }

  .user-details {
    align-items: center;
  }

  .user-name {
    font-size: 12px;
  }

  .user-points {
    font-size: 10px;
  }

  .user-avatar {
    width: 24px;
    height: 24px;
  }

  .logout-btn {
    font-size: 10px;
    padding: 2px 4px;
  }
}

@media (max-width: 460px) {
  .textura1 {
    width: 130%;
  }

  .match-card {
    width: 400px;
    height: 624px;
  }

  .match-card.small {
    height: 480px;
  }

  .match-card.small .kto {
    margin-top: 260px;
  }

  .match-card.small .Who-will-win {
    top: 290px;
  }

  .match-card.small .kto2 {
    margin-top: 310px;
  }

  .prediction-team {
    font-size: 25px;
  }

  .match-card.small .Who-will-win2 {
    top: 330px;
  }

  .match-card.small .match-prediction {
    margin-top: 190px;
  }

  .match-card.small .LeMano-OneImg {
    top: 70px;
    left: 180px;
  }

  .match-card.small .LeMano-text-one {
    top: 75px;
    right: 190px;
  }

  .match-card.small .LeMano-TwoImg {
    top: 70px;
    right: 170px;
  }

  .match-card.small .LeMano-text-two {
    top: 75px;
    left: 200px;
  }

  /* Стили для контейнера LeMano в маленьких карточках на мобильных */
  .match-card.small .match-LeMano {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 160px;
    z-index: 10;
  }

  .kto {
    position: absolute;
    width: 80%;
    margin-top: 29 0px;
  }

  .podlozka1-img {
    margin-right: 0px;
  }

  .kto2 {
    position: absolute;
    width: 90%;
    margin-top: 29 0px;
  }

  .match-grid {
    justify-content: center;
    grid-template-columns: repeat(1, 1fr);
    max-width: 900px;
  }

  /* Tournament Progress адаптация для мобильных */
  .tournament-progress {
    padding: 30px 0;
  }

  .progress-container {
    padding: 0 15px;
  }

  .progress-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .progress-timeline {
    padding: 20px 15px;
    border-radius: 15px;
    max-width: 100%;
  }

  .progress-stages {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .progress-stage {
    flex: none;
    width: 100%;
    max-width: 280px;
  }

  .stage-info {
    margin-bottom: 10px;
  }

  .stage-label {
    font-size: 18px;
  }

  .stage-name {
    font-size: 24px;
  }

  .stage-status {
    max-width: 200px;
    height: 40px;
    font-size: 14px;
  }

  .progress-line {
    display: none;
  }

  .progress-indicator {
    display: none;
  }
}

/* Ноутбуки стандарт */


/* Планшеты горизонтально */


/* Планшеты вертикально / маленькие ноутбуки */


/* Большие телефоны горизонтально */


/* Большие телефоны вертикально */


/* Малые телефоны */


/* Очень малые телефоны */


/* Бургер-меню */



/* ========================================
     SCORE PREDICTION STYLES
     ======================================== */
.score-prediction {
  position: relative;
  margin-top: 20px;
  flex-direction: column;
  align-items: center;
  z-index: 27;
}

.score-prediction .kto2 {
  position: relative;
  margin-bottom: 10px;
  /* width: 80%;
  max-width: 250px; */
}

/* grid container defined above; no extra overrides needed */

.score-prediction .podlozka1,
.score-prediction .podlozka2 {
  cursor: pointer;
  transition: all 0.3s ease;
  transform: scale(0.85);
  /* Slightly smaller to fit more */
}

.score-prediction .podlozka1:hover,
.score-prediction .podlozka2:hover {
  transform: scale(0.9);
  /* Shape-aware subtle glow on hover */
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
}

.score-prediction .podlozka1.selected,
.score-prediction .podlozka2.selected {
  /* Maintain smaller base size but emphasize selection */
  transform: scale(0.95);
  filter: drop-shadow(0 0 10px rgba(216, 59, 59, 0.6)) saturate(1.1) brightness(1.08);
  box-shadow: none;
}

.score-prediction .podlozka1-text,
.score-prediction .podlozka2-text {
  font-family: "War is Over(RUS BY LYAJKA)";
  font-weight: 400;
  font-size: 24px;
  /* Increased font size */
  text-align: center;
  color: #1d0a0d;
  z-index: 30;
  position: absolute;
  margin-top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

/* ========================================
     STYLES FOR DISABLED PICK ELEMENTS
     ======================================== */

.podlozka1.disabled-pick,
.podlozka2.disabled-pick {
  opacity: 0.7;
  cursor: default !important;
  pointer-events: none;
}

.podlozka1.disabled-pick:hover,
.podlozka2.disabled-pick:hover {
  transform: none;
}

.score-btn.disabled {
  opacity: 0.7;
  cursor: default !important;
  pointer-events: none;
}

.score-btn.disabled:hover {
  transform: none;
}

/* ========================================
     RESPONSIVE STYLES FOR PROGRESS CONTAINER
     ======================================== */

/* Tablets and small desktops - 1024px and below */


/* Mobile landscape and small tablets - 768px and below */


/* Mobile portrait - 480px and below */

.pickem-description {
  max-width: 600px;
  margin: 15px auto 30px;
  font-size: 1.1rem;
  color: #b0b0b0;
  line-height: 1.6;
}

.user-profile-hero {
  text-align: center;
}

.user-welcome {
  font-family: 'War is Over(RUS BY LYAJKA)', sans-serif;
  font-size: 3.5rem;
  color: var(--text-color-two);
  margin-bottom: 10px;
}

.user-nickname {
  color: var(--accent-color-two);
}

.user-points-hero {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  margin-bottom: 25px;
}

.points-label {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #ccc;
}

.points-value {
  font-family: 'War is Over(RUS BY LYAJKA)', sans-serif;
  font-size: 2.5rem;
  color: var(--text-blue);
}

.pickem-actions {
  display: flex;
  justify-content: center;
}

.match-card .textura1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* This will make the image cover the entire container */
  z-index: -1;
  /* Make sure it's behind the content */
  pointer-events: none;
  /* Make sure it doesn't interfere with clicks */
}