:root {
  --maroon: #7a1a1a;
  --pink-bg: #fce4e4;
  --white: #ffffff;
  --border-light: #e08e8e;
}

.giveaway-wrapper {
  max-width: 630px;
  margin: 40px auto;
  background: var(--pink-bg);
  padding: 50px 40px;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  font-family: 'Inter', sans-serif;
  color: var(--maroon);
}

.giveaway-main-title {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 0;
  letter-spacing: -0.5px;
}

.giveaway-poll-slides {
  position: relative;
  overflow: hidden;
}

.giveaway-card {
  background: var(--white);
  border-radius: 12px;
  padding: 35px;
  margin-bottom: 25px;
  min-height: 325px;
}

.giveaway-question {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px dashed var(--maroon);
  line-height: 1.3;
}

.giveaway-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.giveaway-option {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 60px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: var(--white);
  transition: all 0.3s ease;
  min-height: 65px;
}

.giveaway-option-image {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
  margin: 5px 15px 5px 5px;
  position: relative;
  z-index: 5;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}

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

.giveaway-option-text {
  font-size: 16px;
  font-weight: 500;
  position: relative;
  z-index: 5;
  flex-grow: 1;
}

.percentage {
  width: 80px;
  text-align: center;
  font-weight: 800;
  font-size: 18px;
  position: relative;
  z-index: 5;
  padding: 20px 0;
  border-left: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}

/* Result Bar as Background */
.giveaway-result-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--maroon);
  z-index: 1;
  width: 0;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Split-Pill Effect for Active/Voted Option */
.giveaway-option.active {
  background: var(--maroon) !important;
  border-color: var(--maroon);
}

.giveaway-option.active .giveaway-option-text {
  color: var(--white) !important;
}

.giveaway-option .percentage {
  background: var(--white) !important;
  color: var(--maroon) !important;
  border-left: 1px solid var(--border-light);
}

.giveaway-option.active .giveaway-option-image {
  border-color: rgba(255,255,255,0.4);
}

.giveaway-result-bar {
  display: none !important;
}

/* Navigation */
.giveaway-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
  padding: 0 10px;
}

.giveaway-nav button {
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--maroon);
  cursor: pointer;
  padding: 10px 0;
  transition: opacity 0.3s;
}

.giveaway-nav button:hover:not([style*="opacity: 0.3"]) {
  color: var(--maroon);
}

.giveaway-dots {
  display: flex;
  gap: 8px;
}

.giveaway-dot {
  width: 10px;
  height: 10px;
  background: #f8c9c9;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.giveaway-dot.active {
  background: var(--maroon);
  transform: scale(1.2);
}

/* Loader */
.giveaway-loader {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 20;
  justify-content: center;
  align-items: center;
  border-radius: 40px;
}

.giveaway-loader .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--pink-bg);
  border-top: 4px solid var(--maroon);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* CSS after Integration */
h3.giveaway-question {
    color: #6B0E0E !important;
}

h2.giveaway-main-title {
    color: #6B0E0E !important;
}