/* CSS Variables */
:root {
    --neon-green: #00FF88;
    --neon-cyan: #00D4FF;
    --neon-purple: #9D4EDD;
    --neon-red: #FF006E;
    --neon-yellow: #FFD60A;
    --dark-bg: #0D0D12;
    --darker-bg: #080810;
    --card-bg: #16161F;
    --card-hover-bg: #1C1C28;
    --text-white: #FFFFFF;
    --text-gray: #B4B4BE;
    --text-light: #E0E0E8;
    --border-color: rgba(0, 255, 136, 0.3);
    --border-hover: rgba(0, 212, 255, 0.6);
    --font-family: 'Galmuri9', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--neon-green);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--neon-cyan);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(8, 8, 16, 0.95);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
    padding: 1.2rem 0;
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
}

.header-left {
    display: flex;
    justify-content: flex-start;
}

.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

/* Navigation */
.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--neon-green);
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: 2px solid transparent;
    padding: 0.25rem 0.5rem;
}

.nav-link:hover {
    color: var(--text-white);
    border-bottom-color: var(--neon-green);
}

.nav-link.active {
    color: var(--text-white);
    border-bottom-color: var(--neon-green);
}

/* Logo */
/* Social Links */
.social-links {
    display: flex;
    gap: 0.6rem;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(22, 22, 31, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.social-link:hover {
    background: var(--card-hover-bg);
    color: var(--neon-green);
    border-color: var(--neon-green);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.2);
    transform: translateY(-2px);
}

/* Language Selector */
.language-selector-wrapper {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    background: rgba(22, 22, 31, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-selector-wrapper:hover {
    background: var(--card-hover-bg);
    border-color: var(--border-hover);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.15);
}

.language-selector-wrapper i {
    color: var(--text-light);
    font-size: 1.1rem;
}

.language-selector {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.language-selector option {
    background: var(--darker-bg);
    color: var(--text-light);
}

/* Home Section (Full Screen) */
.home-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    scroll-margin-top: 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    position: relative;
    overflow: hidden;
}

.home-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.home-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(157, 78, 221, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 0, 110, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 214, 10, 0.05) 0%, transparent 50%);
    animation: backgroundShift 10s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.7;
    }
}

.pixel-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: glow 4s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: var(--neon-green);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle-1 {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 80%;
    animation-delay: 1s;
    background: var(--neon-cyan);
}

.particle-3 {
    width: 3px;
    height: 3px;
    top: 40%;
    left: 60%;
    animation-delay: 2s;
    background: var(--neon-purple);
}

.particle-4 {
    width: 5px;
    height: 5px;
    top: 80%;
    left: 30%;
    animation-delay: 3s;
    background: var(--neon-red);
}

.particle-5 {
    width: 4px;
    height: 4px;
    top: 10%;
    left: 70%;
    animation-delay: 4s;
    background: var(--neon-yellow);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

.home-content {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.home-logo {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 30px rgba(0, 255, 136, 0.6));
    animation: logoFloat 3s ease-in-out infinite;
    image-rendering: pixelated;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        filter: drop-shadow(0 0 30px rgba(0, 255, 136, 0.6));
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
        filter: drop-shadow(0 0 50px rgba(0, 255, 136, 0.9));
    }
}

.main-title {
    font-size: 4rem;
    font-weight: bold;
    color: var(--text-white);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-shadow:
        0 0 20px rgba(0, 255, 136, 0.5),
        0 0 40px rgba(0, 255, 136, 0.3),
        0 0 60px rgba(0, 255, 136, 0.2);
    animation: titleGlow 2s ease-in-out infinite alternate, typing 3s steps(16, end) 1s both, blink 1s infinite 4s;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid var(--neon-green);
    width: 16ch;
}

@keyframes titleGlow {
    0% {
        text-shadow:
            0 0 20px rgba(0, 255, 136, 0.5),
            0 0 40px rgba(0, 255, 136, 0.3),
            0 0 60px rgba(0, 255, 136, 0.2);
    }
    100% {
        text-shadow:
            0 0 30px rgba(0, 255, 136, 0.8),
            0 0 60px rgba(0, 255, 136, 0.5),
            0 0 90px rgba(0, 255, 136, 0.3);
    }
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 16ch;
    }
}

@keyframes blink {
    0%, 50% {
        border-color: var(--neon-green);
    }
    51%, 100% {
        border-color: transparent;
    }
}

