@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* ========================================
   BASE STYLES
======================================== */
* {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

body {
    background-color: #0a0a0a;
    /*background-image: url("../assets/img/bg.jpg");*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.9);
    pointer-events: none;
    z-index: 0;
    transition: background-color 0.3s ease;
}

body > * {
    position: relative;
    z-index: 1;
}


@media (max-width: 768px) {
    button#loginBtn {
        margin-right: 50px;
    }
}

/* ========================================
   GLASSMORPHISM EFFECTS
======================================== */
.glassmorphism {
    background: rgba(80, 80, 80, 0.45);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(115, 115, 115, 0.2);
    transition: all 0.3s ease;
}

.glassmorphism-blue {
    background: rgba(80, 80, 80, 0.45);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(153, 227, 147, 0.1);
    transition: all 0.3s ease;
}

/* ========================================
   LOGO STYLES
======================================== */
img.logo {
    max-width: 300px;
}

@media (max-width: 768px) {
    img.logo {
        max-width: 120px;
    }
}


/* ========================================
   TYPOGRAPHY
======================================== */
.gradient-text {
    color: #99E393;
}

/* ========================================
   ANCHOR SCROLL OFFSET (navbar fixa = 80px)
======================================== */
[id] {
    scroll-margin-top: 100px;
}

/* ========================================
   NAVIGATION MENU STYLES
======================================== */
nav a:hover,
nav a.hover-green:hover {
    color: #99E393 !important;
    transition: color 0.3s ease;
}

/* Mobile side drawer */
#mobileMenu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(153, 227, 147, 0.15);
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 80px 16px 32px;
    display: block !important;
}

#mobileMenu.menu-open {
    transform: translateX(0);
}

#mobileMenuBackdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 199;
}

#mobileMenuBackdrop.active {
    display: block;
}

#mobileMenuClose {
    position: absolute;
    top: 20px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

#mobileMenuClose:hover {
    background: rgba(255,255,255,0.15);
}

/* ========================================
   BUTTONS
======================================== */
.btn-primary {
    background: linear-gradient(135deg, #99E393, #4dbb94);
    color: #000 !important;
    box-shadow: 0 10px 22px rgba(11, 33, 20, 0.25);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    color: #000 !important;
    box-shadow: 0 14px 32px rgba(11, 33, 20, 0.35);
}

.btn-message {
    background: transparent;
    color: #fff !important;
    border: 2px solid #99E393;
    box-shadow: none;
    transition: all 0.3s ease;
}

.btn-message i {
    color: #fff !important;
}

.btn-message:hover {
    background: linear-gradient(135deg, #99E393, #4dbb94);
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(11, 33, 20, 0.35);
}

.btn-message:hover i {
    color: #000 !important;
}

.social-btn i {
    color: #fff !important;
}

.social-btn:hover i {
    color: #000 !important;
}

.btn-secondary {
    background: #99E393;
    color: #000 !important;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    color: #000 !important;
    box-shadow: 0 20px 40px rgba(153, 227, 147, 0.4);
}

/* ========================================
   CARD EFFECTS
======================================== */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
}

.glow-effect {
    box-shadow: 0 0 30px rgba(153, 227, 147, 0.3);
}

/* ========================================
   ANIMATIONS
======================================== */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

.shine {
    position: relative;
    overflow: hidden;
}

.shine::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { 
        transform: translateX(-100%) translateY(-100%) rotate(45deg); 
    }
    100% { 
        transform: translateX(100%) translateY(100%) rotate(45deg); 
    }
}

/* ========================================
   ROTATING WORDS
======================================== */

#typewriter {
    display: inline-block;
    font-weight: 800;
    color: #99E393 !important;
}

