/* Soft Minimalist Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Soft Dark Theme */
    --bg-color: #1a1a1a;
    --bg-gradient: radial-gradient(circle at 50% 30%, #2a2a2a 0%, #151515 100%);
    --text-primary: #ECECEC;
    /* Off-white, easier on eyes */
    --text-secondary: #A0A0A0;
    /* Soft gray */
    --accent-color: #4da6ff;
    /* Friendly blue */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --spacing-unit: 24px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-color);
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    /* Keeps nice gradient on scroll */
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Centers main content, but allows scroll */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Layout */
.container {
    width: 100%;
    max-width: 600px;
    /* Comfortable width */
    padding: 60px 24px;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Typography */
header {
    margin-bottom: 12px;
}

h1 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.bio {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 95%;
}

/* Links - Clean List */
.links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-item {
    display: block;
    text-decoration: none;
    color: var(--text-primary);
    padding: 6px 0;
    font-size: 1.15rem;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.link-item:hover {
    color: #fff;
    transform: translateX(4px);
    /* Subtle nudge */
}

/* Remove Arrows */
.arrow-icon {
    display: none;
}

.personal-links {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* Soft separation */
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-personal {
    color: var(--text-secondary);
}

.link-personal:hover {
    color: var(--text-primary);
}


/* Footer */
.footer {
    margin-top: 60px;
    font-size: 0.85rem;
    color: #555;
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-link {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #888;
}

.separator {
    color: #333;
}

/* Back Link (Restored Button-ish feel but minimal) */
.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 16px;
    margin-bottom: 32px;
    /* Giving it space */
    background: rgba(255, 255, 255, 0.05);
    /* Very subtle styling */
    border-radius: 20px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: translateX(-2px);
}

/* FOTY & Generic Styles */
/* Improve FOTY spacing */
main.container {
    padding-top: 40px;
    /* Ensure top space if not centered */
    align-items: flex-start;
    /* FOTY is long, don't center vertically */
}

body:has(.foty-page) {
    align-items: flex-start;
    /* FOTY page scrolls, don't center */
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    background: #111;
    margin-bottom: 24px;
    border-radius: 12px;
    /* Restoring some softness */
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    /* Premium depth */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

article {
    margin-bottom: 80px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    /* Slight card feel for content separation */
    border-radius: 16px;
}

.film-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 40px 20px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .link-item {
        font-size: 1.1rem;
    }

    .film-title {
        font-size: 2rem;
    }

    article {
        padding: 0;
        /* Remove card padding on mobile for full width feel */
        background: transparent;
    }

    .back-link {
        margin-bottom: 24px;
    }
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    padding: 14px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.btn svg {
    opacity: 0.8;
    transition: opacity 0.2s;
}

.btn:hover svg {
    opacity: 1;
}

/* Shared Navigation (Top Bar) */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.95), rgba(26, 26, 26, 0));
    backdrop-filter: blur(5px);
}

.page-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: right;
}

/* Adjust back-link inside nav */
.nav-container .back-link {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
    font-size: 1rem;
}

.nav-container .back-link:hover {
    background: transparent;
    transform: translateX(-4px);
    color: var(--text-primary);
}