@keyframes titleGlow {
    0% {
        text-shadow:
            0 0 20px rgba(0, 255, 136, 0.5),
            0 0 40px rgba(0, 255, 136, 0.3),
            0 0 60px rgba(0, 255, 136, 0.2);
    }
    100% {
        text-shadow:
            0 0 30px rgba(0, 255, 136, 0.8),
            0 0 60px rgba(0, 255, 136, 0.5),
            0 0 90px rgba(0, 255, 136, 0.3);
    }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--neon-cyan);
    margin-top: 2rem;
    animation: pulse 2s ease-in-out infinite;
    margin-bottom: 2rem;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.home-tagline {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.tagline-text {
    font-size: 1.2rem;
    color: var(--neon-green);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-icon {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.footer-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
}

.footer-email {
    margin: 0;
}

.footer-email a {
    font-size: 1.2rem;
    color: var(--neon-green);
    font-weight: 600;
    transition: all 0.3s;
}

.footer-email a:hover {
    color: var(--neon-cyan);
}

.footer-copyright {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* News Section Styles */
.news-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 3rem;
    scroll-margin-top: 80px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-white);
    letter-spacing: 1px;
    font-weight: bold;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan));
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.news-card {
    background: var(--card-bg);
    border: 2px solid var(--neon-green);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--neon-green),
        var(--neon-cyan),
        var(--neon-purple)
    );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-card:hover {
    transform: translateY(-12px);
    box-shadow:
        0 20px 50px rgba(0, 255, 0, 0.5),
        0 0 30px rgba(0, 255, 255, 0.3),
        inset 0 0 30px rgba(0, 255, 0, 0.05);
    border-color: var(--neon-cyan);
}

.news-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    image-rendering: pixelated;
    transition: transform 0.4s;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-content {
    padding: 2.5rem;
    background: linear-gradient(to bottom,
        rgba(0, 255, 0, 0.03),
        transparent
    );
}

.news-title {
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
    color: var(--neon-green);
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
    line-height: 1.3;
    font-weight: bold;
}

.news-description {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.1rem;
}

.news-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag {
    padding: 0.5rem 1.2rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
    color: var(--neon-green);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tag:hover {
    background: rgba(0, 255, 136, 0.2);
    border-color: var(--neon-green);
}

.news-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    font-size: 0.95rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.news-link:hover {
    background: var(--neon-green);
    color: var(--darker-bg);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    transform: translateX(4px);
}

/* Featured Portfolio */
.featured-portfolio {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0 4rem;
    position: relative;
}

.news-section .featured-portfolio {
    margin-bottom: 2rem;
}

.featured-card {
    width: 100%;
    max-width: 100%;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg,
        var(--card-bg),
        rgba(22, 22, 31, 0.95)
    );
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--neon-green),
        var(--neon-cyan),
        var(--neon-purple)
    );
    background-size: 200% 100%;
    animation: slideGradient 4s ease-in-out infinite;
}

@keyframes slideGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.featured-image {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    margin-bottom: 3rem;
    image-rendering: pixelated;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.featured-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--text-white);
    letter-spacing: 1px;
    line-height: 1.3;
    font-weight: bold;
    text-align: center;
}

.featured-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    color: var(--text-gray);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.featured-tags {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.featured-youtube {
    margin: 3rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.youtube-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 0 40px rgba(177, 0, 255, 0.5);
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid var(--neon-purple);
}

.featured-link {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--neon-green);
    border-radius: 8px;
    color: var(--neon-green);
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.featured-link:hover {
    background: rgba(0, 255, 136, 0.2);
    color: var(--neon-green);
    border-color: var(--neon-green);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.3);
    transform: translateY(-3px);
}

/* Loading, Error, Empty States */
.loading,
.error,
.empty {
    text-align: center;
    padding: 4rem;
    font-size: 1.5rem;
    color: var(--neon-green);
}

.loading::after {
    content: '...';
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
}

.news-section .portfolio-grid {
    max-width: 100%;
    margin: 0 auto;
}

.portfolio-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(22, 22, 31, 0.8) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        var(--neon-green),
        var(--neon-cyan),
        var(--neon-purple)
    );
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-card:hover::before {
    opacity: 1;
    animation: slideGradient 3s ease-in-out infinite;
}

.portfolio-card:hover {
    border-color: var(--border-hover);
    background: linear-gradient(135deg, var(--card-hover-bg) 0%, rgba(28, 28, 40, 0.95) 100%);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.25), 0 6px 20px rgba(0, 255, 136, 0.15);
    transform: translateY(-6px) scale(1.01);
}

.portfolio-card-top {
    display: flex;
    flex-direction: column;
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    image-rendering: pixelated;
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.portfolio-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
    font-weight: bold;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.portfolio-description {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text-gray);
    flex-grow: 1;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.portfolio-tag {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(0, 255, 136, 0.08));
    color: var(--neon-cyan);
    padding: 0.45rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 212, 255, 0.35);
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.portfolio-tag:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(0, 255, 136, 0.15));
    border-color: var(--neon-cyan);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}

