/* Font Face Declarations */
@font-face {
    font-family: 'TT Firs Neue';
    src: url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-ThIt.woff2') format('woff2'),
        url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-ThIt.woff') format('woff');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-Th.woff2') format('woff2'),
        url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-Th.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-Rg.woff2') format('woff2'),
        url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-Rg.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-LtIt.woff2') format('woff2'),
        url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-LtIt.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-MdIt.woff2') format('woff2'),
        url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-MdIt.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-Lt.woff2') format('woff2'),
        url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-Lt.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-Md.woff2') format('woff2'),
        url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-Md.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-It.woff2') format('woff2'),
        url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-It.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-XLt.woff2') format('woff2'),
        url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-XLt.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-XBd.woff2') format('woff2'),
        url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-XBd.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-XLtIt.woff2') format('woff2'),
        url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-XLtIt.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-XBdIt.woff2') format('woff2'),
        url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-XBdIt.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-DmBdIt.woff2') format('woff2'),
        url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-DmBdIt.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-Bd.woff2') format('woff2'),
        url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-Bd.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-DmBd.woff2') format('woff2'),
        url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-DmBd.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-BdIt.woff2') format('woff2'),
        url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-BdIt.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-Blk.woff2') format('woff2'),
        url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-Blk.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-BlkIt.woff2') format('woff2'),
        url('./Assets/transfonter.org-20250926-032818/TTFirsNeue-BlkIt.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

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

body {
    font-family: 'TT Firs Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #EB321F;
    color: #fff;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 4rem;
    background: transparent;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 50px;
    height: 50px;
    background-image: url('./Assets/Test-Favicon-Sketchy.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -6px;
}

.nav-brand span {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 600;
    letter-spacing: 0%;
    color: #FFFBD3;
}

.nav-links {
    display: flex;
    gap: clamp(2rem, 4vw, 3rem);
    justify-self: center;
    margin-top: 4px;
}

.nav-links a {
    color: #101820;
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(14px, 2vw, 16px);
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

.nav-login {
    justify-self: end;
}

.login-btn {
    background: #101820;
    color: #fff;
    padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(1rem, 3vw, 1.5rem);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(14px, 2vw, 16px);
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: #1a252f;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    background: #EB321F;
}

#rive-canvas {
    width: 100vw;
    height: auto;
    border-radius: 0;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: clamp(5%, 15vw, 15%);
    transform: translateY(-50%);
    z-index: 10;
    color: white;
    max-width: clamp(400px, 70vw, 700px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: clamp(28px, 6vw, 48px);
    font-weight: bold;
    margin-bottom: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 120%;
    color: #FFFBD3;
    max-width: clamp(320px, 55vw, 520px);
    letter-spacing: 0%;
}

.hero-subtitle {
    font-size: clamp(14px, 3vw, 18px);
    font-weight: 500;
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
    line-height: clamp(20px, 4vw, 26px);
    color: #FFFBD3;
    max-width: clamp(280px, 45vw, 450px);
}

.hero-buttons {
    display: flex;
    gap: clamp(0.5rem, 2vw, 1rem);
    flex-wrap: wrap;
}

.app-button {
    display: inline-block;
    transition: transform 0.3s ease;
}

.app-button:hover {
    transform: translateY(-2px);
}

.app-button img {
    height: clamp(40px, 8vw, 60px);
    width: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 5rem 1rem 1rem;
    }
    
    .hero-overlay {
        left: 50%;
        transform: translate(-50%, -50%);
        align-items: center;
        text-align: center;
        width: 90%;
        max-width: 90%;
    }
    
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .app-button img {
        height: 50px;
    }
    
    #rive-canvas {
        max-width: 95vw;
        max-height: 70vh;
    }
}
