:root {
    --brand: #ffff00;
}

@font-face {
    font-family: 'Determination Mono';
    src: url('/assets/fonts/mono.ttf') format('truetype'),
         url('assets/fonts/mono.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    background-color: #000;
    font-family: 'Determination Mono', monospace;
    height: 100vh;
    overflow: hidden;
}

#rain-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

.container {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 20vh; 
}

.chatBox {
    background-color: black;
    border: 8px solid white;
    color: white;
    padding: 10px;
    width: 600px;
    height: 150px;
    display: none;
    opacity: 0;
}

.textBox {
    position: relative;
    width: 100%;
    padding-left: 10px;
    padding-top: 10px;
    overflow: hidden;
    padding-right: 20px;
}

.determination {
    font-family: 'Determination Mono', monospace;
    font-size: 24px;
    line-height: 1.4;
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.cursor {
    display: inline-block;
    background-color: white;
    width: 2px;
    height: 20px;
    animation: blink 1s infinite;
    margin-left: 2px;
}

.click-prompt {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Determination Mono', monospace;
    font-size: 24px;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.click-prompt:hover {
    opacity: 0.8;
}

.heart-icon {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
    order: -1; 
}

.screen-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
}

.flash-animation {
    animation: flash 0.3s ease-out;
}

@keyframes flash {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.title-image {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 100;
    animation: slowFadeIn 40s ease-in forwards;
    max-width: 80%;
    max-height: 40%;
    image-rendering: pixelated;
}

@keyframes slowFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 20vh;
    z-index: 1000;
}

.menu-options {
    text-align: center;
}

.menu-option {
    font-family: 'Determination Mono', monospace;
    font-size: 32px;
    color: white;
    text-align: center;
    padding: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
    display: block;
}

.menu-option:hover,
.menu-option.selected {
    color: var(--brand);
}

.menu-fadeIn {
    opacity: 0;
    animation: fadeIn 2s ease-in forwards;
}

.white-fade {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
}

.white-fade-in {
    animation: whiteFadeIn 5s ease-in forwards;
}

@keyframes whiteFadeIn {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

.profiles-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 100px;
    z-index: 2000;
}

.profile-card {
    text-align: center;
    color: white;
    font-family: 'Determination Mono', monospace;
}

.profile-image {
    width: 200px;
    height: 200px;
    border: 4px solid white;
    margin-bottom: 20px;
    image-rendering: pixelated;
}

.profile-name {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--brand);
}

.profile-bio {
    font-size: 18px;
    max-width: 300px;
    line-height: 1.4;
}

.name-entry-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    font-family: 'Determination Mono', monospace;
    color: white;
}

.name-prompt {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.name-display {
    font-size: 28px;
    margin-bottom: 40px;
    min-height: 40px;
    color: var(--brand);
    border-bottom: 3px solid white;
    padding: 10px;
    min-width: 300px;
    text-align: center;
}

.alphabet-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.letter-button {
    font-family: 'Determination Mono', monospace;
    font-size: 24px;
    color: white;
    background: none;
    border: none;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
    text-align: center;
}

.letter-button:hover,
.letter-button.selected {
    color: var(--brand);
    animation: randomDisplace 0.1s infinite;
}

@keyframes randomDisplace {
    0% { transform: translate(0, 0); }
    20% { transform: translate(1px, -1px); }
    40% { transform: translate(-1px, 1px); }
    60% { transform: translate(1px, 1px); }
    80% { transform: translate(-1px, -1px); }
    100% { transform: translate(0, 0); }
}

.name-controls {
    display: flex;
    gap: 20px;
}

.control-button {
    font-family: 'Determination Mono', monospace;
    font-size: 20px;
    color: white;
    background: none;
    border: 3px solid white;
    padding: 15px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-button:hover {
    color: var(--brand);
    border-color: var(--brand);
}

.blog-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('assets/images/bg.png') center/cover;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    z-index: 2000;
    font-family: 'Determination Mono', monospace;
    padding: 20px;
    background-color: #000;
}

.blog-title {
    margin-bottom: 40px;
}

.blog-title-image {
    max-width: 300px;
    max-height: 80px;
    image-rendering: pixelated;
}

.blog-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    font-size: 14px;
    margin-bottom: 40px;
}

.blog-profile {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid white;
    width: 300px;
    min-height: 250px;
}

