/* ============================================
   GET SOCIAL PAGE - NUTTY DESIGN SYSTEM
   Blue theme (Social Boost color: #3B82F6)
   ============================================ */

.gs-page {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== TASK CARD ===== */
.gs-task-card {
    background: var(--bg-secondary, #1C1917);
    border: 1px solid var(--border, #292524);
    border-radius: 16px;
    overflow: hidden;
}

.gs-task-thumbnail-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.gs-task-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #18181B;
}

.gs-task-thumbnail.gs-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
}

.gs-task-thumbnail.gs-no-image::after {
    content: '📢';
    font-size: 48px;
}

.gs-platform-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.gs-platform-icon {
    color: #3B82F6;
}

.gs-reward-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: rgba(245, 158, 11, 0.9);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #1C1917;
}

.gs-task-details {
    padding: 16px;
}

.gs-task-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text, #FAFAF9);
    margin: 0 0 8px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gs-task-description {
    font-size: 13px;
    color: var(--text-secondary, #A8A29E);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== ACTION SECTION ===== */
.gs-action-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gs-go-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.gs-go-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.4);
}

.gs-go-btn:active {
    transform: translateY(0);
}

.gs-go-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ===== ACTION ROW ===== */
.gs-action-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.gs-action-row .gs-go-btn {
    flex: 3;
}

