/*!******************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./src/components/Footer/footer.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************/
.site-footer {
  margin-top: 26px;
  padding: 26px 0 22px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  background: #1B1D24;
  border: 1px solid rgba(255,255,255,.06);
  padding-bottom: 50px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: 'Lato', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .4px;
}

/* Reduce desktop logo size */
.footer-brand .txt-logo-image {
  width: 110px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
  transition: .18s;
}

.social-btn:hover {
  background: rgba(255,255,255,.10);
}

.social-btn i {
  font-size: 18px;
}

.footer-body {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, auto);
  column-gap: 28px;
  row-gap: 10px;
  align-items: start;
}

.footer-block {
  grid-column: 1;
  grid-row: 1;
}

.footer-title {
  font-size: 16px;
  letter-spacing: .12em;
  color: #fff;
  margin-top: 15px;
  margin-bottom: 20px;
  font-weight: 700; /* Assuming title should be bold */
}

.footer-links {
  display: flex;
  align-items: flex-start;
  gap: 56px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: rgba(255,255,255,.60);
  font-family: 'Lato', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  transition: .18s;
  max-width: 320px;
}

.footer-link:hover {
  color: rgba(255,255,255,.85);
}

.footer-block--policies {
  grid-column: 2;
  grid-row: 2;
}

.footer-copy {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  text-align: right;
  color: rgba(255,255,255,.45);
  font-family: 'Lato', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.35;
}

@media (max-width: 1100px) {
  .footer-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    row-gap: 14px;
  }

  .footer-block {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-copy {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    align-self: start;
  }
}

@media (max-width: 900px) {
  .site-footer {
    padding-bottom: 130px; /* Space for mobile menu */
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 22px 0 18px;
    margin-bottom: -150px;
    padding-bottom: 190px;
  }

  /* Wrap footer-top content on small screens (<550px) to prevent overlap */
  @media (max-width: 550px) {
    .footer-top {
      flex-direction: column;
      align-items: flex-start;
      gap: 20px;
    }
  }

  .footer-brand {
    font-size: 16px;
  }

  .social-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .footer-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    row-gap: 14px;
  }

  .footer-block {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-copy {
    grid-column: 1;
    grid-row: 2;
    font-size: 13px;
  }

  .footer-link {
    font-size: 13px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .footer-links-col {
    gap: 10px;
  }
}

/*!********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./src/app/(site)/lottery/lottery.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************************/
.lottery-page {
  min-height: 100vh;
  background-color: #15171E;
  padding-top: 100px; /* Space for fixed header */
  /* padding-bottom: 40px; removed to let footer sit at bottom */
  color: white;
  display: flex;
  flex-direction: column;
}

.lottery-page .lottery-container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px 40px; /* Added bottom padding to container instead */
  flex: 1;
}

/* Utilities */
.lottery-page .lottery-desktop-only {
  display: block;
}

.lottery-page .lottery-mobile-only {
  display: none !important;
}

.lottery-page .promo-wrapper {
  width: 100%;
}

/* Header Section */
.lottery-page .lottery-header {
  background-color: #1b1d25;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.lottery-page .lottery-back-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  color: white;
  text-decoration: none;
  width: auto; /* Ensure it doesn't inherit fixed width from elsewhere */
  height: auto;
  background: transparent;
  border: none;
}

.lottery-page .promo-input-group {
  position: relative;
  width: 100%;
}

.lottery-page .promo-input {
  width: 100%;
  height: 56px;
  background-color: #15171E;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0 150px 0 20px;
  color: white;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.lottery-page .promo-input:focus {
  border-color: #22C55E;
}

.lottery-page .promo-input::placeholder {
  color: #585c6a;
}

.lottery-page .promo-btn {
  position: absolute;
  right: 6px;
  top: 6px;
  height: 44px;
  background-color: #22C55E;
  color: #15171E;
  border: none;
  border-radius: 8px;
  padding: 0 24px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.lottery-page .promo-btn:hover {
  background-color: #1ea34d;
}

/* Main Draw Section */
.lottery-page .draw-card {
  /* background-color: #1b1d25; removed per request */
  border-radius: 24px;
  /* padding: 32px; removed padding since no bg */
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Give more space to image */
  gap: 40px;
  margin-bottom: 24px;
  /* border: 1px solid rgba(255, 255, 255, 0.05); removed per request */
  position: relative;
  /* overflow: hidden; removed to avoid clipping shadow if any */
}

.lottery-page .draw-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.lottery-page .draw-subtitle {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
}

.lottery-page .draw-subtitle {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
  color: white;
}

.lottery-page .time-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: #d1d5db;
  width: fit-content;
  margin-bottom: 24px;
}

.lottery-page .draw-description {
  font-size: 14px;
  line-height: 1.5;
  color: #d1d5db;
  margin-bottom: 32px;
  max-width: 400px;
}

.lottery-page .draw-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  width: 100%;
}

