/* ==========================================================================
   Hyper Online - Header & Footer Components CSS
   For use with Web Components across all pages
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Inter+Tight:wght@400;500;600;700&display=swap');

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #0a0a0a;
    color: white;
    min-height: 100vh;
    line-height: 1.5;
}

/* ==========================================================================
   Header Component Styles
   ========================================================================== */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    position: relative;
    z-index: 100;
    background-color: #0a0a0a;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 24px;
    color: white;
    text-decoration: none;
    white-space: nowrap;
}

.logo::before {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url('../images/logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.download-btn {
    background: transparent;
    color: white !important;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: Inter, "Inter Placeholder", sans-serif;
    font-feature-settings: normal;
    font-size: 18px;
    font-style: normal;
    font-variation-settings: normal;
    font-weight: 400;
    letter-spacing: -0.3px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.download-btn:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Footer Component Styles
   ========================================================================== */

.footer {
    padding: 60px 48px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #0a0a0a;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-copyright {
    color: rgb(255, 255, 255);
    cursor: auto;
    display: block;
    font-family: Inter, sans-serif;
    font-feature-settings: normal;
    font-size: 18px;
    font-style: normal;
    font-variation-settings: normal;
    font-weight: 400;
    letter-spacing: -0.3px;
}

.footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.footer-link {
    color: #fea501 !important;
    cursor: pointer;
    display: inline;
    font-family: Inter, sans-serif;
    font-feature-settings: normal;
    font-size: 18px;
    font-style: normal;
    font-variation-settings: normal;
    font-weight: 400;
    letter-spacing: -0.3px;
    text-decoration: none;
    transition: all 0.8s ease-out;
    opacity: 0;
    transform: translateY(20px);
}

.footer-link.animate {
    opacity: 1;
    transform: translateY(0);
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.5) !important;
    transition: color 0s;
}

/* ==========================================================================
   Responsive Design for Components
   ========================================================================== */

@media (max-width: 768px) {
    .header {
        padding: 20px 24px;
    }

    .footer {
        padding: 40px 24px 32px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-links {
        order: 1;
        justify-content: center;
    }

    .footer-copyright {
        order: 2;
    }
}

/* ==========================================================================
   Common Utility Classes
   ========================================================================== */

.main-content {
    padding: 0 48px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 60vh;
}

@media (max-width: 1024px) {
    .main-content {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding-left: 24px;
        padding-right: 24px;
    }
}
