:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-hover: #222222;
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --text-muted: #666666;
    --accent: #00d4ff;
    --accent-hover: #00b8e6;
    --accent-secondary: #7b2ff7;
    --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%);
    --border: #2a2a2a;
    --success: #00e676;
    --warning: #ffab00;
    --danger: #ff1744;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1400px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    flex-shrink: 0;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--accent-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Search */
.search-container {
    flex: 1;
    max-width: 400px;
    min-width: 0;
}

.search-form {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: var(--bg-tertiary);
    border: 2px solid var(--border);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem 1rem;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.05);
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
}

.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 1001;
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    background: var(--bg-hover);
    border-color: var(--accent);
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    margin: 2.5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================
   HERO COM CARROSSEL
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 6rem;
    background: var(--bg-primary);
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    will-change: opacity, transform;
}

.carousel-slide.active {
    opacity: 1;
    animation: kenBurns 8s ease-in-out infinite;
}

@keyframes kenBurns {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(10, 10, 10, 0.85) 30%,
        rgba(10, 10, 10, 0.7) 60%,
        rgba(10, 10, 10, 0.6) 100%
    );
    z-index: 2;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(123, 47, 247, 0.15) 0%, transparent 50%);
}

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 3;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   BOTÕES
   ============================================ */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(0, 212, 255, 0.1);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ============================================
   SEÇÕES GERAIS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* About */
