/* 2025 크리스마스 경품 이벤트 스타일 */
:root {
    --primary: #00a9a7;
    --primary-dark: #008b89;
    --primary-light: #00c9c6;
    --christmas-red: #c41e3a;
    --christmas-green: #165b33;
    --christmas-gold: #ffd700;
    --snow-white: #f8f9fa;
    --text-dark: #212529;
    --text-muted: #6c757d;
}

.christmas-container {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 40px 20px;
    overflow: hidden;
}

/* 눈 내리는 효과 */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5em;
    animation: fall linear infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.snowflake:nth-child(1) { left: 5%; animation-duration: 10s; animation-delay: 0s; font-size: 1.2em; }
.snowflake:nth-child(2) { left: 15%; animation-duration: 12s; animation-delay: 1s; font-size: 1.8em; }
.snowflake:nth-child(3) { left: 25%; animation-duration: 8s; animation-delay: 2s; font-size: 1em; }
.snowflake:nth-child(4) { left: 35%; animation-duration: 14s; animation-delay: 0.5s; font-size: 1.4em; }
.snowflake:nth-child(5) { left: 45%; animation-duration: 9s; animation-delay: 3s; font-size: 2em; }
.snowflake:nth-child(6) { left: 55%; animation-duration: 11s; animation-delay: 1.5s; font-size: 1.1em; }
.snowflake:nth-child(7) { left: 65%; animation-duration: 13s; animation-delay: 2.5s; font-size: 1.6em; }
.snowflake:nth-child(8) { left: 75%; animation-duration: 10s; animation-delay: 4s; font-size: 1.3em; }
.snowflake:nth-child(9) { left: 85%; animation-duration: 15s; animation-delay: 0.8s; font-size: 1.7em; }
.snowflake:nth-child(10) { left: 92%; animation-duration: 7s; animation-delay: 3.5s; font-size: 1.5em; }
.snowflake:nth-child(11) { left: 10%; animation-duration: 16s; animation-delay: 5s; font-size: 1em; }
.snowflake:nth-child(12) { left: 50%; animation-duration: 18s; animation-delay: 6s; font-size: 2.2em; }

@keyframes fall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.3;
    }
}

/* 메인 카드 */
.christmas-card {
    position: relative;
    z-index: 10;
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,249,250,0.98) 100%);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.christmas-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.christmas-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(-10%, -10%) rotate(0deg); }
    50% { transform: translate(10%, 10%) rotate(180deg); }
}

.christmas-tree {
    font-size: 64px;
    margin-bottom: 15px;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.christmas-header h1 {
    color: white;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
}

.christmas-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
}

/* 이벤트 알림 */
.event-notice {
    padding: 50px 30px;
    text-align: center;
}

.notice-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.event-notice h2 {
    color: var(--text-dark);
    font-size: 24px;
    margin: 0 0 15px 0;
}

.event-notice p {
    color: var(--text-muted);
    font-size: 16px;
    margin: 0 0 10px 0;
    line-height: 1.6;
}

.event-notice .hint {
    font-size: 14px;
    color: #999;
}

.countdown-info {
    margin-top: 25px;
    padding: 15px 25px;
    background: rgba(0, 169, 167, 0.1);
    border-radius: 12px;
    color: var(--primary-dark);
    font-size: 15px;
}

.btn-login {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 169, 167, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 169, 167, 0.4);
    color: white;
}

/* 선택 완료 결과 */
.gift-result {
    padding: 50px 30px;
    text-align: center;
}

