/* Listing page shell (navbar, hero, footer, scroll-to-top) */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Rubik', sans-serif;
    color: #1a1a2e;
    background: #fff;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    flex-wrap: wrap;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.navbar .powered-by {
    font-size: 1rem;
    color: #ccc;
}

.about-section {
    margin-top: 90px;
    padding: 40px 0 20px;
    background: #fff;
}

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

.sec-title h2 {
    font-family: 'Teko', sans-serif;
    font-size: 3rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #1a1a2e;
    margin: 0 0 1rem;
    line-height: 1.1;
}

.about-section .text p {
    font-size: 1rem;
    line-height: 1.75;
    color: #555;
    margin: 0;
}

.api-error {
    color: #c0392b;
    text-align: center;
}

.main-footer {
    background: #1a1a2e;
    color: #999b9f;
    margin-top: auto;
}

.main-footer .widgets-section {
    padding: 40px 0 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .inner {
    padding: 35px 0;
    text-align: center;
}

.footer-bottom p {
    color: #fff;
    text-align: center;
    margin: 0 0 0.5rem;
}

.footer-bottom .copyright {
    color: #999b9f;
    line-height: 1.5;
}

.scroll-to-target.scroll-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    color: #1a1a2e;
    font-size: 14px;
    line-height: 44px;
    border-radius: 50%;
    text-align: center;
    z-index: 100;
    cursor: pointer;
    background: #f06548;
    display: none;
    text-decoration: none;
    transition: background 0.3s ease;
}

.scroll-to-target.scroll-to-top:hover {
    background: #1a1a2e;
    color: #fff;
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        text-align: center;
    }

    .navbar .powered-by {
        margin-top: 0.5rem;
    }

    .sec-title h2 {
        font-size: 2.25rem;
    }
}