.portfolio-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 0.5rem;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.3rem;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 212, 255, 0.05));
    color: var(--neon-green);
    text-decoration: none;
    border: 1px solid rgba(0, 255, 136, 0.4);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
}

.portfolio-link:hover {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 212, 255, 0.1));
    color: var(--neon-green);
    border-color: var(--neon-green);
    box-shadow: 0 4px 16px rgba(0, 255, 136, 0.3);
    transform: translateY(-2px);
}

.portfolio-link i {
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .featured-card {
        padding: 3rem 2rem;
    }

    .featured-title {
        font-size: 2.5rem;
    }

    .featured-description {
        font-size: 1.2rem;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .news-card {
        border-width: 2px;
    }

    .news-image {
        height: 240px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .header-left,
    .header-right {
        justify-content: center;
    }

    .featured-news {
        padding: 6rem 1rem 2rem;
    }

    .featured-card {
        padding: 2rem 1.5rem;
        border-width: 2px;
    }

    .featured-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .featured-description {
        font-size: 1.1rem;
    }

    .featured-image {
        max-height: 300px;
        border-width: 2px;
    }

    .featured-link {
        padding: 1rem 2rem;
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .news-section {
        padding: 3rem 1.5rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .news-card {
        border-width: 2px;
    }

    .news-image {
        height: 220px;
    }

    .news-content {
        padding: 1.5rem;
    }

    .news-title {
        font-size: 1.4rem;
    }

    .social-links {
        gap: 0.5rem;
    }

    .social-link {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    /* Portfolio Grid - 모바일에서 1열 */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .portfolio-image {
        height: 220px;
    }

    .portfolio-content {
        padding: 1.5rem;
    }

    .portfolio-title {
        font-size: 1.3rem;
    }

    .portfolio-description {
        font-size: 0.95rem;
    }

    .main-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
        word-break: keep-all;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 1rem;
    }

    .nav {
        gap: 0.75rem;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.2rem 0.4rem;
    }

    .featured-news {
        padding: 5rem 0.75rem 1.5rem;
    }

    .featured-card {
        padding: 1.5rem 1rem;
    }

    .featured-title {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }

    .featured-description {
        font-size: 1rem;
    }

    .featured-image {
        max-height: 250px;
    }

    .featured-link {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .featured-tags {
        gap: 0.5rem;
    }

    .tag {
        padding: 0.3rem 0.7rem;
        font-size: 0.8rem;
    }

    .main-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .news-section {
        padding: 2rem 1rem;
    }

    .news-grid {
        gap: 1.5rem;
    }

    .news-image {
        height: 200px;
    }

    .news-content {
        padding: 1.25rem;
    }

    .news-title {
        font-size: 1.25rem;
    }

    .news-description {
        font-size: 0.95rem;
    }

    .news-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Portfolio Grid - 480px 이하 */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-image {
        height: 200px;
    }

    .portfolio-content {
        padding: 1.25rem;
    }

    .portfolio-title {
        font-size: 1.2rem;
    }

    .portfolio-description {
        font-size: 0.9rem;
    }

    .portfolio-tag {
        padding: 0.3rem 0.7rem;
        font-size: 0.8rem;
    }

    .portfolio-link {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* ========================
   Steam Widget & Link Embeds
   ======================== */

.steam-widget,
.steam-widget-small {
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    border-top: 1px solid rgba(0, 212, 255, 0.35);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.2);
    background: rgba(0, 212, 255, 0.03);
    backdrop-filter: blur(4px);
    width: 100%;
}

.steam-widget iframe,
.steam-widget-small iframe {
    width: 100%;
    display: block;
    background: transparent;
}

.link-embed,
.link-embed-small {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 0, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.link-embed iframe,
.link-embed-small iframe {
    width: 100%;
    display: block;
    border: none;
}

/* Featured card embeds */
.featured-card .steam-widget {
    margin: 2rem 0 1.5rem;
}

.featured-card .link-embed {
    margin: 2rem 0 1.5rem;
}

/* Portfolio card embeds */
.portfolio-card .steam-widget-small,
.portfolio-card .link-embed-small {
    margin: 1rem 0;
}

@media (max-width: 768px) {
    .link-embed iframe {
        height: 300px;
    }

    .link-embed-small iframe {
        height: 250px;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--neon-green);
    border-radius: 12px;
    position: relative;
    background: rgba(0, 255, 136, 0.1);
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1s ease-in-out infinite;
}

.arrow-down {
    margin-top: 1rem;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid var(--neon-green);
    animation: arrowBounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(4px);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }
}

@keyframes arrowBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(5px);
    }
    60% {
        transform: translateY(2px);
    }
}
