:root {
    --primary: #ff0050;
    --primary-glow: rgba(255, 0, 80, 0.4);
    --secondary: #00f2fe;
    --bg-color: #0f172a;
    --panel-bg: rgba(30, 41, 59, 0.6);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Background Animated Blobs */
.background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    animation: float 20s infinite alternate ease-in-out;
    opacity: 0.6;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: #7c3aed;
    top: 40%;
    left: 60%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { transform: translate(100px, 50px) rotate(45deg) scale(1.2); }
}

/* Main Container */
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 650px;
    padding: 20px;
}

.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
}

/* Header */
.header {
    margin-bottom: 40px;
}

.logo-icon {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(255, 0, 80, 0.3));
}

.header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.pro-badge {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    font-size: 0.9rem;
    padding: 3px 8px;
    border-radius: 8px;
    vertical-align: super;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

/* Input Area */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

@media (min-width: 576px) {
    .input-group {
        flex-direction: row;
    }
}

.input-wrapper {
    position: relative;
    flex-grow: 1;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
}

input {
    width: 100%;
    padding: 18px 20px 18px 50px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    color: white;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
}

input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.paste-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.1rem;
    height: auto;
    width: auto;
    box-shadow: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paste-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-50%);
    box-shadow: none;
}

/* Button */
button {
    background: linear-gradient(135deg, var(--primary), #e11d48);
    color: white;
    border: none;
    padding: 0 35px;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 60px; /* match input height roughly */
    box-shadow: 0 10px 20px rgba(225, 29, 72, 0.3);
    position: relative;
    overflow: hidden;
}

@media (max-width: 575px) {
    button {
        width: 100%;
    }
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(225, 29, 72, 0.4);
}

button:active {
    transform: translateY(1px);
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Status */
.status-message {
    min-height: 24px;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.success { color: #10b981; }
.error { color: #ef4444; }

/* Features */
.features {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.feature i {
    font-size: 1.5rem;
    color: var(--secondary);
    background: rgba(0, 242, 254, 0.1);
    padding: 12px;
    border-radius: 12px;
}

.feature span {
    font-size: 0.9rem;
    font-weight: 500;
}
