@import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@400;600;700;800&display=swap');

.coupon-page {
    font-family: 'Pretendard', -apple-system, sans-serif;
    background-color: #f9f5f0;
    color: #4a423d;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.coupon-container {
    max-width: 480px;
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #eee1d5;
    box-shadow: 0 15px 35px rgba(74, 66, 61, 0.05);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: #fff9f4;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    border: 1px solid #f0e6dc;
}

.header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #352f2b;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.header p {
    font-size: 0.95rem;
    color: #8e7f75;
    line-height: 1.5;
}

.points-card {
    background: #faf7f2;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border: 1px solid #eee1d5;
}

.points-card .label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #8e7f75;
}

.points-card .amount {
    font-size: 1.4rem;
    font-weight: 800;
    color: #d4a373;
    display: flex;
    align-items: center;
    gap: 5px;
}

.amount-icon {
    font-size: 1.2rem;
    color: #d4a373;
}

.form-group {
    margin-bottom: 25px;
}

.input-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a423d;
    margin-bottom: 10px;
}

.coupon-input {
    width: 100%;
    padding: 18px 20px;
    font-size: 1.1rem;
    text-align: center;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 2px solid #e9e0d8;
    border-radius: 14px;
    background: #ffffff;
    color: #352f2b;
    outline: none;
    transition: all 0.3s ease;
}

.coupon-input::placeholder {
    color: #c4b8b0;
    letter-spacing: 1px;
    font-size: 1rem;
}

.coupon-input:focus {
    border-color: #d4a373;
    box-shadow: 0 0 0 4px rgba(212, 163, 115, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    background: #352f2b;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-submit:hover:not(:disabled) {
    background: #5a504a;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(53, 47, 43, 0.15);
}

.btn-submit:disabled {
    background: #c4b8b0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.result-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.result-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.result-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.notice-list {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px dashed #e9e0d8;
}

.notice-list li {
    font-size: 0.8rem;
    color: #a39389;
    margin-bottom: 8px;
    padding-left: 12px;
    position: relative;
    line-height: 1.4;
}

.notice-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #d4a373;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
