@font-face {
    font-family: 'Axis Std';
    src: local('Axis Std Light'),
         url('/fonts/AxisStd-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Andale Mono';
    src: local('Andale Mono'),
         url('/fonts/AndaleMono.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

::selection {
    background: white;
    color: black;
}

::-moz-selection {
    background: white;
    color: black;
}

:root {
    --text-primary: #F2F2F2;
    --text-secondary: #999999;
    --text-inactive: #666666;
}

body {
    font-family: 'Axis Std', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: black;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1 {
    font-family: 'Andale Mono', monospace;
    font-variant: small-caps;
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    word-spacing: -0.4em;
}

.talks-header {
    font-family: 'Axis Std', sans-serif;
    font-size: 1.4rem;
    line-height: 1.3;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 300;
}

.container {
    max-width: 36rem;
    margin: 0 auto;
    padding: 2rem;
    opacity: 0; /* Initially hidden */
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin-bottom: 3rem;
    background-color: #111;
}

.embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

p {
    font-family: 'Axis Std', sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    letter-spacing: 0.01em;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    position: relative;
    display: inline;
    padding: 0 0.1em;
    transition: color 0.3s;
    z-index: 1;
    white-space: nowrap;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: white;
    transition: height 0.2s, bottom 0.2s;
    z-index: -1;
}

@media (hover: hover) {
    a:hover {
        color: black;
    }
    
    a:hover::after {
        height: calc(100% + 4px);
        bottom: -2px;
        background-color: white;
    }
}

.contact-links {
    font-size: 0.75rem;
    margin-top: 5rem;
}

.contact-links a {
    margin-right: 1rem;
}

.contact-links a:last-child {
    margin-right: 0;
}

.talks-list {
    margin-bottom: 2rem;
    margin-top: 3rem;
}

.talk {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.talk:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.talk h3 {
    font-family: 'Axis Std', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.4;
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
}

.talk p {
    font-family: 'Andale Mono', monospace;
    font-size: 0.75rem;
    line-height: 1.4;
    margin: 0;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 0;
    margin-top: 4rem;
}

.logo {
    display: inline-block;
    margin-bottom: 0.5rem;
    width: 27px;
    height: 30px;
}

.logo svg {
    width: 100%;
    height: 100%;
    display: block;
}

.logo .mb-path {
    fill: #FFFFFF;
}

.footer-text {
    font-size: 0.65rem;
    line-height: 1.5;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 0.5rem;
}

/* TV Turn-On Animation Styles */
#crt-line, #flash-circle {
    opacity: 0; /* Initially hidden */
}

/* Fallback for when JS is disabled */
.no-js .container {
    opacity: 1;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .embed-container {
        width: 100%;
        margin: 2rem 0;
    }
    
    footer {
        padding: 2rem 0;
    }
} 