* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green: #12b981;
    --green-dark: #0ba875;
    --blue: #2563eb;
    --text: #111827;
    --muted: #6b7280;
    --border: #e5e7eb;
    --background: #f4f5f7;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

/* TOP HEADER */

.sp-header {
    height: 52px;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
}

.sp-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.sp-status-dot {
    width: 9px;
    height: 9px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(18, 185, 129, 0.4);
    flex-shrink: 0;
}

.sp-live {
    background: #fff7f7;
    color: #dc6464;
    border: 1px solid #f5dddd;
    border-radius: 6px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 700;
}

/* MAIN LAYOUT */

.sp-main {
    width: 100%;
    max-width: 480px;
    margin: 17px auto 30px;
    padding: 0;
}

/* CARDS */

.sp-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.035);
    margin-bottom: 16px;
}

/* ACTIVATION CARD */

.sp-activation-card {
    padding: 20px;
}

.sp-title {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 750;
    letter-spacing: -0.8px;
    margin-bottom: 8px;
}

.sp-description {
    font-size: 15px;
    line-height: 21px;
    color: #6b7280;
    margin-bottom: 14px;
}

.sp-key-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 13px;
    margin-bottom: 15px;
}

.sp-key-label {
    color: #737b89;
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.sp-key-value {
    color: var(--blue);
    font-size: 16px;
    font-weight: 750;
    letter-spacing: 0.2px;
}

.sp-greeting {
    font-size: 14px;
    line-height: 20px;
    color: #111827;
}

.sp-greeting strong {
    color: var(--blue);
    font-weight: 700;
}

/* DISTRIBUTION CARD */

.sp-distribution-card {
    min-height: 162px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 16px;
}

.sp-distribution-label {
    color: #737b89;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.45px;
    margin-bottom: 3px;
}

.sp-amount {
    color: #16b981;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.12;
    margin-bottom: 13px;
}

.sp-countdown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 13px;
    border: 1px solid #f6dddd;
    background: #fff4f4;
    color: #cf4545;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
}

.sp-countdown-icon {
    font-size: 14px;
}

/* ACTIVATION BUTTON */

.sp-action-area {
    margin-top: 21px;
}

.sp-activation-button {
    width: 100%;
    min-height: 62px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 15px;
    background: var(--green);
    color: #ffffff;
    font-family: inherit;
    font-size: 19px;
    font-weight: 750;
    letter-spacing: -0.3px;
    padding: 16px;
    cursor: pointer;
    box-shadow: 0 7px 15px rgba(18, 185, 129, 0.23);
    transition: background 0.2s ease, transform 0.2s ease;
}

.sp-activation-button:hover {
    background: var(--green-dark);
}

.sp-activation-button:active {
    transform: scale(0.99);
}

.sp-disclaimer {
    text-align: center;
    color: #6b7280;
    font-size: 13px;
    line-height: 19px;
    margin: 12px 8px 28px;
}

/* ACTIVITY FEED */

.sp-feed {
    border-top: 1px solid #e1e4e8;
    padding-top: 23px;
}

.sp-feed-heading {
    color: #737b89;
    font-size: 13px;
    line-height: 18px;
    font-weight: 750;
    letter-spacing: 0.3px;
    margin-bottom: 15px;
}

.sp-feed-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 13px;
    padding: 13px;
    margin-bottom: 13px;
}

.sp-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 750;
}

.sp-avatar-blue {
    background: #e0f2fe;
    color: #176b9a;
}

.sp-avatar-pink {
    background: #fce7f3;
    color: #b42345;
}

.sp-avatar-green {
    background: #dcfce7;
    color: #15803d;
}

.sp-feed-content {
    flex: 1;
    min-width: 0;
}

.sp-feed-meta {
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 3px;
}

.sp-feed-name {
    font-weight: 750;
    color: #111827;
}

.sp-feed-time {
    color: #777d88;
    font-size: 12px;
}

.sp-feed-message {
    color: #374151;
    font-size: 14px;
    line-height: 20px;
    overflow-wrap: break-word;
}

/* DEMO NOTICE */

.sp-demo-notice {
    text-align: center;
    color: #6b7280;
    font-size: 11px;
    line-height: 16px;
    margin: 18px 12px 0;
}

/* RESPONSIVE */

@media (max-width: 520px) {
    .sp-header {
        height: 52px;
        padding: 0 12px;
    }

    .sp-main {
        max-width: none;
        margin: 16px 12px 24px;
    }

    .sp-activation-card {
        padding: 19px;
    }

    .sp-title {
        font-size: 20px;
    }

    .sp-description {
        font-size: 14px;
        line-height: 21px;
    }

    .sp-distribution-card {
        min-height: 160px;
    }

    .sp-amount {
        font-size: 45px;
    }

    .sp-activation-button {
        min-height: 60px;
        font-size: 17px;
        padding: 14px 10px;
    }

    .sp-feed-item {
        gap: 11px;
        padding: 12px;
    }
}

@media (max-width: 360px) {
    .sp-brand {
        font-size: 12px;
    }

    .sp-title {
        font-size: 18px;
    }

    .sp-amount {
        font-size: 40px;
    }

    .sp-feed-message {
        font-size: 13px;
    }
}