:root {
    /* Colori primari (Stile Tron) */
    --tron-blue: #00d1ff;
    --tron-blue-dark: #008fcc;
    
    /* Colore accento (Stile Matrix) */
    --matrix-green: #39d353;
    
    /* Sfondo e Testo */
    --bg-dark: #000000;
    --text-primary: #e0e0e0;
    --text-highlight: #ffffff;
}

/* --- Reset e Setup Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Source Code Pro', monospace;
}

/* --- Layout Principale --- */
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--bg-dark);
    position: relative;
    display: flex;
    flex-direction: column;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../resources/images/mc_desktop.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7;
    z-index: -1;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Header --- */
header {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    padding: 20px 50px;
}

header h2 {
    line-height: 1;
}

/* Logo */
.logo-img {
    height: 50px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px var(--tron-blue));
}

.logo-img:hover {
    filter: drop-shadow(0 0 20px var(--tron-blue)) 
            drop-shadow(0 0 30px var(--tron-blue-dark)) 
            brightness(1.2);
    transform: scale(1.1) rotate(5deg);
}

/* Navigazione */
header nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 10px 15px;
    border: 1px solid rgba(0, 209, 255, 0.3);
}

header nav li {
    margin: 0 15px;
}

header nav li:first-child {
    margin-left: 0;
}

header nav li:last-child {
    margin-right: 0;
}

header nav li a {
    font-family: 'source code pro', monospace;
    color: var(--tron-blue);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    padding: 8px 12px;
    border: 1px solid transparent;
    display: inline-block;
    transition: all 0.3s ease;
}

header nav li a:hover {
    color: var(--text-highlight);
    border: 1px solid var(--tron-blue);
    background-color: rgba(0, 209, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 209, 255, 0.5);
    text-shadow: 0 0 8px var(--tron-blue);
    transform: translateY(-2px);
}

/* --- Language Switcher --- */
.lang-switcher {
    font-family: 'source code pro', monospace;
    font-size: 0.8rem;
    color: var(--matrix-green);
    background: rgba(57, 211, 83, 0.1);
    border: 1px solid rgba(57, 211, 83, 0.3);
    padding: 6px 12px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.lang-switcher:hover {
    color: var(--text-highlight);
    border-color: var(--matrix-green);
    background: rgba(57, 211, 83, 0.2);
    box-shadow: 0 0 15px rgba(57, 211, 83, 0.5);
    text-shadow: 0 0 8px var(--matrix-green);
}

/* --- Contenuto Principale --- */
.principale {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.principale h1 {
    font-family: 'orbitron', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--text-highlight);
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--tron-blue), 0 0 20px var(--tron-blue-dark);
}

.principale .subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--tron-blue), 0 0 20px var(--tron-blue-dark);
}

.matrix-accent {
    color: var(--matrix-green);
    font-weight: 400;
    text-shadow: 0 0 8px rgba(57, 211, 83, 0.5);
}

/* --- Footer --- */
footer {
    position: relative;
    width: 100%;
    padding: 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(0, 209, 255, 0.5);
    z-index: 1;
}

footer .copyright {
    font-family: 'source code pro', monospace;
    font-size: 0.75rem;
    color: var(--tron-blue);
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 0 0 5px rgba(0, 209, 255, 0.3);
}

/* --- PAGINA CONTATTI --- */
.contatti-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 140px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.page-title {
    font-family: 'orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-highlight);
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--tron-blue), 0 0 20px var(--tron-blue-dark);
    letter-spacing: 4px;
}

.page-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-primary);
    margin-bottom: 50px;
    text-shadow: 0 0 5px rgba(0, 209, 255, 0.3);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 700px;
}

.contact-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 209, 255, 0.3);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 209, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    border-color: var(--tron-blue);
    box-shadow: 0 0 20px rgba(0, 209, 255, 0.4);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    filter: grayscale(100%) brightness(1.5);
}

.contact-card:hover .contact-icon {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.contact-label {
    font-family: 'orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--tron-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(0, 209, 255, 0.3);
}

.contact-value {
    font-family: 'source code pro', monospace;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-card a.contact-value {
    position: relative;
}

.contact-card a.contact-value::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--matrix-green);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--matrix-green);
}

.contact-card a.contact-value:hover {
    color: var(--matrix-green);
    text-shadow: 0 0 8px rgba(57, 211, 83, 0.5);
}

.contact-card a.contact-value:hover::after {
    width: 100%;
}

.location-link {
    cursor: pointer;
}

