/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors */
    --primary-color: #00ff88;
    --primary-hover: #00d973;
    --primary-light: rgba(0, 255, 136, 0.1);
    --primary-medium: rgba(0, 255, 136, 0.15);
    --primary-dark: rgba(0, 217, 115, 0.2);
    
    /* Neutral Colors - Refined System */
    --neutral-0: #0d0d0d;
    --neutral-50: #141414;
    --neutral-100: #1a1a1a;
    --neutral-200: #262626;
    --neutral-300: #404040;
    --neutral-400: #525252;
    --neutral-500: #737373;
    --neutral-600: #a3a3a3;
    --neutral-700: #d4d4d4;
    --neutral-800: #e5e5e5;
    --neutral-900: #f5f5f5;
    --neutral-950: #ffffff;
    
    /* Background Colors */
    --background: var(--neutral-0);
    --background-card: var(--neutral-50);
    --background-elevated: var(--neutral-100);
    --background-overlay: rgba(13, 13, 13, 0.8);
    
    /* Foreground Colors */
    --foreground: var(--neutral-950);
    --foreground-secondary: var(--neutral-800);
    --muted-foreground: rgba(255, 255, 255, 0.6);
    --muted-foreground-light: rgba(255, 255, 255, 0.4);
    --muted-foreground-dark: rgba(255, 255, 255, 0.8);
    
    /* Border Colors */
    --border: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(0, 255, 136, 0.35);
    --border-light: rgba(255, 255, 255, 0.05);
    --border-medium: rgba(255, 255, 255, 0.15);
    --border-strong: rgba(255, 255, 255, 0.2);
    
    /* Gradients */
    --text-gradient: linear-gradient(135deg, var(--primary-color) 0%, #00d973 100%);
    --background-gradient: linear-gradient(to bottom, var(--neutral-0) 0%, var(--neutral-50) 100%);
    --background-gradient-subtle: linear-gradient(to bottom, var(--neutral-0) 0%, rgba(20, 20, 20, 0.5) 50%, var(--neutral-0) 100%);
    --card-gradient: linear-gradient(135deg, var(--neutral-50) 0%, var(--neutral-100) 100%);
    --overlay-gradient: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 50%, var(--neutral-0) 100%);
    
    /* Backdrop Blur */
    --blur-sm: blur(4px);
    --blur-md: blur(8px);
    --blur-lg: blur(12px);
    --blur-xl: blur(16px);
    --blur-2xl: blur(24px);
    
    /* Transitions */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows - Multi-layered */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 8px rgba(0, 255, 136, 0.15);
    --shadow-glow-md: 0 0 16px rgba(0, 255, 136, 0.2);
    --shadow-glow-lg: 0 0 24px rgba(0, 255, 136, 0.25);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    
    /* Spacing Scale */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background-gradient);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.7;
    letter-spacing: -0.01em;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    max-width: 100vw;
    width: 100%;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

body.pin-locked {
    overflow: hidden;
}

body.pin-locked > *:not(.pin-lock-screen) {
    display: none;
}

/* Pin Lock Screen */
.pin-lock-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: var(--blur-2xl);
    -webkit-backdrop-filter: var(--blur-2xl);
}

.pin-lock-screen.hidden {
    display: none;
}

.pin-lock-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.pin-lock-content {
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.pin-lock-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
    }
}

.pin-lock-icon svg {
    width: 40px;
    height: 40px;
}

.pin-lock-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pin-lock-message {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.pin-input-container {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pin-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background-color: var(--background-card);
    border: 2px solid var(--border);
    border-radius: 0;
    color: var(--foreground);
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.2em;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.pin-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.pin-input::placeholder {
    color: var(--muted-foreground);
    letter-spacing: normal;
    font-weight: 400;
}

.pin-submit-btn {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--background);
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.5rem;
}

.pin-submit-btn:hover {
    background-color: var(--primary-hover);
    transform: translateX(2px);
}

.pin-submit-btn:active {
    transform: translateX(0);
}

.pin-error {
    color: #ff4444;
    font-size: 0.875rem;
    min-height: 1.5rem;
    margin-top: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pin-error.show {
    opacity: 1;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    position: relative;
    overflow: visible;
}


@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-content {
        gap: 0.75rem;
    }
    
    .logo a {
        font-size: clamp(1rem, 4vw, 1.25rem);
    }
    
    .menu-toggle {
        padding: 4px;
    }
}

/* Text Gradient */
.text-gradient {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-primary {
    color: var(--primary-color);
}

.text-foreground {
    color: var(--foreground);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(13, 13, 13, 0.7);
    backdrop-filter: var(--blur-xl);
    -webkit-backdrop-filter: var(--blur-xl);
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
    will-change: background-color, box-shadow, border-color;
    overflow: visible;
}

.navbar.scrolled {
    background-color: rgba(13, 13, 13, 0.95);
    backdrop-filter: var(--blur-2xl);
    -webkit-backdrop-filter: var(--blur-2xl);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 100%;
    position: relative;
    overflow: visible;
}

.logo {
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 0;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--foreground);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: var(--transition-smooth);
    white-space: nowrap;
    display: inline-block;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

.logo a:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 1rem;
    }
}

@media (max-width: 900px) {
    .nav-menu {
        gap: 0.75rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
    }
}

.nav-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
    position: relative;
    font-feature-settings: 'kern' 1;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
    z-index: 1001;
    position: relative;
    flex-shrink: 0;
    margin-left: auto;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--foreground);
    transition: var(--transition);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    will-change: transform;
    white-space: nowrap;
    min-width: fit-content;
}

@media (max-width: 480px) {
    .btn {
        padding: 0.625rem 1.5rem;
        width: 100%;
        max-width: 100%;
    }
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--background);
    box-shadow: var(--shadow-glow);
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-md);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--foreground);
    border: 1px solid var(--border);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    transition: var(--transition-smooth);
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-actions .btn-outline {
    height: 36px;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-nav {
    padding: 0.5rem 1rem;
    height: 36px;
    font-size: 0.75rem;
    background-color: var(--primary-color);
    color: var(--background);
    box-shadow: var(--shadow-glow);
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .btn-nav {
        padding: 0.5rem 0.875rem;
        font-size: 0.6875rem;
    }
    
    .nav-actions .btn-outline {
        padding: 0.5rem 0.875rem;
        font-size: 0.6875rem;
    }
}

@media (max-width: 900px) {
    .btn-nav {
        padding: 0.5rem 0.75rem;
        font-size: 0.625rem;
    }
    
    .nav-actions .btn-outline {
        padding: 0.5rem 0.75rem;
        font-size: 0.625rem;
    }
}

.btn-nav:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.2);
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* User Menu */
.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 10002;
}

.hidden {
    display: none !important;
}

.user-menu.hidden {
    display: none;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    background-color: var(--background-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--foreground);
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    position: relative;
}

.user-menu-toggle:hover {
    border-color: var(--border-hover);
    background-color: rgba(0, 255, 136, 0.05);
    transform: scale(1.05);
}

.user-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    display: block;
}

