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

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --background-color: #0f172a;
    --surface-color: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: #334155;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* PWA Styles */
@supports (display: standalone) {
    body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* iOS Safari specific styles */
@supports (-webkit-touch-callout: none) {
    body {
        -webkit-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
        -webkit-text-size-adjust: 100%;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.2rem;
    position: relative;
}

.code-bracket {
    color: var(--primary-color);
    animation: bracketGlow 2s ease-in-out infinite alternate;
}

.logo-name {
    color: var(--text-primary);
    margin: 0 0.25rem;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

@keyframes bracketGlow {
    0% { 
        text-shadow: 0 0 5px rgba(99, 102, 241, 0.5);
        transform: scale(1);
    }
    100% { 
        text-shadow: 0 0 15px rgba(99, 102, 241, 0.8);
        transform: scale(1.05);
    }
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Courier New', monospace;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--background-color) 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 60% 40%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    animation: matrixFloat 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 98px,
            rgba(99, 102, 241, 0.03) 100px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 98px,
            rgba(139, 92, 246, 0.03) 100px
        );
    pointer-events: none;
}

@keyframes matrixFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(0px) translateX(20px);
    }
    75% {
        transform: translateY(20px) translateX(10px);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text > *:not(.hero-title) {
    opacity: 0;
    transform: translateY(20px);
}

.hero-title {
    opacity: 0;
    transform: translateY(20px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    min-height: 4.2rem;
    display: flex;
    align-items: center;
}

.highlight {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-nickname {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-nickname i {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.code-terminal {
    width: 400px;
    height: 280px;
    background: var(--surface-color);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.terminal-header {
    background: var(--background-color);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close { background: #ff5f56; }
.btn-minimize { background: #ffbd2e; }
.btn-maximize { background: #27ca3f; }

.terminal-title {
    color: #ccc;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
}

.terminal-body {
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.code-line {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.code-line:nth-child(1) { animation-delay: 0.5s; }
.code-line:nth-child(2) { animation-delay: 1s; }
.code-line:nth-child(3) { animation-delay: 1.5s; }
.code-line:nth-child(4) { animation-delay: 2s; }
.code-line:nth-child(5) { animation-delay: 2.5s; }

.line-number {
    color: #666;
    width: 20px;
    text-align: right;
    margin-right: 1rem;
    user-select: none;
}

.code-content {
    color: #e6e6e6;
}

.keyword { color: #ff79c6; }
.variable { color: #8be9fd; }
.string { color: #f1fa8c; }
.number { color: #bd93f9; }
.function { color: #50fa7b; }

.cursor {
    background: var(--primary-color);
    animation: blink 1s infinite;
    padding: 0 2px;
}

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

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

/* Binary Rain Effect */
.binary-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.binary-column {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: rgba(99, 102, 241, 0.3);
    writing-mode: vertical-rl;
    animation: binaryFall 4s linear infinite;
    animation-delay: var(--delay);
}

.binary-column:nth-child(1) { left: 10%; }
.binary-column:nth-child(2) { left: 30%; }
.binary-column:nth-child(3) { left: 50%; }
.binary-column:nth-child(4) { left: 70%; }
.binary-column:nth-child(5) { left: 90%; }

@keyframes binaryFall {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Skills Section */
.skills {
    padding: 6rem 0;
    background: var(--surface-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(99, 102, 241, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.skill-category:hover::before {
    left: 100%;
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.2);
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--surface-color);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
}

.skill-item:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.skill-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.skill-item:hover i {
    color: white;
}

.skill-item span {
    font-weight: 500;
}

/* Experience Section */
.experience {
    padding: 6rem 0;
    background: var(--background-color);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.experience-category {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.experience-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.experience-category:hover::before {
    transform: scaleX(1);
}

.experience-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.experience-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.experience-category:hover .experience-icon {
    transform: scale(1.1) rotate(5deg);
}

.experience-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.experience-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.highlight-card {
    position: relative;
    background: linear-gradient(135deg, var(--surface-color) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 2px solid var(--primary-color);
}

.highlight-card::after {
    content: '⭐';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    opacity: 0.7;
}

.highlight-card .experience-icon {
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
}

.highlight-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.3);
}



/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--surface-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-color);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.contact-method:hover {
    transform: translateX(5px);
    background: var(--surface-color);
    border-color: var(--primary-color);
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.method-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.method-info p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: var(--background-color);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text p {
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--surface-color);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .hero-buttons {
        justify-content: center;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

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

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

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

    .experience-category {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

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

    .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .skill-category {
        padding: 1.5rem;
    }

    .skills-list {
        justify-content: center;
    }
    
    .skill-item {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }

    .review-card {
        padding: 1.5rem;
    }

    .experience-category {
        padding: 1.5rem;
    }

    .experience-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .experience-title {
        font-size: 1.1rem;
    }

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

    .contact-content {
        gap: 1.5rem;
    }

    .contact-method {
        padding: 0.75rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.6rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .skill-category,
    .review-card,
    .experience-category {
        padding: 1rem;
    }

    .experience-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .nav-container {
        padding: 0 15px;
    }
}

/* Large tablets and small desktops */
@media (min-width: 769px) and (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

/* Extra large screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

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

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

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

    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.75rem;
    }

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

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    display: none;
    padding: 0.5rem 0;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
    z-index: 1000;
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    text-decoration: none;
    color: var(--text-muted);
    transition: all 0.3s ease;
    position: relative;
    min-height: 48px;
}

.mobile-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.mobile-nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
}

.mobile-nav-item.active {
    color: var(--primary-color);
}

.mobile-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 0 0 3px 3px;
}

.mobile-nav-item:active {
    transform: scale(0.95);
}

/* PWA Install Prompt */
.pwa-prompt {
    position: fixed;
    bottom: 90px;
    left: 1rem;
    right: 1rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transition: all 0.3s ease;
    transform: translateY(100px);
    opacity: 0;
}

.pwa-prompt.show {
    transform: translateY(0);
    opacity: 1;
}

.pwa-prompt.hidden {
    display: none;
}

.pwa-prompt-content {
    text-align: center;
}

.pwa-prompt-content i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pwa-prompt-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pwa-prompt-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.pwa-prompt-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.pwa-prompt-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    
    .navbar {
        display: none;
    }
    
    .hero {
        padding-bottom: 80px;
    }
    
    .footer {
        padding-bottom: calc(2rem + 80px);
    }
    
    /* Larger touch targets */
    .btn {
        min-height: 48px;
        min-width: 48px;
        padding: 0.75rem 1.5rem;
    }
    
    .skill-item {
        min-height: 48px;
        padding: 0.75rem 1rem;
    }
    
    .contact-method {
        min-height: 60px;
        padding: 1rem;
    }
    
    .experience-category {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .review-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Improved typography for mobile */
         .hero-title {
         font-size: 2.2rem;
         min-height: 2.8rem;
     }
     
     .hero-nickname {
         font-size: 1rem;
     }
     
     .hero-subtitle {
         font-size: 1.2rem;
     }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* App-like animations */
    .skill-item:active,
    .experience-category:active,
    .review-card:active {
        transform: scale(0.98);
    }
}

/* Extra mobile improvements */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        min-height: 2.4rem;
    }
    
    .hero-nickname {
        font-size: 0.95rem;
        justify-content: center;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .skills-grid,
    .experience-grid,
    .reviews-grid {
        gap: 1rem;
    }
    
    .skill-category,
    .experience-category,
    .review-card {
        padding: 1rem;
    }
    
    .experience-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-content {
        gap: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-bottom: 70px;
    }
    
    .mobile-bottom-nav {
        padding: 0.25rem 0;
    }
    
    .mobile-nav-item {
        min-height: 40px;
        padding: 0.25rem;
    }
    
    .mobile-nav-item i {
        font-size: 1rem;
    }
    
    .mobile-nav-item span {
        font-size: 0.65rem;
    }
} 