.cursor {
    display: inline-block;
    font-weight: 300;
    animation: blink 0.8s infinite;
    margin-left: 2px;
    color: #99E393 !important;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

/* ========================================
   MODAL STYLES
======================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SweetAlert Z-Index Fix */
.swal2-container {
    z-index: 99999 !important;
}

.swal2-popup:not(.swal2-toast) {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    background: rgba(18, 18, 18, 0.98) !important;
    border: 1px solid rgba(153, 227, 147, 0.2) !important;
    border-radius: 20px !important;
    color: #f0f0f0 !important;
}
.swal2-popup.swal2-toast {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    background: rgba(20, 20, 20, 0.97) !important;
    border: 1px solid rgba(153, 227, 147, 0.25) !important;
    border-radius: 12px !important;
    color: #f0f0f0 !important;
}

.swal2-title {
    color: #ffffff !important;
}

.swal2-html-container,
.swal2-content {
    color: #d1d5db !important;
}

.swal2-icon.swal2-info {
    border-color: #3b82f6 !important;
    color: #3b82f6 !important;
}

.swal2-icon.swal2-warning {
    border-color: #f59e0b !important;
    color: #f59e0b !important;
}

.swal2-icon.swal2-error {
    border-color: #ef4444 !important;
    color: #ef4444 !important;
}

.swal2-icon.swal2-success {
    border-color: #99E393 !important;
    color: #99E393 !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(153, 227, 147, 0.3) !important;
}

.swal2-icon.swal2-success [class^="swal2-success-line"] {
    background-color: #99E393 !important;
}

.swal2-input, .swal2-textarea, .swal2-select {
    background: rgba(255,255,255,0.05) !important;
    border-color: rgba(255,255,255,0.15) !important;
    color: #f0f0f0 !important;
}

.swal2-backdrop-show {
    z-index: 99998 !important;
}

.swal-wide {
    width: 500px !important;
    padding: 2rem !important;
}

.swal2-html-container {
    margin: 0 !important;
    padding: 0 !important;
}

.modal-content {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(153, 227, 147, 0.2);
    border-radius: 24px;
    padding: 40px;
    width: 92%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
    position: relative;
    transition: all 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: #99E393 rgba(255, 255, 255, 0.05);
}

@media (max-width: 480px) {
    .modal-content {
        padding: 24px 16px;
        width: 95%;
        border-radius: 18px;
        max-height: 92vh;
    }
    .modal-content h2 {
        font-size: 1.5rem !important;
    }
    .modal-content h3 {
        font-size: 1.1rem !important;
    }
    .close-modal {
        top: 12px;
        right: 12px;
    }
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 10px 0;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #99E393;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #99E393;
    box-shadow: 0 0 10px rgba(153, 227, 147, 0.5);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* ========================================
   FORM ELEMENTS
======================================== */
.input-field {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #99E393;
    box-shadow: 0 0 0 3px rgba(153, 227, 147, 0.1);
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(80, 80, 80, 0.45);
    border: 1px solid rgba(75, 85, 99, 0.5);
    border-radius: 0.75rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #99E393;
    box-shadow: 0 0 0 3px rgba(153, 227, 147, 0.1);
}

.filter-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.filter-select option {
    background: #1a1a1a;
    color: white;
    padding: 0.5rem;
}

/* ========================================
   CATEGORY OPTIONS (FOR REGISTER MODAL)
======================================== */
.category-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.category-option:hover {
    background: rgba(153, 227, 147, 0.1);
    border-color: #99E393;
}

.category-option.selected {
    background: rgba(153, 227, 147, 0.2);
    border-color: #99E393;
    box-shadow: 0 4px 15px rgba(153, 227, 147, 0.3);
}

/* ========================================
   CATEGORY FILTERS (BUSCAR PROFISSIONAIS)
======================================== */
.category-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(80, 80, 80, 0.45);
    border: 2px solid transparent;
    border-radius: 9999px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.category-filter:hover {
    background: rgba(153, 227, 147, 0.2);
    border-color: #99E393;
    transform: translateY(-2px);
}

.category-filter.active {
    background: #99E393;
    color: #000 !important;
    border-color: #99E393;
    box-shadow: 0 4px 15px rgba(153, 227, 147, 0.4);
}

.category-filter.active i {
    color: #000 !important;
}

/* ========================================
   PROFESSIONAL CARDS
======================================== */
.professional-card {
    background: rgba(80, 80, 80, 0.45);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(75, 85, 99, 0.3);
}

.professional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(153, 227, 147, 0.3);
    border-color: #99E393;
}

.professional-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* ========================================
   BADGES
======================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-category {
    background: rgba(153, 227, 147, 0.2);
    color: #fff;
    border: 1px solid rgba(153, 227, 147, 0.3);
}

.badge-location {
    background: rgba(153, 227, 147, 0.2);
    color: #fff;
    border: 1px solid rgba(153, 227, 147, 0.3);
}

.badge-secondary {
    background: rgba(139, 92, 246, 0.2);
    color: #fff;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* ========================================
   RATING
======================================== */
.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars-rating {
    display: flex;
    gap: 0.25rem;
}

.star {
    font-size: 1.5rem;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.2s;
}

.star.active,
.star:hover {
    color: #fbbf24;
}

/* ========================================
   UTILITY CLASSES
======================================== */
.line-clamp-2 {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   PORTFOLIO (PERFIL PROFISSIONAL)
======================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.portfolio-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   FONT AWESOME ICONS
======================================== */
.fas, .far, .fab {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.category-filter i,
.glassmorphism i,
.glassmorphism-blue i {
    color: white;
}

.category-filter.active i {
    color: #000 !important;
}

.badge i {
    margin-right: 0.25rem;
}

/* ========================================
   THEME TOGGLE
======================================== */
#themeToggle {
    position: relative;
}

#themeToggle svg {
    transition: all 0.3s ease;
}

#themeToggle:hover {
    transform: rotate(180deg);
}

/* ========================================
   SCROLLBAR CUSTOMIZATION
======================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: #99E393;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #99E393;
}

/* ========================================
   LIGHT MODE STYLES
======================================== */
body.light-mode {
    background-color: #f5f5f5;
    color: #1a1a1a;
}

body.light-mode::before {
    background-color: rgba(255, 255, 255, 0.9);
}

body.light-mode .glassmorphism {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(153, 227, 147, 0.2);
}

body.light-mode .glassmorphism-blue {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(153, 227, 147, 0.2);
}

body.light-mode .text-white {
    color: #1a1a1a !important;
}

body.light-mode .text-green {
    color: #99E393 !important;
}

body.light-mode .text-gray-300 {
    color: #4a4a4a !important;
}

body.light-mode .text-gray-400 {
    color: #6a6a6a !important;
}

body.light-mode .text-gray-600 {
    color: #8a8a8a !important;
}

body.light-mode .border-gray-800 {
    border-color: #e0e0e0 !important;
}

body.light-mode .modal-content {
    background: rgba(255, 255, 255, 0.95);
}

body.light-mode .input-field {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}

body.light-mode .input-field::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

body.light-mode .category-option {
    border: 2px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.05);
}