.user-avatar-icon {
    width: 100%;
    height: 100%;
    font-size: 32px;
    color: var(--muted-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
}

.user-menu-toggle {
    position: relative;
}

.user-avatar.hidden ~ .user-avatar-icon {
    display: flex;
}

.user-avatar:not(.hidden) ~ .user-avatar-icon {
    display: none;
}

.user-dropdown {
    position: fixed;
    top: 70px;
    right: 1rem;
    min-width: 280px;
    background: var(--card-gradient);
    background-color: var(--background-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
    z-index: 10001;
    overflow: hidden;
    backdrop-filter: var(--blur-xl);
    -webkit-backdrop-filter: var(--blur-xl);
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.user-avatar-large {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    flex-shrink: 0;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

.user-name-full {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--foreground);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-email {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: var(--foreground);
    text-decoration: none;
    transition: background-color 0.15s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.user-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.user-menu-item .material-symbols-sharp {
    font-size: 20px;
}

.logout-btn {
    color: #ff4444;
}

.logout-btn:hover {
    background-color: rgba(255, 68, 68, 0.1);
    color: #ff6666;
}

.login-btn {
    color: var(--primary-color);
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
}

.login-btn:hover {
    background-color: rgba(0, 255, 136, 0.1);
    color: var(--primary-color);
}

.user-login-section {
    padding: 1.25rem;
}

.user-login-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.user-login-info .material-symbols-sharp {
    font-size: 48px;
    color: var(--muted-foreground);
}

.user-login-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-login-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--foreground);
}

.user-login-subtitle {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}

.user-login-section.hidden {
    display: none;
}

.user-info.hidden {
    display: none;
}

@media (max-width: 1024px) {
    .nav-actions {
        gap: 0.75rem;
    }
    
    .user-menu-toggle {
        width: 36px;
        height: 36px;
    }
    
    .user-dropdown {
        min-width: 260px;
    }
}

@media (max-width: 900px) {
    .nav-actions {
        gap: 0.5rem;
    }
    
    .user-menu-toggle {
        width: 32px;
        height: 32px;
    }
    
    .user-dropdown {
        min-width: 240px;
    }
}

@media (max-width: 768px) {
    .nav-actions {
        order: 3;
        gap: 0.5rem;
    }
    
    .user-dropdown {
        min-width: calc(100vw - 2rem);
        max-width: 320px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 2rem;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('../images/headervc001.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-gradient);
    z-index: 1;
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    mix-blend-mode: overlay;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.hero-badge:hover {
    background-color: var(--primary-medium);
    border-color: rgba(0, 255, 136, 0.4);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.hero-title {
    font-size: clamp(1.875rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

.hero-subtitle {
    font-size: clamp(0.875rem, 2.5vw, 1.125rem);
    color: var(--muted-foreground-dark);
    margin-bottom: 2rem;
    line-height: 1.75;
    max-width: 600px;
    letter-spacing: -0.005em;
    font-weight: 400;
}

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

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 1.5s infinite;
}

@media (max-width: 480px) {
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-indicator .material-symbols-sharp {
        font-size: 1.5rem;
    }
}

@keyframes bounce {
    0%, 100% { 
        transform: translateX(-50%) translateY(0); 
    }
    50% { 
        transform: translateX(-50%) translateY(-8px); 
    }
}

.scroll-indicator .material-symbols-sharp {
    font-size: 2rem;
    color: var(--muted-foreground);
}

/* Section Styles */
.section {
    padding: var(--spacing-4xl) 0;
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 2.5rem 0;
    }
}

.section-label {
    display: block;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

.section-description {
    font-size: 1rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
    letter-spacing: -0.005em;
    font-weight: 400;
}

/* Wrapper para ícone e descrição na timeline */
.section-description-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.section-description-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.section-description-icon .material-symbols-sharp {
    font-size: 56px;
    font-weight: 700;
    font-variation-settings: 'FILL' 0, 'wght' 700, 'GRAD' -25, 'opsz' 20;
}

/* Ajustar estilo do section-description na timeline para manter estilo do footer */
#timeline .section-description {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--foreground);
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
    max-width: none;
}

/* About Section */
.about {
    background-color: var(--background);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-text {
    max-width: none;
}

.about-description {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: var(--muted-foreground);
    line-height: 1.8;
}

.about-description p {
    margin: 0;
}

.about-description strong {
    color: var(--foreground);
}

.about-quote {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
}

.about-quote p {
    font-size: 0.875rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

.about-image {
    position: relative;
    contain: layout style paint;
    display: flex;
    flex-direction: column;
}

.about-image .video-wrapper {
    width: 100%;
}

.about-image .video-wrapper:first-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .about-image .video-wrapper {
        margin-top: 1.5rem;
    }
    
    .about-image .video-wrapper:first-child {
        margin-top: 0;
    }
}

.video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    text-decoration: none;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.video-wrapper:hover .video-thumbnail img {
    transform: scale(1.01);
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.video-wrapper:hover .video-play-overlay {
    background-color: rgba(0, 0, 0, 0.4);
}

.play-button {
    width: 68px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-wrapper:hover .play-button {
    transform: scale(1.05);
}

.play-button svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.image-placeholder {
    aspect-ratio: 4/3;
    background-color: var(--background-card);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    overflow: hidden;
}

.image-placeholder .material-symbols-sharp {
    font-size: 4rem;
    color: var(--muted-foreground);
}

/* Fade-in animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

/* Team Section */
.team {
    background-color: var(--background);
}

.team .section-header {
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    max-width: 100%;
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.team-card {
    background: var(--card-gradient);
    background-color: var(--background-card);
    border: 1px solid var(--border);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.team-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background-color: var(--background-elevated);
}

.team-card.vacant {
    opacity: 0.6;
}

.team-card.vacant:hover {
    opacity: 0.8;
}

.team-icon {
    width: 100px;
    height: 100px;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-radius: 0;
}

.team-icon .material-symbols-sharp {
    font-size: 2.5rem;
    color: var(--background);
}

.team-avatar {
    width: 100px;
    height: 100px;
    min-width: 100px;
    border-radius: 0;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--background-card) 0%, #1a1a1a 100%);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-avatar.placeholder {
    border-color: var(--text-muted);
}

.team-avatar.placeholder .material-symbols-sharp {
    font-size: 3rem;
    color: var(--text-muted);
    opacity: 0.5;
}

.team-card.vacant .team-icon {
    background: linear-gradient(135deg, var(--text-muted) 0%, #555 100%);
}

.team-content {
    flex: 1;
}

.team-role {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.team-card.vacant .team-role {
    color: var(--text-muted);
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    transition: var(--transition);
}

.team-name.vacant-text {
    color: var(--text-muted);
    font-style: italic;
}

.team-realname {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.75rem;
}

.team-realname.vacant-text {
    opacity: 0.5;
}

.team-card:hover .team-name:not(.vacant-text) {
    color: var(--primary-color);
}

.team-line {
    height: 2px;
    width: 3rem;
    background-color: var(--primary-color);
    transform: scaleX(0.5);
    transform-origin: left;
    transition: var(--transition);
}

.team-card.vacant .team-line {
    background-color: var(--text-muted);
}

.team-card:hover .team-line {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .team .section-header {
        margin-bottom: 2rem;
    }
    
    .team-card {
        padding: 1.25rem;
    }
    
    .team-icon,
    .team-avatar {
        width: 80px;
        height: 80px;
        min-width: 80px;
    }
    
    .team-icon .material-symbols-sharp {
        font-size: 2rem;
    }
    
    .team-avatar.placeholder .material-symbols-sharp {
        font-size: 2.5rem;
    }
    
    .team-name {
        font-size: 1.1rem;
    }
    
    .team-realname {
        font-size: 0.8125rem;
    }
}

/* Vertentes Section */
.vertentes {
    background-color: var(--background);
}

.vertentes .section-header.vertentes-header {
    max-width: 1280px;
    margin: 0 auto 3rem auto;
    padding: 0 20px;
}

/* Header do carrossel com título e navegação */
.vertentes-header {
    position: relative;
    text-align: center;
}

.vertentes-header-text {
    width: 100%;
}

.vertentes-nav {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 0.5rem;
}

.vertentes-nav-btn {
    width: 48px;
    height: 48px;
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.vertentes-nav-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--background);
}

.vertentes-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.vertentes-nav-btn:disabled:hover {
    background-color: transparent;
    border-color: var(--border);
    color: var(--text-secondary);
}

.vertentes-nav-btn .material-symbols-sharp {
    font-size: 1.5rem;
}

/* Wrapper do carrossel */
.vertentes-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Fade edges for depth effect */
.vertentes-carousel-wrapper::before,
.vertentes-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 10;
    pointer-events: none;
}

.vertentes-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, 
        var(--background) 0%, 
        rgba(10, 10, 10, 0.8) 40%,
        transparent 100%
    );
}

.vertentes-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, 
        var(--background) 0%, 
        rgba(10, 10, 10, 0.8) 40%,
        transparent 100%
    );
}

@media (max-width: 768px) {
    .vertentes-carousel-wrapper::before,
    .vertentes-carousel-wrapper::after {
        width: 60px;
    }
}

/* Carrossel horizontal */
.vertentes-carousel {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: var(--spacing-lg);
    padding: var(--spacing-sm) 0 var(--spacing-md) 0;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    will-change: transform;
}

.vertentes-carousel:active {
    cursor: grabbing;
}


.vertentes-carousel > .vertente-card {
    flex: 0 0 300px;
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
    flex-grow: 0;
    pointer-events: none;
}

.vertentes-carousel > .vertente-card * {
    pointer-events: auto;
}

@media (max-width: 768px) {
    .vertentes .section-header.vertentes-header {
        margin-bottom: 2rem;
        padding: 0 16px;
    }
    
    .vertentes-header {
        text-align: center;
    }
    
    .vertentes-nav {
        position: relative;
        top: auto;
        right: auto;
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .vertentes-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .vertentes-carousel > .vertente-card {
        flex: 0 0 260px;
        min-width: 260px;
        max-width: 260px;
    }
}

@media (min-width: 1200px) {
    .vertentes-carousel > .vertente-card {
        flex: 0 0 300px;
        min-width: 300px;
        max-width: 300px;
    }
}

.vertente-card {
    background: var(--card-gradient);
    background-color: var(--background-card);
    border: 1px solid var(--border);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
    contain: layout style paint;
    box-shadow: var(--shadow-sm);
}

.vertente-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background-color: var(--background-elevated);
    will-change: transform;
}

.vertente-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--background-card) 0%, #1a1a1a 100%);
    overflow: hidden;
}

.vertente-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .vertente-image {
        height: 180px;
    }
}

.vertente-badge {
    position: absolute;
    bottom: 1rem;
    left: 0;
    background-color: var(--primary-color);
    color: var(--background);
    padding: 0.5rem 1.5rem;
    padding-right: 2rem;
    transform: skewX(-12deg) translateX(-1rem);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vertente-badge span {
    display: block;
    transform: skewX(12deg);
    padding-left: 0.5rem;
}

.vertente-content {
    padding: 1.5rem;
}

.vertente-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.vertente-card:hover .vertente-content h3 {
    color: var(--primary-color);
}

.vertente-line {
    height: 2px;
    width: 3rem;
    background-color: var(--primary-color);
    transform: scaleX(0.5);
    transform-origin: left;
    transition: var(--transition);
}

.vertente-card:hover .vertente-line {
    transform: scaleX(1);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: var(--background-card);
    border: 1px solid var(--border);
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Gallery Section */
.gallery {
    background-color: var(--background);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
    grid-auto-flow: dense;
    align-items: start;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 0;
    background-color: var(--background-card);
    transition: var(--transition-smooth);
    cursor: pointer;
    width: 100%;
    contain: layout style paint;
    box-shadow: var(--shadow-sm);
}

.gallery-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    will-change: transform;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    will-change: transform;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item.ratio-16-9 {
    aspect-ratio: 16 / 9;
    grid-column: span 2;
}

.gallery-item.ratio-9-16 {
    aspect-ratio: 9 / 16;
    grid-row: span 2;
}

.gallery-item.ratio-1-1 {
    aspect-ratio: 1 / 1;
}

@media (max-width: 768px) {
    .gallery-item.ratio-16-9 {
        grid-column: span 1;
    }
    
    .gallery-item.ratio-9-16 {
        grid-row: span 1;
    }
}

.gallery-item.image-error::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--background-card) 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item.image-error::after {
    content: '\e3f4';
    font-family: 'Material Symbols Sharp';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--muted-foreground);
    font-size: 3rem;
    text-align: center;
    z-index: 1;
    opacity: 0.5;
}


.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--background-card) 0%, #1a1a1a 100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.03);
}

.gallery-placeholder .material-symbols-sharp {
    font-size: 3rem;
    color: var(--muted-foreground);
}

/* Timeline Section */
.timeline {
    background-color: var(--background);
    overflow: visible;
}

.timeline-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: visible;
}

