/* ==========================================================================
   AZAADESIGNS ID — GIVEAWAY.CSS
   Giveaway Canva Pro Section · Premium Gold Royal Theme
   ========================================================================== */

/* ── SECTION WRAPPER ─────────────────────────────────────────────────────── */
.giveaway-section {
    padding: var(--section-pad);
    position: relative;
    overflow: hidden;
}

/* ── TWO-COLUMN SPLIT LAYOUT ─────────────────────────────────────────────── */
.gw-layout-split {
    display: grid !important;
    grid-template-columns: 1fr 1.15fr;
    gap: 40px;
    align-items: start;
    text-align: left !important;
    padding: 40px !important;
}

.gw-layout-split .gw-crown-row,
.gw-layout-split .gw-steps-label,
.gw-layout-split .gw-slot-row,
.gw-layout-split .gw-footer-note {
    justify-content: flex-start;
    text-align: left;
}

/* ── POSTER COLUMN ───────────────────────────────────────────────────────── */
.gw-poster-col {
    position: sticky;
    top: 100px;
}

.gw-poster-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(234,179,8,0.25),
        0 20px 60px rgba(0,0,0,0.4),
        0 0 40px rgba(234,179,8,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gw-poster-wrap:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow:
        0 0 0 2px rgba(234,179,8,0.5),
        0 30px 80px rgba(0,0,0,0.5),
        0 0 60px rgba(234,179,8,0.2);
}

.gw-poster-img {
    width: 100%;
    display: block;
    border-radius: 20px;
}

.gw-poster-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: #000;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(234,179,8,0.5);
    animation: pulse-badge 2s ease-in-out infinite;
    text-transform: uppercase;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(234,179,8,0.5); }
    50%       { transform: scale(1.06); box-shadow: 0 6px 25px rgba(234,179,8,0.7); }
}

/* ── CONTENT COLUMN ──────────────────────────────────────────────────────── */
.gw-content-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Responsive: stack on mobile */
@media (max-width: 900px) {
    .gw-layout-split {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 28px 20px !important;
        text-align: center !important;
    }

    .gw-layout-split .gw-crown-row,
    .gw-layout-split .gw-slot-row,
    .gw-layout-split .gw-footer-note {
        justify-content: center;
    }

    .gw-poster-col {
        position: static;
        max-width: 420px;
        margin: 0 auto;
    }
}



.giveaway-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 20% 30%, rgba(234, 179, 8, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse 50% 70% at 80% 70%, rgba(168, 85, 247, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

/* Floating orbs background */
.gw-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: gwFloat 8s ease-in-out infinite;
}
.gw-orb-1 {
    width: 300px; height: 300px;
    top: -80px; left: -80px;
    background: radial-gradient(circle, rgba(234,179,8,0.12) 0%, transparent 70%);
    animation-delay: 0s;
}
.gw-orb-2 {
    width: 200px; height: 200px;
    bottom: 40px; right: -40px;
    background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, transparent 70%);
    animation-delay: -4s;
}
@keyframes gwFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-20px) scale(1.05); }
}

/* ── HERO BANNER CARD ────────────────────────────────────────────────────── */
.gw-hero-card {
    background: linear-gradient(135deg,
        rgba(21, 20, 35, 0.95) 0%,
        rgba(30, 27, 60, 0.95) 50%,
        rgba(21, 20, 35, 0.95) 100%);
    border: 1px solid rgba(234, 179, 8, 0.35);
    border-radius: 28px;
    padding: 56px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(234,179,8,0.1),
        0 25px 70px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Animated top border */
.gw-hero-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #f59e0b, #fbbf24, #f59e0b, transparent);
    background-size: 200% auto;
    animation: gwBorderFlow 3s linear infinite;
}

/* Inner glow */
.gw-hero-card::after {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(234,179,8,0.6), transparent);
}

@keyframes gwBorderFlow {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ── CROWN + BADGE ───────────────────────────────────────────────────────── */
.gw-crown-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.gw-crown {
    font-size: 2rem;
    animation: crownBounce 2s ease-in-out infinite;
}
@keyframes crownBounce {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50%       { transform: translateY(-6px) rotate(5deg); }
}

.gw-label-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: #000;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(234,179,8,0.4);
}

