/* ==========================
   GIVEAWAY DETAIL PAGE STYLES
   ========================== */

#giveaway-detail-page {
    padding-bottom: 160px;
}

/* Hero Section */
.hero-section {
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 127, 80, 0.05) 0%, transparent 100%);
}

.hero-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF7F50 0%, #FF9A6C 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(255, 127, 80, 0.3);
    transition: all 0.5s ease;
    position: relative;
}

.hero-icon.special {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
}

.hero-icon svg {
    width: 36px;
    height: 36px;
    stroke-width: 2;
}

.hero-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.hero-reward {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0.08) 100%);
    border: 1.5px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
    margin-bottom: 16px;
}

.hero-reward.special {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(255, 215, 0, 0.08) 100%);
    border: 1.5px solid rgba(255, 215, 0, 0.3);
}

.hero-reward-label {
    font-size: 13px;
    font-weight: 500;
    color: #9CA3B8;
}

.hero-reward-value {
    font-size: 18px;
    font-weight: 700;
    color: #22C55E;
}

.hero-reward.special .hero-reward-value {
    color: #FFD700;
}

.hero-deadline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 127, 80, 0.08);
    border: 1px solid rgba(255, 127, 80, 0.2);
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    color: #FF7F50;
}

.hero-deadline svg {
    width: 16px;
    height: 16px;
}

/* Content Section */
.giveaway-content-section {
    padding: 0 20px 20px;
}

.giveaway-description {
    font-size: 15px;
    font-weight: 400;
    color: #9CA3B8;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Requirements Section */
.requirements-section {
    margin-bottom: 24px;
}

.requirements-section .section-title {
    font-size: 14px;
    font-weight: 600;
    color: #6B7088;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: #242938;
    border: 1px solid #2A2F3F;
    border-radius: 12px;
}

.requirement-icon {
    width: 24px;
    height: 24px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22C55E;
    flex-shrink: 0;
}

.requirement-icon.x-icon {
    background: rgba(255, 127, 80, 0.15);
    color: #FF7F50;
}

.requirement-icon svg {
    width: 14px;
    height: 14px;
}

.requirement-content {
    flex: 1;
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    line-height: 1.5;
}

.requirement-content strong {
    color: #FF7F50;
    font-weight: 600;
}

.x-link {
    color: #FF7F50;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.x-link:hover {
    opacity: 0.8;
}

.x-logo {
    width: 16px;
    height: 16px;
    color: #FF7F50;
    display: inline-block;
    vertical-align: middle;
}

/* Fixed Button Container */
.fixed-button-container {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    padding: 16px 20px;
    background: linear-gradient(180deg, transparent 0%, #1A1D29 20%, #1A1D29 100%);
    border-top: 1px solid #2A2F3F;
    z-index: 101;
}

.check-btn {
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, #FF7F50 0%, #FF9A6C 100%);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 127, 80, 0.3);
}

.check-btn:hover {
    box-shadow: 0 6px 16px rgba(255, 127, 80, 0.4);
    transform: translateY(-2px);
}

.check-btn.success {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    cursor: not-allowed;
    pointer-events: none;
}

/* Success Toast */
/* Confetti Container */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ==========================
   TASK DETAIL PAGE
   ========================== */

#task-detail-page {
    padding-bottom: 160px;
}

/* Task Hero Section */
.task-hero {
    background: linear-gradient(180deg, rgba(255, 127, 80, 0.08) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 127, 80, 0.1);
}

.task-hero-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    margin: 0 auto 16px;
}

.task-hero-reward {
    background: rgba(34, 197, 94, 0.12);
    border: 1.5px solid rgba(34, 197, 94, 0.3);
}

/* Task Content Section */
.task-content-section {
    padding: 20px;
}

/* Description Block */
.description-block {
    margin-bottom: 16px;
}

.description-text {
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    line-height: 1.7;
}

/* Requirement Section */
.requirement-section {
    padding: 16px;
    background: #242938;
    border: 1px solid #2A2F3F;
    border-radius: 12px;
    margin-bottom: 16px;
}

.requirement-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #9CA3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.requirement-header svg {
    width: 18px;
    height: 18px;
}