.timeline-container {
    position: relative;
    width: 100%;
    padding: 3rem 1.5rem;
    overflow: visible;
    z-index: 1;
    min-height: 200px;
}

.timeline-line {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background: linear-gradient(
        to right,
        var(--primary-color) 0%,
        var(--primary-color) 80%,
        rgba(0, 255, 136, 0.4) 92%,
        rgba(0, 255, 136, 0.2) 97%,
        transparent 100%
    );
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

/* Ajustar linha do tempo para parar antes do ano futuro */
.timeline-container:has(.timeline-year-future) .timeline-line {
    right: calc(1.5rem + 6%);
}

.timeline-container:has(.timeline-year-future) .timeline-items {
    padding-right: 6%;
}

.timeline-items {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    width: 100%;
    z-index: 2;
    padding: 0;
    overflow-x: visible;
    overflow-y: visible;
}

.timeline-year-group {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex: 1;
    min-height: 140px;
    padding: 0;
}

.timeline-year-line {
    position: absolute;
    left: 0;
    top: -2.5rem;
    bottom: calc(50% + 1px);
    width: 2px;
    background-color: var(--primary-color);
    opacity: 0.6;
    z-index: 0;
    transform: translateX(-50%);
}

/* Ajustar linhas dos anos conforme posição do label */
.timeline-year-group:nth-of-type(odd) .timeline-year-line {
    top: -2.5rem;
    bottom: calc(50% + 1px);
}

.timeline-year-group:nth-of-type(even) .timeline-year-line {
    top: calc(50% + 1px);
    bottom: -2.5rem;
}

/* Estilos para anos futuros */
.timeline-year-future {
    opacity: 0.5;
    pointer-events: none;
}

.timeline-year-label-future {
    background: #3a3a3a;
    background-color: #3a3a3a;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid #4a4a4a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
    left: 0;
}

/* Garantir que o ano futuro siga a intercalação (2027 é ímpar, então em cima) */
.timeline-year-future:nth-of-type(odd) .timeline-year-label-future {
    top: -2.5rem;
    bottom: auto;
}

.timeline-year-future:nth-of-type(even) .timeline-year-label-future {
    top: auto;
    bottom: -2.5rem;
}

.timeline-year-line-future {
    background: linear-gradient(to bottom, rgba(128, 128, 128, 0.2) 0%, rgba(64, 64, 64, 0.3) 100%);
    opacity: 0.3;
    left: 0;
}

.timeline-year-future:nth-of-type(odd) .timeline-year-line-future {
    top: -2.5rem;
    bottom: calc(50% + 1px);
}

.timeline-year-future:nth-of-type(even) .timeline-year-line-future {
    top: calc(50% + 1px);
    bottom: -2.5rem;
}

.timeline-year-items {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-start;
    align-content: center;
    width: 100%;
    padding: 0;
    position: relative;
    flex-wrap: nowrap;
    overflow-x: visible;
    overflow-y: visible;
}

/* Scroll horizontal em telas pequenas */
@media (max-width: 1024px) {
    .timeline-wrapper {
        overflow-x: auto;
        overflow-y: visible;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 255, 136, 0.3) transparent;
        position: relative;
    }
    
    .timeline-wrapper::-webkit-scrollbar {
        height: 8px;
    }
    
    .timeline-wrapper::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 4px;
    }
    
    .timeline-wrapper::-webkit-scrollbar-thumb {
        background-color: rgba(0, 255, 136, 0.4);
        border-radius: 4px;
    }
    
    .timeline-wrapper::-webkit-scrollbar-thumb:hover {
        background-color: rgba(0, 255, 136, 0.6);
    }
    
    .timeline-container {
        overflow-x: visible;
        overflow-y: visible;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        min-height: 450px;
        height: auto;
        padding-bottom: 3rem;
        padding-top: 3rem;
        cursor: grab;
        width: max-content;
        min-width: 100%;
        position: relative;
    }
    
    .timeline-container:active {
        cursor: grabbing;
    }
    
    .timeline-items {
        min-width: max-content;
        width: max-content;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    
    .timeline-year-group {
        flex-shrink: 0;
        min-width: 140px;
        padding: 0 0.5rem;
        align-items: flex-start;
    }
    
    .timeline-year-items {
        min-width: max-content;
        width: max-content;
        flex-wrap: nowrap;
        gap: 0.25rem;
        justify-content: flex-start;
        padding: 0;
    }
    
    /* Garantir que os cards não sejam cortados */
    .timeline-content {
        z-index: 1000;
        position: fixed;
        transform: translateX(-50%);
    }
    
    .timeline-item:hover .timeline-content {
        position: fixed;
    }
}

.timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    align-self: center;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    min-width: fit-content;
}

.timeline-item:hover {
    z-index: 100;
}

/* Todos os marcadores alinhados verticalmente */
.timeline-item .timeline-marker {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.8);
}

/* Ajustar conteúdo para marcadores em cima */
.timeline-item:nth-child(odd) .timeline-content {
    top: auto;
    bottom: 100%;
    transform: translateX(-50%) translateY(-12px);
}

.timeline-item:nth-child(odd):hover .timeline-content {
    transform: translateX(-50%) translateY(-18px);
}


.timeline-year-label {
    position: absolute;
    top: -2.5rem;
    left: 0;
    transform: translateX(-50%);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--background);
    background-color: var(--primary-color);
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--primary-color);
    z-index: 1;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 255, 136, 0.2);
}

/* Intercalar labels dos anos: ímpares em cima, pares em baixo */
.timeline-year-group:nth-of-type(odd) .timeline-year-label {
    top: -2.5rem;
    bottom: auto;
}

.timeline-year-group:nth-of-type(even) .timeline-year-label {
    top: auto;
    bottom: -2.5rem;
}

.timeline-marker {
    position: relative;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 2px solid var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    margin: 0;
    flex-shrink: 0;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.8);
    box-shadow: 0 0 0 8px rgba(0, 255, 136, 0.25), 0 0 0 12px rgba(0, 255, 136, 0.15);
    background-color: var(--primary-hover);
    transition: var(--transition-smooth);
}

/* Destacar o último marco da timeline com efeito de pulsar e hover permanente */
.timeline-year-group:not(.timeline-year-future):last-of-type .timeline-year-items .timeline-item:last-child .timeline-marker {
    animation: pulseMarker 2s ease-in-out infinite;
    box-shadow: 0 0 0 8px rgba(0, 255, 136, 0.4);
    background-color: var(--primary-hover);
}

.timeline-year-group:not(.timeline-year-future):last-of-type .timeline-year-items .timeline-item:last-child .timeline-marker {
    transform: scale(1.3);
    animation: pulseMarkerHighlight 2s ease-in-out infinite;
}

/* Mostrar conteúdo do último marco permanentemente */
.timeline-year-group:not(.timeline-year-future):last-of-type .timeline-year-items .timeline-item:last-child {
    z-index: 100;
}

.timeline-year-group:not(.timeline-year-future):last-of-type .timeline-year-items .timeline-item:last-child .timeline-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1000;
}

.timeline-year-group:not(.timeline-year-future):last-of-type .timeline-year-items .timeline-item:last-child:nth-child(odd) .timeline-content {
    transform: translateX(-50%) translateY(-18px);
}

.timeline-year-group:not(.timeline-year-future):last-of-type .timeline-year-items .timeline-item:last-child:nth-child(even) .timeline-content {
    transform: translateX(-50%) translateY(18px);
}

.timeline-year-group:not(.timeline-year-future):last-of-type .timeline-year-items .timeline-item:last-child .timeline-title {
    color: var(--primary-color);
}

/* Animação de pulsar */
@keyframes pulseMarker {
    0%, 100% {
        box-shadow: 0 0 0 8px rgba(0, 255, 136, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(0, 255, 136, 0.2);
    }
}

@keyframes pulseMarkerHighlight {
    0%, 100% {
        transform: scale(1.3);
        box-shadow: 0 0 0 8px rgba(0, 255, 136, 0.4);
    }
    50% {
        transform: scale(1.4);
        box-shadow: 0 0 0 12px rgba(0, 255, 136, 0.2);
    }
}

.timeline-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    width: 300px;
    max-width: calc(100vw - 4rem);
    background: var(--card-gradient);
    background-color: var(--background-card);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition-smooth);
    z-index: 1;
    text-align: left;
    margin-top: 0.5rem;
    box-shadow: var(--shadow-xl);
    word-wrap: break-word;
    overflow-wrap: break-word;
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
}

.timeline-item:hover .timeline-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(18px);
    pointer-events: auto;
    z-index: 1000;
}


.timeline-date {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: rgba(0, 255, 136, 0.15);
    color: var(--primary-color);
    border: 1px solid rgba(0, 255, 136, 0.3);
    margin-bottom: 0.875rem;
}

.timeline-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
    color: var(--foreground);
    transition: var(--transition);
    line-height: 1.3;
}

.timeline-item:hover .timeline-title {
    color: var(--primary-color);
}

.timeline-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    margin: 0;
}

.timeline-footer {
    margin-top: 0.5rem;
    text-align: center;
    padding-top: 0.5rem;
}

.timeline-milestone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}


.timeline-trophy-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
    position: relative;
}

.timeline-trophy-icon .material-symbols-sharp {
    font-size: 56px;
    font-weight: 200;
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' -25, 'opsz' 20;
}


.timeline-footer-text {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--foreground);
    line-height: 1.5;
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.timeline-years-highlight {
    color: var(--primary-color);
    font-weight: 800;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    letter-spacing: -0.02em;
}

@media (max-width: 1024px) {
    .timeline-wrapper {
        overflow-x: auto;
        overflow-y: visible;
        padding-bottom: 1rem;
    }
    
    .timeline-container {
        padding: 2.5rem 1rem;
        padding-right: 1rem;
        min-height: 450px;
        width: max-content;
        min-width: 100%;
        overflow-x: visible;
        overflow-y: visible;
    }
    
    .timeline-line {
        left: 1rem;
        right: 1rem;
        top: 50%;
    }
    
    .timeline-year-group {
        min-height: 140px;
        flex-shrink: 0;
        min-width: 140px;
        padding: 0 0.5rem;
    }
    
    .timeline-items {
        min-width: max-content;
        width: max-content;
        gap: 0.5rem;
    }
    
    .timeline-year-items {
        min-width: max-content;
        width: max-content;
        gap: 0.25rem;
        padding: 0;
    }
    
    .timeline-year-label {
        font-size: 0.75rem;
        padding: 0.25rem 0.625rem;
        white-space: nowrap;
        left: 0;
    }
    
    .timeline-year-group:nth-of-type(odd) .timeline-year-label {
        top: -2rem;
        bottom: auto;
    }
    
    .timeline-year-group:nth-of-type(even) .timeline-year-label {
        top: auto;
        bottom: -2rem;
    }
    
    .timeline-year-line {
        opacity: 0.5;
        left: 0;
    }
    
    .timeline-year-group:nth-of-type(odd) .timeline-year-line {
        top: -2rem;
        bottom: calc(50% + 1px);
    }
    
    .timeline-year-group:nth-of-type(even) .timeline-year-line {
        top: calc(50% + 1px);
        bottom: -2rem;
    }
    
    .timeline-year-future:nth-of-type(odd) .timeline-year-label-future {
        top: -2rem;
        bottom: auto;
    }
    
    .timeline-year-future:nth-of-type(even) .timeline-year-label-future {
        top: auto;
        bottom: -2rem;
    }
    
    .timeline-year-future:nth-of-type(odd) .timeline-year-line-future {
        top: -2rem;
        bottom: calc(50% + 1px);
    }
    
    .timeline-year-future:nth-of-type(even) .timeline-year-line-future {
        top: calc(50% + 1px);
        bottom: -2rem;
    }
    
    .timeline-content {
        width: 280px;
        max-width: calc(100vw - 2rem);
        padding: 1.25rem;
        position: fixed;
        z-index: 10000;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        transform: translateX(-50%) translateY(-12px);
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        transform: translateX(-50%) translateY(12px);
    }
    
    .timeline-item:hover .timeline-content {
        position: fixed;
    }
    
    .timeline-footer {
        margin-top: 0.5rem;
        padding-top: 0.375rem;
    }
    
    .timeline-milestone {
        gap: 1rem;
    }
    
    .timeline-trophy-icon .material-symbols-sharp {
        font-size: 48px;
    }
    
    .section-description-wrapper {
        gap: 0.75rem;
    }
    
    .section-description-icon .material-symbols-sharp {
        font-size: 48px;
        font-weight: 700;
        font-variation-settings: 'FILL' 0, 'wght' 700, 'GRAD' -25, 'opsz' 20;
    }
    
}