.lottery-page .btn-extra-place {
  flex: 1;
  height: 48px;
  background-color: #2B2D36;
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: white;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.lottery-page .btn-extra-place:hover {
  background-color: #363945;
}

.lottery-page .btn-take-place {
  flex: 1;
  height: 48px;
  background-color: #22C55E;
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #15171E;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.lottery-page .btn-take-place:hover {
  background-color: #1ea34d;
}

.lottery-page .draw-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  /* min-height: 250px; removed to respect aspect ratio */
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

/* Participants Section */
.lottery-page .participants-section {
  background-color: #1b1d25;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 30px;
}

.lottery-page .section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.lottery-page .participants-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.lottery-page .participant-card {
  background-color: #15171E;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #282C39; /* Updated border color */
}

.lottery-page .participant-avatar {
  width: 40px;
  height: 40px;
  border-radius: 8px; /* Square with rounded corners */
  object-fit: cover;
}

.lottery-page .participant-info {
  flex: 1;
  min-width: 0;
}

.lottery-page .participant-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lottery-page .participant-place {
  font-size: 12px;
  color: #8b92a5;
}

.lottery-page .ticket-icon {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

/* Last Winner Section */
.lottery-page .winner-section {
  margin-bottom: 30px;
}

.lottery-page .winner-card {
  /* background-color: #1b1d25; removed per request */
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Give more space to image */
  /* border: 1px solid rgba(255, 255, 255, 0.05); removed per request */
}

.lottery-page .winner-content {
  padding: 32px 32px 32px 0; /* Adjusted padding since bg is gone */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.lottery-page .winner-info-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lottery-page .winner-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.lottery-page .winner-details {
  display: flex;
  flex-direction: column;
}

.lottery-page .winner-name {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.lottery-page .winner-place {
  font-size: 14px;
  color: #8b92a5;
}

.lottery-page .winner-cup {
  margin-left: auto;
  width: 32px;
  height: 32px;
}

.lottery-page .winner-footer-text {
  font-size: 14px;
  color: #8b92a5;
  line-height: 1.5;
}

.lottery-page .winner-image-container {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

/* Mask removed */

/* Responsive */
@media (max-width: 900px) {
  .lottery-page .draw-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  
  .lottery-page .draw-image-container {
    /* height: 200px; removed to prevent cropping */
    order: -1;
  }

  .lottery-page .section-title {
    text-align: center;
  }

  .lottery-page .participants-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lottery-page .winner-card {
    grid-template-columns: 1fr;
  }
  
  .lottery-page .winner-image-container {
    height: auto;
    order: 0;
  }

  .lottery-page .winner-footer-text {
    display: none;
  }

  .lottery-page .winner-content {
    padding: 0 0 16px 0;
  }

  /* Mask removed */

  .lottery-page .lottery-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .lottery-page .promo-input-group {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .lottery-page .participants-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lottery-page .participants-section {
    padding: 10px;
  }

  .lottery-page .participant-card {
    padding: 7px;
    gap: 5px;
  }

  .lottery-page .participant-avatar {
    width: 30px;
    height: 30px;
  }

  .lottery-page .participant-name {
    font-size: 10px;
  }

  .lottery-page .participant-place {
    font-size: 10px;
  }
  
  .lottery-page .draw-actions {
    flex-direction: column;
    gap: 12px;
  }

  .lottery-page .draw-description {
    margin-bottom: 0;
  }

  .lottery-page .btn-extra-place,
  .lottery-page .btn-take-place {
    height: auto;
    padding: 10px 24px;
  }

  .lottery-page .lottery-header {
    padding: 14px;
  }

  .lottery-page .lottery-back-link {
    font-size: 14px;
  }

  .lottery-page .promo-input {
    padding: 0 48px 0 16px;
    height: 48px;
    font-size: 14px;
  }

  .lottery-page .lottery-desktop-only {
    display: none !important;
  }

  .lottery-page .lottery-mobile-only {
    display: flex !important;
  }

  .lottery-page .paste-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
  }

  .lottery-page .mobile-use-btn {
    position: static;
    width: 100%;
    margin-top: 12px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