/* ── HEADLINE ────────────────────────────────────────────────────────────── */
.gw-headline {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 8px;
}

.gw-headline .gw-gold {
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gwShimmerText 3s linear infinite;
}

@keyframes gwShimmerText {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.gw-subhead {
    display: inline-block;
    background: linear-gradient(90deg, #1e40af, #3b82f6, #60a5fa);
    color: #fff;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 800;
    padding: 10px 28px;
    border-radius: 50px;
    margin: 12px 0 32px;
    box-shadow: 0 4px 20px rgba(59,130,246,0.4);
    animation: pulse-subhead 2.5s ease-in-out infinite;
}

@keyframes pulse-subhead {
    0%, 100% { box-shadow: 0 4px 20px rgba(59,130,246,0.4); transform: scale(1); }
    50%       { box-shadow: 0 6px 30px rgba(59,130,246,0.6); transform: scale(1.02); }
}

/* ── STEPS GRID ──────────────────────────────────────────────────────────── */
.gw-steps-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.gw-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.gw-step-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.gw-step-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(234,179,8,0.4);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    text-decoration: none;
}

/* Step number badge */
.gw-step-num {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    font-size: 0.8rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(234,179,8,0.5);
}

/* Platform icon */
.gw-step-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    position: relative;
    overflow: hidden;
}

.gw-step-icon-wrap.ig  { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.gw-step-icon-wrap.yt  { background: linear-gradient(135deg, #ff0000, #cc0000); }
.gw-step-icon-wrap.wa  { background: linear-gradient(135deg, #25d366, #128c7e); }

.gw-step-icon-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
}

.gw-step-name {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gw-step-handle {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    line-height: 1.3;
}

.gw-step-action {
    font-size: 0.8rem;
    font-weight: 700;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── CLAIM BOX ───────────────────────────────────────────────────────────── */
.gw-claim-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 24px 28px;
    text-align: left;
    margin-bottom: 24px;
}

.gw-claim-label {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.gw-claim-label .gw-emoji { font-size: 1.1rem; }

.gw-claim-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

/* ── CTA BUTTONS ─────────────────────────────────────────────────────────── */
.gw-cta-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

.gw-btn-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(34,197,94,0.4);
    white-space: nowrap;
}

.gw-btn-wa:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(34,197,94,0.55);
    text-decoration: none;
    color: #fff;
}

.gw-btn-wa-icon { font-size: 1.3rem; }

.gw-btn-row {
    display: flex;
    gap: 12px;
}

.gw-btn-ig, .gw-btn-yt {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.gw-btn-ig {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366);
    color: #fff;
    box-shadow: 0 4px 15px rgba(220,39,67,0.3);
}

.gw-btn-ig:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220,39,67,0.5);
    text-decoration: none;
    color: #fff;
}

.gw-btn-yt {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255,0,0,0.3);
}

.gw-btn-yt:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,0,0,0.5);
    text-decoration: none;
    color: #fff;
}

/* ── FOOTER NOTE ─────────────────────────────────────────────────────────── */
.gw-footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    margin-top: 8px;
}

.gw-footer-note .gw-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}

/* ── SLOT INDICATOR ──────────────────────────────────────────────────────── */
.gw-slot-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
}

.gw-slot-bar {
    width: 160px;
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
}

.gw-slot-fill {
    height: 100%;
    width: 68%;
    background: linear-gradient(90deg, #ef4444, #f97316);
    border-radius: 10px;
    animation: slotPulse 2s ease-in-out infinite;
}

@keyframes slotPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.6; }
}

.gw-slot-count {
    color: #ef4444;
    font-weight: 900;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .gw-hero-card {
        padding: 36px 20px;
    }

    .gw-steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 320px;
        margin: 0 auto 32px;
    }

    .gw-claim-box {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }

    .gw-btn-row {
        flex-direction: column;
    }

    .gw-cta-wrap {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .gw-headline {
        font-size: 1.6rem;
    }
}

