/* Modern Professional Website Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1f36;
    --secondary-color: #2d3748;
    --accent-color: #4299e1;
    --accent-light: #63b3ed;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --dark-bg: #0f1419;
    --card-bg: #ffffff;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-modern: linear-gradient(135deg, #1a1f36 0%, #2d3748 100%);
    --gradient-accent: linear-gradient(135deg, #4299e1 0%, #667eea 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 50%, #e2e8f0 100%);
    background-attachment: fixed;
    min-height: 100vh;
    direction: rtl;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Modern Header */
.header {
    background: var(--gradient-modern);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* User Menu */
.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.2);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.user-name {
    font-weight: 500;
    font-size: 14px;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.auth-btn {
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.auth-btn.login {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

.auth-btn.register {
    background: var(--gradient-accent);
    color: white;
    border: none;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.logout-btn {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.3);
}

/* Flash Messages */
.flash-message {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    max-width: 500px;
    width: 90%;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid;
}

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
    border-color: rgba(34, 197, 94, 0.3);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
    border-color: rgba(239, 68, 68, 0.3);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
    border-color: rgba(245, 158, 11, 0.3);
}

.alert-info {
    background: rgba(66, 153, 225, 0.15);
    color: #2563eb;
    border-color: rgba(66, 153, 225, 0.3);
}

.logo {
    font-size: 32px;
    font-weight: 700;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo i {
    font-size: 36px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Modern Navigation */
.nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 92px;
    z-index: 999;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-menu {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.nav-item {
    background: var(--card-bg);
    padding: 12px 24px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border-color);
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
    z-index: -1;
}

.nav-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.nav-item:hover::before,
.nav-item.active::before {
    width: 100%;
}

.nav-item:hover,
.nav-item.active {
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Modern Main Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Modern Search Section */
.search-section {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    margin-bottom: 50px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.search-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--gradient-accent);
    border-radius: 50%;
    transform: translate(20px, -20px);
    opacity: 0.1;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 20px 60px 20px 24px;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(66, 153, 225, 0.1);
    background: white;
}

.search-btn {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-accent);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 18px;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.search-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* Modern API Cards */
.apis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.api-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 24px 24px 24px 24px;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

/* API Image Section */
.api-image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    height: 120px;
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.05), rgba(102, 126, 234, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(66, 153, 225, 0.1);
    overflow: hidden;
}

.api-image {
    max-width: 100px;
    max-height: 100px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.api-card:hover .api-image {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.api-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-accent);
    transition: height 0.3s ease;
}

.api-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.api-card:hover::before {
    height: 100%;
}

.api-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 16px;
}

.api-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.api-category {
    display: inline-block;
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.1), rgba(102, 126, 234, 0.1));
    color: var(--accent-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(66, 153, 225, 0.2);
}

.api-category {
    display: inline-block;
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.1), rgba(102, 126, 234, 0.1));
    color: var(--accent-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(66, 153, 225, 0.2);
}

.api-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 15px;
}

.api-link-container {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.api-link {
    flex: 1;
    color: var(--text-primary);
    font-size: 14px;
    text-decoration: none;
    word-break: break-all;
    font-family: 'Courier New', monospace;
    font-weight: 500;
}

.copy-btn {
    background: var(--gradient-accent);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.2);
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 153, 225, 0.3);
}

.copy-btn:active {
    transform: translateY(0);
}

.copy-btn.copied {
    background: linear-gradient(135deg, var(--success-color), #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

/* Modern Maintenance Mode */
.maintenance-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 50%, #e2e8f0 100%);
}

.maintenance-content {
    background: var(--card-bg);
    padding: 60px;
    border-radius: 28px;
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.maintenance-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: var(--gradient-accent);
    border-radius: 50%;
    transform: translate(50px, -50px);
    opacity: 0.1;
}

.maintenance-icon {
    font-size: 80px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.maintenance-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    background: var(--gradient-modern);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.maintenance-message {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}

.admin-link {
    display: inline-block;
    padding: 16px 40px;
    background: var(--gradient-accent);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    font-size: 16px;
}

.admin-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Modern Loading */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(66, 153, 225, 0.1);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: modernSpin 1s linear infinite;
    margin: 0 auto 24px;
}

@keyframes modernSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modern Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
    background: var(--card-bg);
    border-radius: 20px;
    margin: 40px 0;
    border: 2px dashed var(--border-color);
}

.empty-state-icon {
    font-size: 72px;
    background: var(--gradient-modern);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    opacity: 0.7;
}

.empty-state-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.empty-state-message {
    font-size: 16px;
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
}

