* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --accent-primary: #00d9ff;
    --accent-secondary: #7c3aed;
    --accent-gradient: linear-gradient(135deg, #00d9ff 0%, #7c3aed 100%);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --border-color: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-primary); border-radius: 5px; }

/* ===================== WELCOME PAGE ===================== */
.welcome-screen {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}
.welcome-screen.slide-down { transform: translateY(-100%); }

.welcome-icons { display: flex; gap: 1.5rem; margin-bottom: 3rem; }
.welcome-icon {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: iconFadeIn 0.6s ease forwards;
}
.welcome-icon:nth-child(1) { animation-delay: 0.2s; }
.welcome-icon:nth-child(2) { animation-delay: 0.4s; }
.welcome-icon:nth-child(3) { animation-delay: 0.6s; }
.welcome-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-3px);
    transition: all 0.3s ease;
}
@keyframes iconFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.welcome-text {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: textFadeIn 1s ease 0.8s forwards;
}
@keyframes textFadeIn {
    to { opacity: 1; transform: translateY(0); }
}
.welcome-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}
.welcome-text h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: -1px;
}
.welcome-url {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    opacity: 0;
    animation: textFadeIn 1s ease 1.2s forwards;
}
.loading-bar {
    width: 200px; height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 3rem;
    overflow: hidden;
    opacity: 0;
    animation: textFadeIn 1s ease 1.4s forwards;
}
.loading-progress {
    height: 100%;
    background: var(--accent-gradient);
    width: 0;
    animation: loadingProgress 5s linear 1.6s forwards;
}
@keyframes loadingProgress { to { width: 100%; } }

/* ===================== BACKGROUND ===================== */
.bg-animation {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}
.bg-animation .circle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}
.bg-animation .circle:nth-child(1) { width: 400px; height: 400px; top: -100px; right: -100px; }
.bg-animation .circle:nth-child(2) { width: 300px; height: 300px; bottom: -50px; left: -50px; animation-delay: 5s; }
.bg-animation .circle:nth-child(3) { width: 200px; height: 200px; top: 50%; left: 50%; animation-delay: 10s; }
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ===================== NAVBAR ===================== */
nav {
    position: fixed;
    top: 0; width: 100%;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}
nav.scrolled { padding: 1rem 5%; background: rgba(10, 10, 10, 0.95); }
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-family: 'Fira Code', monospace;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}
.nav-links a:hover { color: var(--accent-primary); }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 25px; height: 2px; background: var(--text-primary); transition: all 0.3s ease; }

/* ===================== HOME ===================== */
#home {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: flex-start;
    padding: 8rem 5% 5rem;
    position: relative;
}
.home-content { max-width: 900px; text-align: left; }
.home-lanyard-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: absolute;
    top: 80px;
    right: 18%;
    z-index: 998;
    pointer-events: none;
}
.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid var(--accent-primary);
    border-radius: 50px;
    color: var(--accent-primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
}
.home-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    word-wrap: break-word;
}
.home-content h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.typing-container {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-family: 'Fira Code', monospace;
    animation: fadeInUp 0.8s ease 0.4s backwards;
    word-wrap: break-word;
}
.typing-text {
    color: var(--accent-primary);
    border-right: 3px solid var(--accent-primary);
    padding-right: 5px;
    animation: blink 0.7s infinite;
}
@keyframes blink { 50% { border-color: transparent; } }
.home-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
    line-height: 1.8;
}
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}
.btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: var(--accent-gradient);
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0, 217, 255, 0.4); }
.btn-secondary { background: transparent; color: var(--text-primary); border: 2px solid var(--border-color); }
.btn-secondary:hover { border-color: var(--accent-primary); background: rgba(0, 217, 255, 0.1); transform: translateY(-3px); }