/* ── MOBILE RESPONSIVE OVERHAUL (767px ke bawah) ──────────────────────── */
@media (max-width: 767px) {

    /* Layout card utama */
    .gw-hero-card {
        padding: 22px 12px;
    }
    .gw-layout-split {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        padding: 18px 12px !important;
        text-align: center !important;
    }

    /* Sembunyikan poster di mobile — konten lebih prioritas */
    .gw-poster-col {
        display: none !important;
    }

    /* Crown + Badge */
    .gw-crown-row {
        justify-content: center;
        gap: 8px;
        margin-bottom: 10px;
    }
    .gw-crown { font-size: 1.5rem; }
    .gw-label-pill {
        font-size: 0.7rem;
        padding: 5px 14px;
        letter-spacing: 1px;
    }

    /* Headline */
    .gw-headline {
        font-size: 1.75rem !important;
        line-height: 1.2;
        margin-bottom: 6px;
    }
    .gw-subhead {
        font-size: 0.88rem;
        padding: 8px 18px;
        margin: 8px 0 20px;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    /* Label steps */
    .gw-steps-label {
        font-size: 0.78rem;
        letter-spacing: 1px;
        margin-bottom: 14px;
        text-align: center;
        justify-content: center;
    }

    /* Steps — 3 kolom horizontal compact */
    .gw-steps-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
        max-width: 100% !important;
        margin: 0 0 18px !important;
    }
    .gw-step-card {
        padding: 22px 8px 14px;
        gap: 8px;
        border-radius: 14px;
    }
    .gw-step-num {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
        top: -11px;
    }
    .gw-step-icon-wrap {
        width: 46px;
        height: 46px;
        font-size: 1.45rem;
        border-radius: 14px;
    }
    .gw-step-name {
        font-size: 0.6rem;
        letter-spacing: 0.4px;
    }
    .gw-step-handle {
        font-size: 0.72rem;
        line-height: 1.2;
    }
    .gw-step-action {
        font-size: 0.65rem;
    }

    /* Claim Box */
    .gw-claim-box {
        grid-template-columns: 1fr !important;
        gap: 12px;
        text-align: center;
        padding: 16px 14px;
        border-radius: 16px;
        margin-bottom: 14px;
    }
    .gw-claim-label {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }
    .gw-claim-desc {
        font-size: 0.78rem;
        line-height: 1.5;
    }
    .gw-cta-wrap {
        width: 100%;
    }
    .gw-btn-wa {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
        padding: 13px 16px;
        border-radius: 12px;
        white-space: normal;
        text-align: center;
    }

    /* Quick link buttons IG + YT — tetap 2 kolom */
    .gw-btn-row {
        flex-direction: row !important;
        gap: 8px;
    }
    .gw-btn-ig,
    .gw-btn-yt {
        font-size: 0.8rem;
        padding: 11px 10px;
        border-radius: 10px;
        justify-content: center;
        flex: 1;
    }

    /* Slot + Footer */
    .gw-slot-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        font-size: 0.78rem;
        margin-top: 14px;
    }
    .gw-slot-bar { width: 100px; }
    .gw-footer-note {
        flex-wrap: wrap;
        justify-content: center;
        font-size: 0.72rem;
        gap: 5px;
        margin-top: 10px;
    }
    .gw-footer-note .gw-dot { display: none; }
}

/* Extra small — 400px ke bawah */
@media (max-width: 400px) {
    .gw-headline { font-size: 1.4rem !important; }
    .gw-layout-split { padding: 14px 10px !important; gap: 14px !important; }
    .gw-step-card  { padding: 18px 5px 12px; }
    .gw-step-icon-wrap { width: 40px; height: 40px; font-size: 1.25rem; border-radius: 12px; }
    .gw-step-handle { font-size: 0.65rem; }
    .gw-step-name   { font-size: 0.52rem; }
    .gw-btn-wa { font-size: 0.82rem; padding: 12px 14px; }
    .gw-btn-ig,
    .gw-btn-yt { font-size: 0.72rem; padding: 10px 8px; }
}
