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

:root {
    --font-ko: 'Noto Sans KR', sans-serif;
    --font-en: 'Inter', sans-serif;
    --accent-purple: #9D84B7;
    --accent-blue: #6BA3D1;
    --accent-pink: #E8B4B8;
    --accent-teal: #7FD8BE;
}

body {
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100vw;
    min-height: 100vh;
    background: #000000;
    font-family: var(--font-ko);
    color: #ffffff;
    scroll-behavior: smooth;
}

canvas {
    display: block;
}

#canvas_container {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Language Toggle */
#lang-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px 16px;
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
    letter-spacing: 0.05em;
}

#lang-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Landing Section */
.landing-section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.landing-content {
    text-align: center;
    padding: 0 20px;
}

.main-slogan {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.5;
    margin-bottom: 60px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    animation: fadeInUp 1.2s ease-out;
}

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

.scroll-arrow {
    display: inline-block;
    color: var(--accent-teal);
    cursor: pointer;
    animation: bounce 2s ease-in-out infinite;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(127, 216, 190, 0.5));
}

.scroll-arrow:hover {
    filter: drop-shadow(0 0 20px rgba(127, 216, 190, 0.8));
    transform: translateY(-5px);
}

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

/* Main Content */
#main-content {
    position: relative;
    z-index: 5;
    padding-top: 0;
}

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.1em;
    color: var(--accent-teal);
    text-shadow: 0 0 20px rgba(127, 216, 190, 0.3);
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* About Section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 2;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Project Cards */
.project-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 60px 50px;
    margin-bottom: 60px;
    position: relative;
    transition: all 0.4s ease;
}

.project-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.75);
    transform: translateY(-5px);
}

.project-number {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 4rem;
    font-weight: 200;
    opacity: 0.15;
    font-family: var(--font-en);
}

.project-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.project-highlights {
    list-style: none;
    margin: 20px 0;
}

.project-highlights li {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 2.2;
    padding-left: 20px;
    position: relative;
    opacity: 0.85;
}

.project-highlights li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-teal);
}

.project-highlights a {
    color: var(--accent-teal);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.project-highlights a:hover {
    opacity: 0.7;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.tech-tag {
    background: rgba(127, 216, 190, 0.15);
    border: 1px solid rgba(127, 216, 190, 0.3);
    color: var(--accent-teal);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-item {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: rgba(127, 216, 190, 0.4);
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-5px);
}

.skill-item h4 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--accent-teal);
    font-family: var(--font-en);
}

.skill-item p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0.85;
}

/* Contact Section */
.contact-card {
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 80px 50px;
}

.contact-description {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 50px;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.contact-btn {
    background: rgba(127, 216, 190, 0.1);
    border: 1px solid rgba(127, 216, 190, 0.3);
    color: var(--accent-teal);
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-btn svg {
    flex-shrink: 0;
}

.contact-btn:hover {
    background: rgba(127, 216, 190, 0.25);
    border-color: rgba(127, 216, 190, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(127, 216, 190, 0.3);
}

/* Fullscreen Button */
button#fullscr {
    position: fixed;
    bottom: 40px;
    right: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    font-size: 0.75rem;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    color: white;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

button#fullscr:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 968px) {
    .main-slogan {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content p {
        font-size: 1.05rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-slogan {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .scroll-arrow svg {
        width: 30px;
        height: 30px;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .about-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .project-card {
        padding: 40px 30px;
        margin-bottom: 40px;
    }

    .project-number {
        font-size: 2.5rem;
        top: 20px;
        right: 25px;
    }

    .project-title {
        font-size: 1.5rem;
    }

    .project-highlights li {
        font-size: 0.95rem;
    }

    .tech-stack {
        gap: 8px;
    }

    .tech-tag {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .skill-item {
        padding: 25px 20px;
    }

    .skill-item h4 {
        font-size: 1.15rem;
    }

    .skill-item p {
        font-size: 0.9rem;
    }

    .contact-card {
        padding: 50px 30px;
    }

    .contact-description {
        font-size: 1rem;
        margin-bottom: 35px;
    }

    .contact-links {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }

    button#fullscr {
        bottom: 20px;
        right: 20px;
        font-size: 0.7rem;
        padding: 8px 15px;
    }

    #lang-toggle {
        top: 15px;
        right: 15px;
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

/* Scrollbar Styling */
body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

body::-webkit-scrollbar-thumb {
    background: rgba(127, 216, 190, 0.3);
    border-radius: 5px;
}

body::-webkit-scrollbar-thumb:hover {
    background: rgba(127, 216, 190, 0.5);
}
