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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #ffeb99 0%, #ffb3d9 30%, #d4a3ff 70%, #ff9999 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.2);
    padding: 40px;
    max-width: 600px;
    width: 100%;
    animation: slideUp 0.6s ease-out;
    border: 1px solid rgba(255, 107, 157, 0.1);
    backdrop-filter: blur(10px);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    text-align: center;
    background: linear-gradient(45deg, #ff6b9d, #ff4f00, #c471ed, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 700;
}

.emoji {
    font-size: 36px;
    margin-right: 10px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    color: #4a5568;
    font-weight: 600;
}

input[type="url"] {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 107, 157, 0.2);
    border-radius: 10px;
    font-size: 14px;
    color: #2d3748;
    transition: all 0.3s ease;
}

input[type="url"]:focus {
    outline: none;
    border-color: #ff6b9d;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

input[type="url"]::placeholder {
    color: rgba(74, 85, 104, 0.6);
}

.button-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

button {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #8b2462, #ff6b9d, #ff4f00);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 157, 0.5);
    background: linear-gradient(45deg, #a52c75, #ff7ba7, #ff5a1a);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: #4a5568;
    border: 2px solid rgba(255, 107, 157, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 107, 157, 0.4);
    color: #2d3748;
}

.status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(10px);
}

.status.show {
    opacity: 1;
    transform: translateY(0);
}

.status.success {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(139, 92, 246, 0.1));
    color: #e91e63;
    border: 1px solid rgba(233, 30, 99, 0.2);
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.status.success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff6b9d, #8b5cf6);
    animation: successShimmer 2s ease-in-out;
}

@keyframes successShimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.status.error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.status.info {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.instructions {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    border-left: 4px solid #ff6b9d;
}

.instructions h3 {
    color: #2d3748;
    margin-bottom: 15px;
}

.instructions ol {
    margin-left: 20px;
}

.instructions li {
    margin-bottom: 8px;
    color: #4a5568;
}

.download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b9d, #8b5cf6);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
    font-weight: 600;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    animation: downloadAppear 0.6s ease-out 0.3s forwards;
}

.download-link:hover {
    background: linear-gradient(135deg, #ff7ba7, #a78bfa);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 107, 157, 0.4);
}

.download-link:active {
    transform: translateY(-1px) scale(0.98);
}

.download-link::before {
    content: '';
    margin-right: 8px;
    font-size: 18px;
}

.download-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.download-link:hover::after {
    width: 300px;
    height: 300px;
}

@keyframes downloadAppear {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Success Container */
.success-container {
    margin-top: 25px;
    text-align: center;
    opacity: 0;
    animation: successContainerAppear 0.8s ease-out 0.2s forwards;
}

@keyframes successContainerAppear {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 10px;
    }

    h1 {
        font-size: 24px;
    }

    .button-group {
        flex-direction: column;
    }
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ff6b9d;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Buy Me a Coffee Button Styles */
.support-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
    text-align: center;
}

.coffee-button {
    display: inline-block;
    background: linear-gradient(135deg, #FFDD00, #FFC107);
    color: #333;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    border: none;
    cursor: pointer;
}

.coffee-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    background: linear-gradient(135deg, #FFE55C, #FFD54F);
}

.coffee-button:active {
    transform: translateY(0);
}

.support-text {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}