* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #cccace;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    padding: 60px 40px 40px;
    max-width: 700px;
    width: 100%;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 60px;
}

.title {
    color: rgb(26, 188, 156);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.subtitle {
    color: rgb(26, 188, 156);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Form Section */
.form-section {
    margin-bottom: 40px;
}

.input-group {
    margin-bottom: 20px;
}

input[type="url"] {
    width: 100%;
    padding: 16px;
    border: 2px solid #bdc3c7;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
    background: white;
}

input[type="url"]:focus {
    outline: none;
    border-color: #16a085;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: rgb(26, 188, 156);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background: rgb(22, 160, 133);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.result {
    display: none;
    margin-top: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #bdc3c7;
}

.result.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-label {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 10px;
    font-weight: 500;
}

.result-url {
    display: flex;
    gap: 10px;
    align-items: center;
}

.result-url input {
    flex: 1;
    padding: 12px;
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    background: white;
}

.btn-copy {
    padding: 12px 24px;
    background: #16a085;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.btn-copy:hover {
    background: #138f75;
}

.btn-copy.copied {
    background: #27ae60;
}

.error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 8px;
    display: none;
}

.error.show {
    display: block;
}

/* Footer */
.footer {
    text-align: center;
    color: #7f8c8d;
    font-size: 13px;
    padding-top: 30px;
    border-top: 1px solid #ecf0f1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer a {
    color: #16a085;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer a:hover {
    text-decoration: underline;
}

.footer img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.footer-text {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.separator {
    color: #bdc3c7;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 40px 20px 30px;
    }
    
    .title {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    .result-url {
        flex-direction: column;
    }
    
    .btn-copy {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .title {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 12px;
    }
}
