/* Base Styles */
@font-face {
    font-family: 'FZShuTi';
    src: url('../fonts/FZShuTi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: initial !important;
    max-width: 900px;
    margin: 60px auto 0 auto;
    padding: 0 24px;
}

/* Desktop Header */
.desktop-header {
    padding: 1.5rem 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.header-content {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 1.875rem;
    font-weight: bold;
    color: #333;
}

.desktop-nav {
    margin-top: 1rem;
}

.desktop-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.desktop-nav a {
    color: #333;
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: #666;
}

/* Mobile Header */
.mobile-header {
    padding: 0.75rem 1rem;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 40;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.75rem;
}

.mobile-header .logo {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #1a1a1a;
}

.mobile-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: flex;
    align-items: center;
    padding: 0.625rem;
    border: none;
    border-radius: 0.75rem;
    background: rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.2s ease;
    color: #1a1a1a;
}

.menu-toggle:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

.menu-toggle:active {
    transform: scale(0.95);
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 50;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-sidebar.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.sidebar-content {
    padding: 1.5rem;
    height: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sidebar-header .logo {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #1a1a1a;
}

.close-menu {
    background: rgba(0, 0, 0, 0.03);
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    color: #1a1a1a;
}

.close-menu:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

.close-menu:active {
    transform: scale(0.95);
}

.mobile-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav a {
    font-size: 1.125rem;
    color: #1a1a1a;
    display: block;
    padding: 0.875rem 1rem;
    transition: all 0.2s ease;
    border-radius: 0.75rem;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.02);
}

.mobile-nav a:hover {
    background-color: rgba(0, 0, 0, 0.04);
    color: #5b21b6;
}

.mobile-nav a:active {
    transform: scale(0.98);
}

/* Main Content Styles */
.main-content {
    flex: none !important;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
    line-height: 1.7;
}

.page-title {
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 2rem;
    color: #333;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    margin: 0 0 3rem 0;
}

.full-width-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Links Section Styles */
.links-section {
    margin-top: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    color: #333;
}

.links-content {
    margin-top: 1rem;
    color: #666;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    color: #666;
}

.bio {
    margin: 2rem 0;
}

.bio p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #666;
}

.social-links {
    margin: 2rem 0;
}

.social-links p {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.social-links a {
    color: #5b21b6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #4c1d95;
    text-decoration: underline;
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem !important;
}

.footer-content {
    max-width: 1200px;
    color: #666;
    font-size: 0.875rem;
}

/* Media Queries */
@media (max-width: 768px) {
    .desktop-header {
        display: none;
    }
    .mobile-header {
        display: block;
    }
    .container {
        margin: 40px 0 0 0;
        padding: 0 16px;
    }
    .main-content {
        padding: 1rem;
        margin-top: 3.5rem;
    }
    
    .page-title,
    .section-title {
        font-size: 1.75rem;
    }

    .description,
    .bio p,
    .social-links p {
        font-size: 1rem;
    }

    .star-image {
        width: 120px;
    }
}

.language-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.language-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.language-section p:first-child {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #333;
}

.language-section .flag {
    margin-right: 0.5rem;
    font-size: 1.4rem;
}

.language-section p:last-child {
    line-height: 1.8;
    color: #666;
}

/* Japanese font */
.language-section:nth-child(2) p:last-child {
    font-family: "Hiragino Kaku Gothic Pro", "Yu Gothic", "Meiryo", sans-serif;
}

/* Chinese font */
.language-section:nth-child(3) p:last-child {
    font-family: "FZShuTi", "SimSun", "Microsoft YaHei", sans-serif;
}

@media (min-width: 769px) {
    .bio {
        display: flex;
        gap: 1.5rem;
    }
    .language-section {
        flex: 1;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .language-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .language-section p:first-child {
        font-size: 1.1rem;
    }

    .language-section p:last-child {
        font-size: 1rem;
    }
}

/* Favorite Star Section */
.favorite-star-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.star-container {
    display: flex;
    justify-content: center;
    margin: 1.5rem auto 0;
    max-width: 800px;
}

.star-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.star-image {
    display: block;
    width: 300px;
    height: auto;
    transition: transform 0.3s ease;
}

.star-image-wrapper:hover .star-image {
    transform: scale(1.05);
}

.view-more-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    text-align: center;
}

.view-more-btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: #000;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.view-more-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.view-more-btn:active {
    transform: scale(0.98);
}

@media (max-width: 768px) {
    .star-image {
        width: 120px;
    }
} 