* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Language Toggle */
.lang-toggle {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
}

.lang-btn {
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    padding: 0.4rem 0.8rem;
    font-family: inherit;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.05em;
}

.lang-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

body {
    font-family: 'EB Garamond', 'Libre Baskerville', Georgia, serif;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    max-width: 500px;
    width: 100%;
    text-align: center;
    padding: 2rem;
    margin: 0 auto;
}

.word {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 0.3rem;
    font-family: 'Libre Baskerville', Georgia, serif;
}

.pronunciation {
    font-size: 0.9rem;
    color: #888888;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.definition {
    font-size: 1rem;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 2.5rem;
}

.links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
}

.links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.links a:hover {
    text-decoration: underline;
    font-style: italic;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #000000;
    border: 1px solid #333;
    padding: 0.5rem 0;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    text-align: center;
}

.dropdown-menu a .icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.dropdown-menu a:hover {
    background: #111;
}

.dropdown-menu a.itch-link:hover {
    color: #FA5C5C;
}

.dropdown-menu a.steam-link:hover {
    color: #66C0F4;
}

.dropdown-menu a.x-link:hover {
    color: #FFFFFF;
}

.dropdown-menu a.bluesky-link:hover {
    color: #0085FF;
}

.dropdown-menu a.discord-link:hover {
    color: #5865F2;
}

.dropdown-menu a.github-link:hover {
    color: #FFFFFF;
}

.dropdown-menu a.email-link:hover {
    color: #22C55E;
}

.copyright {
    margin-top: 2.5rem;
    font-size: 0.7rem;
    color: #666666;
    max-width: 400px;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .word {
        font-size: 2rem;
    }

    .links {
        flex-direction: column;
        gap: 0.8rem;
    }

    .copyright {
        font-size: 0.65rem;
        padding: 0 1rem;
    }
}

/* Views & Transitions */
.view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.view.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.view.exit {
    transform: translateX(-100%);
}

#blog.active,
#post-view.active {
    justify-content: flex-start;
    padding-top: 3rem;
}

/* Blog Styles */
.blog-header {
    width: 100%;
    max-width: 600px;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.back-btn {
    background: none;
    border: 1px solid #333;
    color: #ffffff;
    padding: 0.5rem 1rem;
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.back-btn:hover {
    background: #ffffff;
    color: #000000;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 400;
    font-family: 'Libre Baskerville', Georgia, serif;
}

.blog-posts {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-post {
    border-bottom: 1px solid #222;
    padding-bottom: 2rem;
}

.blog-post:last-child {
    border-bottom: none;
}

.post-date {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.post-title {
    font-size: 1.3rem;
    font-weight: 400;
    margin: 0.5rem 0;
    font-family: 'Libre Baskerville', Georgia, serif;
}

.post-excerpt {
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    background: none;
    border: none;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    transition: opacity 0.2s;
}

.read-more:hover {
    opacity: 0.6;
}

/* Single Post */
.single-post {
    width: 100%;
    max-width: 600px;
    padding: 1rem 0;
}

.single-post .post-date {
    display: block;
    margin-bottom: 0.5rem;
}

.single-post .post-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.single-post .post-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #cccccc;
}

.single-post .post-content p {
    margin-bottom: 1.2rem;
}

/* Team Styles */
#team.active {
    justify-content: flex-start;
    padding-top: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    width: 100%;
    max-width: 800px;
    padding: 1rem 0;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    border: 1px solid #222;
    transition: border-color 0.2s;
}

.team-member:hover {
    border-color: #444;
}

.member-pfp {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 2px solid #333;
}

.member-pfp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 1.1rem;
    font-weight: 400;
    font-family: 'Libre Baskerville', Georgia, serif;
    margin-bottom: 0.3rem;
}

.member-pronouns {
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.member-title {
    font-size: 0.85rem;
    color: #aaa;
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-member {
        padding: 1rem;
    }

    .member-pfp {
        width: 80px;
        height: 80px;
    }
}
