:root {
    --bg-color: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --danger: #ef4444;
    --warning: #f59e0b;
    --border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #2e383b 0%, #021831 100%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.header {
    text-align: center;
    margin-bottom: 10px;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    color: transparent;
}

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

.header p.small {
    font-size: 0.8rem;
}

.search-section {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.search-bar {
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 6px 6px 6px 16px;
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.search-icon {
    color: var(--text-secondary);
    margin-right: 12px;
}

.search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 1rem;
    padding: 10px 0;
}

.search-bar input::placeholder {
    color: var(--text-secondary);
}

.search-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.search-btn:hover {
    background: var(--accent-hover);
}

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

.blacklist-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blacklist-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blacklist-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    aspect-ratio: 1;
}

.bg-black {
    background-color: #000000;
}

.user-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.roblox-name {
    display: block;
    font-family: monospace;
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 6px;
}

.status-badge {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-badge.warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
    border-color: rgba(245, 158, 11, 0.3);
}

.card-body p {
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.card-body p:last-child {
    margin-bottom: 0;
}

.card-body strong {
    color: var(--text-primary);
    font-weight: 500;
    margin-right: 8px;
}

.more a {
    text-decoration: none;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
}

.more a:hover {
    color: var(--accent-hover);
}

.sub {
    color: #999999;
    font-size: 0.8rem;
}

.margin-bottom {
    margin-bottom: 3px;
}

@media (max-width: 600px) {
    .card-header {
        flex-direction: column;
        gap: 12px;
    }

    .status-badge {
        align-self: flex-start;
    }
}