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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    padding: 40px 20px;
    color: white;
}

.container {
    max-width: 600px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #00d9ff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 30px;
}

.load-btn {
    display: block;
    margin: 0 auto 40px;
    padding: 14px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    background: linear-gradient(90deg, #00d9ff, #a855f7);
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.2s ease;
}

.load-btn:hover {
    opacity: 0.9;
}

.load-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.loading-text {
    text-align: center;
    font-size: 1.5rem;
    color: #888;
    margin-bottom: 30px;
}

.hidden {
    display: none;
    
}

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


.cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    background: #1e2746;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 15px;
    animation: fadeIn 0.5s ease;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #a855f7;
}

.content {
    flex: 1;
}

.content h3 {
    color: #b0b0b0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.skeleton {
    background: #2a3555;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
    animation: shimmer 1s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.skeleton-card {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
.skeleton-content {
    flex: 1;
}
.skeleton-title {
    height: 20px;
    width: 60%;
    margin-bottom: 12px;
}
.skeleton-text {
    height: 14px;
    width: 100%;
    margin-bottom: 8px;
}
.skeleton-text.short {
    width: 70%;
}