/* ============================================================
   ╔══════════════════════════════════════════════════════════╗
   ║         NEXUSCS - ESTILO BLIZZARD/STARCRAFT II         ║
   ║     Fontes: Eurostile Extd (títulos) + Source Sans Pro ║
   ╚══════════════════════════════════════════════════════════╝
   ============================================================ */

/* ── FONTES ── */
@font-face {
    font-family: "Source Sans Pro";
    src: url(https://blz-contentstack-images.akamaized.net/v3/assets/blt9c12f249ac15c7ec/blte7774e4a3352e7a0/69b35725fe4fec0008a18c86/SourceSansPro-Regular.woff2);
    font-display: swap;
}

@font-face {
    font-family: "Eurostile Extd";
    src: url(https://blz-contentstack-images.akamaized.net/v3/assets/blt9c12f249ac15c7ec/blt2374791b852d4688/69b35725cdcff400083fd051/EurostileExt-Bold.woff2);
    font-display: swap;
}

/* ── VARIÁVEIS (Cores do SC2) ── */
:root {
    --sc2-blue: #4A90E2;
    --sc2-blue-dark: #1E4D7B;
    --sc2-blue-neon: #9cf;
    --sc2-blue-text: #cce6ff;
    --sc2-gold: #E8BA3D;
    --sc2-gold-light: #fd9;
    --sc2-bg-dark: #0a0f14;
    --sc2-bg-panel: rgba(18, 26, 38, 0.85);
    --sc2-border: #2d5a8a;
    --sc2-text-main: #cce6ff;
    --sc2-white: rgba(255, 255, 255, 0.9);
    --semantic-title-text-font-family: "Eurostile Extd", sans-serif !important;
}

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

/* ── BODY (Fundo espacial com grid) ── */
body {
    background: #000;
    background-image: radial-gradient(circle at 2px 2px, rgba(74, 144, 226, 0.08) 1px, transparent 0);
    background-size: 40px 40px;
    min-height: 100vh;
    color: var(--sc2-text-main);
    font-family: "Source Sans Pro", sans-serif;
    overflow-x: hidden;
    padding-bottom: 60px;
}

/* ── SCANLINE (Efeito CRT) ── */
.scanline {
    width: 100%;
    height: 100px;
    z-index: 9999;
    background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(255,255,255,0.02) 50%, rgba(0,0,0,0) 100%);
    opacity: 0.1;
    position: fixed;
    pointer-events: none;
    animation: scanline 8s linear infinite;
    top: -100px;
}

@keyframes scanline {
    0% { top: -100px; }
    100% { top: 100%; }
}

/* ── TÍTULOS ── */
h1, h2, h3, .nav-btn, .module-header, .action-btn, .dropdown-item, .sub-nav-btn {
    font-family: "Eurostile Extd", sans-serif;
    text-transform: uppercase;
}

.label, .value, .project-card p, .task-desc p {
    font-family: "Source Sans Pro", sans-serif;
}

/* ============================================================
   ╔══════════════════ HEADER (ui-header) ══════════════════╗
   ============================================================ */
.ui-header {
    background: linear-gradient(to bottom, #141d28, #0d1318);
    border-bottom: 2px solid var(--sc2-border);
    padding: 20px 50px;
    display: flex;
    flex-direction: column; /* Muda para coluna */
    justify-content: center;
    align-items: center;
    width: 100%;
    box-shadow: 0 2px 10px rgba(30, 77, 123, 0.2);
    position: relative;
    gap: 20px; /* Espaçamento entre logo e nav */
}

.logo { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.logo .glitch {
    color: var(--sc2-gold-light) !important;
    text-shadow: none !important;
}

/* ============================================================
   ╔══════════════════ PROFILE GRID ═══════════════════════╗
   ============================================================ */
.profile-grid { 
    display: flex; 
    gap: 20px; 
    align-items: center; 
    position: relative;
    z-index: 2;
}

.avatar-frame {
    width: 100px;
    height: 100px;
    border: 2px solid var(--sc2-border);
    background: #000;
    flex-shrink: 0;
    position: relative;
}

.avatar-frame::after {
    position: absolute;
    content: "";
    top: 0; left: 0; bottom: 0; right: 0;
    box-shadow: 0px 0px 10px 10px rgba(0,102,204,.14) inset,
                0px 0px 50px 45px rgba(0,102,204,.14) inset,
                0px 0px 0px 2px rgba(153,204,255,.2) inset;
    background-image: linear-gradient(0deg, rgba(0, 50, 100, 0.4) 0%, transparent 80%);
    z-index: 1;
    pointer-events: none;
    transition: box-shadow 350ms;
}

.avatar-frame img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    position: relative;
    z-index: 0;
}

.avatar-frame:hover::after {
    box-shadow: 0px 0px 10px 10px rgba(0,102,204,.3) inset,
                0px 0px 50px 45px rgba(0,102,204,.3) inset,
                0px 0px 0px 2px #9cf inset;
}

.status-info {
    position: relative;
    z-index: 2;
}

.label { 
    margin-bottom: 6px; 
    font-size: 0.9rem; 
    color: var(--sc2-blue-text);
}

.value { 
    color: var(--sc2-white); 
}

.online-pulse {
    color: #00ff94 !important;
    font-weight: bold;
    animation: pulse 2s infinite;
}

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

/* Social Icons */
.social-icons {
    display: flex;
    gap: 8px;
    margin-left: 15px;
}

.social-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    padding: 0;
    font-size: 1.5rem;
    margin-left: 0;
}

.social-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-btn svg {
    position: relative;
    z-index: 1;
}

/* ============================================================
   ╔══════════════════ NAV (ui-nav) ════════════════════════╗
   ============================================================ */
.ui-nav { 
    display: flex; 
    align-items: center; 
    justify-content: center; /* Centraliza os botões */
    gap: 10px;
    flex-wrap: wrap; /* Permite quebra em telas menores */
}

.nav-btn {
    letter-spacing: 2px;
    color: var(--sc2-blue-neon);
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(10, 31, 51, 0.8) 100%),
                linear-gradient(0deg, rgba(0, 77, 153, 0.4), rgba(0, 77, 153, 0.4)),
                linear-gradient(180deg, rgba(0, 128, 255, 0) 0%, rgba(0, 128, 255, 0.3) 100%);
    font-size: 0.8rem;
    cursor: pointer;
    transition: filter 350ms, transform 0.3s ease;
    position: relative;
    text-shadow: 1px 1px 1px rgba(0,0,0,.9);
    margin-left: 5px;
}

