/* Base styles */
body {
    margin: 0;
    padding: 0;
    background: url('./assets/images/sora-background.gif') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
}

/* Navigation */
.chrome-tabs {
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(8px);
    padding: 10px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-grow: 1;
    justify-content: center;
}

.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-auth {
    margin-left: 1rem;
    flex-shrink: 0;
}

.chrome-tab {
    padding: 0.5rem 1rem;
    color: #999;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    background: rgba(31, 41, 55, 0.5);
    white-space: nowrap;
}

.chrome-tab.active {
    background: rgba(59, 130, 246, 0.5);
    color: white;
}

.chrome-tab:hover:not(.disabled) {
    background: rgba(59, 130, 246, 0.3);
    color: white;
}

.chrome-tab.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.5);
    color: white;
}

.login-btn:hover {
    background: rgba(59, 130, 246, 0.7);
}

.login-icon {
    width: 18px;
    height: 18px;
}

/* Footer */
.footer-container {
    background: rgba(31, 41, 55, 0.95);
    padding: 1rem;
    color: #9CA3AF;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.social-icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: color 0.3s ease;
}

.youtube:hover .social-icon {
    color: #FF0000;
}

.instagram:hover .social-icon {
    color: #E4405F;
}

.tiktok:hover .social-icon {
    color: #69C9D0;
}

.creator-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.creator-info::before {
    content: '|';
    color: #4B5563;
}

.support-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.support-link::before {
    content: '|';
    color: #4B5563;
    margin-right: 0.5rem;
}

.support-link a {
    color: #60A5FA;
    text-decoration: none;
    transition: color 0.3s ease;
}

.support-link a:hover {
    color: #93C5FD;
}

/* Main content adjustments */
.main-content {
    padding-top: 4rem;
    padding-bottom: 4rem;
    min-height: calc(100vh - 8rem);
    position: relative;
    z-index: 1;
}

/* Loading indicator for infinite scroll */
.loading-indicator {
    text-align: center;
    padding: 1rem;
    color: #9CA3AF;
}

/* Hide scrollbars but keep functionality */
.footer-container::-webkit-scrollbar {
    display: none;
}

.footer-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .chrome-tabs {
        padding: 0.5rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .chrome-tab {
        padding: 0.4rem 0.8rem;
        font-size: 0.875rem;
    }

    .nav-auth {
        margin-left: 0.5rem;
    }

    .footer-container {
        padding: 0.75rem;
    }

    .footer-content {
        gap: 0.75rem;
        font-size: 0.875rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-icon {
        width: 1.25rem;
        height: 1.25rem;
    }
}