/* Modern Footer */
.footer {
    background: var(--gradient-modern);
    color: white;
    text-align: center;
    padding: 50px 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Modern Responsive */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }

    .apis-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Mobile-First Professional Design - Identical to Desktop */
    * {
        -webkit-tap-highlight-color: transparent;
    }

    body {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Header Mobile - Same Layout as Desktop */
    .header-container {
        padding: 0 15px;
        gap: 15px;
        flex-wrap: wrap;
    }

    .header {
        padding: 15px 0;
    }

    .logo {
        font-size: 24px;
        order: 1;
        flex: 1;
        text-align: center;
    }

    .logo i {
        font-size: 28px;
    }

    .user-menu {
        order: 2;
        flex: 1;
        justify-content: center;
    }

    .social-links {
        order: 3;
        flex: 1;
        justify-content: center;
        display: flex;
        gap: 8px;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .user-info {
        padding: 6px 12px;
        gap: 8px;
    }

    .user-avatar {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .user-name {
        font-size: 12px;
    }

    .auth-buttons {
        flex-direction: column;
        gap: 6px;
        width: 100%;
        max-width: 180px;
    }

    .auth-btn {
        padding: 6px 12px;
        font-size: 12px;
        justify-content: center;
        width: 100%;
    }

    /* Navigation Mobile */
    .nav {
        position: static;
        padding: 12px 0;
        margin-bottom: 24px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        margin: 0 20px 24px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .nav-menu {
        justify-content: center;
        gap: 6px;
        flex-wrap: wrap;
    }

    .nav-item {
        padding: 8px 14px;
        font-size: 12px;
        border-radius: 20px;
        font-weight: 500;
        border: 1px solid var(--border-color);
        background: rgba(255, 255, 255, 0.8);
        color: var(--text-primary);
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-item::before {
        display: none;
    }

    .nav-item:hover,
    .nav-item.active {
        background: var(--gradient-accent);
        color: white;
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
    }

    /* Container Mobile */
    .container {
        padding: 0 16px;
    }

    /* Search Section Mobile */
    .search-section {
        padding: 24px 20px;
        margin-bottom: 32px;
        border-radius: 20px;
        position: relative;
    }

    .search-box {
        max-width: 100%;
    }

    .search-input {
        padding: 18px 56px 18px 16px;
        font-size: 15px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .search-btn {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        position: absolute;
        left: 6px;
        top: 50%;
        transform: translateY(-50%);
        background: var(--gradient-accent);
        box-shadow: 0 4px 15px rgba(66, 153, 225, 0.2);
    }

    .search-btn:hover {
        transform: translateY(-50%) scale(1.08);
    }

    /* API Cards Mobile */
    .apis-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 32px;
    }

    .api-card {
        padding: 24px;
        border-radius: 20px;
        border: 1px solid var(--border-color);
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .api-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    }

    .api-card::before {
        width: 3px;
        height: 100%;
        background: var(--gradient-accent);
        transition: height 0.3s ease;
    }

    .api-card:hover::before {
        height: 100%;
    }

    .api-header {
        gap: 12px;
        margin-bottom: 16px;
    }

    .api-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(66, 153, 225, 0.15);
    }

    .api-title {
        font-size: 18px;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 6px;
    }

    .api-category {
        font-size: 11px;
        padding: 4px 12px;
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(66, 153, 225, 0.1), rgba(102, 126, 234, 0.1));
        color: var(--accent-color);
        border: 1px solid rgba(66, 153, 225, 0.2);
    }

    .api-description {
        font-size: 14px;
        color: var(--text-secondary);
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .api-link-container {
        flex-direction: column;
        gap: 12px;
        background: linear-gradient(135deg, #f8fafc, #f1f5f9);
        padding: 16px;
        border-radius: 12px;
        border: 1px solid var(--border-color);
    }

    .api-link {
        font-size: 13px;
        word-break: break-all;
        padding: 8px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 8px;
        border: 1px solid var(--border-color);
    }

    .copy-btn {
        padding: 12px 16px;
        font-size: 13px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(66, 153, 225, 0.2);
        background: var(--gradient-accent);
        color: white;
        border: none;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        font-weight: 600;
    }

    .copy-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(66, 153, 225, 0.3);
    }

    /* Maintenance Content Mobile */
    .maintenance-content {
        padding: 32px 20px;
        margin: 16px;
        border-radius: 24px;
    }

    .maintenance-icon {
        font-size: 60px;
        margin-bottom: 24px;
    }

    .maintenance-title {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 16px;
    }

    .maintenance-message {
        font-size: 16px;
        margin-bottom: 24px;
    }

    /* Footer Mobile */
    .footer {
        padding: 32px 0;
        margin-top: 48px;
    }

    .footer-content {
        padding: 0 16px;
    }

    /* Toast Notification Mobile */
    .toast {
        bottom: 20px;
        left: 16px;
        right: 16px;
        transform: none;
        width: auto;
        border-radius: 12px;
        font-size: 14px;
        padding: 14px 20px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    /* Empty State Mobile */
    .empty-state {
        padding: 60px 16px;
        border-radius: 20px;
        margin: 24px 0;
    }

    .empty-state-icon {
        font-size: 56px;
        margin-bottom: 20px;
    }

    .empty-state-title {
        font-size: 24px;
        font-weight: 700;
    }

    .empty-state-message {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 24px;
    }

    .logo i {
        font-size: 28px;
    }

    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .nav-menu {
        gap: 6px;
    }

    .nav-item {
        padding: 8px 12px;
        font-size: 12px;
    }

    .search-section {
        padding: 24px 16px;
    }

    .search-input {
        padding: 16px 50px 16px 16px;
        font-size: 15px;
    }

    .search-btn {
        width: 42px;
        height: 42px;
    }

    .api-card {
        padding: 20px 16px;
    }

    .api-image-section {
        height: 80px;
        margin-bottom: 12px;
    }

    .api-image {
        max-width: 60px;
        max-height: 60px;
    }

    .api-title {
        font-size: 16px;
    }

    .copy-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Modern Animations */
.fade-in {
    animation: modernFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modernFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--gradient-modern);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--accent-color);
    color: white;
}

/* Focus Styles */
button:focus,
input:focus,
a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}