.profile-content {
    padding: 20px;
    text-align: center;
    min-height: 210px;
}

.blog-avatar {
    width: 120px;
    height: 120px;
    border: 2px solid white;
    image-rendering: pixelated;
    margin: 0 auto 15px auto;
    display: block;
}

.blog-name {
    color: white;
    font-size: 20px;
    margin: 0 0 15px 0;
}

.blog-bio {
    color: white;
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 15px 0;
}

.blog-location {
    color: white;
    font-size: 12px;
}

.tech-section {
    margin-bottom: 15px;
    text-align: left;
}

.tech-section h4 {
    color: white;
    font-size: 14px;
    margin: 0 0 8px 0;
    text-transform: uppercase;
}

.tech-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-item {
    background: black;
    border: 1px solid white;
    color: white;
    padding: 4px 8px;
    font-size: 11px;
    text-decoration: none;
}

.tech-item:hover {
    background: white;
    color: black;
}

.music-player {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid white;
    padding: 20px;
    width: 70%;
    max-width: 600px;
    margin: 0 auto;
}

.music-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.music-info {
    flex: 1;
    text-align: left;
}

.music-title {
    color: white;
    font-size: 16px;
    margin: 0 0 5px 0;
    font-weight: bold;
}

.music-artist {
    color: #ccc;
    font-size: 14px;
    margin: 0;
}

.album-cover {
    width: 60px;
    height: 60px;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    background: black;
}

.cover-placeholder {
    color: white;
    font-size: 24px;
}

.progress-container {
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #333;
    border: 1px solid white;
    margin-bottom: 5px;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 35%;
    background: white;
}

.time-info {
    display: flex;
    justify-content: space-between;
    color: white;
    font-size: 12px;
}

.music-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.music-btn {
    background: black;
    border: 2px solid white;
    color: white;
    padding: 8px 12px;
    cursor: pointer;
    font-family: 'Determination Mono', monospace;
    font-size: 12px;
}

.music-btn:hover {
    background: white;
    color: black;
}

.blog-section {
    margin-bottom: 12px;
    border-left: 2px solid white;
    padding-left: 8px;
}

.blog-section h3 {
    color: white;
    font-size: 11px;
    margin: 0 0 6px 0;
    text-transform: uppercase;
}

.blog-section p {
    color: white;
    line-height: 1.3;
    margin: 0 0 4px 0;
    font-size: 10px;
}

.blog-links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.blog-link {
    background: black;
    border: 1px solid white;
    color: white;
    padding: 2px 6px;
    font-size: 9px;
    text-decoration: none;
}

.blog-link:hover {
    background: white;
    color: black;
}

.blog-music {
    background: black;
    border: 1px solid white;
    padding: 6px;
    margin-bottom: 12px;
}

.blog-music h4 {
    color: white;
    font-size: 10px;
    margin: 0 0 3px 0;
    text-transform: uppercase;
}

.blog-track {
    color: white;
    font-size: 9px;
}

.blog-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 12px;
}

.blog-stat {
    background: black;
    border: 1px solid white;
    padding: 6px;
    text-align: center;
}

.blog-stat-number {
    color: white;
    font-size: 12px;
    font-weight: bold;
    display: block;
}

.blog-stat-label {
    color: white;
    font-size: 8px;
    text-transform: uppercase;
}

.credits-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    display: none;
    overflow: hidden;
    z-index: 2000;
    font-family: 'Determination Mono', monospace;
}

.credits-scroll {
    position: absolute;
    left: 50%;
    width: 80%;
    text-align: center;
    color: white;
    animation: creditsScroll 60s linear infinite;
}

@keyframes creditsScroll {
    0% {
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
    }
    100% {
        top: 100%;
        transform: translateX(-50%) translateY(0);
    }
}

.credits-title {
    margin-bottom: 60px;
}

.credits-title img {
    max-width: 400px;
    max-height: 120px;
    image-rendering: pixelated;
}

.credits-section {
    margin-bottom: 80px;
}

.credits-role {
    font-size: 32px;
    color: #00ffff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.credits-name {
    font-size: 28px;
    color: white;
    margin-bottom: 40px;
}

.credits-special {
    font-size: 24px;
    color: var(--brand);
    margin: 40px 0;
    font-style: italic;
}