#articles-list {
    width: 100%;
}

.article-item {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border: 2px solid #d4d4d4;
    padding: 18px;
    margin-bottom: 12px;
    border-radius: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
    color: #333;
    box-shadow:
      0 6px 12px rgba(0, 0, 0, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}

.article-item:hover {
    transform: translateY(-2px);
    box-shadow:
      0 10px 18px rgba(0, 0, 0, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 1);
}

.article-item h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.25rem;
    color: #333;
    text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

.article-item a {
    text-decoration: none;
    color: inherit;
}

.article-item p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.95rem;
}

.article-content {
    line-height: 1.6;
    color: #333;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
    border: 2px solid #d4d4d4;
    box-shadow:
      0 6px 12px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#article-content {
    white-space: pre-wrap;
}

/* Error and loading states */
.error-message, .no-articles {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
}

.error-message h3, .no-articles h3 {
    margin-top: 0;
    color: #ff6b6b;
}

.no-articles h3 {
    color: #90EE90;
}

/* Skeuomorphic Button Styling */
.btn {
    /* Base button styling */
    background: 
        linear-gradient(145deg, #e6e6e6 0%, #d4d4d4 50%, #b8b8b8 100%);
    color: #333;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin: 10px 5px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.15s ease;
    position: relative;
    overflow: hidden;
    
    /* Realistic 3D Skeuomorphic Effects */
    box-shadow: 
        /* Outer shadow for depth */
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.2),
        /* Inner highlights for metallic look */
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 2px 2px rgba(255, 255, 255, 0.4),
        /* Inner shadows for depth */
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    
    /* Metallic border effect */
    border: 1px solid #a0a0a0;
    
    /* Text shadow for depth */
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn:hover {
    /* Hover state - lift the button */
    transform: translateY(-2px);
    background: 
        linear-gradient(145deg, #f0f0f0 0%, #e0e0e0 50%, #c8c8c8 100%);
    box-shadow: 
        /* Enhanced outer shadow */
        0 6px 12px rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.3),
        /* Brighter inner highlights */
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 2px 2px rgba(255, 255, 255, 0.5),
        /* Softer inner shadows */
        inset 0 -1px 0 rgba(0, 0, 0, 0.15),
        inset 0 -2px 4px rgba(0, 0, 0, 0.08);
    border-color: #b0b0b0;
}

.btn:active {
    /* Active state - press down effect */
    transform: translateY(1px);
    background: 
        linear-gradient(145deg, #d0d0d0 0%, #c0c0c0 50%, #a8a8a8 100%);
    box-shadow: 
        /* Reduced outer shadow */
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 1px 2px rgba(0, 0, 0, 0.2),
        /* Inset pressed effect */
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 2px rgba(0, 0, 0, 0.1),
        /* Reduced highlights */
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    border-color: #909090;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Specific button variants */
.btn.primary {
    background: 
        linear-gradient(145deg, #f0f0f0 0%, #e0e0e0 50%, #c8c8c8 100%);
    color: #333;
    border-color: #b0b0b0;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn.primary:hover {
    background: 
        linear-gradient(145deg, #f8f8f8 0%, #e8e8e8 50%, #d0d0d0 100%);
    border-color: #c0c0c0;
}

.btn.primary:active {
    background: 
        linear-gradient(145deg, #d8d8d8 0%, #c8c8c8 50%, #b0b0b0 100%);
    border-color: #a0a0a0;
}

.btn.success {
    background: 
        linear-gradient(145deg, #6bcf6b 0%, #4CAF50 50%, #45a049 100%);
    color: white;
    border-color: #349034;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

.btn.success:hover {
    background: 
        linear-gradient(145deg, #7bdf7b 0%, #5CBF60 50%, #55b059 100%);
    border-color: #44a044;
}

.btn.success:active {
    background: 
        linear-gradient(145deg, #5bbf5b 0%, #45a049 50%, #349034 100%);
    border-color: #248024;
}

/* Article page specific styles */
#article-title {
    color: #333;
    margin-bottom: 10px;
}

#article-meta {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
}

/* Markdown content styling */
.article-content h1, .article-content h2, .article-content h3 {
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
}

.article-content p {
    margin-bottom: 15px;
}

.article-content ul, .article-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 5px;
}

.article-content strong {
    color: #667eea;
}

.article-content em {
    color: #764ba2;
}

.article-content hr {
    border: none;
    border-top: 2px solid #ddd;
    margin: 20px 0;
} 