.nav-btn::after {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    content: "";
    background-position: left, right, center;
    background-size: 43px 100%, 43px 100%, calc(100% - 84px) 100%;
    background-image: url(assets/sc2_orange_button_left.webp),
                      url(assets/sc2_orange_button_right.webp),
                      url(assets/sc2_orange_button_center.webp);
    pointer-events: none;
    z-index: -1;
}

.nav-btn:hover, .nav-btn:focus {
    filter: brightness(1.5);
    color: var(--sc2-white);
}

/* ============================================================
   ╔══════════════════ DROPDOWN MENU ══════════════════════╗
   ============================================================ */
.dropdown-menu {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(10, 31, 51, 0.8) 100%),
                linear-gradient(0deg, rgba(0, 77, 153, 0.4), rgba(0, 77, 153, 0.4)),
                linear-gradient(180deg, rgba(0, 128, 255, 0) 0%, rgba(0, 128, 255, 0.3) 100%);
    border: none;
    color: var(--sc2-gold-light);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 4px;
    position: relative;
    font-family: "Eurostile Extd", sans-serif;
    transition: filter 350ms;
    letter-spacing: 2px;
    text-shadow: 1px 1px 1px rgba(0,0,0,.9);
}

.dropdown-toggle::after {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    content: "";
    background-position: left, right, center;
    background-size: 43px 100%, 43px 100%, calc(100% - 84px) 100%;
    background-image: url(assets/sc2_blue_button_left.webp),
                      url(assets/sc2_blue_button_right.webp),
                      url(assets/sc2_blue_button_center.webp);
    pointer-events: none;
    z-index: -1;
}

