:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-tertiary: #1a1a1a;
    --text-primary: #f5f5f0;
    --text-secondary: #a8a8a0;
    --text-muted: #6b6b65;
    --accent: #d4a574;
    --accent-hover: #e8c4a0;
    --border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
}

@font-face {
    font-family: 'Track';
    src: url('/fonts/Track.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Track';
    src: url('/fonts/Track Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Anta';
    src: url('/fonts/Anta-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Amaranth';
    src: url('/fonts/Amaranth-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Amaranth';
    src: url('/fonts/Amaranth-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Amaranth';
    src: url('/fonts/Amaranth-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Amaranth';
    src: url('/fonts/Amaranth-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* ================================
   CUSTOM SCROLLBAR - GLOBAL
   ================================ */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-primary);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: url('https://wallpapercave.com/wp/wp16076195.jpg') center/cover no-repeat fixed;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
}

/* ================================
   FLOATING PILL NAVIGATION
   ================================ */
.pill-nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.pill-nav .nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

/* Underline animation from centre */
.pill-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.4rem;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.pill-nav .nav-link:hover {
    color: var(--accent);
}

.pill-nav .nav-link:hover::after {
    width: calc(100% - 2rem);
}

/* Active state */
.pill-nav .nav-link.active {
    color: var(--accent);
    font-weight: 600;
}

.pill-nav .nav-link.active::after {
    width: calc(100% - 2rem);
}

/* Coming Soon Button */
.pill-nav .coming-soon-btn {
    background: linear-gradient(135deg, var(--accent) 0%, #f5f5f0 50%, var(--accent) 100%);
    background-size: 200% 200%;
    color: var(--bg-primary);
    font-weight: 500;
    cursor: default;
    border: 1px solid var(--accent);
}

.pill-nav .coming-soon-btn::after {
    display: none;
}

.pill-nav .coming-soon-btn:hover {
    background-position: 100% 100%;
    color: var(--bg-primary);
}

/* Dropdown container */
.pill-nav .nav-item {
    position: relative;
}

.pill-nav .nav-item.has-dropdown .nav-link::before {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 1.5rem;
}

/* Dropdown menu */
.pill-nav .nav-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    padding: 0.5rem 0;
    z-index: 1001;
}

.pill-nav .nav-item.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.pill-nav .nav-dropdown a {
    display: block;
    padding: 0.7rem 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.pill-nav .nav-dropdown a:hover {
    color: var(--accent);
    background: rgba(212, 165, 116, 0.1);
    padding-left: 1.8rem;
}

.dropdown-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 0.5rem 1rem;
}

.dropdown-highlight {
    color: var(--accent) !important;
    font-weight: 500 !important;
}

/* ================================
   MAIN CONTAINER - NO SCROLL LAYOUT
   ================================ */
.home-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Wrapper for hero + featured tiles */
.tiles-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ================================
   GLASSMORPHISM TILES
   ================================ */
.glass-tile {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ================================
   HERO TILE
   ================================ */
.hero-tile {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 1.5rem;
    padding-left: 3rem;
    width: 100%;
    gap: 2rem;
}

.hero-content {
    max-width: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 0;
}

.hero-name {
    font-family: 'Track', sans-serif;
    font-size: clamp(3rem, 6vw, 4.35rem);
    font-weight: 550;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero-name span {
    font-style: italic;
    color: var(--accent);
}

.hero-divider {
    display: none;
}

.hero-greeting {
    font-family: 'Anta', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.hero-title {
    font-family: 'Anta', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-title em {
    font-style: normal;
}

.hero-description {
    font-family: 'Amaranth', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.hero-journey {
    font-family: 'Amaranth', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 2;
}

.hero-journey br {
    content: '';
}

/* Portrait */
.hero-portrait {
    width: 280px;
    height: calc(100% - 3rem);
    min-height: 280px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    flex-shrink: 0;
    margin: 1.5rem 0;
}

.hero-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portrait-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 30, 30, 0.5);
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ================================
   WHAT'S NEW / ACTIVITY FEED
   ================================ */
.featured-tile {
    padding: 1.5rem 2rem;
    width: 100%;
}

.featured-title {
    font-family: 'Track', sans-serif;
    font-size: 1.2rem;
    font-weight: 550;
    margin-bottom: 1rem;
}

.featured-title span {
    font-style: italic;
    color: var(--accent);
}

.activity-feed {
    display: flex;
    flex-direction: column;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.activity-item:hover {
    background: rgba(212, 165, 116, 0.08);
    padding-left: 1rem;
    padding-right: 1rem;
}

.activity-icon {
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.activity-type {
    font-family: 'Segoe UI', Tahoma, 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

.activity-name {
    font-family: 'Anta', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.activity-date {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    flex-shrink: 0;
}

.activity-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 0 0.5rem;
}

/* ================================
   FOOTER TILE
   ================================ */
.footer-tile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 15px;
    width: 100%;
}

.footer-brand {
    font-family: 'Track', sans-serif;
    font-size: 0.9rem;
    font-weight: 100;
}

.footer-brand span {
    font-style: italic;
    color: var(--accent);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-copyright {
    font-family: 'Outfit', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* ================================
   SHARED PAGE STYLES
   ================================ */
.page-container {
    min-height: 100vh;
    padding: 6rem 2rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.page-container.wide {
    max-width: 1100px;
}

.page-container .content-tile {
    flex: 1;
}

.page-container .footer-tile {
    margin-top: auto;
}

.content-tile {
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.page-title {
    font-family: 'Track', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.page-title span {
    font-style: italic;
    color: var(--accent);
}

.page-subtitle {
    font-family: 'Anta', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Search Input */
.search-container {
    margin-top: 1rem;
}

.search-input {
    width: 100%;
    max-width: 300px;
    padding: 0.75rem 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    color: var(--text-primary);
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    outline: none;
    transition: all 0.3s ease;
}

    .search-input:focus {
        border-color: var(--accent);
        background: rgba(40, 40, 40, 0.8);
    }

    .search-input::placeholder {
        color: var(--text-muted);
    }

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1200px) {
    .home-container {
        padding: 5rem 2rem 1.5rem;
    }
    
    .hero-tile {
        padding: 2rem;
    }
    
    .hero-portrait {
        width: 180px;
        height: 220px;
    }
}

@media (max-width: 992px) {
    .activity-item {
        gap: 1rem;
    }
    
    .activity-name {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow: auto;
    }
    
    .home-container {
        height: auto;
        min-height: 100vh;
        padding: 5rem 1.5rem 1.5rem;
    }
    
    .pill-nav {
        top: 1rem;
        padding: 0.4rem 0.8rem;
        gap: 0.1rem;
        max-width: 95%;
    }
    
    .pill-nav .nav-link {
        font-size: 0.65rem;
        padding: 0.5rem 0.7rem;
    }
    
    .hero-tile {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-divider {
        margin: 0 auto 1rem;
    }
    
    .hero-portrait {
        width: 70%;
        max-width: 280px;
        height: auto;
        aspect-ratio: 3/4;
        margin: 0 auto;
    }
    
    .activity-item {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .activity-date {
        width: 100%;
        padding-left: calc(45px + 0.75rem);
        margin-top: -0.5rem;
    }
    
    .footer-tile {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pill-nav {
        flex-wrap: wrap;
        border-radius: 20px;
        justify-content: center;
    }
    
    .activity-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .activity-name {
        font-size: 0.95rem;
    }
    
    .activity-date {
        padding-left: calc(40px + 0.75rem);
        font-size: 0.7rem;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ================================
   MOBILE HAMBURGER MENU
   ================================ */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1003;
}

    .hamburger-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--text-primary);
        transition: all 0.3s ease;
    }

.mobile-overlay {
    display: none;
}


/* Mobile styles - under 500px */
@media (max-width: 500px) {
    .hamburger-btn {
        display: flex;
        z-index: 1003;
    }

    .pill-nav {
        position: fixed;
        top: 1rem;
        left: 1rem;
        right: auto;
        transform: none;
        padding: 0.5rem;
        border-radius: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 180px;
        margin-top: 0.5rem;
        padding: 0.5rem 0;
        background: rgba(20, 20, 20, 0.95);
        border-top: 1px solid var(--glass-border);
        border-radius: 0 0 10px 10px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links .nav-link {
        display: block;
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
        border-radius: 0;
        text-align: left;
        color: var(--text-secondary);
    }

    .nav-links .nav-link:hover,
    .nav-links .nav-link.active {
        background: rgba(212, 165, 116, 0.15);
        color: var(--accent);
    }

    .nav-links .nav-link::after {
        display: none;
    }

    .nav-links .coming-soon-btn {
        margin: 0.5rem 0.75rem;
        padding: 0.5rem 1rem;
        text-align: center;
        border-radius: 20px;
        font-size: 0.75rem;
        color: var(--bg-primary);
    }

    /* Hamburger animation when open */
    .hamburger-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}