/* ===================== SECTION COMMON ===================== */
section { padding: 6rem 5%; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}
.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* ===================== ABOUT + LANYARD ===================== */
#about {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
    padding: 8rem 5%;
}
#about::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.about-content { animation: fadeInUp 0.8s ease; }
.about-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}
.about-content h3 .greeting {
    background: linear-gradient(135deg, #00d9ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about-content h3 .name { color: #ffffff; -webkit-text-fill-color: #ffffff; }
.about-content p { color: #a0a0a0; margin-bottom: 1.5rem; line-height: 1.8; font-size: 1.05rem; }

.cv-download-section {
    margin-top: 2.5rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}
.cv-btn, .projects-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.cv-btn {
    background: linear-gradient(135deg, #00d9ff, #7c3aed);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}
.cv-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0, 217, 255, 0.5); }
.projects-btn {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(0, 217, 255, 0.5);
    color: #fff;
}
.projects-btn:hover { background: rgba(0, 217, 255, 0.1); border-color: #00d9ff; transform: translateY(-3px); }

/* About Photo Circle */
.about-photo-circle {
    width: 280px; height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-primary);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.3), inset 0 0 20px rgba(0,0,0,0.5);
    position: relative;
    animation: fadeInUp 0.8s ease;
}
.about-photo-circle img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(1.05) contrast(1.05);
    transition: transform 0.4s ease;
}
.about-photo-circle:hover img { transform: scale(1.1); }
.about-photo-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 60%);
    pointer-events: none;
}

/* ===================== LANYARD + ID CARD ===================== */
.about-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
}
.lanyard-container {
    position: relative;
    width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-origin: top center;
    animation:
        lanyardDrop 1.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
        lanyardSway 4s ease-in-out 1.6s infinite;
}
.lanyard-strap {
    width: 18px;
    height: 160px;
    background: #0a0a0a;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #1a1a1a;
}
.lanyard-strap::before {
    content: 'Azka  Azka  Azka  Azka  Azka  Azka';
    position: absolute;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
    white-space: nowrap;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    height: 200%;
}
.breakaway-clip {
    width: 36px; height: 24px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 6px;
    margin-top: -2px;
    position: relative;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.1);
    border: 1px solid #2a2a2a;
    z-index: 2;
}
.breakaway-clip::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 28px; height: 2px;
    background: #333;
    border-radius: 1px;
}
.metal-hook {
    width: 32px; height: 38px;
    background: linear-gradient(135deg, #c0c0c0 0%, #808080 50%, #a0a0a0 100%);
    border-radius: 4px 4px 10px 10px;
    margin-top: -2px;
    position: relative;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.metal-hook::before {
    content: '';
    position: absolute;
    top: 5px;
    width: 18px; height: 18px;
    border: 3px solid #666;
    border-radius: 50%;
    background: transparent;
}
.metal-hook::after {
    content: '';
    position: absolute;
    bottom: -3px;
    width: 10px; height: 12px;
    background: linear-gradient(180deg, #999 0%, #666 100%);
    border-radius: 0 0 4px 4px;
}
.id-card-holder {
    width: 160px; height: 260px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    border: 6px solid rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(0, 217, 255, 0.2),
        inset 0 0 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}
.card-slot {
    position: absolute;
    top: -14px;
    width: 70px; height: 18px;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 3;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
}
.id-card-holder::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 10;
    pointer-events: none;
    border-radius: 14px;
}
.id-card-holder::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: cardShine 6s ease-in-out infinite;
    z-index: 11;
    pointer-events: none;
}
@keyframes cardShine { 0%, 100% { left: -100%; } 50% { left: 200%; } }

.id-card-content {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    position: relative;
    z-index: 1;
}
.id-header { text-align: center; margin-bottom: 25px; width: 100%; }
.company-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d9ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    margin-bottom: 8px;
}
.id-role { font-size: 0.8rem; color: #888; letter-spacing: 4px; text-transform: uppercase; }
.divider-line { display: none; }
.id-photo-wrapper {
    width: 100%; height: 100%;
    border-radius: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
    margin: 0;
    position: relative;
}
.id-photo-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(1.02) contrast(1.05);
    transition: transform 0.4s ease;
}
.lanyard-container:hover .id-photo-wrapper img { transform: scale(1.1); }
.id-info { text-align: center; width: 100%; }
.id-name { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 8px; letter-spacing: 0.5px; }
.id-title { font-size: 0.95rem; color: #00d9ff; margin-bottom: 0; font-weight: 600; }

@keyframes lanyardDrop {
    0% { transform: translateY(-120vh) rotate(0deg); opacity: 0; }
    50% { opacity: 1; }
    70% { transform: translateY(15px) rotate(0deg); }
    85% { transform: translateY(-8px) rotate(0deg); }
    100% { transform: translateY(0) rotate(0deg); opacity: 1; }
}
@keyframes lanyardSway {
    0%   { transform: rotate(0deg); }
    25%  { transform: rotate(3deg); }
    50%  { transform: rotate(0deg); }
    75%  { transform: rotate(-3deg); }
    100% { transform: rotate(0deg); }
}

/* ===================== PORTFOLIO ===================== */
.portfolio-tabs { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; }
.tab-btn {
    padding: 0.8rem 2rem;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}
.tab-btn.active { background: var(--accent-gradient); border-color: transparent; color: var(--text-primary); }
.tab-btn:hover:not(.active) { border-color: var(--accent-primary); color: var(--text-primary); }
.tab-content { display: none; animation: fadeIn 0.5s ease; }
.tab-content.active { display: block; }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.project-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}
.project-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2); }
.project-image {
    width: 100%; height: 220px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--accent-primary);
    position: relative;
    overflow: hidden;
}
.project-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.project-card:hover .project-image img { transform: scale(1.1); }

