@font-face {
    font-family: 'Galmuri14'; /* 폰트 이름을 'Galmuri14'로 변경 */
    src: url('attached_assets/Galmuri14.woff2') format('woff2'); /* 파일 경로를 새로 업로드한 파일로 변경 */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables for Font System */
:root {
    --main-font: 'Galmuri14', 'Courier New', monospace; /* 'NeoDunggeunMo'를 'Galmuri14'로 변경 */
    --pixel-font: 'Galmuri14', 'Courier New', monospace; /* 'NeoDunggeunMo'를 'Galmuri14'로 변경 */
    
    /* Color Palette - Retro 8-bit inspired */
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --accent-green: #0f3460;
    --text-primary: #eee;
    --text-secondary: #ccc;
    --border-color: #333;
    --button-primary: #533483;
    --button-hover: #7209b7;
    --button-active: #a663cc;
    --new-tag-color: #ff6b6b;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--pixel-font), monospace;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.4;
    min-height: 100vh;
    
    /* Repeating pixel art background pattern */
    background-image: 
        radial-gradient(circle at 25% 25%, #2a2a3e 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, #2a2a3e 2px, transparent 2px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

/* Container */
.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Profile Section */
.profile-section {
    text-align: center;
    padding: 20px;
}

.profile-image-container {
    margin-bottom: 20px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--text-primary);
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.korean-name {
    font-family: var(--pixel-font), monospace;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--text-secondary);
    text-shadow: 1px 1px 0px var(--bg-secondary);
}

.profile-name {
    font-family: var(--pixel-font), monospace;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 0px var(--bg-secondary);
}

.status-window {
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    padding: 12px 16px;
    margin: 0 auto;
    max-width: 400px;
    position: relative;
}

.status-window::before {
    content: "●●●";
    position: absolute;
    top: -2px;
    right: 8px;
    color: var(--new-tag-color);
    font-size: 8px;
}

.status-text {
    font-family: var(--pixel-font), monospace;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Projects Section */
.projects-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.project-link {
    background-color: var(--button-primary);
    border: 2px solid var(--text-primary);
    border-radius: 0;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    transition: none;
    position: relative;
    text-decoration: none;
    color: inherit;
    max-width: 400px;
    width: 100%;
}

.project-link:hover {
    background-color: var(--button-hover);
    transform: translate(-2px, -2px);
    box-shadow: 2px 2px 0px var(--bg-secondary);
}

.project-link:active {
    background-color: var(--button-active);
    transform: translate(0, 0);
    box-shadow: none;
}

.project-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.project-content {
    flex: 1;
}

.project-title {
    font-family: var(--pixel-font), monospace;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
    line-height: 1.2;
}

.project-description {
    font-family: var(--pixel-font), monospace;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* NEW! Tag Feature */
.new-tag .new-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--new-tag-color);
    color: white;
    font-family: var(--pixel-font), monospace;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border: 2px solid var(--text-primary);
    animation: flash 1s infinite alternate;
}

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

/* Social Section */
.social-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    margin-top: auto;
}

.social-link {
    text-decoration: none;
    color: inherit;
}

.social-icon {
    width: 64px;
    height: 64px;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--pixel-font), monospace;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: none;
}

.social-icon:hover {
    background-color: var(--button-primary);
    transform: translate(-1px, -1px);
    box-shadow: 1px 1px 0px var(--bg-primary);
}

.social-icon:active {
    transform: translate(0, 0);
    box-shadow: none;
}

.social-icon.naver {
    background-color: #03c75a;
    color: white;
}

.social-icon.instagram {
    background-color: #e4405f;
    color: white;
}

.social-icon.threads {
    background-color: #000;
    color: white;
}

.social-icon img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .container {
        padding: 15px;
        gap: 25px;
    }
    
    .profile-name {
        font-size: 24px;
    }
    
    .project-link {
        padding: 14px;
        gap: 12px;
    }
    
    .project-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .project-title {
        font-size: 14px;
    }
    
    .project-description {
        font-size: 11px;
    }
    
    .social-section {
        gap: 15px;
    }
    
    .social-icon {
        width: 56px;
        height: 56px;
        font-size: 18px;
    }
    
    .social-icon img {
        width: 32px;
        height: 32px;
    }
    
    .status-text {
        font-size: 12px;
    }
}

/* Ensure all text uses pixel font */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--pixel-font), monospace;
}

p, span, div, a, button {
    font-family: var(--pixel-font), monospace;
}