.result-icon {
    font-size: 80px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.gift-result h2 {
    color: var(--primary);
    font-size: 28px;
    margin: 20px 0 10px 0;
}

.result-date {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
}

.selected-gift-display {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 30px;
    margin: 20px 0;
    border: 2px solid var(--primary);
}

.selected-gift-display .gift-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.selected-gift-display .gift-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.selected-gift-display .gift-status {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.selected-gift-display .gift-status.delivered {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.selected-gift-display .gift-status.pending {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.selected-gift-display .wallet-info {
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-muted);
    font-family: monospace;
}

.thank-you {
    margin-top: 30px;
    font-size: 18px;
    color: var(--primary);
}

/* 경품 선택 섹션 */
.gift-selection {
    padding: 40px 30px;
}

.gift-selection h2 {
    text-align: center;
    color: var(--text-dark);
    font-size: 24px;
    margin: 0 0 15px 0;
}

.selection-notice {
    text-align: center;
    color: var(--christmas-red);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    padding: 12px 20px;
    background: rgba(196, 30, 58, 0.08);
    border-radius: 10px;
}

.gift-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 540px) {
    .gift-options {
        grid-template-columns: 1fr;
    }
}

.gift-option {
    position: relative;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.gift-option:hover:not(.disabled) {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 169, 167, 0.15);
}

.gift-option.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.gift-option.needs-wallet {
    border-color: #EF0027;
    border-style: dashed;
}

.gift-option.needs-wallet:hover {
    border-color: #EF0027;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(239, 0, 39, 0.15);
}

.wallet-required-notice {
    color: #EF0027;
    font-size: 12px;
    font-weight: 600;
    margin: 8px 0 0 0;
    padding: 8px 12px;
    background: rgba(239, 0, 39, 0.08);
    border-radius: 6px;
}

.gift-ribbon {
    position: absolute;
    top: 12px;
    right: -8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 15px 5px 10px;
    border-radius: 4px 0 0 4px;
}

.gift-ribbon::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -8px;
    border: 4px solid transparent;
    border-top-color: var(--primary-dark);
    border-right-color: var(--primary-dark);
}

.gift-option .gift-icon {
    font-size: 56px;
    margin-bottom: 15px;
}

.gift-option h3 {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.gift-option .gift-desc-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gift-option .gift-desc {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.gift-option .gift-desc.no-wallet {
    color: var(--christmas-red);
}

.gift-option .gift-value-info {
    color: var(--christmas-red);
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 8px 0;
    padding: 6px 10px;
    background: rgba(196, 30, 58, 0.08);
    border-radius: 6px;
    display: inline-block;
}

.gift-option .wallet-preview {
    font-size: 11px;
    color: var(--primary);
    font-family: monospace;
    margin: 0;
}

.gift-option .btn-wrap {
    margin-top: auto;
    padding-top: 15px;
}

/* 트론 아이콘 */
.gift-option .gift-icon.tron-icon {
    font-size: 0;
}

.gift-option .gift-icon.tron-icon svg {
    width: 56px;
    height: 56px;
}

.btn-select,
.btn-create-wallet {
    display: block;
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}

.btn-select {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn-select:hover:not(:disabled) {
    box-shadow: 0 4px 15px rgba(0, 169, 167, 0.4);
}

.btn-select:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-create-wallet {
    background: linear-gradient(135deg, #EF0027 0%, #c41e3a 100%);
    color: white;
}

.btn-create-wallet:hover {
    box-shadow: 0 4px 15px rgba(239, 0, 39, 0.4);
    color: white;
}

.event-period {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.event-period strong {
    color: var(--text-dark);
}

/* 확인 모달 */
.confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.confirm-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.confirm-modal.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.modal-content h3 {
    color: var(--text-dark);
    font-size: 20px;
    margin: 0 0 15px 0;
}

.modal-selected-gift {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 15px;
}

.modal-selected-gift .selected-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.modal-selected-gift .selected-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.modal-selected-gift .selected-value.point {
    color: var(--primary);
}

.modal-selected-gift .selected-value.trx {
    color: #EF0027;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0 0 15px 0;
}

.modal-warning-box {
    background: rgba(196, 30, 58, 0.08);
    border: 1px solid rgba(196, 30, 58, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.modal-warning {
    color: var(--christmas-red);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.modal-warning-detail {
    color: var(--text-dark);
    font-size: 13px;
    margin: 0 0 5px 0;
    line-height: 1.5;
}

.modal-warning-detail:last-child {
    margin-bottom: 0;
}

.modal-warning-detail strong {
    color: var(--christmas-red);
}

.modal-confirm-text {
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.modal-buttons {
    display: flex;
    gap: 12px;
}

.modal-buttons button {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background: #f1f3f5;
    color: var(--text-muted);
}

.btn-cancel:hover {
    background: #e9ecef;
}

.btn-confirm {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn-confirm:hover {
    box-shadow: 0 4px 15px rgba(0, 169, 167, 0.4);
}

/* 처리 중 오버레이 */
.processing-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.processing-overlay.active {
    opacity: 1;
    visibility: visible;
}

.processing-content {
    text-align: center;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--primary-light);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.processing-content p {
    font-size: 16px;
    margin: 0;
}

/* 반응형 */
@media (max-width: 480px) {
    .christmas-container {
        padding: 20px 15px;
    }

    .christmas-header {
        padding: 30px 20px;
    }

    .christmas-header h1 {
        font-size: 28px;
    }

    .christmas-tree {
        font-size: 48px;
    }

    .gift-selection,
    .gift-result,
    .event-notice {
        padding: 30px 20px;
    }

    .gift-option {
        padding: 20px 15px;
    }

    .gift-option .gift-icon {
        font-size: 40px;
    }
}

/* 큰 트론 아이콘 */
.gift-icon.tron-icon-large {
    font-size: 0;
    margin-bottom: 15px;
}

.gift-icon.tron-icon-large svg {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 4px 12px rgba(239, 0, 39, 0.3));
}

/* TRX 상태 박스 공통 */
.trx-status-box,
.trx-claim-box {
    margin-top: 20px;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
}

/* 지급 완료 상태 */
.trx-status-box.completed {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.15) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.trx-status-box.completed .status-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.trx-status-box.completed .status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
}

.trx-status-box.completed .status-text {
    font-size: 18px;
    font-weight: 700;
    color: #059669;
}

/* 처리 중 상태 */
.trx-status-box.processing {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.15) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.trx-status-box.processing .status-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.trx-status-box.processing .status-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(245, 158, 11, 0.3);
    border-top-color: #f59e0b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.trx-status-box.processing .status-text {
    font-size: 18px;
    font-weight: 700;
    color: #d97706;
}

.processing-notice {
    margin: 10px 0 0 0;
    font-size: 13px;
    color: #92400e;
}

/* 지급 대기 (Claim) 박스 */
.trx-claim-box {
    background: linear-gradient(135deg, rgba(239, 0, 39, 0.05) 0%, rgba(239, 0, 39, 0.1) 100%);
    border: 2px dashed rgba(239, 0, 39, 0.3);
}

.claim-header {
    margin-bottom: 12px;
}

.claim-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    color: #856404;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid rgba(133, 100, 4, 0.2);
}

.claim-desc {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: var(--text-muted);
}

/* TRX 지급받기 버튼 */
.btn-claim-trx {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 280px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #EF0027 0%, #ff4757 50%, #EF0027 100%);
    background-size: 200% 200%;
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 6px 20px rgba(239, 0, 39, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: claim-pulse 2s ease-in-out infinite, gradient-shift 3s ease infinite;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-claim-trx .tron-btn-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.btn-claim-trx .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-claim-trx .loading-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-claim-trx::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 70%
    );
    animation: shine 3s ease-in-out infinite;
}

.btn-claim-trx:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 10px 30px rgba(239, 0, 39, 0.45),
        0 0 20px rgba(239, 0, 39, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-claim-trx:active {
    transform: translateY(-1px) scale(1);
}

.btn-claim-trx:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    animation: none;
    transform: none;
}

.btn-claim-trx:disabled::after {
    animation: none;
}

@keyframes claim-pulse {
    0%, 100% {
        box-shadow:
            0 6px 20px rgba(239, 0, 39, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow:
            0 8px 30px rgba(239, 0, 39, 0.5),
            0 0 0 8px rgba(239, 0, 39, 0),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    30%, 100% { transform: translateX(100%) rotate(45deg); }
}

/* 트랜잭션 링크 */
.tx-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--primary);
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 169, 167, 0.2);
}

.tx-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 169, 167, 0.3);
}

.tx-link .tx-icon {
    font-size: 14px;
}

/* 지갑 정보 */
.wallet-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 20px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
}

.wallet-info .wallet-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wallet-info .wallet-address {
    font-size: 13px;
    font-family: 'SF Mono', 'Consolas', monospace;
    color: var(--text-dark);
    font-weight: 500;
}

.wallet-info .wallet-link {
    margin-top: 8px;
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.wallet-info .wallet-link:hover {
    color: var(--primary-dark);
}

/* 성공 모달 */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.success-modal-content {
    background: white;
    border-radius: 24px;
    padding: 40px 30px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-modal-content .success-icon {
    font-size: 64px;
    margin-bottom: 15px;
    animation: bounce 0.6s ease;
}

.success-modal-content h3 {
    color: #10b981;
    font-size: 24px;
    margin: 0 0 10px 0;
}

.success-modal-content .success-amount {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 20px 0;
}

.success-modal-content .success-tx {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
}

.success-modal-content .tx-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.success-modal-content .tx-hash {
    font-size: 13px;
    font-family: 'SF Mono', 'Consolas', monospace;
    color: var(--primary);
    text-decoration: none;
}

.success-modal-content .tx-hash:hover {
    text-decoration: underline;
}

.success-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.success-buttons .btn-go-wallet {
    display: block;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 169, 167, 0.3);
}

.success-buttons .btn-go-wallet:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 169, 167, 0.4);
}

.success-buttons .btn-close-modal {
    padding: 12px 24px;
    background: #f1f3f5;
    color: var(--text-muted);
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.success-buttons .btn-close-modal:hover {
    background: #e9ecef;
}

/* 처리 중 상태 */
.gift-status.processing {
    background: #e3f2fd;
    color: #1976d2;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.processing-notice {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}