.location-link:hover {
    color: var(--matrix-green) !important;
    text-shadow: 0 0 8px rgba(57, 211, 83, 0.5);
}

/* --- MEDIA QUERIES CONTATTI --- */
@media (max-width: 768px) {
    .contatti-container {
        padding: 180px 20px 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }
    
    .contact-card {
        padding: 25px 15px;
        min-height: 160px;
    }
}

@media (max-width: 480px) {
    .contatti-container {
        padding: 200px 20px 40px;
    }
    
    .page-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    .contact-icon {
        font-size: 2rem;
    }
    
    .contact-value {
        font-size: 0.9rem;
    }
    
    .contact-card {
        min-height: 150px;
    }
}

/* --- PAGINA PROGETTI --- */
.progetti-container {
    flex: 1;
    padding: 140px 20px 60px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.progetti-container .page-title {
    font-family: 'orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-highlight);
    margin-bottom: 10px;
    text-align: center;
    text-shadow: 0 0 10px var(--tron-blue), 0 0 20px var(--tron-blue-dark);
    letter-spacing: 4px;
}

.progetti-container .page-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-primary);
    margin-bottom: 50px;
    text-align: center;
    text-shadow: 0 0 5px rgba(0, 209, 255, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    width: 100%;
}

.project-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 209, 255, 0.3);
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 209, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    border-color: var(--tron-blue);
    box-shadow: 0 0 25px rgba(0, 209, 255, 0.3);
    transform: translateY(-5px);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.project-title {
    font-family: 'orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--tron-blue);
    margin: 0;
    text-shadow: 0 0 5px rgba(0, 209, 255, 0.3);
    flex: 1;
}

.project-tag {
    font-family: 'source code pro', monospace;
    font-size: 0.75rem;
    color: var(--matrix-green);
    background: rgba(57, 211, 83, 0.1);
    padding: 4px 10px;
    border: 1px solid rgba(57, 211, 83, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    text-shadow: 0 0 5px rgba(57, 211, 83, 0.3);
}

.project-description {
    font-family: 'source code pro', monospace;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.tech-badge {
    font-family: 'source code pro', monospace;
    font-size: 0.75rem;
    color: var(--tron-blue);
    background: rgba(0, 209, 255, 0.1);
    padding: 4px 10px;
    border: 1px solid rgba(0, 209, 255, 0.3);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: rgba(0, 209, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 209, 255, 0.3);
}

/* --- PAGINA TOOLS --- */
.tools-container {
    flex: 1;
    padding: 140px 20px 60px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.tools-container .page-title {
    font-family: 'orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-highlight);
    margin-bottom: 10px;
    text-align: center;
    text-shadow: 0 0 10px var(--tron-blue), 0 0 20px var(--tron-blue-dark);
    letter-spacing: 4px;
}

.tools-container .page-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-primary);
    margin-bottom: 50px;
    text-align: center;
    text-shadow: 0 0 5px rgba(0, 209, 255, 0.3);
}

.tools-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.tool-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 209, 255, 0.3);
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 209, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.tool-card:hover::before {
    left: 100%;
}

.tool-card:hover {
    border-color: var(--tron-blue);
    box-shadow: 0 0 25px rgba(0, 209, 255, 0.3);
}

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.tool-name-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.tool-name {
    font-family: 'orbitron', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--tron-blue);
    margin: 0;
    text-shadow: 0 0 8px rgba(0, 209, 255, 0.4);
}

.tool-version {
    font-family: 'source code pro', monospace;
    font-size: 0.85rem;
    color: var(--text-primary);
    background: rgba(0, 209, 255, 0.1);
    padding: 3px 10px;
    border: 1px solid rgba(0, 209, 255, 0.3);
}

.tool-tagline {
    font-family: 'source code pro', monospace;
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--matrix-green);
    margin-bottom: 20px;
    text-shadow: 0 0 5px rgba(57, 211, 83, 0.3);
    font-style: italic;
}

.tool-description {
    font-family: 'source code pro', monospace;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 30px;
}

.tool-features,
.tool-tui-section,
.tool-formats {
    margin-bottom: 30px;
}

.tool-section-title {
    font-family: 'orbitron', sans-serif;
    font-size: 1rem;
    color: var(--tron-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(0, 209, 255, 0.3);
}

.tool-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tool-feature-list li {
    font-family: 'source code pro', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.6;
    padding: 6px 0 6px 24px;
    position: relative;
}

.tool-feature-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--matrix-green);
    font-weight: bold;
    text-shadow: 0 0 5px rgba(57, 211, 83, 0.5);
}