.gs-next-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    background: var(--bg-secondary, #1C1917);
    border: 1px solid var(--border, #292524);
    border-radius: 14px;
    color: var(--text-secondary, #A8A29E);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gs-next-btn:hover {
    background: var(--bg-tertiary, #292524);
    border-color: #3B82F6;
    color: #3B82F6;
}

.gs-verify-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.gs-verify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(34, 197, 94, 0.4);
}

.gs-verify-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.gs-btn-icon {
    font-size: 18px;
}

.gs-skip-btn {
    width: 100%;
    padding: 14px 20px;
    background: transparent;
    border: 1px solid var(--border, #292524);
    border-radius: 12px;
    color: var(--text-secondary, #A8A29E);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gs-skip-btn:hover {
    background: var(--bg-tertiary, #292524);
    color: var(--text, #FAFAF9);
}

/* ===== INFO CARD ===== */
.gs-info-card {
    background: var(--bg-secondary, #1C1917);
    border: 1px solid var(--border, #292524);
    border-radius: 12px;
    padding: 14px 16px;
    text-align: center;
}

.gs-info-card p {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary, #A8A29E);
    line-height: 1.5;
}

.gs-info-card strong {
    color: var(--text, #FAFAF9);
    font-weight: 700;
}

/* ===== SESSION STATS CARD ===== */
.gs-session-card {
    background: var(--bg-secondary, #1C1917);
    border: 1px solid var(--border, #292524);
    border-radius: 16px;
    overflow: hidden;
}

.gs-session-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border, #292524);
}

.gs-session-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted, #78716C);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gs-session-stats {
    display: flex;
    align-items: center;
    padding: 16px;
}

.gs-stat-item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gs-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text, #FAFAF9);
    font-variant-numeric: tabular-nums;
}

.gs-stat-label {
    font-size: 11px;
    color: var(--muted, #78716C);
    margin-top: 2px;
}

.gs-stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border, #292524);
}

.gs-stat-highlight .gs-stat-value {
    color: var(--primary-light, #F59E0B);
}

/* ===== EMPTY STATE ===== */
.gs-empty-state {
    background: var(--bg-secondary, #1C1917);
    border: 1px solid var(--border, #292524);
    border-radius: 16px;
    padding: 48px 24px;
    text-align: center;
}

.gs-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.gs-empty-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text, #FAFAF9);
    margin: 0 0 8px 0;
}

.gs-empty-text {
    font-size: 14px;
    color: var(--text-secondary, #A8A29E);
    margin: 0;
}

/* ===== LOADING STATE ===== */
.gs-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

.gs-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border, #292524);
    border-top-color: #3B82F6;
    border-radius: 50%;
    animation: gsSpinner 0.8s linear infinite;
}

@keyframes gsSpinner {
    to {
        transform: rotate(360deg);
    }
}

.gs-loading-text {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary, #A8A29E);
}

/* ===== VERIFYING STATE ===== */
.gs-verifying-card {
    background: var(--bg-secondary, #1C1917);
    border: 1px solid var(--border, #292524);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gs-verifying-animation {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
}

.gs-verifying-ring {
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-top-color: #3B82F6;
    border-radius: 50%;
    animation: gsRingSpin 1.5s linear infinite;
}

.gs-verifying-ring.gs-ring-2 {
    inset: 8px;
    border-top-color: rgba(59, 130, 246, 0.4);
    animation-duration: 2s;
    animation-direction: reverse;
}

@keyframes gsRingSpin {
    to {
        transform: rotate(360deg);
    }
}

.gs-verifying-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.gs-verifying-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text, #FAFAF9);
    margin: 0 0 4px 0;
}

.gs-verifying-info p {
    font-size: 13px;
    color: var(--text-secondary, #A8A29E);
    margin: 0;
}

/* ===== SUCCESS ANIMATION ===== */
.gs-success-card {
    background: var(--bg-secondary, #1C1917);
    border: 1px solid #22C55E;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.gs-success-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.gs-success-title {
    font-size: 18px;
    font-weight: 700;
    color: #22C55E;
    margin: 0 0 8px 0;
}

.gs-success-reward {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-light, #F59E0B);
    margin: 0 0 16px 0;
}

.gs-next-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gs-next-btn:hover {
    transform: translateY(-1px);
}

/* ===== ERROR STATE ===== */
.gs-error-card {
    background: var(--bg-secondary, #1C1917);
    border: 1px solid #EF4444;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.gs-error-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.gs-error-title {
    font-size: 16px;
    font-weight: 700;
    color: #EF4444;
    margin: 0 0 8px 0;
}

.gs-error-text {
    font-size: 13px;
    color: var(--text-secondary, #A8A29E);
    margin: 0 0 16px 0;
}

.gs-retry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid #3B82F6;
    border-radius: 12px;
    color: #3B82F6;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gs-retry-btn:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* ===== MODALS ===== */
.gs-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gs-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.gs-modal-content {
    position: relative;
    background: var(--bg-secondary, #1C1917);
    border-radius: 20px;
    padding: 24px;
    width: 90%;
    max-width: 340px;
    border: 1px solid var(--border, #292524);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: gsModalIn 0.25s ease-out;
}

@keyframes gsModalIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gs-modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.gs-modal-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
}

.gs-modal-icon-img {
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto 12px auto;
}

.gs-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text, #FAFAF9);
    margin: 0 0 4px 0;
}

.gs-modal-header p {
    font-size: 13px;
    color: var(--text-secondary, #A8A29E);
    margin: 0;
    line-height: 1.4;
}

.gs-modal-stats {
    background: var(--bg-tertiary, #292524);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.gs-modal-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.gs-modal-stat:not(:last-child) {
    border-bottom: 1px solid var(--border, #3f3f46);
}

.gs-modal-stat-label {
    font-size: 13px;
    color: var(--text-secondary, #A8A29E);
}

.gs-modal-stat-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text, #FAFAF9);
}

.gs-modal-stat-nut {
    color: var(--primary-light, #F59E0B);
}

.gs-modal-warning {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
}

.gs-modal-warning p {
    margin: 0;
    font-size: 12px;
    color: #EF4444;
    text-align: center;
}

.gs-modal-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gs-modal-btn-primary {
    background: transparent;
    border: 1px solid #3B82F6;
    color: #3B82F6;
}

.gs-modal-btn-primary:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #60A5FA;
}

/* ===== STOP BUTTON ===== */
.gs-stop-btn {
    width: 100%;
    padding: 14px 20px;
    background: var(--bg-secondary, #1C1917);
    border: 1px solid var(--border, #292524);
    border-radius: 12px;
    color: var(--text-secondary, #A8A29E);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gs-stop-btn:hover {
    background: var(--bg-tertiary, #292524);
    border-color: #3B82F6;
    color: #3B82F6;
}

/* ===== MODAL ACTIONS ===== */
.gs-modal-actions {
    display: flex;
    gap: 12px;
}

.gs-modal-actions .gs-modal-btn {
    flex: 1;
}

.gs-modal-btn-secondary {
    background: transparent;
    border: 1px solid var(--border, #292524);
    color: var(--text-secondary, #A8A29E);
}

.gs-modal-btn-secondary:hover {
    background: var(--bg-tertiary, #292524);
    color: var(--text, #FAFAF9);
}