/* tny2.com/styles.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: #fff;
    color: #333;
    min-height: 100vh;
    padding: 20px;
}

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

header {
    text-align: center;
    padding: 50px 20px;
    animation: fadeIn 1s ease-out;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #000;
    font-weight: 700;
}

.subtitle {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    color: #666;
    font-weight: 400;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

.app-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid rgba(0,0,0,0.05);
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.app-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    border-radius: 16px;
    font-size: 28px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
 }

.app-card:hover .app-icon {
    background: linear-gradient(135deg, #e0e0e0, #d0d0d0);
    transform: scale(1.05);
}

.app-name {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: #000;
    font-weight: 600;
}

.app-details {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.error {
    text-align: center;
    color: #d9534f;
    font-size: 1rem;
    padding: 24px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

footer {
    text-align: center;
    padding: 40px 0;
    margin-top: 40px;
    border-top: 1px solid #f0f0f0;
    color: #666;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 24px 0;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: #f8f8f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.social-icon:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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



/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .app-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 20px;
    }

    .app-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .app-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .app-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
}