.dropdown-toggle:hover {
    filter: brightness(1.5);
    color: var(--sc2-white);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: var(--sc2-bg-panel);
    border: 1px solid var(--sc2-border);
    border-radius: 4px;
    min-width: 250px;
    z-index: 1000;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    margin-top: 5px;
}

.dropdown-content.active {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 12px 20px;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(74, 144, 226, 0.2);
    color: var(--sc2-blue-neon);
    font-family: "Eurostile Extd", sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 1px rgba(0,0,0,.9);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(51, 31, 10, 0.8));
    color: var(--sc2-gold-light);
}

.dropdown-item.active {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(51, 31, 10, 0.8));
    color: var(--sc2-gold-light);
    border-left: 3px solid var(--sc2-gold-light);
}

/* ============================================================
   ╔══════════════════ SUB-NAV (Sub-abas) ════════════════════╗
   ============================================================ */
.sub-nav {
    display: flex;
    gap: 0;
    margin-bottom: -1px;
    position: relative;
    z-index: 3;
    padding: 0;
}

.sub-nav-btn {
    font-family: "Eurostile Extd", sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    padding: 10px 24px;
    border: 1px solid var(--sc2-border);
    border-bottom: none;
    background: linear-gradient(180deg, rgba(10, 31, 51, 0.6) 0%, rgba(18, 26, 38, 0.4) 100%);
    color: rgba(153, 204, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9);
    border-radius: 4px 4px 0 0;
    margin-right: 2px;
}

.sub-nav-btn:hover {
    color: var(--sc2-blue-neon);
    background: linear-gradient(180deg, rgba(0, 77, 153, 0.4) 0%, rgba(18, 26, 38, 0.6) 100%);
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.2);
    filter: brightness(1.3);
}

.sub-nav-btn.active-sub {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(51, 31, 10, 0.8)),
                linear-gradient(0deg, rgba(153, 76, 0, 0), rgba(153, 76, 0, 0.3)),
                linear-gradient(0deg, rgba(153, 76, 0, 0.4), rgba(153, 76, 0, 0.4));
    color: var(--sc2-gold-light);
    border-color: rgba(153, 204, 255, 0.4);
    box-shadow: 0 0 12px rgba(229, 168, 47, 0.2);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9);
}

.sub-nav-btn.active-sub::after {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    content: "";
    background-position: left, right, center;
    background-size: 43px 100%, 43px 100%, calc(100% - 84px) 100%;
    background-image: url(assets/sc2_orange_button_left.webp),
                      url(assets/sc2_orange_button_right.webp),
                      url(assets/sc2_orange_button_center.webp);
    pointer-events: none;
    z-index: -1;
}

/* ============================================================
   ╔══════════════════ TAB PAGES & CONTENTS ════════════════╝
   ============================================================ */
.tab-page, .sub-tab-content { 
    display: none; 
    animation: fadeIn 0.5s ease;
    width: 100%;
}

.tab-page.active, .sub-tab-content.active { 
    display: block; 
}

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

/* ============================================================
   ╔═══════════════ PAGE CONTAINERS ═══════════════════════╗
   ============================================================ */
/* Classes dinâmicas geradas: github-page, labs-page, security-page, extra1-page, extra2-page */
[class$="-page"] {
    width: 100%;
    max-width: 100%;
    margin: 40px auto;
    padding: 0;
}

/* ============================================================
   ╔══════════════════ MÓDULOS (Panels SC2) ═══════════════╗
   ============================================================ */
.profile-module, .labs-module, .security-module {
    background: var(--sc2-bg-panel);
    border: 1px solid var(--sc2-border);
    position: relative;
    width: 100%;
}

.profile-module::after, .labs-module::after, .security-module::after {
    position: absolute;
    content: "";
    top: 0; left: 0; bottom: 0; right: 0;
    box-shadow: 0px 0px 10px 10px rgba(0,102,204,.14) inset,
                0px 0px 50px 45px rgba(0,102,204,.14) inset,
                0px 0px 0px 2px rgba(153,204,255,.2) inset;
    background-image: linear-gradient(0deg, rgba(0, 50, 100, 0.4) 0%, transparent 80%);
    z-index: 1;
    pointer-events: none;
    transition: box-shadow 350ms;
}

