.hero { text-align: center; margin-top: -20px; padding-bottom: 70px; }
.hero h2 { font-size: clamp(28px, 5vw, 44px); line-height: 1.1; margin: 8px 0 10px; text-shadow: 0 3px 14px rgba(0,0,0,0.6); }

.hero-bottom {
  text-align: center;
  margin-top: 0;
  padding: 0 0 40px;
}

/* Embed Section */
.embed-section {
  padding: 0 0 40px;
}
.embed-container {
  background: rgba(0,0,0,0.2);
  border-radius: 18px;
  padding: 20px;
  overflow: hidden;
}
.embed-container iframe {
  max-width: 100%;
  border-radius: 12px;
  display: block;
}

/* Xmas Calendar */
.xmas-calendar {
  padding: 0 0 40px;
}

/* Extra padding when xmas calendar is above the featured cards */
.xmas-calendar.xmas-above-offers {
  padding-bottom: 70px; /* Account for the center card translateY(-34px) offset */
}

.xmas-header {
  text-align: center;
  margin-bottom: 24px;
}

.xmas-header h2 {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 8px;
  text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

.xmas-header p {
  color: var(--text);
  font-size: 15px;
  opacity: 0.9;
  margin: 0;
}

/* Week navigation */
.xmas-weeks-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.xmas-week-nav {
  position: relative;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

/* Past weeks - clickable, slightly dimmed but visible */
.xmas-week-nav.past {
  opacity: 0.7;
  cursor: pointer;
}

.xmas-week-nav.past:hover {
  opacity: 1;
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

/* Future weeks - locked, greyed out */
.xmas-week-nav.future.locked {
  opacity: 0.35;
  filter: grayscale(100%);
  cursor: not-allowed;
}

/* Current/Active week */
.xmas-week-nav.active,
.xmas-week-nav.current {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(255, 198, 59, 0.25);
  cursor: pointer;
}

.xmas-week-nav.active:hover {
  transform: translateY(-2px);
}

.xmas-week-nav.big-prize.active {
  border-color: #ff6b6b;
  box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.xmas-week-num {
  width: 32px;
  height: 32px;
  background: linear-gradient(180deg, #c41e3a, #8b1528);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  color: #fff;
}

.xmas-week-nav.big-prize .xmas-week-num {
  background: linear-gradient(180deg, #ffc63b, #ff9500);
  color: #1e0c35;
}

.xmas-week-nav-title {
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
}

.xmas-lock {
  font-size: 14px;
  opacity: 0.6;
}

.xmas-check {
  font-size: 14px;
  color: var(--accent);
}

/* Winners section for completed weeks */
.xmas-winners-section {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 25px;
  margin: 20px 20px 20px;
}

.xmas-winners-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.xmas-winners-header h4 {
  margin: 0;
  font-size: 18px;
  color: var(--accent);
}

.xmas-winners-prize {
  background: linear-gradient(180deg, #ffc63b, #ff9500);
  color: #1e0c35;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.xmas-winners-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
}

.xmas-winner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
}

.xmas-winner-icon {
  font-size: 16px;
}

.xmas-winner-email {
  font-family: monospace;
  font-size: 14px;
  color: var(--text);
}

.xmas-no-winners {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  margin: 0;
  padding: 20px;
}

.xmas-winners-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* Badge for completed weeks */
.xmas-card-badge.completed {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #1e0c35;
}

/* Main Week Card - matches theme card styling */
.xmas-card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.xmas-card.big-prize {
  background: linear-gradient(180deg, #3d1a5c, #2a0f42);
  border-color: rgba(255, 107, 107, 0.3);
}

/* Two Column Layout */
.xmas-card-columns {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 280px;
}

/* Left Column - Image */
.xmas-card-left {
  background: rgba(0,0,0,0.2);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.xmas-prize-image {
  width: 180px;
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.xmas-prize-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xmas-prize-placeholder {
  font-size: 56px;
}

.xmas-prize-text {
  font-size: 17px;
  font-weight: 900;
  color: var(--accent);
  text-align: center;
  line-height: 1.3;
}

.xmas-week-title-below {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  text-align: center;
  margin-top: 8px;
  opacity: 0.9;
}

.xmas-card.big-prize .xmas-prize-text,
.xmas-card.big-prize .xmas-week-title-below {
  color: #ff6b6b;
}

/* Right Column - Info */
.xmas-card-right {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.xmas-card-badge {
  display: inline-block;
  background: linear-gradient(180deg, #4caf50, #2e7d32);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
  animation: pulse 2s ease-in-out infinite;
}

.xmas-card-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  margin: 0;
}

.xmas-card-dates {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
}

.xmas-dates-icon {
  font-size: 16px;
}

.xmas-card-description {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  white-space: normal;
  flex-grow: 1;
}

.xmas-card-casinos {
  margin-top: auto;
  padding-top: 8px;
}

.xmas-casinos-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.xmas-casinos-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.xmas-casino-chip {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xmas-casino-chip:hover {
  background: rgba(255,255,255,0.2);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.xmas-casino-chip img {
  max-height: 32px;
  max-width: 100px;
  object-fit: contain;
}

.xmas-casino-chip span {
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
}

/* Form Section */
.xmas-card-form {
  background: rgba(0,0,0,0.15);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 28px;
}

.xmas-card-form h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px;
}

.xmas-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}

.xmas-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.xmas-form-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.xmas-form-field input,
.xmas-form-field select {
  padding: 12px 14px;
  background: rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.xmas-form-field input:focus,
.xmas-form-field select:focus {
  outline: none;
  border-color: var(--accent);
}

.xmas-form-field input::placeholder {
  color: rgba(255,255,255,0.35);
}

.xmas-form-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.xmas-form-field select option {
  background: #1e0c35;
  color: #fff;
}

.xmas-form-btn {
  justify-content: flex-end;
}

.xmas-submit-btn {
  padding: 12px 28px;
  background: linear-gradient(180deg, #c41e3a, #8b1528);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.35);
  white-space: nowrap;
}

.xmas-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 30, 58, 0.45);
}

.xmas-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.xmas-form-message {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
}

.xmas-form-message.success {
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid #4caf50;
  color: #81c784;
}

.xmas-form-message.error {
  background: rgba(244, 67, 54, 0.2);
  border: 1px solid #f44336;
  color: #ef9a9a;
}

/* Snowfall Animation */
.snowfall {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.snowflake {
  position: absolute;
  top: -10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1em;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  animation: snowfall linear infinite;
  opacity: 0;
}

/* ============================================
   CATEGORY SECTION HEADERS (Homepage)
   ============================================ */
.category-section {
  margin-bottom: 50px;
}

.category-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

.category-section-header h3 {
  margin: 0;
  font-size: 24px;
  color: var(--text);
}

.view-all-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.view-all-link:hover {
  color: var(--text);
}

.category-section-footer {
  margin-top: 20px;
  text-align: center;
}


/* ============================================
   GIVEAWAY COMPONENT
   ============================================ */

.giveaway-section {
  padding: 40px 0;
}

.giveaway-section.above {
  padding-bottom: 70px;
}

.giveaway-card {
  background: var(--card);
  border-radius: 16px;
  padding: 0;
  border: 2px solid var(--card-border);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  overflow: hidden;
  position: relative;
}

/* Ribbon/Badge at top */
.giveaway-ribbon {
  background: var(--ribbon-bg);
  color: var(--ribbon-text);
  font-weight: 900;
  font-size: 14px;
  padding: 10px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Main Content: Image + Info */
.giveaway-main {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 0;
}

/* Left Column: Image (1/4) - fills entire column */
.giveaway-image-col {
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-height: 280px;
}

.giveaway-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.giveaway-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: rgba(255,255,255,0.05);
}

/* Right Column: Info (3/4) */
.giveaway-info-col {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.giveaway-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}

.giveaway-description {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* Terms & Conditions Trigger and Modal */
.giveaway-terms-trigger {
  position: relative;
  display: inline-block;
  width: fit-content;
}

.giveaway-terms-trigger .terms-link {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.giveaway-terms-trigger .terms-link:hover {
  color: var(--accent-2);
}

.giveaway-terms-modal {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 10px;
  width: 450px;
  max-width: 90vw;
  max-height: 350px;
  background: var(--card);
  border: 2px solid var(--card-border);
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.5);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s ease;
  overflow: hidden;
}

.giveaway-terms-trigger:hover .giveaway-terms-modal {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.giveaway-terms-modal .terms-modal-header {
  background: var(--card-2);
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.giveaway-terms-modal .terms-modal-content {
  padding: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  max-height: 280px;
  overflow-y: auto;
}

.giveaway-terms-modal .terms-modal-content::-webkit-scrollbar {
  width: 6px;
}

.giveaway-terms-modal .terms-modal-content::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.2);
  border-radius: 3px;
}

.giveaway-terms-modal .terms-modal-content::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

/* Stats: Main Prize + Prize Pool + Countdown */
.giveaway-stats {
  display: flex;
  gap: 16px;
  align-items: stretch;
  flex-wrap: wrap;
}

/* Main Prize Box */
/* Main Prize Box - same style as other stat boxes */
.giveaway-mainprize-box {
  background: rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.1);
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.giveaway-mainprize-box .mainprize-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.giveaway-mainprize-box .mainprize-value {
  font-size: 18px;
  font-weight: 900;
  color: var(--accent);
}

/* Prize Box */
.giveaway-prize-box {
  background: rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.1);
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.giveaway-prize-box .prize-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.giveaway-prize-box .prize-value {
  font-size: 20px;
  font-weight: 900;
  color: var(--accent);
}

/* Countdown Box */
.giveaway-countdown-box {
  background: rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.1);
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.giveaway-countdown-box .countdown-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.giveaway-countdown-box .countdown-timer {
  display: flex;
  gap: 12px;
}

.giveaway-countdown-box .countdown-unit {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.giveaway-countdown-box .countdown-unit span:first-child {
  color: var(--accent);
  font-size: 22px;
  font-weight: 900;
  font-family: monospace;
}

/* Casino Logos */
.giveaway-casinos {
  margin-top: 5px;
}

.giveaway-casinos .casinos-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 12px;
}

.giveaway-casinos .casinos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.casino-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.casino-chip:hover {
  border-color: var(--accent);
  background: rgba(255, 91, 189, 0.1);
}

.casino-chip img {
  height: 32px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
}

/* Form Section */
.giveaway-form-section {
  background: var(--card-2);
  padding: 24px 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.giveaway-form-section h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px;
}

.giveaway-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 15px;
  align-items: end;
}

.giveaway-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.giveaway-form-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.giveaway-form-field input,
.giveaway-form-field select {
  padding: 12px 14px;
  background: rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.giveaway-form-field input:focus,
.giveaway-form-field select:focus {
  outline: none;
  border-color: var(--accent);
}

.giveaway-form-field input::placeholder {
  color: rgba(255,255,255,0.35);
}

.giveaway-form-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.giveaway-form-field select option {
  background: #1e0c35;
  color: #fff;
}

.giveaway-form-btn {
  justify-content: flex-end;
}

/* Submit Button */
.giveaway-submit-btn {
  padding: 12px 28px;
  background: linear-gradient(180deg, var(--button-bg-start, #ffc63b), var(--button-bg-end, #ff9500));
  border: none;
  border-radius: 10px;
  color: var(--button-text, #000);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--button-shadow, 0 6px 20px rgba(255, 198, 59, 0.35));
  white-space: nowrap;
}

.giveaway-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 198, 59, 0.5);
}

.giveaway-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Form Message */
.giveaway-form-message {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

.giveaway-form-message.success {
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid #4caf50;
  color: #81c784;
}

.giveaway-form-message.error {
  background: rgba(244, 67, 54, 0.2);
  border: 1px solid #f44336;
  color: #ef9a9a;
}