/* Project Card dengan Icon */
.project-icon-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
}
.project-icon-card i {
    font-size: 5rem;
    color: var(--accent-primary);
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.5));
    transition: all 0.3s ease;
}
.project-card:hover .project-icon-card i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 30px rgba(0, 217, 255, 0.8));
}

.project-image-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 217, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-card:hover .project-image-overlay { opacity: 1; }
.view-project-text {
    background: var(--accent-gradient);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.project-card:hover .view-project-text { transform: translateY(0); }
.project-content { padding: 2rem; }
.project-content h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.project-content p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 1rem; }
.project-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tag {
    padding: 0.3rem 0.8rem;
    background: rgba(0, 217, 255, 0.1);
    color: var(--accent-primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===================== PROJECT MODAL ===================== */
.project-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.project-modal.active { display: flex; opacity: 1; }
.modal-content {
    background: var(--bg-card);
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--border-color);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.project-modal.active .modal-content { transform: scale(1); }
.modal-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}
.modal-close:hover { background: var(--accent-primary); transform: rotate(90deg); }
.modal-body { padding: 0; }

/* Modal Header Image */
.modal-header-image { width: 100%; height: 300px; background: var(--bg-secondary); position: relative; overflow: hidden; }
.modal-header-image img { width: 100%; height: 100%; object-fit: cover; }

/* Modal Header Icon */
.modal-header-icon {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-header-icon::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(0, 217, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(124, 58, 237, 0.2) 0%, transparent 50%);
    pointer-events: none;
}
.modal-header-icon i {
    font-size: 6rem;
    color: var(--accent-primary);
    filter: drop-shadow(0 0 30px rgba(0, 217, 255, 0.6));
    z-index: 1;
    animation: iconPulse 3s ease-in-out infinite;
}
@keyframes iconPulse {
    0%, 100% { 
        transform: scale(1); 
        filter: drop-shadow(0 0 30px rgba(0, 217, 255, 0.6));
    }
    50% { 
        transform: scale(1.08); 
        filter: drop-shadow(0 0 50px rgba(0, 217, 255, 0.9));
    }
}

.modal-info { padding: 2.5rem; }
.modal-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.modal-info p { color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.8; }
.modal-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.project-gallery { margin-top: 2rem; }
.project-gallery h3 { color: var(--accent-primary); margin-bottom: 1.5rem; font-size: 1.3rem; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    aspect-ratio: 16/10;
    background: var(--bg-secondary);
}
.gallery-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 217, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 2rem; color: var(--accent-primary); }
.gallery-demo-btn {
    padding: 0.6rem 1.2rem;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}
