* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@font-face {
    font-family: 'Museo Sans Cyrl 700';
    src: url('fonts/MuseoSansCyrl-700.eot');
    src: url('fonts/MuseoSansCyrl-700.eot?#iefix') format('embedded-opentype'),
        url('fonts/MuseoSansCyrl-700.woff2') format('woff2'),
        url('fonts/MuseoSansCyrl-700.woff') format('woff'),
        url('fonts/MuseoSansCyrl-700.ttf') format('truetype'),
        url('fonts/MuseoSansCyrl-700.svg#MuseoSansCyrl-700') format('svg');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Museo Sans Cyrl 500';
    src: url('fonts/MuseoSansCyrl-500.eot');
    src: url('fonts/MuseoSansCyrl-500.eot?#iefix') format('embedded-opentype'),
        url('fonts/MuseoSansCyrl-500.woff2') format('woff2'),
        url('fonts/MuseoSansCyrl-500.woff') format('woff'),
        url('fonts/MuseoSansCyrl-500.ttf') format('truetype'),
        url('fonts/MuseoSansCyrl-500.svg#MuseoSansCyrl-500') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Museo Sans Cyrl 900';
    src: url('fonts/MuseoSansCyrl-900.eot');
    src: url('fonts/MuseoSansCyrl-900.eot?#iefix') format('embedded-opentype'),
        url('fonts/MuseoSansCyrl-900.woff2') format('woff2'),
        url('fonts/MuseoSansCyrl-900.woff') format('woff'),
        url('fonts/MuseoSansCyrl-900.ttf') format('truetype'),
        url('fonts/MuseoSansCyrl-900.svg#MuseoSansCyrl-900') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}



body {
  font-family: 'Museo Sans Cyrl 500', sans-serif;
  background-color: #f0f0f0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(bg.png) center center no-repeat;
  background-size: cover;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  height: calc(100vh - 100px);
}

.card {
  aspect-ratio: auto;
  height: 100%;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5vw;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  color: white;
  background: rgba(255, 255, 255, 0.16);
backdrop-filter: blur(18px)!important;
}
.card-content {
  color: #FFF;
  text-align: center;
  
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  & > div:first-of-type {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 48px;
    border: 2px solid #FFF;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
  }
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.card.disabled {
  border-radius: 10px;
  background: rgba(46, 98, 157, 0.16);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.popup {
  color: white;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup.active {
  display: flex;
}

.popup-content {
  border-radius: 40px;
  background: url(popup.png) center center no-repeat;
  background-size: cover;
  box-shadow: 8px 8px 100px 0px #051C38;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 70%;
  position: relative;
  padding-top: 70px;
  padding-bottom: 70px;
}


.answers {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0;
}

.bonus-answer,
.answer-btn {
  width: calc(50% - 8px);
  max-width: 100%;
  flex: 1 49%;
  border: none;
  padding: 48px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  text-align: center;
  
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.16);
  transition: all 0.4s;
  border: 3px solid rgba(255, 255, 255, 0.16);
}
.correct-answer {
  border-radius: 16px;
  border: 3px solid #6CC265;
  background: rgba(108, 194, 101, 0.16);
  backdrop-filter: blur(20px);
}
.wrong-answer {
  border-radius: 16px;
  border: 2px solid #DE5454;
  background: rgba(222, 84, 84, 0.16);
  backdrop-filter: blur(20px);
}
/*.answers:has(.correct-answer) {
  .answer-btn {
    background: rgba(46, 98, 157, 0.16);
    color: rgba(255,255,255,0.16);
    &.correct-answer {
      background: rgba(255, 255, 255, 0.16);
      color: white;
    }
  }
}*/
.bonus-answers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  .bonus-answer {
    height: 370px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }
}

.bonus-answer:hover,
.answer-btn:hover {
/*    background-color: #f5f5f5;*/
/*    border-color: #ccc;*/
cursor: pointer;
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.title {
  color: #FFF;
  text-align: center;
  
  font-size: 72px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 32px;
}

.close-btn {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 96px;
  background: rgba(255, 255, 255, 0.16);
  border: none;
  margin-left: auto;
  position: absolute;
  right: 24px;
  top: 24px;
}
.title {

}
.close-btn:hover {
/*    background-color: #0056b3;*/
}

.bottom-buttons {
  position: relative;
  bottom: 20px;
/*  left: 0;*/
  right: 20px;
  display: flex;
  margin-left: auto;
/*  justify-content: flex-end;*/
  gap: 20px;
  margin-top: 20px;
}

.reset-btn {
  position: static;
  transform: none;
  padding: 0px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #dc3545;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s ease;
  opacity: 0.2;
}

.reset-btn:hover {
  background-color: #c82333;
}

.bonus-btn {
  padding: 0px 20px;
  background-color: #28a745;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s ease;
  text-decoration: none;
  opacity: 0.2;
}

.bonus-btn:hover {
  background-color: #218838;
}

/* Стилі для бонусної сторінки */
.bonus-container {
  max-width: 2000px;
  margin: 40px auto;
  padding: 20px;
}

.bonus-question h2 {
  color: rgba(255, 255, 255, 0.50);
  text-align: center;
  
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 9.6px;
  text-transform: uppercase;
}
.bonus_q {
  color: #FFF;
  text-align: center;
  
  font-size: 56px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 48px;
}
.bonus-question {
/*    background-color: white;*/
padding: 30px;
border-radius: 12px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
color: white;
}
.close-btn {
  cursor: pointer;
}


.bonus-answer.selected {
  background-color: #28a745;
  color: white;
  border-color: #28a745;
}

.back-btn {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 20px;
  background-color: #6c757d;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.2s ease;
}

.back-btn:hover {
  background-color: #5a6268;
}

h2 {
  margin-bottom: 48px;
  color: #FFF;
  text-align: center;
  
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