.tool-tui-preview {
    font-family: 'source code pro', monospace;
    font-size: clamp(0.55rem, 1.2vw, 0.8rem);
    color: var(--tron-blue);
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 209, 255, 0.2);
    padding: 20px;
    overflow-x: auto;
    line-height: 1.5;
    text-shadow: 0 0 3px rgba(0, 209, 255, 0.3);
}

.tool-format-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tool-download-section {
    text-align: center;
    padding: 25px 0;
    margin-bottom: 15px;
    border-top: 1px solid rgba(0, 209, 255, 0.15);
    border-bottom: 1px solid rgba(0, 209, 255, 0.15);
}

.download-platforms {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.download-platform {
    flex: 0 1 auto;
    text-align: center;
}

.linux-setup-note {
    margin-top: 18px;
    font-family: 'source code pro', monospace;
    font-size: 0.78rem;
    color: var(--text-primary);
    opacity: 0.7;
    line-height: 1.6;
}

.linux-setup-note code {
    color: var(--tron-blue);
    background: rgba(0, 209, 255, 0.08);
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.76rem;
}

.linux-dep-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 15px;
    margin-top: 8px;
    text-align: left;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.linux-dep-grid .distro-name {
    color: var(--text-primary);
    opacity: 0.9;
    white-space: nowrap;
}

.linux-dep-grid code {
    justify-self: start;
}

.download-btn {
    display: inline-block;
    font-family: 'orbitron', sans-serif;
    font-size: 1.1rem;
    color: var(--bg-dark);
    background: var(--tron-blue);
    padding: 14px 40px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    border: 2px solid var(--tron-blue);
}

.download-btn:hover {
    color: var(--tron-blue);
    background: transparent;
    box-shadow: 0 0 30px rgba(0, 209, 255, 0.5), inset 0 0 30px rgba(0, 209, 255, 0.1);
    text-shadow: 0 0 10px var(--tron-blue);
    transform: translateY(-3px);
}

.tool-download-info {
    font-family: 'source code pro', monospace;
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-top: 15px;
    opacity: 0.8;
}

.tool-license {
    font-family: 'source code pro', monospace;
    font-size: 0.8rem;
    color: var(--text-primary);
    opacity: 0.6;
    text-align: center;
}

.tool-license a {
    color: var(--tron-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tool-license a:hover {
    color: var(--matrix-green);
    text-shadow: 0 0 5px rgba(57, 211, 83, 0.5);
}

/* --- MEDIA QUERIES TOOLS --- */
@media (max-width: 768px) {
    .tools-container {
        padding: 180px 20px 40px;
    }

    .tool-card {
        padding: 25px;
    }

    .tool-header {
        flex-direction: column;
        gap: 10px;
    }

    .tool-tui-preview {
        font-size: 0.55rem;
        padding: 12px;
    }

    .download-btn {
        font-size: 1rem;
        padding: 12px 30px;
    }

    .download-platforms {
        gap: 25px;
    }

    .linux-setup-note {
        font-size: 0.72rem;
    }

    .linux-dep-grid {
        gap: 2px 10px;
    }
}

@media (max-width: 480px) {
    .tools-container {
        padding: 200px 15px 40px;
    }

    .tool-card {
        padding: 20px 15px;
    }

    .tool-name {
        font-size: 1.3rem;
    }

    .tool-tui-preview {
        font-size: 0.45rem;
        padding: 10px 8px;
    }

    .download-btn {
        font-size: 0.9rem;
        padding: 12px 25px;
        letter-spacing: 2px;
    }

    .download-platforms {
        flex-direction: column;
        gap: 20px;
    }

    .linux-setup-note {
        font-size: 0.7rem;
    }

    .linux-dep-grid {
        grid-template-columns: 1fr;
        gap: 1px 0;
    }

    .linux-dep-grid .distro-name {
        margin-top: 5px;
    }
}

/* Emulator Hint (landing page) */
.emulator-hint {
    text-align: center;
    padding: 24px 20px;
}

.emulator-hint-link {
    font-family: 'source code pro', monospace;
    font-size: 0.95rem;
    color: var(--matrix-green);
    text-decoration: none;
    letter-spacing: 2px;
    opacity: 0.8;
    padding: 8px 20px;
    border: 1px solid rgba(57, 211, 83, 0.25);
    border-radius: 4px;
    transition: all 0.4s ease;
    animation: prompt-blink 3s ease-in-out infinite;
}

.emulator-hint-link:hover {
    opacity: 1;
    border-color: var(--matrix-green);
    text-shadow: 0 0 14px rgba(57, 211, 83, 0.7);
    background: rgba(57, 211, 83, 0.06);
}

.emulator-hint-prompt {
    margin-right: 0.4em;
}

@keyframes prompt-blink {
    0%, 100% { border-color: rgba(57, 211, 83, 0.25); }
    50% { border-color: rgba(57, 211, 83, 0.5); }
}

/* --- MEDIA QUERIES PROGETTI --- */
@media (max-width: 768px) {
    .progetti-container {
        padding: 180px 20px 40px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .project-card {
        padding: 25px;
    }
    
    .project-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .project-tag {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .progetti-container {
        padding: 200px 15px 40px;
    }
    
    .project-title {
        font-size: 1.1rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
}

/* --- PAGINA PROFILO --- */
.profilo-container {
    flex: 1;
    padding: 140px 20px 60px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.profilo-container .page-title {
    font-family: 'orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-highlight);
    margin-bottom: 10px;
    text-align: center;
    text-shadow: 0 0 10px var(--tron-blue), 0 0 20px var(--tron-blue-dark);
    letter-spacing: 4px;
}

.profilo-container .page-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-primary);
    margin-bottom: 50px;
    text-align: center;
    text-shadow: 0 0 5px rgba(0, 209, 255, 0.3);
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Sezione Intro */
.intro-section {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 209, 255, 0.3);
    padding: 40px;
    text-align: center;
}

.intro-text {
    font-family: 'source code pro', monospace;
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-primary);
    line-height: 1.8;
    margin: 0;
}

/* Sezioni Profilo */
.profile-section {
    width: 100%;
}

.section-title {
    font-family: 'orbitron', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--tron-blue);
    margin-bottom: 30px;
    text-shadow: 0 0 8px rgba(0, 209, 255, 0.4);
    letter-spacing: 2px;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.skill-category {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 209, 255, 0.2);
    padding: 25px;
    transition: all 0.3s ease;
}

.skill-category:hover {
    border-color: rgba(0, 209, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 209, 255, 0.2);
}

.category-title {
    font-family: 'source code pro', monospace;
    font-size: 1rem;
    color: var(--matrix-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(57, 211, 83, 0.3);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    font-family: 'source code pro', monospace;
    font-size: 0.85rem;
    color: var(--text-primary);
    background: rgba(0, 209, 255, 0.1);
    padding: 6px 12px;
    border: 1px solid rgba(0, 209, 255, 0.3);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    color: var(--tron-blue);
    background: rgba(0, 209, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 209, 255, 0.3);
    transform: translateY(-2px);
}

/* Approach Grid */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.approach-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 209, 255, 0.3);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.approach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 209, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.approach-card:hover::before {
    left: 100%;
}

.approach-card:hover {
    border-color: var(--tron-blue);
    box-shadow: 0 0 20px rgba(0, 209, 255, 0.3);
    transform: translateY(-5px);
}

.approach-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: grayscale(100%) brightness(1.5);
    transition: all 0.3s ease;
}

.approach-card:hover .approach-icon {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

.approach-title {
    font-family: 'orbitron', sans-serif;
    font-size: 1.1rem;
    color: var(--tron-blue);
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(0, 209, 255, 0.3);
}

.approach-text {
    font-family: 'source code pro', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.6;
}

/* --- MEDIA QUERIES PROFILO --- */
@media (max-width: 768px) {
    .profilo-container {
        padding: 180px 20px 40px;
    }
    
    .intro-section {
        padding: 30px 20px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .profilo-container {
        padding: 200px 15px 40px;
    }
    
    .intro-section {
        padding: 25px 15px;
    }
    
    .skill-category {
        padding: 20px;
    }
    
    .approach-card {
        padding: 25px 20px;
    }
    
    .approach-icon {
        font-size: 2.5rem;
    }
}

/* --- MEDIA QUERY MAIN --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 20px;
    }
    
    header h2 {
        margin-bottom: 15px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    header nav ul {
        flex-direction: column;
        padding: 5px;
        border: none;
    }
    
    header nav li {
        margin: 5px 0;
    }
    
    header nav li a {
        display: block;
        padding: 10px 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 35px;
    }
    
    header {
        padding: 10px 15px;
    }
    
    .principale h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .principale .subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }
    
    header nav li a {
        font-size: 0.8rem;
        padding: 8px 15px;
    }
    
    footer .copyright {
        font-size: 0.65rem;
    }
}