@media (max-width: 768px) {
    .timeline-wrapper {
        overflow-x: auto;
        overflow-y: visible;
        padding-bottom: 1rem;
    }
    
    .timeline-container {
        padding: 2rem 0.75rem;
        padding-right: 0.75rem;
        min-height: 400px;
        width: max-content;
        min-width: 100%;
        overflow-x: visible;
        overflow-y: visible;
    }
    
    .timeline-line {
        left: 0.75rem;
        right: 0.75rem;
        top: 50%;
    }
    
    .timeline-items {
        min-width: max-content;
        width: max-content;
        gap: 0.25rem;
    }
    
    .timeline-year-items {
        min-width: max-content;
        width: max-content;
        gap: 0.125rem;
        padding: 0;
        justify-content: flex-start;
    }
    
    .timeline-year-group {
        min-height: 120px;
        flex-shrink: 0;
        min-width: 120px;
        padding: 0 0.375rem;
        align-items: flex-start;
    }
    
    .timeline-content {
        width: calc(100vw - 2rem);
        max-width: 280px;
        padding: 1rem;
        position: fixed;
        z-index: 10000;
        left: 50% !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        transform: translateX(-50%) translateY(-12px);
        bottom: auto;
        top: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        transform: translateX(-50%) translateY(12px);
        top: auto;
        bottom: auto;
    }
    
    .timeline-item:hover .timeline-content {
        position: fixed;
    }
    
    .timeline-year-label {
        font-size: 0.6875rem;
        padding: 0.2rem 0.5rem;
        white-space: nowrap;
        left: 0;
    }
    
    .timeline-year-group:nth-of-type(odd) .timeline-year-label {
        top: -1.75rem;
        bottom: auto;
    }
    
    .timeline-year-group:nth-of-type(even) .timeline-year-label {
        top: auto;
        bottom: -1.75rem;
    }
    
    .timeline-year-line {
        opacity: 0.4;
        left: 0;
    }
    
    .timeline-year-group:nth-of-type(odd) .timeline-year-line {
        top: -1.75rem;
        bottom: calc(50% + 1px);
    }
    
    .timeline-year-group:nth-of-type(even) .timeline-year-line {
        top: calc(50% + 1px);
        bottom: -1.75rem;
    }
    
    .timeline-year-future:nth-of-type(odd) .timeline-year-label-future {
        top: -1.75rem;
        bottom: auto;
    }
    
    .timeline-year-future:nth-of-type(even) .timeline-year-label-future {
        top: auto;
        bottom: -1.75rem;
    }
    
    .timeline-year-future:nth-of-type(odd) .timeline-year-line-future {
        top: -1.75rem;
        bottom: calc(50% + 1px);
    }
    
    .timeline-year-future:nth-of-type(even) .timeline-year-line-future {
        top: calc(50% + 1px);
        bottom: -1.75rem;
    }
    
    .timeline-title {
        font-size: 0.9375rem;
    }
    
    .timeline-description {
        font-size: 0.75rem;
        line-height: 1.6;
    }
    
    .timeline-footer {
        margin-top: 0.375rem;
        padding-top: 0.375rem;
    }
    
    .timeline-milestone {
        gap: 0.75rem;
        flex-direction: column;
    }
    
    .timeline-trophy-icon .material-symbols-sharp {
        font-size: 40px;
    }
    
    .section-description-wrapper {
        gap: 0.625rem;
        flex-wrap: wrap;
    }
    
    .section-description-icon .material-symbols-sharp {
        font-size: 40px;
        font-weight: 700;
        font-variation-settings: 'FILL' 0, 'wght' 700, 'GRAD' -25, 'opsz' 20;
    }
    
    .timeline-footer-text {
        font-size: clamp(1rem, 2.5vw, 1.375rem);
    }
    
    #timeline .section-description {
        font-size: clamp(1rem, 2.5vw, 1.375rem);
    }
    
    .timeline-years-highlight {
        font-size: clamp(1.25rem, 3.5vw, 1.875rem);
    }
    
}

