:root {
    --primary: #003366;
    --accent: #003366;
    --bg: #f8f9fa;
    --text: #333;
    --white: #ffffff;
    --gradient-start: #003366;
    --gradient-end: #001f3d;
}

body.dark-mode {
    --bg: #121212;
    --text: #e0e0e0;
    --white: #1e1e1e;
    --primary: #F26522;
    --accent: #F26522;
    --gradient-start: #F26522;
    --gradient-end: #b34718;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    transition: background 0.3s, color 0.3s; 
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end), var(--gradient-start));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation: shine 5s linear infinite;
}

#dark-mode-toggle {
    width: 35px;
    height: 35px;
    padding: 0;
    display: flex;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--white,128, 128, 128, 0.1);
}

#dark-mode-toggle:hover {
    background-color: var(--bg);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-0px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}


#dark-mode-toggle i {
    font-size: 1rem;
    position: absolute; 
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.sun-outline { 
    opacity: 0; 
    transform: rotate(90deg) scale(0); 
}
.sun-filled { 
    opacity: 1; 
    transform: rotate(0deg) scale(1); 
}

body.dark-mode .sun-filled { 
    opacity: 0; 
    transform: rotate(-90deg) scale(0); 
}
body.dark-mode .sun-outline { 
    opacity: 1; 
    transform: rotate(0deg) scale(1); 
}
@keyframes rotateIn {
    from { transform: rotate(-180deg) scale(0); opacity: 0; }
    to { transform: rotate(0) scale(1); opacity: 1; }
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    transition: background 0.3s;
    color: var(--text);
    line-height: 1.6;
}

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

nav {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
   
    background: rgba(255, 255, 255, 0.05); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
    padding: 10px 0;
}

nav ul li a {
    background-color: var(--white);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: 1px solid rgba(128, 128, 128, 0.2);
}


nav ul li a:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


nav ul { display: flex; justify-content: center; list-style: none; gap: 20px; align-items: center; }
nav a { text-decoration: none; color: var(--primary); font-weight: 600; font-size: 0.9rem; }

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: transform 0.5s ease;
}

.profile-pic:hover {
    transform: scale(1.05) rotate(5deg);
    border-color: white;
}

.profile-link {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.profile-link:active .profile-pic { transform: scale(0.95); }

header {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    transition: background 0.8s ease;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    
}

header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.1) 1px, transparent 0);
    background-size: 30px 30px;
    pointer-events: none;
}
header .container {
    position: relative;
    z-index: 2;
    transition: transform 0.1s ease-out;
}

main {
    position: relative;
    z-index: 5;
    background: transparent;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    -webkit-text-fill-color: white;
    background: none;
    animation: none;
}

header .subtitle {
    color: white;
    opacity: 0.9;
    font-weight: 400;
}

.badges { margin-top: 15px; }

.badges span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    margin: 5px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    transition: transform 0.3s ease;
}

.badges span:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
}

.status {
    font-size: 0.9rem;
    color: var(--primary);
    margin-top: 5px;
}

section { padding: 50px 0; border-bottom: 1px solid rgba(128,128,128,0.3); }

h2 { color: var(--primary); margin-bottom: 20px; font-size: 1.8rem; }

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

.card {
    background: var(--white);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(128,128,128,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-wrap: wrap;
    height: 100%;
    box-shadow: 0 10px 30px -15px rgba(0,0,0,0.1);
    position: relative; 
    align-items: stretch;
}

.card:hover { 
    transform: translateY(-10px); 
    border-color: var(--accent);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.2);
}

.card > p {
    flex-grow: 1;
    margin-bottom: 20px;
}

.projetos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.projects-container {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.filter-group {
    display: inline-flex;
    gap: 12px;
    background: rgba(127, 127, 127, 0.1);
    padding: 8px;
    border-radius: 50px;
    border: 1px solid rgba(127, 127, 127, 0.2);
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text);
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
}

.filter-btn.active {
    background: var(--accent) !important;
    color: white !important;
    transform: scale(1.08);
    box-shadow: 0 0 15px var(--accent);
    z-index: 2;
}


.filter-btn:not(.active):hover {
    background: rgba(127, 127, 127, 0.2);
    color: var(--accent);
    transform: translateY(-2px);
}

.filter-controls-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 15px 0;
}

.filter-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-block span {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.7;
}

