
@font-face {
    font-family: 'Unique Bold';
    src: url('assets/Unique-Bold.ttf') format('truetype');
    font-display: block;
}

@font-face {
    font-family: 'Pestetrial';
    src: url('assets/pestetrial-regular.otf') format('opentype');
    font-display: block;
}

@font-face {
    font-family: 'Sticky Note';
    src: url('assets/StickyNoteDemo-Regular.ttf') format('truetype');
    font-display: block;
}

@font-face {
    font-family: 'DreamerTM';
    src: url('assets/DreamerTM-Regular.ttf') format('truetype');
    font-display: block;
}

@font-face {
    font-family: 'OffsetTM';
    src: url('assets/OffsetTM.ttf') format('truetype');
    font-display: block;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('https://pub-811672f510b442679b5ffcff1ff09000.r2.dev/normal.cur'), auto;
}

a, .nav-link, .project-item {
    cursor: url('https://pub-811672f510b442679b5ffcff1ff09000.r2.dev/link.cur'), pointer;
}

input, textarea {
    cursor: url('https://pub-811672f510b442679b5ffcff1ff09000.r2.dev/text.cur'), text;
}

button {
    cursor: url('https://pub-811672f510b442679b5ffcff1ff09000.r2.dev/link.cur'), pointer;
}

.project-item:active {
    cursor: url('https://pub-811672f510b442679b5ffcff1ff09000.r2.dev/move.cur'), move;
}

