.photo-contest-page {
  color: var(--bs-white);
}

.photo-contest-page .pc-hero {
  position: relative;
  min-height: clamp(520px, 78vh, 760px);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-top: 72px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, .78)),
    url('../img/store/bbq.webp') center/cover no-repeat;
}

.photo-contest-page .pc-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(transparent, var(--bs-black));
}

.photo-contest-page .pc-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 2rem 1rem 3rem;
}

.photo-contest-page .pc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(0, 0, 0, .35);
  font-weight: 700;
  letter-spacing: .08em;
  font-size: .85rem;
}

.photo-contest-page .pc-hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 1.05;
  margin: 1.25rem 0 .75rem;
  text-shadow: 0 8px 30px rgba(0, 0, 0, .45);
}

.photo-contest-page .pc-hero p {
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  line-height: 1.55;
  margin: 0 auto 1.5rem;
  max-width: 760px;
  opacity: .95;
}

.photo-contest-page .pc-prize {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  color: #111;
  border-radius: 18px;
  padding: 14px 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
  margin-bottom: 1.5rem;
}

.photo-contest-page .pc-prize small {
  display: block;
  color: #777;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
}

.photo-contest-page .pc-prize strong {
  font-size: 1.45rem;
}

.photo-contest-page .pc-hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.photo-contest-page .pc-btn {
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  border: none;
  transition: transform .15s ease, opacity .15s ease;
}

.photo-contest-page .pc-btn:hover {
  transform: translateY(-2px);
  opacity: .95;
  color: inherit;
}

.photo-contest-page .pc-btn-primary {
  background: linear-gradient(135deg, #ff4a43, var(--main-red));
  color: #fff;
  box-shadow: 0 12px 30px rgba(229, 7, 23, .35);
}

.photo-contest-page .pc-btn-ghost {
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(0, 0, 0, .28);
  color: #fff;
}

.photo-contest-page .pc-section {
  padding: 5rem 0;
}

.photo-contest-page .pc-kicker {
  color: var(--main-red);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
}

.photo-contest-page .pc-title {
  text-align: center;
  font-size: clamp(1.9rem, 5vw, 3rem);
  margin: .75rem 0 1rem;
}

.photo-contest-page .pc-copy {
  text-align: center;
  color: rgba(255, 255, 255, .72);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.photo-contest-page .pc-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.photo-contest-page .pc-step {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(34, 34, 34, .95), rgba(20, 20, 20, .95));
  box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
}

.photo-contest-page .pc-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--main-red);
  color: #fff;
  font-weight: 900;
  margin-bottom: 16px;
}

.photo-contest-page .pc-step h3 {
  font-size: 1.35rem;
  margin: 0 0 10px;
}

.photo-contest-page .pc-step p {
  color: rgba(255, 255, 255, .72);
  line-height: 1.6;
  margin: 0;
}

.photo-contest-page .pc-gallery-wrap {
  background:
    radial-gradient(circle at 20% 10%, rgba(244, 184, 63, 0.08), transparent 28%),
    linear-gradient(180deg, #121212 0%, #171411 100%);
}

.photo-contest-page .pc-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 280px));
  justify-content: center;
  gap: 32px 28px;
  padding: 12px 0 24px;
}

.photo-contest-page .pc-album-card {
  width: 100%;
  background: #fffaf3;
  padding: 12px 12px 14px;
  border-radius: 6px;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.34),
    0 1px 0 rgba(255, 255, 255, 0.65) inset;
  color: #242424;
  transition: transform .22s ease, box-shadow .22s ease;
}

.photo-contest-page .pc-album-card:nth-child(3n + 1) {
  transform: rotate(-1.4deg);
}

.photo-contest-page .pc-album-card:nth-child(3n + 2) {
  transform: rotate(1.1deg);
}

.photo-contest-page .pc-album-card:nth-child(3n) {
  transform: rotate(-0.6deg);
}

.photo-contest-page .pc-album-card:hover {
  transform: rotate(0deg) translateY(-8px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.42);
}

.photo-contest-page .pc-album-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ece6dc;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.photo-contest-page .pc-album-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: transform .28s ease;
}