.filter-block button {
    background: var(--white);
    color: var(--text);
    border: 1px solid rgba(128,128,128,0.1);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
}
.advanced-filter-btn.active .icon-filter {
    opacity: 0;
    transform: rotate(180deg);
}
.advanced-filter-btn.active .icon-arrow {
    opacity: 1;
    transform: rotate(0deg);
    color: var(--text);
}
.advanced-filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.advanced-filter-trigger {
    background: var(--white);
    border: 1px solid rgba(128,128,128,0.2);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
}
.advanced-filter-trigger:hover {
    background: var(--accent);
    color: white;
}
.advanced-options {
    position: relative;
    gap: 30px;
    padding: 25px 20px 20px 20px;
   
    background: rgba(127, 127, 127, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid transparent; 
    border-radius: 16px;

    max-height: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 0px solid transparent;
    padding: 0 20px;
    margin-top: 0;
    transition: max-height 0.2s linear, margin-top 0.1s linear,0.2s;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
}
.advanced-options.show {
    max-height: 250px; 
    padding: 20px;
    margin-top: 8px;
    border: 1px solid rgba(128, 128, 128, 0.1);
    box-shadow: 0 10px 30px -15px rgba(0,0,0,0.1);
}
.icon-wrapper {
    position: relative;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper i {
    position: absolute;
    transition: transform 0.2s linear, opacity 0.2s linear;
}
.icon-arrow {
    opacity: 0;
    transform: rotate(-180deg);
        color: white !important;
}
.advanced-filter-btn.active .icon-filter {
    opacity: 0;
    transform: rotate(180deg);
}

.sort-icon {
    transition: transform 0.2s linear;
    display: inline-block;
}

.mini-filter-btn.asc {
    background: var(--accent) !important;
    color: white !important;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(242, 101, 34, 0.3);
}
.status-btn.active {
    background: var(--accent) !important;
    color: white !important;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(242, 101, 34, 0.3);
}
.mini-filter-btn:hover:not(.active):not(.asc) {
    background: rgba(127, 127, 127, 0.2);
    
}
.mini-filter-btn.asc {
    background: var(--accent) !important;
    color: white !important;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(242, 101, 34, 0.3);
}
.status-btn.active {
    background: var(--accent) !important;
    color: white !important;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(242, 101, 34, 0.3);
}

.mini-filter-btn:hover:not(.active):not(.asc) {
    background: rgba(127, 127, 127, 0.2);
    
}
.mini-filter-btn.asc .sort-icon {
    transform: rotate(180deg);
}

.reset-btn {
    position: absolute;
    top: 15px;     
    right: 20px;   
    z-index: 10;
    
    background: rgba(255, 77, 77, 0.1) !important;
    border: 1px solid rgba(255, 77, 77, 0.2) !important;
    color: var(--text);
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s linear;
}
.reset-btn:hover {
    background: rgba(255, 77, 77, 0.2) !important;
    color: #ff4d4d;
}

.reset-block {
    margin-left: auto;
    display: flex;
    align-items: flex-end;
}
.card.hidden {
    display: none;
}
.master-btn {
    background: transparent !important;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 8px 25px;
    border-radius: 50px !important; 
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    justify-self: end;
    white-space: nowrap;
    position: relative;
    overflow: visible !important; 
}
.master-btn:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 20px var(--primary) !important;
}
body.dark-mode .master-btn {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}
body.dark-mode .master-btn:hover {
    background: var(--accent) !important;
    color: white !important;
    box-shadow: 0 0 20px var(--accent) !important;
}
.tag-container {
    display: flex;
    gap: 8px;
    margin: 10px 0;
    flex-wrap: wrap;
}
.mini-tag {
    font-size: 0.75rem;
    background: rgba(12, 34, 233, 0);
    padding: 2px 10px;
    border-radius: 4px;
    color: var(--accent);
    border: 1px solid var(--accent);
    font-weight: 600;
}

.btn-projeto {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.btn-projeto:hover {
    text-decoration: underline;
}

.tag {
    display: inline-block;
    background: rgba(242, 101, 34, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-top: 10px;
    color: var(--accent);
}

.habilidades-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.skill-tag {
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--accent);
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 10px rgba(0,0,0,0.2);
}

.skill-tag:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px var(--gradient-end, 0.3);
}

#back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 38px;
    height: 38px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    border-bottom: 3px solid rgba(0, 0, 0, 0.2); 
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

#back-to-top:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
    border-bottom: 3px solid rgba(0, 0, 0, 0.3);
}

section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.slider-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

.slider {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 0 20px 0;
    user-select: none; 
    -webkit-user-select: none;
    -ms-user-select: none;
    cursor: grab;
}

.slider:active {
    cursor: grabbing;
}

.slider .card {
    min-width: 260px;
    max-width: 280px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(128, 128, 128, 0.1);
}

::-webkit-scrollbar-thumb {
    background-color: var(--accent);
    border-radius: 10px;
    border: 2px solid #f8f9fa;
}

body.dark-mode::-webkit-scrollbar-thumb,
body.dark-mode *::-webkit-scrollbar-thumb,
body.dark-mode ::-webkit-scrollbar-thumb {
    background-color: #666666 !important;
    border: 2px solid #121212 !important;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #666666 rgba(128, 128, 128, 0.1);
}

body.dark-mode, 
body.dark-mode * {
    scrollbar-color: var(--accent) #121212;
}