@media (max-width: 480px) {
    .timeline-wrapper {
        overflow-x: auto;
        overflow-y: visible;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .timeline-container {
        padding: 1.5rem 0.5rem;
        min-height: 350px;
        width: max-content;
        min-width: 100%;
        overflow-x: visible;
        overflow-y: visible;
    }
    
    .timeline-line {
        left: 0.5rem;
        right: 0.5rem;
        top: 50%;
    }
    
    .timeline-items {
        min-width: max-content;
        width: max-content;
        flex-wrap: nowrap;
        gap: 0.125rem;
    }
    
    .timeline-year-items {
        min-width: max-content;
        width: max-content;
        flex-wrap: nowrap;
        gap: 0.125rem;
        padding: 0;
        justify-content: flex-start;
    }
    
    .timeline-year-group {
        min-height: 100px;
        flex-shrink: 0;
        min-width: 100px;
        max-width: none;
        padding: 0 0.25rem;
        align-items: flex-start;
    }
    
    .timeline-content {
        width: calc(100vw - 1.5rem);
        max-width: 260px;
        padding: 0.875rem;
        font-size: 0.875rem;
        position: fixed;
        z-index: 10000;
        left: 50% !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        transform: translateX(-50%) translateY(-10px);
        bottom: auto;
        top: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        transform: translateX(-50%) translateY(10px);
        top: auto;
        bottom: auto;
    }
    
    .timeline-item:hover .timeline-content {
        position: fixed;
    }
    
    .timeline-year-label {
        font-size: 0.625rem;
        padding: 0.15rem 0.4rem;
        white-space: nowrap;
        left: 0;
    }
    
    .timeline-year-group:nth-of-type(odd) .timeline-year-label {
        top: -1.5rem;
        bottom: auto;
    }
    
    .timeline-year-group:nth-of-type(even) .timeline-year-label {
        top: auto;
        bottom: -1.5rem;
    }
    
    .timeline-year-line {
        opacity: 0.3;
        left: 0;
    }
    
    .timeline-year-group:nth-of-type(odd) .timeline-year-line {
        top: -1.5rem;
        bottom: calc(50% + 1px);
    }
    
    .timeline-year-group:nth-of-type(even) .timeline-year-line {
        top: calc(50% + 1px);
        bottom: -1.5rem;
    }
    
    .timeline-year-future:nth-of-type(odd) .timeline-year-label-future {
        top: -1.5rem;
        bottom: auto;
    }
    
    .timeline-year-future:nth-of-type(even) .timeline-year-label-future {
        top: auto;
        bottom: -1.5rem;
    }
    
    .timeline-year-future:nth-of-type(odd) .timeline-year-line-future {
        top: -1.5rem;
        bottom: calc(50% + 1px);
    }
    
    .timeline-year-future:nth-of-type(even) .timeline-year-line-future {
        top: calc(50% + 1px);
        bottom: -1.5rem;
    }
    
    .timeline-marker {
        width: 10px;
        height: 10px;
        border-width: 1.5px;
    }
    
    .timeline-item:hover .timeline-marker {
        transform: scale(1.5);
        box-shadow: 0 0 0 4px rgba(0, 255, 136, 0.25);
    }
    
    .timeline-title {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }
    
    .timeline-description {
        font-size: 0.6875rem;
        line-height: 1.5;
    }
    
    .timeline-date {
        font-size: 0.625rem;
        padding: 0.2rem 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .timeline-footer {
        margin-top: 0.25rem;
        padding-top: 0.125rem;
    }
    
    .timeline-milestone {
        gap: 0.625rem;
        flex-direction: column;
    }
    
    .timeline-trophy-icon .material-symbols-sharp {
        font-size: 36px;
    }
    
    .section-description-wrapper {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .section-description-icon .material-symbols-sharp {
        font-size: 36px;
        font-weight: 700;
        font-variation-settings: 'FILL' 0, 'wght' 700, 'GRAD' -25, 'opsz' 20;
    }
    
    .timeline-footer-text {
        font-size: clamp(0.9375rem, 2vw, 1.125rem);
    }
    
    #timeline .section-description {
        font-size: clamp(0.9375rem, 2vw, 1.125rem);
    }
    
    .timeline-years-highlight {
        font-size: clamp(1.125rem, 3vw, 1.5rem);
    }
}

@media (max-width: 360px) {
    .timeline-container {
        padding: 1.25rem 0.375rem;
        min-height: 320px;
    }
    
    .timeline-year-group {
        min-width: 90px;
        padding: 0 0.125rem;
    }
    
    .timeline-year-items {
        justify-content: space-evenly;
        gap: 0.0625rem;
    }
    
    .timeline-content {
        width: calc(100vw - 1rem);
        max-width: 240px;
        padding: 0.75rem;
    }
    
    .timeline-year-label {
        font-size: 0.5625rem;
        padding: 0.125rem 0.375rem;
    }
    
    .timeline-marker {
        width: 8px;
        height: 8px;
    }
    
    .timeline-title {
        font-size: 0.8125rem;
    }
    
    .timeline-description {
        font-size: 0.625rem;
    }
}

/* Roadmap Section */
.roadmap {
    background-color: var(--background);
}

.roadmap-video {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.roadmap-video .video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: var(--background-card);
    border: 1px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.roadmap-video .video-wrapper:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.roadmap-video .video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    text-decoration: none;
}

.roadmap-video .video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.roadmap-video .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.roadmap-video .video-wrapper:hover .video-thumbnail img {
    transform: scale(1.01);
}

.roadmap-video .video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.roadmap-video .video-wrapper:hover .video-play-overlay {
    background-color: rgba(0, 0, 0, 0.4);
}

.roadmap-video .play-button {
    width: 68px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.roadmap-video .video-wrapper:hover .play-button {
    transform: scale(1.05);
}

.roadmap-video .play-button svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

/* Kanban Board */
.roadmap-kanban {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin: 0 auto;
    max-width: 1400px;
    align-items: start;
}

.kanban-column {
    background: var(--card-gradient);
    background-color: var(--background-card);
    border: 1px solid var(--border);
    border-radius: 0;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    max-height: calc(100vh - 300px);
    box-shadow: var(--shadow-sm);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
}

.kanban-column-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.02);
}

.kanban-column-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted-foreground);
    margin: 0;
}

.kanban-column-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border);
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted-foreground);
}

/* Contador Planejado - Amarelo */
.roadmap-kanban .kanban-column:first-child .kanban-column-count {
    background-color: rgba(234, 179, 8, 0.2);
    border-color: rgba(234, 179, 8, 0.3);
    color: #eab308;
}

/* Contador Em Desenvolvimento - Roxo */
.roadmap-kanban .kanban-column:nth-child(2) .kanban-column-count {
    background-color: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.3);
    color: #a855f7;
}

/* Contador Implementado - Verde */
.roadmap-kanban .kanban-column:last-child .kanban-column-count {
    background-color: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.kanban-column-cards {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kanban-column-cards::-webkit-scrollbar {
    width: 8px;
}

.kanban-column-cards::-webkit-scrollbar-track {
    background: transparent;
}

.kanban-column-cards::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0;
}

.kanban-column-cards::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.kanban-card {
    background: var(--card-gradient);
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 1rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    box-shadow: var(--shadow-xs);
}

.kanban-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background-color: var(--background-card);
}

/* Cards Planejado - Hover Amarelo */
.roadmap-kanban .kanban-column:first-child .kanban-card:hover {
    border-color: rgba(234, 179, 8, 0.6);
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.2);
}

/* Cards Em Desenvolvimento - Hover Roxo */
.roadmap-kanban .kanban-column:nth-child(2) .kanban-card:hover {
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
}

/* Cards Implementado - Hover Verde */
.roadmap-kanban .kanban-column:last-child .kanban-card:hover {
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.kanban-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.kanban-card-label {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0;
    border: 1px solid transparent;
}

.kanban-card-title {
    font-size: 0.9375rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.kanban-card-description {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.kanban-card-footer {
    margin-top: auto;
}

.kanban-progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.kanban-progress-bar {
    flex: 1;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.kanban-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--primary-hover));
    border-radius: 0;
    transition: width 0.5s ease;
}

.kanban-progress-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted-foreground);
    min-width: 40px;
    text-align: right;
}

.roadmap-update {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: monospace;
    margin-top: 2rem;
}