.about {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--accent-gradient);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.experience-badge .text {
    font-size: 0.85rem;
    line-height: 1.3;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.about-text .role {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-text .description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.skills {
    margin-top: 2rem;
}

.skills h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-item span {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.skill-bar {
    height: 8px;
    background: var(--bg-hover);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px;
}

/* Projects */
.featured-projects,
.latest-projects {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.play-btn:hover {
    transform: scale(1.1);
}

.project-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.action-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.exclusive-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--warning);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-info {
    padding: 1.5rem;
}

.project-category {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: var(--bg-hover);
    border: 1px solid var(--border);
    border-radius: 15px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.tag:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Categories */
.categories {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.category-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact */
.contact {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-form {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-primary);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 800;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   MUSIC PLAYER - DEFINIÇÃO ÚNICA E CORRIGIDA
   ============================================ */
.music-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    z-index: 900;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.music-player.active {
    transform: translateY(0);
}

.player-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1.5rem;
    height: 64px;
}

/* Player Info */
.player-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 0 0 auto;
    min-width: 0;
    max-width: 220px;
}

.player-cover {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.player-details {
    min-width: 0;
    overflow: hidden;
}

.player-title {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    color: var(--text-primary);
}

.player-artist {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Player Controls */
.player-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.control-btn {
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.control-btn:hover {
    color: var(--accent);
    background: var(--bg-hover);
}

.control-btn.play-pause {
    width: 42px;
    height: 42px;
    background: var(--accent-gradient);
    border-radius: 50%;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    flex-shrink: 0;
}

.control-btn.play-pause:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

/* Player Progress */
.player-progress {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.current-time,
.total-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    min-width: 32px;
    text-align: center;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: var(--bg-hover);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    min-width: 0;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 2px;
    width: 0;
    transition: width 0.1s linear;
    position: relative;
}

/* Player Volume */
.player-volume {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.player-volume i {
    font-size: 0.9rem;
}

.volume-slider {
    width: 70px;
    accent-color: var(--accent);
    cursor: pointer;
}

/* ============================================
   RESPONSIVIDADE GERAL
   ============================================ */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    /* Header Mobile */
    .navbar {
        padding: 0.625rem 0;
    }
    
    .navbar .container {
        flex-wrap: nowrap;
        gap: 0.625rem;
    }
    
    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .logo-main {
        font-size: 1rem;
    }
    
    .logo-sub {
        font-size: 0.6rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .search-container {
        flex: 1;
        max-width: none;
    }
    
    .search-input {
        padding: 0.5rem 0.875rem 0.5rem 2.25rem;
        font-size: 0.85rem;
    }
    
    .search-btn {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .desktop-only {
        display: none;
    }
    
    .nav-menu {
        display: flex;
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 5rem 1.5rem 1.5rem;
        gap: 0.25rem;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu .nav-link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.875rem 1rem;
        font-size: 1rem;
        border-radius: var(--radius-sm);
        width: 100%;
    }
    
    .mobile-only {
        display: block;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--border);
    }
    
    .hero {
        padding: 7rem 0 4rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Player Mobile */
    .music-player {
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
    
    .player-container {
        padding: 0.5rem 0.75rem;
        height: 56px;
        gap: 0.5rem;
    }
    
    .player-info {
        max-width: 130px;
        gap: 0.5rem;
    }
    
    .player-cover {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }
    
    .player-title {
        font-size: 0.78rem;
        max-width: 80px;
    }
    
    .player-artist {
        display: none;
    }
    
    .player-controls {
        gap: 0.25rem;
    }
    
    .control-btn {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    
    .control-btn.play-pause {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    .player-progress {
        gap: 0.25rem;
    }
    
    .current-time,
    .total-time {
        font-size: 0.6rem;
        min-width: 26px;
    }
    
    .progress-bar {
        height: 3px;
    }
    
    .player-volume {
        display: none;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        gap: 0.5rem;
        padding: 0 0.75rem;
    }
    
    .logo-icon {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
    
    .logo-main {
        font-size: 0.9rem;
    }
    
    .logo-sub {
        display: none;
    }
    
    .mobile-menu-toggle {
        width: 38px;
        height: 38px;
    }
    
    .search-input {
        padding: 0.45rem 0.75rem 0.45rem 2rem;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .nav-menu {
        width: 280px;
        right: -300px;
    }
    
    /* Player Mobile Pequeno */
    .player-container {
        padding: 0.375rem 0.5rem;
        height: 50px;
        gap: 0.375rem;
    }
    
    .player-info {
        max-width: 80px;
        gap: 0.375rem;
    }
    
    .player-cover {
        width: 32px;
        height: 32px;
        border-radius: 6px;
    }
    
    .player-title {
        font-size: 0.7rem;
        max-width: 50px;
    }
    
    .player-controls {
        gap: 0.125rem;
    }
    
    .control-btn {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .control-btn.play-pause {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
    
    .current-time,
    .total-time {
        font-size: 0.55rem;
        min-width: 22px;
    }
}

@media (max-width: 360px) {
    .player-container {
        padding: 0.25rem 0.375rem;
        height: 46px;
        gap: 0.25rem;
    }
    
    .player-cover {
        width: 28px;
        height: 28px;
    }
    
    .player-title {
        font-size: 0.65rem;
        max-width: 40px;
    }
    
    .control-btn {
        width: 24px;
        height: 24px;
        font-size: 0.6rem;
    }
    
    .control-btn.play-pause {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
}

/* ============================================
   AJUSTE BOTÃO BACK-TO-TOP
   ============================================ */
.music-player.active ~ .back-to-top {
    bottom: 80px;
}

@media (max-width: 768px) {
    .music-player.active ~ .back-to-top {
        bottom: 66px;
    }
}

/* ============================================
   SEARCH RESULTS - ESTILO MELHORADO
   ============================================ */
.search-results {
    padding: 2rem 0;
    background: var(--bg-primary);
    margin-top: 80px;
}

.search-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-results-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-results-title i {
    color: var(--accent);
}

.search-results-count {
    background: var(--accent-gradient);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Lista de Resultados */
.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.search-result-item:hover {
    border-color: var(--accent);
    background: var(--bg-hover);
    transform: translateX(5px);
}

.search-result-cover {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.search-result-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0;
    transition: var(--transition);
}

.search-result-item:hover .search-result-play {
    opacity: 1;
}

.search-result-play:hover {
    background: var(--accent);
    transform: translate(-50%, -50%) scale(1.1);
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.search-result-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.search-result-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.search-result-meta i {
    margin-right: 0.25rem;
}

.search-result-category {
    font-weight: 600;
}

.search-result-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Sem Resultados */
.search-no-results {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.search-no-results i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.search-no-results p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Responsivo */
@media (max-width: 768px) {
    .search-result-item {
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .search-result-cover {
        width: 50px;
        height: 50px;
    }
    
    .search-result-title {
        font-size: 0.95rem;
    }
    
    .search-result-description {
        font-size: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .search-result-meta {
        font-size: 0.75rem;
        gap: 0.5rem;
    }
    
    .search-results-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .search-result-cover {
        width: 40px;
        height: 40px;
    }
    
    .search-result-title {
        font-size: 0.85rem;
    }
    
    .search-result-description {
        display: none;
    }
    
    .search-result-tags {
        display: none;
    }
}

/* ============================================
   ALERTA DE CONTATO
   ============================================ */
.contact-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    animation: alertSlideIn 0.4s ease;
    position: relative;
}

.contact-alert > i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.contact-alert strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.contact-alert p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.9;
}

.contact-alert.success {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.15) 0%, rgba(0, 200, 100, 0.1) 100%);
    border: 1px solid rgba(0, 230, 118, 0.4);
    color: #00e676;
}

.contact-alert.success > i {
    color: #00e676;
}

.contact-alert.error {
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.15) 0%, rgba(200, 0, 40, 0.1) 100%);
    border: 1px solid rgba(255, 23, 68, 0.4);
    color: #ff1744;
}

.contact-alert.error > i {
    color: #ff1744;
}

.alert-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.6;
    transition: var(--transition);
    padding: 0.25rem;
}

.alert-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   BRANDS CAROUSEL SECTION
   ============================================ */
.brands-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
    overflow: hidden;
    position: relative;
}

.brands-section::before,
.brands-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.brands-section::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary) 0%, transparent 100%);
}

.brands-section::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary) 0%, transparent 100%);
}

/* Carrossel */
.brands-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

.brands-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollBrands 40s linear infinite;
}

.brands-track:hover {
    animation-play-state: paused;
}

/* Item da marca */
.brand-item {
    flex-shrink: 0;
    width: 180px;
    height: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.brand-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 212, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.brand-item:hover::before {
    left: 100%;
}

.brand-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    opacity: 0.7;
    transition: var(--transition);
}

.brand-item:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.05);
}

/* Animação de scroll infinito */
@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

/* ============================================
   BRANDS CARROSSEL - RESPONSIVO
   ============================================ */
@media (max-width: 992px) {
    .brands-section {
        padding: 4rem 0;
    }
    
    .brand-item {
        width: 150px;
        height: 85px;
    }
    
    .brands-track {
        gap: 1.5rem;
        animation-duration: 30s;
    }
    
    @keyframes scrollBrands {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-50% - 0.75rem));
        }
    }
}

@media (max-width: 768px) {
    .brands-section {
        padding: 3rem 0;
    }
    
    .brands-section::before,
    .brands-section::after {
        width: 80px;
    }
    
    .brand-item {
        width: 130px;
        height: 75px;
        padding: 0.75rem;
    }
    
    .brands-track {
        gap: 1rem;
        animation-duration: 25s;
    }
    
    @keyframes scrollBrands {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-50% - 0.5rem));
        }
    }
}