.expand-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px; 
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.expand-btn:hover {
    transform: translateY(-2px) scale(1.01);
    filter: brightness(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 
    0 0 12px var(--accent); 
}

.expand-btn:active {
    transform: scale(0.98);
}

.expand-btn span {
    transition: transform 0.4s ease;
    font-size: 0.85rem;
    display: inline-block;
}

.card[open] .expand-btn span {
    transform: rotate(180deg);
}

.expand-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s;
}

.expand-btn:hover::after {
    left: 150%;
}

.extra-content {
    max-height: 0;
    margin-top: auto;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.2s cubic-bezier(0, 1, 0, 1), opacity 0.2s ease-out;
}

.extra-content.open {
    max-height: 1000px;
    opacity: 1;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(128, 128, 128, 0.1);
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out;
}
.status-container {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.status-badge {
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-left: 5px;
}

.em-andamento {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.finalizado {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid #28a745;
}

.planejado {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    border: 1px solid #6c757d;
}

body.dark-mode .em-andamento { color: #ffd54f; border-color: #ffd54f; }
body.dark-mode .finalizado { color: #81c784; border-color: #81c784; }

.view-btn {
    display: inline-flex;
    background: var(--primary);
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    color: var(--white);
    padding: 10px 24px;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(127, 127, 127, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.view-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 
                0 0 15px var(--accent);
}


.view-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.view-btn:hover::before {
    left: 100%;
}

.contato-links {
    display: flex;
    flex-direction: column;
    gap: 20px;             
    margin-top: 25px;
    align-items: flex-start;
}

.contact-item {
    display: flex;
    align-items: center;   
    text-decoration: none;
    color: var(--text);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    gap: 15px;             
}

.contact-item i {
    font-size: 1.5rem;     
    width: 30px;           
    text-align: center;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: var(--accent);
    transform: translateX(10px);
}

.contact-item:hover i {
    filter: drop-shadow(0 0 8px var(--accent));
}
footer { text-align: center; padding: 40px; font-size: 0.8rem; opacity: 0.6; }

.geometric-shape {
    position: fixed;
    opacity: 0.15; 
    z-index: 0; 
    pointer-events: none;
    filter: blur(1px);
    background-color: var(--accent);
    animation: zeroGravity 20s linear infinite;
    transition: background-color 0.8s ease, opacity 0.8s ease;
    transform: translateZ(0);
}

body.dark-mode .geometric-shape {
    opacity: 0.25;
}

.circle-1 { width: 120px; height: 120px; border-radius: 50%; top: 10%; left: 5%; animation-duration: 25s; }
.circle-2 { width: 180px; height: 180px; border-radius: 50%; bottom: 10%; right: 5%; animation-duration: 30s; }
.circle-3 { width: 60px; height: 60px; border-radius: 50%; top: 45%; left: 15%; animation-duration: 18s; }
.square-1 { width: 80px; height: 80px; top: 25%; right: 10%; animation-duration: 22s; }
.square-2 { width: 50px; height: 50px; bottom: 30%; left: 8%; animation-duration: 28s; }

.triangle-1 {
    width: 0; height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 90px solid var(--accent);
    background-color: transparent !important;
    top: 65%; left: 40%;
    animation-duration: 35s;
}

.content-wrapper {
    max-width: 900px;
    margin: 80px auto 40px auto;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: var(--card-bg);
    color: var(--text);
}

.card.pesquisa {
    position: relative;
    padding-top: 40px;
}

.mini-download-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--accent);
    opacity: 0.5;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 5px;
}

.mini-download-btn:hover {
    opacity: 1;
    transform: scale(1.2);
    color: var(--accent);
}

.mini-download-btn svg {
    display: block;
}
body.dark-mode .content-wrapper {
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .projetos-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .filter-group, .master-btn {
        grid-column: 1;
        justify-self: center;
    }
    .ref-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    #back-to-top {
        width: 32px;
        height: 32px;
        bottom: 15px;
        right: 15px;
        font-size: 16px;
        opacity: 0.8;
    }
    .dropdown-content {
        max-height: 50vh;
    }
}

section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.easter-egg {
    font-size: 0.75rem;
    color: white;
    margin-top: 8px;
    opacity: 0.8;
    transition: all 0.3s ease;
}
.easter-egg:hover {
    color: white;
    transform: translateY(-2px);
    opacity: 1;
}
.mesh-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-color: var(--bg);
    overflow: hidden;
}
.mesh-gradient::before,
.mesh-gradient::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: meshFlow 20s infinite alternate ease-in-out;
}

.mesh-gradient::before {
    background: var(--primary);
    top: -10%;
    left: -10%;
}

.mesh-gradient::after {
    background: var(--accent);
    bottom: -10%;
    right: -10%;
    animation-delay: -10s;
}

@keyframes meshFlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes zeroGravity {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -50px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