html {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'OffsetTM', 'Sticky Note', sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #000000;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.header,
.main {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    border-bottom: 0px solid #eee;
    padding: 0px 40px;
    margin-bottom: 40px;
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.header .container {
    max-width: 100%;
}

.site-title {
    font-family: 'Pestetrial', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-link {
    font-family: 'DreamerTM', 'Pestetrial', sans-serif;
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    transition: color 0.2s ease;
}

.nav-link:nth-child(1):hover {
    color: #000000;
}

.nav-link:nth-child(2):hover {
    color: #000000;
}

.nav-link:nth-child(3):hover {
    color: #000000;
}

.nav-link:nth-child(4):hover {
    color: #000000;
}

.nav-link:nth-child(5):hover {
    color: #000000;
}

.nav-link:nth-child(6):hover {
    color: #000000;
}

.nav-link.active {
    color: #000000;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
}

/* Main content */
.main {
    min-height: calc(100vh - 200px);
}

.hero-text {
    font-family: 'DreamerTM', 'Pestetrial', sans-serif;
    font-size: clamp(3rem, 10vw, 10rem);
    text-align: center;
    margin: 0px 0;
    color: #000000;
    letter-spacing: 0.1em;
    cursor: url('https://pub-811672f510b442679b5ffcff1ff09000.r2.dev/link.cur'), pointer;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

.hero-text .letter {
    display: inline-block;
    transition: transform 0.3s ease;
}

.hero-text:hover .letter {
    animation: letterFloat 0.6s ease-in-out infinite;
}

.hero-text .letter:nth-child(1) { animation-delay: 0s; }
.hero-text .letter:nth-child(2) { animation-delay: 0.05s; }
.hero-text .letter:nth-child(3) { animation-delay: 0.1s; }
.hero-text .letter:nth-child(4) { animation-delay: 0.15s; }
.hero-text .letter:nth-child(5) { animation-delay: 0.2s; }
.hero-text .letter:nth-child(6) { animation-delay: 0.25s; }
.hero-text .letter:nth-child(7) { animation-delay: 0.3s; }
.hero-text .letter:nth-child(8) { animation-delay: 0.35s; }
.hero-text .letter:nth-child(9) { animation-delay: 0.4s; }
.hero-text .letter:nth-child(10) { animation-delay: 0.45s; }
.hero-text .letter:nth-child(11) { animation-delay: 0.5s; }
.hero-text .letter:nth-child(12) { animation-delay: 0.55s; }
.hero-text .letter:nth-child(13) { animation-delay: 0.6s; }

@keyframes letterFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.intro {
    margin-bottom: 50px;
    text-align: center;
}

.intro h2 {
    font-family: 'Pestetrial', sans-serif;
    font-size: 4rem;
    margin-bottom: 20px;
    color: #000000;
    font-weight: 400;
}

.intro p {
    font-size: 1.1rem;
    color: #000000;
}

/* Posts */
.posts {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.post-preview {
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.post-preview:last-child {
    border-bottom: none;
}

.post-title {
    margin-bottom: 8px;
}

.post-title a {
    font-family: 'Pestetrial', sans-serif;
    text-decoration: none;
    color: #000000;
    font-size: 1.4rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.post-title a:hover {
    color: #000000;
}

.post-meta {
    color: #000000;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.post-excerpt {
    color: #000000;
    line-height: 1.7;
}

/* Footer */
.footer {
    margin-top: 80px;
    padding: 30px 0;
    border-top: 1px solid #eee;
    text-align: center;
}

.footer p {
    color: #000000;
    font-size: 0.9rem;
}

/* Individual post styles */
.post {
    max-width: 700px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 40px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.post-title-full {
    font-family: 'Pestetrial', sans-serif;
    font-size: 2.2rem;
    color: #000000;
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 1.3;
}

.post-content {
    line-height: 1.8;
    color: #000000;
}

.post-content h2 {
    font-family: 'Pestetrial', sans-serif;
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
    color: #000000;
    font-weight: 500;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-nav {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.post-nav-link {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    transition: color 0.2s ease;
}

.post-nav-link:hover {
    color: #000000;
}

/* Responsive */
.page-transition-out {
    display: none;
}

.message-board-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.message-board-overlay.active {
    opacity: 1;
    visibility: visible;
}

.message-board-popup {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease;
}

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

.message-board-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: #000000;
    cursor: url('https://pub-811672f510b442679b5ffcff1ff09000.r2.dev/link.cur'), pointer;
    transition: color 0.2s ease;
}

.message-board-close:hover {
    color: #000000;
}

.message-board-title {
    font-family: 'Unique Bold', sans-serif;
    font-size: 2.5rem;
    color: #000000;
    margin: 0 0 10px 0;
}

.message-board-subtitle {
    font-family: 'Pestetrial', sans-serif;
    font-size: 1rem;
    color: #000000;
    margin: 0 0 30px 0;
}

.messages-container {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 30px;
    padding-right: 10px;
}

.no-messages {
    font-family: 'Pestetrial', sans-serif;
    color: #000000;
    text-align: center;
    padding: 40px 0;
}

.guest-message {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.message-author {
    font-family: 'Unique Bold', sans-serif;
    font-size: 1rem;
    color: #000000;
}

.message-date {
    font-family: 'Pestetrial', sans-serif;
    font-size: 0.85rem;
    color: #000000;
}

.message-content {
    font-family: 'Pestetrial', sans-serif;
    font-size: 1rem;
    color: #000000;
    margin: 0;
    line-height: 1.5;
}

.message-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message-form input,
.message-form textarea {
    font-family: 'Pestetrial', sans-serif;
    font-size: 1rem;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease;
}

.message-form input:focus,
.message-form textarea:focus {
    border-color: #e91e63;
}

.message-form textarea {
    min-height: 100px;
    resize: vertical;
}

.message-form button {
    font-family: 'Unique Bold', sans-serif;
    font-size: 1.1rem;
    padding: 15px 30px;
    background: #e91e63;
    color: #000000;
    border: none;
    border-radius: 10px;
    cursor: url('https://pub-811672f510b442679b5ffcff1ff09000.r2.dev/link.cur'), pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.message-form button:hover {
    background: #c2185b;
    transform: translateY(-2px);
}

@keyframes cardSlideDown {
    0% {
        height: 0;
    }
    100% {
        height: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .intro h2 {
        font-size: 1.6rem;
    }
    
    .post-title a {
        font-size: 1.2rem;
    }
    
    .post-title-full {
        font-size: 1.8rem;
    }
    
    .post-content ul,
    .post-content ol {
        padding-left: 20px;
    }
}

/* Footer */
.site-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 15px 20px 10px;
    margin-top: 15px;
}

.footer-socials {
    display: inline-flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: 12px 30px;
}

.footer-social-link {
    font-family: 'DreamerTM', 'Pestetrial', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-social-link:hover {
    opacity: 0.7;
}

@media (max-width: 480px) {
    .footer-socials {
        gap: 18px;
    }
    .footer-social-link {
        font-size: 0.9rem;
    }
}