@media (max-width: 480px) {
    .brand-item {
        width: 110px;
        height: 65px;
        padding: 0.5rem;
    }
    
    .brands-track {
        gap: 0.75rem;
        animation-duration: 20s;
    }
    
    @keyframes scrollBrands {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-50% - 0.375rem));
        }
    }
}



/* ============================================
   SHOWCASE SECTION - CARROSSÉIS VERTICAIS
   ============================================ */
.showcase-section {
    padding: 6rem 0;
    background: var(--bg-primary);
    overflow: hidden;
    position: relative;
}

.showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(123, 47, 247, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Lado Esquerdo - Texto */
.showcase-text {
    max-width: 500px;
}

.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.showcase-badge i {
    color: var(--warning);
}

.showcase-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.showcase-title span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.showcase-caption {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    padding-left: 1rem;
    border-left: 3px solid var(--accent);
}

/* Lado Direito - Carrosséis */
.showcase-carousels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    height: 600px;
    overflow: hidden;
    position: relative;
}

/* Máscaras de gradiente no topo e base */
.showcase-carousels::before,
.showcase-carousels::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 100px;
    z-index: 2;
    pointer-events: none;
}

.showcase-carousels::before {
    top: 0;
    background: linear-gradient(to bottom, var(--bg-primary) 0%, transparent 100%);
}

.showcase-carousels::after {
    bottom: 0;
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
}

/* Coluna */
.carousel-column {
    height: 100%;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-md);
}

/* Coluna 1 - Anima de baixo para cima */
.carousel-track-up {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: scrollUp 25s linear infinite;
}

.carousel-column.column-up:hover .carousel-track-up {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Coluna 2 - Estática */
.carousel-track-static {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-track-static::-webkit-scrollbar {
    display: none;
}

/* Coluna 3 - Anima de baixo para cima com delay */
.carousel-track-up-delay {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: scrollUp 30s linear infinite;
    animation-delay: -5s;
}

.carousel-column.column-up-delay:hover .carousel-track-up-delay {
    animation-play-state: paused;
}

/* Card da Música */
.track-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.track-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.track-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.track-card:hover img {
    transform: scale(1.05);
}

.track-info {
    padding: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.track-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .showcase-text {
        max-width: 100%;
        text-align: center;
    }
    
    .showcase-title {
        font-size: 2.5rem;
    }
    
    .showcase-caption {
        padding-left: 0;
        border-left: none;
        border-top: 3px solid var(--accent);
        padding-top: 1rem;
        display: inline-block;
    }
    
    .showcase-carousels {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .showcase-section {
        padding: 4rem 0;
    }
    
    .showcase-title {
        font-size: 2rem;
    }
    
    .showcase-subtitle {
        font-size: 1rem;
    }
    
    .showcase-carousels {
        height: 450px;
        gap: 0.75rem;
    }
    
    .track-info {
        padding: 0.625rem;
    }
    
    .track-title {
        font-size: 0.75rem;
    }
    
    .track-artist {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .showcase-carousels {
        height: 400px;
        gap: 0.5rem;
    }
    
    .track-info {
        padding: 0.5rem;
    }
    
    .track-title {
        font-size: 0.7rem;
    }
    
    .track-artist {
        font-size: 0.6rem;
    }
}