:root {
    --bg-main: #050505;
    --bg-card: rgba(20, 20, 20, 0.4);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-glow: rgba(99, 102, 241, 0.5);
    --accent-gradient: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    --danger: #ff4545;
    --danger-glow: rgba(255, 69, 69, 0.2);
    --success: #0df09a;
    --success-glow: rgba(13, 240, 154, 0.2);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.08), transparent 25%);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 6rem;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.15) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
    filter: blur(40px);
}

.container {
    width: 100%;
    max-width: 560px;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(to right, #ffffff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.04em;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
}

.input-box {
    display: flex;
    gap: 0.75rem;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.input-box:focus-within {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(99, 102, 241, 0.15), inset 0 1px 0 rgba(255,255,255,0.05);
    transform: translateY(-2px);
}

input[type="text"] {
    flex: 1;
    padding: 0.5rem 1rem;
    font-size: 1.05rem;
    font-family: inherit;
    background-color: transparent;
    border: none;
    color: var(--text-primary);
    outline: none;
}

input[type="text"]::placeholder {
    color: var(--text-secondary);
    font-weight: 400;
}

button {
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 600;
    background: var(--accent-gradient);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px var(--accent-glow);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

button:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 25px var(--accent-glow);
    filter: brightness(1.06);
}

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

#list {
    list-style: none;
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
    z-index: 1;
}

#list li {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.15rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: center top;
}

#list li:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
    background: rgba(30, 30, 30, 0.5);
}

#list li span {
    flex: 1;
    margin-right: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-primary);
    transition: color 0.3s;
    line-height: 1.5;
    font-weight: 500;
}

#list li i {
    font-size: 1.1rem;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-secondary);
    background: rgba(255,255,255,0.02);
    border: 1px solid transparent;
    margin-left: 0.5rem;
}

#list li i:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
    transform: scale(1.08);
}

#list li i.fa-check:hover {
    color: var(--success);
    background: var(--success-glow);
    border-color: rgba(13, 240, 154, 0.3);
    box-shadow: 0 0 15px var(--success-glow);
}

#list li i.fa-xmark:hover {
    color: var(--danger);
    background: var(--danger-glow);
    border-color: rgba(255, 69, 69, 0.3);
    box-shadow: 0 0 15px var(--danger-glow);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