body.light-mode .close-modal {
    background: rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    #rotating-word {
        min-width: 250px !important;
    }
    
    .professional-card {
        margin-bottom: 1rem;
    }
    
    .category-filter {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* ========================================
   ÍCONES COM CÍRCULO - CATEGORIAS
======================================== */

/* Container do ícone com círculo */
.category-icon-circle {
    width: 80px;
    height: 80px;
    background-color: rgba(153, 227, 147, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

/* Ícone dentro do círculo */
.category-icon-circle i {
    color: #99E393 !important;
    font-size: 2rem;
}

/* Efeito hover no círculo */
.card-hover:hover .category-icon-circle {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(153, 227, 147, 0.4);
    background-color: rgba(153, 227, 147, 0.35);
}

/* Animação de pulso opcional */
@keyframes pulse-circle {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.category-icon-circle.animate-pulse {
    animation: pulse-circle 2s ease-in-out infinite;
}

/* Versão mobile (círculos menores) */
@media (max-width: 768px) {
    .category-icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .category-icon-circle i {
        font-size: 1.5rem;
    }
}

/* Variante com borda */
.category-icon-circle.with-border {
    border: 3px solid rgba(255, 255, 255, 0.2);
}

/* Variante com sombra mais forte */
.category-icon-circle.strong-shadow {
    box-shadow: 0 4px 15px rgba(153, 227, 147, 0.3);
}
/* ==================== BOTÃO OLHINHO SENHA ==================== */
.pw-eye-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    font-size: 15px;
    padding: 2px 4px;
    line-height: 1;
    transition: color 0.2s;
    z-index: 2;
}
.pw-eye-btn:hover { color: #217e77; }


/* ========================================
   BOTÃO FLUTUANTE CRIATIVO (PROFISSIONAIS)
======================================== */
.pro-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #1d344b, #07101a);
    border: 2px solid #99E393;
    border-radius: 50px;
    padding: 12px 24px;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(153, 227, 147, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.pro-floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(153, 227, 147, 0.5);
    background: linear-gradient(135deg, #203138, #1d344b);
}

.pro-btn-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pulse-icon {
    font-size: 28px;
    animation: pulse 2s infinite;
}

.pro-btn-text {
    display: flex;
    flex-direction: column;
}

.pro-btn-text strong {
    color: #99E393;
    font-size: 16px;
    line-height: 1.2;
}

.pro-btn-text span {
    color: #fff;
    font-size: 12px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .pro-floating-btn {
        bottom: 20px;
        right: 20px;
        left: 20px;
        justify-content: center;
        border-radius: 15px;
    }
}

/* ========================================
   SISTEMA SOLAR (ÓRBITAS DAS CATEGORIAS) - CORRIGIDO
======================================== */
.solar-system-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* O "Sol" - Seu Evento */
.sun-center {
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, #99E393 0%, #4dbb94 100%);
    border-radius: 50%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 50px rgba(153, 227, 147, 0.6), inset 0 0 20px rgba(255,255,255,0.5);
    animation: pulse-glow 4s infinite alternate;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 40px rgba(153, 227, 147, 0.4); }
    100% { box-shadow: 0 0 80px rgba(153, 227, 147, 0.8); }
}

/* Anéis de Órbita - Centralização Forçada para evitar quebra */
.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(153, 227, 147, 0.3);
    border-radius: 50%;
    animation: spin linear infinite;
    pointer-events: none; /* não bloqueia cliques nos planetas das órbitas internas */
}

/* Pausar ao passar o mouse */
.solar-system-container:hover .orbit,
.solar-system-container:hover .planet {
    animation-play-state: paused !important;
}

/* Tamanhos e posições exatas das órbitas */
.orbit-1 { 
    width: 320px; height: 320px; 
    margin-top: -160px; margin-left: -160px; 
    animation-duration: 35s; 
}
.orbit-2 { 
    width: 520px; height: 520px; 
    margin-top: -260px; margin-left: -260px; 
    animation-duration: 50s; 
    animation-direction: reverse; 
}
.orbit-3 { 
    width: 720px; height: 720px; 
    margin-top: -360px; margin-left: -360px; 
    animation-duration: 65s; 
}

/* Posicionador dos Planetas */
.planet-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(var(--angle));
    top: 0;
    left: 0;
    pointer-events: none; /* só o planeta em si recebe eventos */
}

/* Os Planetas (Ícones) */
.planet {
    position: absolute;
    top: -30px;
    left: calc(50% - 30px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    pointer-events: auto; /* garante que o planeta recebe eventos mesmo com parent none */
    transition: scale 0.6s ease, box-shadow 0.5s ease, background-color 0.5s ease, border-color 0.5s ease;
    /* Gira ao contrário para o ícone e a legenda ficarem sempre em pé */
    animation: counter-spin linear infinite;
}

/* Sincronizando o tempo do contra-giro com a órbita mãe */
.orbit-1 .planet { animation-duration: 35s; }
.orbit-2 .planet { animation-duration: 50s; animation-direction: reverse; }
.orbit-3 .planet { animation-duration: 65s; }

.planet i {
    font-size: 24px;
    color: #99E393;
}

.planet:hover {
    scale: 1.5; /* propriedade individual — não conflita com transform: rotate() da animação */
    border-color: #99E393;
    z-index: 20;
    background: rgba(153, 227, 147, 0.18);
    box-shadow: 0 0 22px rgba(153, 227, 147, 0.45);
}

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes counter-spin { 100% { transform: rotate(-360deg); } }

/* ========================================
   LEGENDA DISCRETA (SEMPRE VISÍVEL)
======================================== */
.tooltip {
    position: absolute;
    bottom: -20px; /* Fica pertinho do ícone */
    color: rgba(255, 255, 255, 0.6); /* Transparente para ser discreto */
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9); /* Garante leitura no fundo escuro */
    transition: all 0.3s ease;
    pointer-events: none; /* Evita bugar o mouse hover do planeta */
}

/* Efeito quando o usuário passa o mouse na categoria */
.planet:hover .tooltip {
    color: #99E393;
    font-weight: bold;
    font-size: 12px;
    bottom: -24px;
    text-shadow: 0 0 10px rgba(153, 227, 147, 0.5);
}

@media (max-width: 768px) {
    .solar-system-container { height: 400px; transform: scale(0.5); }
}