.gallery-demo-btn:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(0, 217, 255, 0.4); }

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox-content { position: relative; max-width: 90%; max-height: 90%; }
.lightbox-img {
    max-width: 100%; max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-demo-btn {
    position: absolute;
    bottom: -60px; left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2rem;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}
.lightbox-demo-btn:hover { transform: translateX(-50%) scale(1.05); box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4); }
.lightbox-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 50px; height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}
.lightbox-close:hover { background: var(--accent-primary); transform: rotate(90deg); }
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px; height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}
.lightbox-prev:hover, .lightbox-next:hover { background: var(--accent-primary); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ===================== SKILLS ===================== */
.skills-grid-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem;
}
.skill-icon-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 180px;
}
.skill-icon-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}
.skill-icon-card:hover { transform: translateY(-8px); border-color: transparent; box-shadow: 0 20px 40px rgba(0, 217, 255, 0.3); }
.skill-icon-card:hover::before { opacity: 0.05; }
.skill-icon-card > * { position: relative; z-index: 1; }
.skill-icon {
    font-size: 3.5rem;
    width: 90px; height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.skill-icon.php { color: #777BB4; }
.skill-icon.laravel { color: #FF2D20; }
.skill-icon.javascript { color: #F7DF1E; }
.skill-icon.html5 { color: #E34F26; }
.skill-icon.mysql { color: #4479A1; }
.skill-icon.css3 { color: #1572B6; }
.skill-icon-card:hover .skill-icon { transform: scale(1.1); }
.skill-name-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    transition: color 0.3s ease;
}
.skill-icon-card:hover .skill-name-label { color: var(--text-primary); }

/* ===================== CONTACT ===================== */
#contact {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
    padding: 8rem 5%;
}
#contact::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
.contact-container { max-width: 1000px; margin: 0 auto; position: relative; z-index: 1; }
.contact-header { text-align: center; margin-bottom: 4rem; }
.contact-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00d9ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-form {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2.5rem;
    border-radius: 20px;
}
.contact-form h3 { color: #00d9ff; font-size: 1.5rem; margin-bottom: 1.5rem; font-weight: 600; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; color: #c0c0c0; margin-bottom: 0.5rem; font-size: 0.9rem; font-weight: 500; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #00d9ff;
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #666; }
.form-group textarea { min-height: 150px; resize: vertical; }
.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #00d9ff, #7c3aed);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.submit-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4); }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-info h3 { color: #00d9ff; font-size: 1.5rem; margin-bottom: 1rem; font-weight: 600; }
.contact-info > p { color: #a0a0a0; line-height: 1.8; margin-bottom: 2rem; }
.contact-methods { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}
.contact-method:hover { border-color: #00d9ff; transform: translateX(5px); background: rgba(255,255,255,0.05); }
.contact-method i {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, #00d9ff, #7c3aed);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.contact-method div h4 { color: #fff; font-size: 1rem; margin-bottom: 0.25rem; }
.contact-method div p { color: #888; font-size: 0.9rem; }
.social-links { display: flex; gap: 1rem; margin-top: 1rem; }
.social-link {
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-link:hover {
    background: linear-gradient(135deg, #00d9ff, #7c3aed);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 217, 255, 0.3);
}

/* ===================== FOOTER ===================== */
footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    padding: 4rem 5% 2rem;
    position: relative;
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d9ff, #7c3aed, transparent);
}
.footer-container { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-section h3 {
    color: #00d9ff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 2px;
    background: linear-gradient(90deg, #00d9ff, #7c3aed);
}
.footer-section.about p { color: #a0a0a0; line-height: 1.8; margin-bottom: 1.5rem; font-size: 0.95rem; }
.footer-section.about .logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d9ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: inline-block;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}
.footer-links a:hover { color: #00d9ff; transform: translateX(5px); }
.footer-links a::before { content: '›'; font-size: 1.2rem; opacity: 0; transition: opacity 0.3s ease; }
.footer-links a:hover::before { opacity: 1; }
.footer-contact p { color: #a0a0a0; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; }
.footer-contact i { color: #00d9ff; width: 20px; }
.footer-social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-social a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}
.footer-social a:hover {
    background: linear-gradient(135deg, #00d9ff, #7c3aed);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.3);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom p { color: #666; font-size: 0.9rem; }
.footer-bottom-links { display: flex; gap: 2rem; list-style: none; }
.footer-bottom-links a { color: #666; text-decoration: none; font-size: 0.9rem; transition: color 0.3s ease; }
.footer-bottom-links a:hover { color: #00d9ff; }
.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background: linear-gradient(135deg, #00d9ff, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.4);
    z-index: 999;
    border: none;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 217, 255, 0.6); }

/* ===================== ANIMATIONS ===================== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ===================== RESPONSIVE - TABLET ===================== */
@media (max-width: 968px) {
    html { font-size: 15px; }
    .welcome-text h1 { font-size: 2rem; }
    .welcome-text h2 { font-size: 2.5rem; }
    .nav-links {
        position: fixed;
        top: 70px; right: -100%;
        width: 100%; height: calc(100vh - 70px);
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        padding: 3rem 0;
        transition: right 0.3s ease;
        gap: 2rem;
    }
    .nav-links.active { right: 0; }
    .hamburger { display: flex; }
    .about-container { grid-template-columns: 1fr; gap: 3rem; }
    .about-image-wrapper { order: -1; }
    .lanyard-container { width: 200px; }
    .id-card-holder { width: 160px; height: 260px; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-section.about { grid-column: 1 / -1; }
    .home-content h1 { font-size: 2.5rem; }
    .typing-container { font-size: 1.2rem; }
    .home-lanyard-wrapper { right: 12%; top: 100px; }
    .skills-grid-container { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .projects-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    section { padding: 4rem 5%; }
}

/* ===================== RESPONSIVE - MOBILE ===================== */
@media (max-width: 768px) {
    html { font-size: 14px; }
    body { max-width: 100vw; overflow-x: hidden; }
    nav { padding: 1rem 5%; }
    .nav-links {
        position: fixed;
        top: 70px; right: -100%;
        width: 100%; height: calc(100vh - 70px);
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        padding: 3rem 0;
        transition: right 0.3s ease;
        gap: 2rem;
    }
    .nav-links.active { right: 0; }
    .hamburger { display: flex; }
    
    /* Hero Section Mobile - FOTO DI ATAS */
    #home {
        grid-template-columns: 1fr;
        padding: 6rem 5% 3rem;
        gap: 2rem;
        display: flex;
        flex-direction: column;
    }
    .home-lanyard-wrapper {
        order: -1;
        position: relative;
        right: auto;
        top: auto;
        margin: 0 auto 2rem;
    }
    .home-content { text-align: center; max-width: 100%; }
    .home-content h1 { font-size: 2.5rem; word-wrap: break-word; }
    .typing-container { font-size: 1.2rem; word-wrap: break-word; }
    .home-description { font-size: 1rem; max-width: 100%; }
    .cta-buttons { justify-content: center; flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 300px; justify-content: center; }
    .badge { margin: 0 auto 2rem; }
    
    .about-container { grid-template-columns: 1fr; gap: 2rem; }
    .about-content h3 { font-size: 2rem; text-align: center; }
    .about-content p { font-size: 1rem; text-align: center; }
    .cv-download-section { flex-direction: column; width: 100%; }
    .cv-btn, .projects-btn { width: 100%; justify-content: center; }
    .about-photo-circle { width: 200px; height: 200px; margin: 0 auto; }
    .lanyard-container { width: 180px; }
    
    .portfolio-tabs { flex-wrap: wrap; }
    .tab-btn { padding: 0.6rem 1.5rem; font-size: 0.85rem; }
    .projects-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .project-icon-card i { font-size: 4rem; }
    
    .skills-grid-container { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 0.5rem; }
    .skill-icon-card { padding: 1.5rem 1rem; min-height: 140px; }
    .skill-icon { width: 70px; height: 70px; font-size: 2.5rem; }
    
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-form { padding: 1.5rem; }
    .contact-header h2 { font-size: 2rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { flex-direction: column; gap: 0.5rem; }
    
    .project-modal { padding: 1rem; }
    .modal-header-image { height: 200px; }
    .modal-header-icon { height: 200px; }
    .modal-header-icon i { font-size: 4rem; }
    .modal-info { padding: 1.5rem; }
    .modal-info h2 { font-size: 1.5rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .lightbox-prev, .lightbox-next { display: none; }
    .lightbox-demo-btn { bottom: -50px; padding: 0.8rem 1.5rem; font-size: 0.9rem; }
    
    .section-header h2 { font-size: 2rem; }
    .section-header p { font-size: 1rem; }
    .back-to-top { bottom: 20px; right: 20px; width: 45px; height: 45px; }
}

/* ===================== RESPONSIVE - SMALL MOBILE ===================== */
@media (max-width: 480px) {
    html { font-size: 13px; }
    .welcome-text h1 { font-size: 1.5rem; }
    .welcome-text h2 { font-size: 2rem; }
    .home-content h1 { font-size: 2rem; }
    .typing-container { font-size: 1rem; }
    .home-description { font-size: 0.95rem; }
    .about-content h3 { font-size: 1.8rem; }
    .lanyard-container { width: 160px; }
    .id-card-holder { width: 140px; height: 220px; }
    .btn { padding: 0.875rem 1.5rem; font-size: 0.9rem; }
    .badge { font-size: 0.75rem; padding: 0.4rem 1rem; }
    .skill-icon-card { min-height: 120px; padding: 1rem 0.75rem; }
    .skill-icon { width: 60px; height: 60px; font-size: 2rem; }
    .skill-name-label { font-size: 0.9rem; }
    .project-icon-card i { font-size: 3.5rem; }
    .modal-header-icon { height: 160px; }
    .modal-header-icon i { font-size: 3.5rem; }
    section { padding: 3rem 5%; }
    .section-header h2 { font-size: 1.75rem; }
    .contact-header h2 { font-size: 1.75rem; }
}

/* ===================== RESPONSIVE - LANDSCAPE MOBILE ===================== */
@media (max-width: 768px) and (orientation: landscape) {
    #home { min-height: auto; padding: 6rem 5% 2rem; }
    .home-content h1 { font-size: 2rem; }
    .typing-container { font-size: 1rem; }
    .lanyard-container { width: 150px; }
    .id-card-holder { width: 120px; height: 200px; }
    .lanyard-strap { height: 80px; }
    section { padding: 3rem 5%; }
}

/* ===================== RESPONSIVE - TOUCH DEVICES ===================== */
@media (hover: none) and (pointer: coarse) {
    .btn:hover { transform: none; }
    .project-card:hover { transform: none; }
    .skill-icon-card:hover { transform: none; }
    .contact-method:hover { transform: none; }
    .social-link:hover { transform: none; }
    .btn:active { transform: scale(0.98); }
    .project-card:active { transform: scale(0.98); }
}