.module-header {
    background: linear-gradient(to right, rgba(30, 77, 123, 0.2), rgba(74, 144, 226, 0.15));
    border-bottom: 1px solid var(--sc2-border);
    color: var(--sc2-blue-neon);
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: inset 0 1px 0 rgba(74, 144, 226, 0.3);
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

.module-content { 
    padding: 20px; 
}

/* ============================================================
   ╔═══════════════ PROJECT CARDS ═════════════════════════╗
   ============================================================ */
.project-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(74, 144, 226, 0.2);
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.project-card:hover {
    background: rgba(30, 77, 123, 0.15);
    border-left: 3px solid var(--sc2-blue-neon);
    box-shadow: 0px 0px 10px 10px rgba(0,102,204,.3) inset,
                0px 0px 50px 45px rgba(0,102,204,.3) inset,
                0px 0px 0px 2px #9cf inset;
    transform: translateX(5px);
}

.project-card h3 { 
    font-size: 1.1rem; 
    margin-bottom: 5px; 
    color: var(--sc2-blue-neon);
}

.project-card p { 
    font-size: 0.9rem; 
    margin-bottom: 10px; 
    color: var(--sc2-blue-text);
}

/* Tags */
.tags span {
    font-size: 0.7rem;
    background: rgba(30, 77, 123, 0.15);
    border: 1px solid var(--sc2-border);
    color: var(--sc2-blue-neon);
    padding: 3px 8px;
    margin-right: 5px;
    display: inline-block;
    border-radius: 3px;
    font-family: "Eurostile Extd", sans-serif;
    text-transform: uppercase;
}

/* ============================================================
   ╔═══════════════ TASK LIST ═════════════════════════════╗
   ============================================================ */
.task-list { 
    list-style: none; 
    position: relative;
    z-index: 2;
}

.task-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px dashed rgba(74, 144, 226, 0.2);
    align-items: flex-start;
    transition: all 0.3s ease;
}

.task-item:hover {
    background: rgba(30, 77, 123, 0.15);
    border-left: 3px solid var(--sc2-blue-neon);
    padding-left: 12px;
    box-shadow: 0px 0px 10px 10px rgba(0,102,204,.3) inset,
                0px 0px 50px 45px rgba(0,102,204,.3) inset,
                0px 0px 0px 2px #9cf inset;
}

.task-status.complete { color: #00ff94; }
.task-status.warning { color: var(--sc2-gold-light); }

.task-desc strong {
    color: var(--sc2-blue-neon);
}

.task-desc p {
    color: var(--sc2-blue-text);
}

/* ============================================================
   ╔═══════════════ ACTION BTN (Estilo Blizzard) ═══════════╗
   ============================================================ */
.action-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 30px;
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(10, 31, 51, 0.8) 100%),
                linear-gradient(0deg, rgba(0, 77, 153, 0.4), rgba(0, 77, 153, 0.4)),
                linear-gradient(180deg, rgba(0, 128, 255, 0) 0%, rgba(0, 128, 255, 0.3) 100%);
    border: none;
    color: var(--sc2-blue-neon);
    text-decoration: none;
    font-weight: bold;
    transition: filter 350ms, transform 0.3s ease;
    font-size: 0.8rem;
    letter-spacing: 2px;
    position: relative;
    cursor: pointer;
    text-shadow: 1px 1px 1px rgba(0,0,0,.9);
    z-index: 2;
}

.action-btn::after {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    background-repeat: no-repeat;
    content: "";
    background-position: left, right, center;
    background-size: 43px 100%, 43px 100%, calc(100% - 84px) 100%;
    background-image: url(assets/sc2_blue_button_left.webp),
                      url(assets/sc2_blue_button_right.webp),
                      url(assets/sc2_blue_button_center.webp);
    pointer-events: none;
    z-index: -1;
}

