* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f5f5f7;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background-color: white;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 500px;
    text-align: center;
}

h1 {
    color: #1d1d1f;
    margin-bottom: 30px;
    font-weight: 600;
}

.promo-container {
    margin-bottom: 25px;
}

.promo-code {
    background-color: #f5f5f7;
    border-radius: 10px;
    padding: 20px;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    word-break: break-all;
    color: #1d1d1f;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-container {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

.btn:active {
    transform: scale(0.98);
}

.generate-btn {
    background-color: #0071e3;
    color: white;
}

.generate-btn:hover {
    background-color: #0077ed;
}

.copy-btn {
    background-color: #e1e1e6;
    color: #1d1d1f;
}

.copy-btn:hover:not(:disabled) {
    background-color: #d1d1d6;
}

.copy-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.message {
    color: #2fb94d;
    font-weight: 500;
    min-height: 24px;
    margin-bottom: 15px;
}

.remaining {
    color: #86868b;
    font-size: 14px;
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 15px;
    }
} 