/* Responsive Kanban */
@media (max-width: 1024px) {
    .roadmap-kanban {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .kanban-column:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .roadmap-kanban {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .kanban-column {
        min-height: auto;
        max-height: none;
    }
    
    .kanban-column:last-child {
        grid-column: 1;
        max-width: 100%;
    }
    
    .kanban-column-cards {
        max-height: 500px;
    }
    
    .kanban-card {
        padding: 0.875rem;
    }
    
    .kanban-card-title {
        font-size: 0.875rem;
    }
    
    .kanban-card-description {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .kanban-column-header {
        padding: 1rem;
    }
    
    .kanban-column-cards {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .kanban-card {
        padding: 0.75rem;
    }
    
    .kanban-progress {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .kanban-progress-text {
        text-align: left;
        min-width: auto;
    }
}

/* Events Calendar Section */
.events {
    background-color: var(--background);
}

.cal-calendar {
    background: var(--card-gradient);
    background-color: var(--background-card);
    border: 1px solid var(--border);
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
}

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

.cal-calendar-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cal-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
    cursor: pointer;
    transition: var(--transition);
}

.cal-nav-btn:hover {
    background-color: rgba(0, 255, 136, 0.1);
    border-color: var(--border-hover);
    color: var(--primary-color);
}

.cal-nav-btn .material-symbols-sharp {
    font-size: 20px;
}

.cal-month-year {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    min-width: 160px;
    text-align: center;
}

.cal-current-date {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}

/* Calendar Table */
.cal-calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.cal-calendar-table th {
    background-color: var(--background);
    color: var(--muted-foreground);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 0.5rem;
    text-align: center;
    border: 1px solid var(--border);
}

.cal-calendar-table td {
    background-color: var(--background-card);
    border: 1px solid var(--border);
    vertical-align: top;
    padding: 0;
    height: 110px;
    position: relative;
    transition: var(--transition);
}

.cal-day-cell {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0.375rem;
}

.cal-day-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.cal-day-cell.other-month {
    opacity: 0.35;
}

.cal-day-cell.other-month .cal-day-number {
    color: var(--muted-foreground);
}

.cal-day-cell.today {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Destacar coluna do dia da semana atual */
.cal-calendar-table td.current-weekday {
    background-color: rgba(255, 255, 255, 0.025);
}

.cal-day-cell.today .cal-day-number {
    color: var(--foreground);
    font-weight: 700;
}

.cal-events-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    overflow: hidden;
}

/* Event Bars */
.cal-event {
    display: block;
    padding: 3px 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    line-height: 1.3;
    transition: var(--transition);
}

.cal-event:hover {
    opacity: 0.85;
    transform: translateX(2px);
}

/* Event Colors - usando cores do site */
.cal-event.event-green {
    background-color: rgba(0, 255, 136, 0.25);
    border-left: 3px solid var(--primary-color);
}

.cal-event.event-blue {
    background-color: rgba(59, 130, 246, 0.25);
    border-left: 3px solid #3b82f6;
}

.cal-event.event-orange {
    background-color: rgba(249, 115, 22, 0.25);
    border-left: 3px solid #f97316;
}

.cal-event.event-red {
    background-color: rgba(239, 68, 68, 0.25);
    border-left: 3px solid #ef4444;
}

.cal-event.event-purple {
    background-color: rgba(168, 85, 247, 0.25);
    border-left: 3px solid #a855f7;
}

.cal-event.event-gray {
    background-color: rgba(156, 163, 175, 0.25);
    border-left: 3px solid #9ca3af;
}

.cal-event.event-yellow {
    background-color: rgba(234, 179, 8, 0.25);
    border-left: 3px solid #eab308;
}

.cal-event.event-pink {
    background-color: rgba(236, 72, 153, 0.25);
    border-left: 3px solid #ec4899;
}

.cal-event.event-teal {
    background-color: rgba(20, 184, 166, 0.25);
    border-left: 3px solid #14b8a6;
}

/* Event with asterisk (starts on this day) */
.cal-event.event-start::before {
    content: "★ ";
    font-size: 0.5rem;
}

/* Event Tooltip */
.event-tooltip {
    position: fixed;
    background-color: var(--background-card);
    border: 1px solid var(--border);
    padding: 1rem 1.25rem;
    max-width: 350px;
    z-index: 10000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.event-tooltip.active {
    display: block;
}

.event-tooltip-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.event-tooltip-desc {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Calendar Responsive */
@media (max-width: 900px) {
    .cal-calendar-table td {
        height: 95px;
    }
    
    .cal-event {
        font-size: 0.5625rem;
        padding: 2px 4px;
    }
    
    .cal-day-number {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .cal-calendar-header {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .cal-calendar-table td {
        height: 85px;
    }
    
    .cal-event {
        font-size: 0.5rem;
        padding: 2px 3px;
    }
    
    .cal-day-number {
        font-size: 0.6875rem;
    }
}

@media (max-width: 480px) {
    .cal-calendar-table th {
        font-size: 0.5625rem;
        padding: 0.5rem 0.25rem;
    }
    
    .cal-calendar-table td {
        height: 75px;
    }
    
    .cal-day-cell {
        padding: 0.25rem;
    }
    
    .cal-event {
        font-size: 0.4375rem;
        padding: 1px 2px;
        border-left-width: 2px;
    }
    
    .cal-day-number {
        font-size: 0.625rem;
    }
    
    .cal-month-year {
        font-size: 1rem;
        min-width: 130px;
    }
    
    .cal-nav-btn {
        width: 28px;
        height: 28px;
    }
}

/* Discord Section */
.discord {
    background-color: var(--background);
}

.discord-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.discord-info {
    max-width: none;
}

.discord-description {
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.social-section {
    margin-bottom: 2rem;
}

.social-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

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

.social-link {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 0;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--primary-color);
    border-color: var(--border-hover);
    background-color: rgba(0, 255, 136, 0.1);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.discord-widget {
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    width: 100%;
}

.discord-widget iframe {
    border: none;
    border-radius: 0;
    max-width: 100%;
    width: 100%;
    max-width: 350px;
    height: 500px;
    pointer-events: auto;
}

/* Footer */
.footer {
    background: var(--card-gradient);
    background-color: var(--background-card);
    border-top: 1px solid var(--border);
    padding: var(--spacing-4xl) 0 var(--spacing-xl) 0;
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: var(--spacing-4xl);
    margin-bottom: var(--spacing-3xl);
    align-items: start;
}

.footer-left {
    max-width: 400px;
}

.footer-logo {
    margin-bottom: var(--spacing-lg);
}

.footer-logo-link {
    font-size: 2rem;
    font-weight: 800;
    color: var(--foreground);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: var(--transition-smooth);
    display: inline-block;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

.footer-logo-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.75;
    letter-spacing: -0.005em;
    margin: 0;
}

.footer-right {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--foreground);
    margin-bottom: var(--spacing-lg);
    font-feature-settings: 'kern' 1;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-link {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition-smooth);
    line-height: 1.6;
}

.footer-link:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border);
    gap: var(--spacing-xl);
}

.footer-bottom-left {
    flex: 1;
    max-width: 600px;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.footer-disclaimer {
    font-size: 0.6875rem;
    color: var(--muted-foreground-light);
    line-height: 1.6;
    margin: 0;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition-smooth);
    border-radius: 0;
}

.footer-social-link:hover {
    color: var(--primary-color);
    border-color: var(--border-hover);
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.scroll-to-top {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-card);
    border: 1px solid var(--border);
    color: var(--muted-foreground);
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    box-shadow: var(--shadow-md);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    color: var(--primary-color);
    border-color: var(--border-hover);
    background-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.scroll-to-top .material-symbols-sharp {
    font-size: 24px;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
    }
    
    .footer-right {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .footer-bottom-left {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: var(--spacing-3xl) 0 var(--spacing-lg) 0;
    }
    
    .footer-content {
        gap: var(--spacing-2xl);
        margin-bottom: var(--spacing-2xl);
    }
    
    .footer-right {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .scroll-to-top {
        bottom: var(--spacing-lg);
        right: var(--spacing-lg);
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: var(--spacing-2xl) 0 var(--spacing-md) 0;
    }
    
    .footer-logo-link {
        font-size: 1.75rem;
    }
    
    .footer-description {
        font-size: 0.8125rem;
    }
    
    .footer-column-title {
        font-size: 0.6875rem;
        margin-bottom: var(--spacing-md);
    }
    
    .footer-link {
        font-size: 0.8125rem;
    }
    
    .footer-copyright,
    .footer-disclaimer {
        font-size: 0.625rem;
    }
    
    .scroll-to-top {
        bottom: var(--spacing-md);
        right: var(--spacing-md);
        width: 40px;
        height: 40px;
    }
    
    .scroll-to-top .material-symbols-sharp {
        font-size: 20px;
    }
}

/* Allow text selection in input and textarea fields */
input,
textarea,
[contenteditable="true"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content,
    .discord-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        order: 3;
    }

    .nav-content {
        justify-content: space-between;
        gap: 1rem;
    }

    .logo {
        order: 1;
        flex-shrink: 0;
    }

    .logo a {
        font-size: 1.25rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: rgba(13, 13, 13, 0.98);
        width: 100%;
        padding: 1.5rem 0;
        gap: 0;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 999;
        height: calc(100vh - 70px);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        order: 2;
    }

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

    .nav-menu .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
    }

    .nav-actions {
        order: 4;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    .btn-nav {
        display: none;
    }
    
    .nav-actions .btn-nav:last-of-type {
        display: inline-flex;
    }
    
    .user-menu {
        order: -1;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 3rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .gallery-item.ratio-16-9 {
        grid-column: span 1;
    }

    .gallery-item.ratio-9-16 {
        grid-row: span 1;
    }

    .gallery-item img {
        object-fit: cover;
    }

    .discord-content {
        gap: 2rem;
    }

    .discord-widget {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .section-title {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
        line-height: 1.3;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-description {
        font-size: 0.875rem;
    }

    .roadmap-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .roadmap-video {
        margin-bottom: 2rem;
    }

    .about-content,
    .discord-content {
        gap: 2rem;
    }

    .hero-subtitle {
        margin-bottom: 1.5rem;
    }

    .hero-badge {
        font-size: 0.625rem;
        padding: 0.375rem 0.75rem;
        margin-bottom: 1rem;
    }

    .gallery-grid {
        gap: 0.75rem;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-link {
        width: 48px;
        height: 48px;
    }

    .footer {
        padding: 2rem 0;
    }
}

/* Feedbacks Section */
.feedbacks {
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

/* Header do carrossel com título e navegação */
.feedbacks-header {
    position: relative;
    text-align: center;
}

.feedbacks-header-text {
    width: 100%;
}

.feedbacks-nav {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 0.5rem;
}

.feedbacks-nav-btn {
    width: 48px;
    height: 48px;
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
    position: relative;
    z-index: 20;
    flex-shrink: 0;
}

.feedbacks-nav-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--background);
}

.feedbacks-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.feedbacks-nav-btn:disabled:hover {
    background-color: transparent;
    border-color: var(--border);
    color: var(--text-secondary);
}

.feedbacks-nav-btn .material-symbols-sharp {
    font-size: 1.5rem;
}

.feedbacks-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg) 0;
    min-height: 200px;
    height: auto;
}

.feedbacks-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    flex: 1;
    gap: 1rem;
}


.feedback-card-spotlight {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    transform: scale(1);
    filter: blur(0);
    opacity: 1;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
}

/* Animações de transição entre cards */
.feedback-card-spotlight.feedback-exit {
    animation: feedbackExit 0.3s ease-out forwards;
}

.feedback-card-spotlight.feedback-exit-left {
    animation: feedbackExitLeft 0.3s ease-out forwards;
}

.feedback-card-spotlight.feedback-exit-right {
    animation: feedbackExitRight 0.3s ease-out forwards;
}

.feedback-card-spotlight.feedback-enter {
    animation: feedbackEnter 0.4s ease-out forwards;
}

.feedback-card-spotlight.feedback-enter-left {
    animation: feedbackEnterLeft 0.4s ease-out forwards;
}

.feedback-card-spotlight.feedback-enter-right {
    animation: feedbackEnterRight 0.4s ease-out forwards;
}

@keyframes feedbackExit {
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

@keyframes feedbackExitLeft {
    to {
        opacity: 0;
        transform: translateX(-30px) scale(0.95);
    }
}

@keyframes feedbackExitRight {
    to {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }
}

@keyframes feedbackEnter {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes feedbackEnterLeft {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes feedbackEnterRight {
    from {
        opacity: 0;
        transform: translateX(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.feedbacks-background {
    position: absolute;
    inset: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    pointer-events: none;
    z-index: 1;
    padding: 0 var(--spacing-xl);
    overflow: hidden;
}

.feedback-card {
    background-color: var(--background-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem 1.75rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    gap: 0.625rem;
    box-shadow: var(--shadow-lg);
    width: 320px;
    min-width: 320px;
    max-width: 320px;
    height: 140px;
    min-height: 140px;
    max-height: 140px;
    flex-shrink: 0;
    overflow: visible;
}

/* Card destacado no centro */
.feedback-card-spotlight .feedback-card {
    transform: scale(1);
    filter: blur(0);
    opacity: 1;
    box-shadow: var(--shadow-2xl);
    border-color: var(--border-hover);
    width: 600px;
    min-width: 600px;
    max-width: 600px;
    height: auto;
    min-height: 160px;
    max-height: none;
    padding: 1.75rem 2.25rem;
    gap: 0.875rem;
}

/* Cards de fundo */
.feedbacks-background .feedback-card {
    transform: scale(0.8);
    filter: blur(4px);
    opacity: 0.4;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    height: 120px;
    min-height: 120px;
    max-height: 120px;
    padding: 1rem 1.25rem;
    gap: 0.5rem;
    overflow: hidden;
}

.feedback-quote {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--foreground);
    line-height: 1.4;
    font-style: italic;
    letter-spacing: -0.005em;
    margin: 0;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: block;
    flex: 1;
    text-align: center;
    overflow: visible;
}

.feedback-card-spotlight .feedback-quote {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0;
}

.feedbacks-background .feedback-quote {
    font-size: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feedback-rating-number {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    margin: 0;
    flex-shrink: 0;
    white-space: nowrap;
}

.feedback-card-spotlight .feedback-rating-number {
    font-size: 1.625rem;
}

.feedbacks-background .feedback-rating-number {
    font-size: 0.9375rem;
}

.feedback-username {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--muted-foreground);
    letter-spacing: -0.005em;
    margin: 0;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.feedback-card-spotlight .feedback-username {
    font-size: 0.9375rem;
}

.feedbacks-background .feedback-username {
    font-size: 0.6875rem;
}



.feedbacks-loading,
.feedbacks-error,
.feedbacks-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    gap: 1rem;
    width: 100%;
}

.feedbacks-loading .material-symbols-sharp,
.feedbacks-error .material-symbols-sharp,
.feedbacks-empty .material-symbols-sharp {
    font-size: 3rem;
    color: var(--primary-color);
    animation: spin 2s linear infinite;
}

.feedbacks-error .material-symbols-sharp {
    color: #ff4444;
    animation: none;
}

.feedbacks-empty .material-symbols-sharp {
    color: var(--muted-foreground);
    animation: none;
}

.feedbacks-loading p,
.feedbacks-error p,
.feedbacks-empty p {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin: 0;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1024px) {
    .feedbacks-background {
        padding: 0 var(--spacing-md);
    }
    
    .feedbacks-background .feedback-card {
        transform: scale(0.75);
        width: 240px;
        min-width: 240px;
        max-width: 240px;
        height: 110px;
        min-height: 110px;
        max-height: 110px;
    }
    
    .feedback-card-spotlight .feedback-card {
        width: 520px;
        min-width: 520px;
        max-width: 520px;
        min-height: 150px;
    }
    
    .feedbacks-carousel-wrapper {
        min-height: 180px;
        padding: var(--spacing-md) 0;
    }
    
    .feedbacks-carousel-container {
        min-height: 160px;
    }
    
    .feedbacks-header {
        text-align: center;
    }
    
    .feedbacks-nav {
        position: relative;
        top: auto;
        right: auto;
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .feedbacks-nav-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .feedbacks-carousel-wrapper {
        padding: var(--spacing-md) 0;
        min-height: 180px;
    }
    
    .feedbacks-carousel-container {
        min-height: 160px;
        gap: 0.5rem;
    }
    
    .feedbacks-background {
        display: none;
    }
    
    .feedback-card-spotlight .feedback-card {
        width: 90vw;
        min-width: auto;
        max-width: 450px;
        min-height: 140px;
        padding: 1.5rem 2rem;
    }
    
    .feedback-card-spotlight .feedback-quote {
        font-size: 0.9375rem;
    }
    
    .feedbacks-header {
        text-align: center;
    }
    
    .feedbacks-nav {
        position: relative;
        top: auto;
        right: auto;
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .feedbacks-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .feedbacks-carousel-container .feedbacks-nav-btn {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .feedbacks-carousel-wrapper {
        padding: var(--spacing-md) 0;
        min-height: 160px;
    }
    
    .feedbacks-carousel-container {
        min-height: 140px;
        gap: 0.25rem;
    }
    
    .feedback-card-spotlight .feedback-card {
        width: 85vw;
        max-width: 350px;
        min-height: 130px;
        padding: 1.25rem 1.5rem;
    }
    
    .feedback-card-spotlight .feedback-quote {
        font-size: 0.875rem;
        line-height: 1.4;
    }
    
    .feedback-card-spotlight .feedback-username {
        font-size: 0.8125rem;
    }
    
    .feedbacks-header {
        text-align: center;
    }
    
    .feedbacks-nav {
        position: relative;
        top: auto;
        right: auto;
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .feedbacks-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .feedbacks-carousel-container .feedbacks-nav-btn {
        width: 32px;
        height: 32px;
    }
    
    .feedbacks-carousel-container .feedbacks-nav-btn .material-symbols-sharp {
        font-size: 1.25rem;
    }
}