.photo-contest-page .pc-album-card:hover .pc-album-photo img {
  transform: scale(1.02);
}

.photo-contest-page .pc-album-caption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  min-height: 52px;
}

.photo-contest-page .pc-album-text {
  min-width: 0;
  flex: 1;
}

.photo-contest-page .pc-album-name {
  font-weight: 800;
  font-size: .92rem;
  line-height: 1.35;
  color: #1f1f1f;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.photo-contest-page .pc-album-meta {
  font-size: .78rem;
  color: #7a6f62;
  margin-top: 4px;
  font-weight: 600;
}

.photo-contest-page .pc-album-vote {
  flex-shrink: 0;
  border: 0;
  background: #1f1f1f;
  color: #fff;
  border-radius: 999px;
  min-width: 54px;
  height: 34px;
  padding: 0 12px;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}

.photo-contest-page .pc-album-vote:hover,
.photo-contest-page .pc-album-vote.voted,
.photo-contest-page .pc-album-vote:disabled {
  background: var(--main-red);
}

.photo-contest-page .pc-album-vote-static {
  flex-shrink: 0;
  background: #ece4d8;
  color: #5d5348;
  border-radius: 999px;
  min-width: 54px;
  height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 800;
}

.photo-contest-page .pc-winner-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  background: rgba(34, 34, 34, .95);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.photo-contest-page .pc-winner-photo {
  min-height: 360px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
}

.photo-contest-page .pc-winner-badge {
  display: inline-flex;
  background: rgba(244, 184, 63, .18);
  color: #f4b83f;
  font-weight: 900;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: .82rem;
}

.photo-contest-page .pc-winner-content h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 16px 0 12px;
}

.photo-contest-page .pc-winner-content p {
  color: rgba(255, 255, 255, .72);
  line-height: 1.7;
}

.photo-contest-page .pc-reward {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  font-weight: 900;
  font-size: 1.15rem;
}

.photo-contest-page .pc-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.photo-contest-page .pc-rule-list {
  display: grid;
  gap: 14px;
}

.photo-contest-page .pc-rule {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(34, 34, 34, .75);
}

.photo-contest-page .pc-check {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(21, 148, 71, .18);
  color: #4ade80;
  font-weight: 900;
}

.photo-contest-page .pc-rule strong {
  display: block;
  margin-bottom: 4px;
}

.photo-contest-page .pc-rule span {
  color: rgba(255, 255, 255, .68);
  font-size: .9rem;
  line-height: 1.5;
}

.photo-contest-page .pc-rule-cta {
  background: #181818;
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 34px;
  border-radius: 24px;
  position: sticky;
  top: 110px;
}

.photo-contest-page .pc-rule-cta h3 {
  font-size: 1.75rem;
  margin: 0 0 12px;
}

.photo-contest-page .pc-rule-cta p {
  color: rgba(255, 255, 255, .72);
  line-height: 1.65;
}

.photo-contest-page .pc-social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.photo-contest-page .pc-social-links a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: .9rem;
}

@media (max-width: 992px) {
  .photo-contest-page .pc-steps,
  .photo-contest-page .pc-rules,
  .photo-contest-page .pc-winner-card {
    grid-template-columns: 1fr;
  }

  .photo-contest-page .pc-gallery {
    grid-template-columns: repeat(2, minmax(0, 280px));
    gap: 24px 20px;
  }

  .photo-contest-page .pc-album-card {
    transform: none !important;
  }

  .photo-contest-page .pc-album-card:hover {
    transform: translateY(-6px) !important;
  }

  .photo-contest-page .pc-winner-photo {
    min-height: 280px;
  }

  .photo-contest-page .pc-rule-cta {
    position: static;
  }
}

@media (max-width: 576px) {
  .photo-contest-page .pc-hero {
    margin-top: 64px;
    min-height: 620px;
  }

  .photo-contest-page .pc-section {
    padding: 3.5rem 0;
  }

  .photo-contest-page .pc-gallery {
    grid-template-columns: minmax(0, 280px);
    gap: 22px;
  }

  .photo-contest-page .pc-btn {
    min-width: 86vw;
  }
}