.action-btn:hover {
    filter: brightness(1.5);
    color: var(--sc2-white);
    transform: translateY(-2px);
}

.action-btn:focus { filter: brightness(1.5); }
.action-btn:active { transform: translateY(-1px) scaleX(0.98); }

/* ============================================================
   ╔══════════════════ FOOTER (ui-footer) ═════════════════╗
   ============================================================ */
.ui-footer {
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    background: linear-gradient(to top, #0a0f14, #0d1318);
    border-top: 1px solid var(--sc2-border);
    padding: 10px 20px;
    font-size: 0.7rem;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(30, 77, 123, 0.15);
}

.system-logs {
    font-family: "Source Sans Pro", sans-serif;
    color: var(--sc2-blue-neon);
    opacity: 0.7;
}

/* ============================================================
   ╔═══════════════ PLACEHOLDER TEXT ══════════════════════╗
   ============================================================ */
.placeholder-text {
    color: var(--sc2-blue-text);
    text-align: center;
    padding: 40px;
}

/* ============================================================
   ╔══════════════════ RESPONSIVIDADE ══════════════════════╗
   ============================================================ */
@media (max-width: 768px) {
    .profile-grid {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .profile-module {
        width: 100%;
    }
    
    .ui-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .ui-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-btn {
        padding: 8px 15px;
        font-size: 0.7rem;
    }

    .sub-nav {
        flex-wrap: wrap;
        gap: 2px;
    }
    
    .sub-nav-btn {
        padding: 8px 16px;
        font-size: 0.65rem;
        border-radius: 4px 4px 0 0;
        flex: 1;
        text-align: center;
        min-width: 80px;
    }
    
    .sub-nav-btn::after {
        background-size: 30px 100%, 30px 100%, calc(100% - 60px) 100% !important;
    }
}

@media (max-width: 480px) {
    .sub-nav-btn {
        padding: 6px 10px;
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
}
/* ============================================================
   ESTILOS DE SUPORTE PARA A MUDANÇA DE LAYOUT
   ============================================================ */
.ui-nav .nav-btn.active {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(51, 31, 10, 0.8));
    color: var(--sc2-gold-light);
    box-shadow: 0 0 12px rgba(229, 168, 47, 0.2);
}

.profile-portfolio-sequence {
    display: flex;
    flex-direction: column;
    width: 100%;
}
/* ============================================================
   ╔═══════════════ TECH GRID & CARDS ═════════════════════╗
   ============================================================ */

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.tech-card {
    background: rgba(18, 26, 38, 0.6);
    border: 1px solid var(--sc2-border);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: 0px 0px 10px 10px rgba(0, 102, 204, 0.14) inset,
                0px 0px 50px 45px rgba(0, 102, 204, 0.14) inset,
                0px 0px 0px 2px rgba(153, 204, 255, 0.2) inset;
    background-image: linear-gradient(0deg, rgba(0, 50, 100, 0.4) 0%, transparent 80%);
    pointer-events: none;
    z-index: -1;
    transition: box-shadow 350ms;
}

.tech-card:hover {
    background: rgba(30, 77, 123, 0.2);
    border-color: var(--sc2-blue-neon);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.15);
}

.tech-card:hover::before {
    box-shadow: 0px 0px 10px 10px rgba(0, 102, 204, 0.3) inset,
                0px 0px 50px 45px rgba(0, 102, 204, 0.3) inset,
                0px 0px 0px 2px #9cf inset;
}

.tech-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.tech-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2), rgba(0, 102, 204, 0.2));
    border: 1px solid var(--sc2-border);
    border-radius: 6px;
}

.tech-card-header h3 {
    color: var(--sc2-blue-neon);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin: 0;
}

.tech-card-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    position: relative;
    z-index: 2;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(74, 144, 226, 0.15);
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-item:hover {
    background: rgba(30, 77, 123, 0.15);
    border-color: var(--sc2-blue-neon);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.2);
}

.tech-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0.95);
    transition: filter 0.3s ease;
}

.tech-item:hover .tech-img {
    filter: brightness(1.2);
}

.tech-name {
    font-size: 0.75rem;
    color: var(--sc2-blue-text);
    text-align: center;
    font-family: "Source Sans Pro", sans-serif;
    transition: color 0.3s ease;
}

.tech-item:hover .tech-name {
    color: var(--sc2-blue-neon);
}

/* ============================================================
   ╔════════════════ RESPONSIVIDADE ═════════════════════════╗
   ============================================================ */

@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .tech-card {
        padding: 15px;
    }
    
    .tech-card-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .tech-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-card-items {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* ============================================================
   ╔═══════════════ ABOUT TEXT STYLING ═══════════════════╗
   ============================================================ */
.about-text {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--sc2-gold-light);
    letter-spacing: 0.3px;
    text-shadow: 0 0 1px rgba(153, 204, 255, 0.1);
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid rgba(74, 144, 226, 0.4);
    border-radius: 0 4px 4px 0;
    position: relative;
    z-index: 2;

}
/* ============================================================
   ╔═══════════════ CERTIFICATE MODAL ════════════════════╗
   ============================================================ */
#certificate-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

#certificate-modal.active {
    display: flex;
}

.modal-content {
    background: var(--sc2-bg-panel);
    border: 1px solid var(--sc2-border);
    border-radius: 8px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 30px rgba(74, 144, 226, 0.3);
    position: relative;
    z-index: 2001;
}

.modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: 0px 0px 10px 10px rgba(0, 102, 204, 0.14) inset,
                0px 0px 50px 45px rgba(0, 102, 204, 0.14) inset,
                0px 0px 0px 2px rgba(153, 204, 255, 0.2) inset;
    background-image: linear-gradient(0deg, rgba(0, 50, 100, 0.4) 0%, transparent 80%);
    pointer-events: none;
    z-index: -1;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--sc2-blue-neon);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--sc2-white);
}

.modal-title {
    color: var(--sc2-blue-neon);
    font-family: "Eurostile Extd", sans-serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.modal-description {
    color: var(--sc2-blue-text);
    font-family: "Source Sans Pro", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.modal-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 4px;
    border: none;
    font-family: "Eurostile Extd", sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: filter 350ms;
    position: relative;
    text-shadow: 1px 1px 1px rgba(0,0,0,.9);
}

.modal-btn-primary {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(10, 31, 51, 0.8) 100%),
                linear-gradient(0deg, rgba(0, 77, 153, 0.4), rgba(0, 77, 153, 0.4)),
                linear-gradient(180deg, rgba(0, 128, 255, 0) 0%, rgba(0, 128, 255, 0.3) 100%);
    color: var(--sc2-blue-neon);
}

.modal-btn-primary::after {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    content: "";
    background-position: left, right, center;
    background-size: 43px 100%, 43px 100%, calc(100% - 84px) 100%;
    background-image: url(assets/sc2_blue_button_left.webp),
                      url(assets/sc2_blue_button_right.webp),
                      url(assets/sc2_blue_button_center.webp);
    pointer-events: none;
    z-index: -1;
}

.modal-btn-secondary {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(51, 31, 10, 0.8));
    color: var(--sc2-gold-light);
}

.modal-btn-secondary::after {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    content: "";
    background-position: left, right, center;
    background-size: 43px 100%, 43px 100%, calc(100% - 84px) 100%;
    background-image: url(assets/sc2_orange_button_left.webp),
                      url(assets/sc2_orange_button_right.webp),
                      url(assets/sc2_orange_button_center.webp);
    pointer-events: none;
    z-index: -1;
}

.modal-btn:hover {
    filter: brightness(1.5);
}
.certificate-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.certificate-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border: 1px solid var(--sc2-border);
    border-radius: 4px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.certificate-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.completion-date {
    font-size: 0.85rem;
    color: var(--sc2-gold-light);
    margin-top: 5px !important;
}

.modal-btn-link {
    color: var(--sc2-gold-light);
    text-decoration: none;
    display: inline-block;
}

.modal-btn-link:hover {
    text-decoration: underline;
}