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

body {
    font-family: 'Poppins', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #8B5CF6, #06B6D4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8B5CF6;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.8);
    transform: translateY(-2px);
}

/* Main Content */
.main {
    margin-top: 80px;
    padding: 2rem 0;
}

/* Perfil Section */
.perfil {
    padding: 4rem 0;
    text-align: center;
}

.perfil-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.perfil-image {
    position: relative;
}

.avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid #8B5CF6;
    box-shadow: 
        0 0 30px rgba(139, 92, 246, 0.6),
        0 0 60px rgba(139, 92, 246, 0.4),
        0 0 90px rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    animation: pulseGlow 3s ease-in-out infinite alternate;
}

.avatar:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 40px rgba(139, 92, 246, 0.8),
        0 0 80px rgba(139, 92, 246, 0.6),
        0 0 120px rgba(139, 92, 246, 0.4);
}

@keyframes pulseGlow {
    0% {
        box-shadow: 
            0 0 30px rgba(139, 92, 246, 0.6),
            0 0 60px rgba(139, 92, 246, 0.4),
            0 0 90px rgba(139, 92, 246, 0.2);
    }
    100% {
        box-shadow: 
            0 0 40px rgba(139, 92, 246, 0.8),
            0 0 70px rgba(139, 92, 246, 0.6),
            0 0 100px rgba(139, 92, 246, 0.4);
    }
}

.perfil-info {
    max-width: 600px;
}

.perfil-name {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #8B5CF6, #06B6D4, #EC4899);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.perfil-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #a1a1aa;
    margin-bottom: 2rem;
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

/* Links Section */
.links {
    padding: 4rem 0;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 15px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.link-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 
        0 10px 30px rgba(139, 92, 246, 0.3),
        0 0 40px rgba(139, 92, 246, 0.2);
}

.link-icon {
    font-size: 2.5rem;
    transition: transform 0.3s ease;
}

.link-icon i {
    font-size: 2.5rem;
}

.link-card:hover .link-icon {
    transform: scale(1.1);
}

.link-card span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Serviços Section */
.servicos {
    padding: 4rem 0;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.servico-card {
    background: rgba(6, 182, 212, 0.1);
    border: 2px solid rgba(6, 182, 212, 0.3);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.servico-card:hover {
    transform: translateY(-5px);
    background: rgba(6, 182, 212, 0.2);
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 
        0 15px 40px rgba(6, 182, 212, 0.3),
        0 0 50px rgba(6, 182, 212, 0.2);
}

.servico-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.servico-icon i {
    font-size: 3rem;
}

.servico-card:hover .servico-icon {
    transform: scale(1.1);
}

.servico-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #06B6D4;
}

.servico-card p {
    color: #a1a1aa;
    line-height: 1.6;
}

/* Music Player */
.music-player {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    border-top: 2px solid rgba(139, 92, 246, 0.3);
    padding: 1rem 0;
    z-index: 1000;
}

.player-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.now-playing {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
}

.music-icon {
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.track-info {
    font-weight: 500;
}

.player-controls {
    display: flex;
    gap: 1rem;
}

.control-btn {
    background: none;
    border: 2px solid rgba(139, 92, 246, 0.5);
    color: #8B5CF6;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.control-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8B5CF6;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.play-btn {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8B5CF6;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    border-top: 2px solid rgba(139, 92, 246, 0.3);
    padding: 3rem 0;
    margin-bottom: 80px;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info h3 {
    color: #8B5CF6;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #a1a1aa;
    margin-bottom: 0.5rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    color: #8B5CF6;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8B5CF6;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 15px;
    }
    
    .main {
        margin-top: 120px;
    }
    
    .nav {
        gap: 1.5rem;
    }
    
    .perfil-name {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .player-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .avatar {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .perfil-name {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .link-card, .servico-card {
        padding: 1.5rem;
    }
    
    .now-playing {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Portfolio Styles */
.logo-text {
    text-decoration: none;
    color: inherit;
}

.portfolio-hero {
    padding: 6rem 0 4rem;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #8B5CF6, #06B6D4, #EC4899);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #a1a1aa;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.portfolio-section {
    padding: 5rem 0;
}

.portfolio-section.alt {
    background: rgba(139, 92, 246, 0.03);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-icon {
    font-size: 3rem;
    color: #8B5CF6;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: #a1a1aa;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-card {
    background: rgba(139, 92, 246, 0.08);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

.card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a0f3a, #2d1b69);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #8B5CF6;
    font-size: 2.5rem;
    gap: 1rem;
}

.placeholder-image span {
    font-size: 1rem;
    font-weight: 500;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    color: #8B5CF6;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.card-content p {
    color: #a1a1aa;
    line-height: 1.6;
}

/* Music Showcase */
.music-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.music-card {
    background: rgba(6, 182, 212, 0.08);
    border: 2px solid rgba(6, 182, 212, 0.2);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.music-card:hover {
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

.music-visual {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #06B6D4, #8B5CF6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.music-info {
    flex: 1;
}

.music-info h3 {
    color: #06B6D4;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.music-info p {
    color: #a1a1aa;
    margin-bottom: 1rem;
}

.music-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.music-btn {
    width: 40px;
    height: 40px;
    background: rgba(6, 182, 212, 0.2);
    border: 2px solid #06B6D4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #06B6D4;
}

.music-btn:hover {
    background: rgba(6, 182, 212, 0.3);
    transform: scale(1.1);
}

.duration {
    color: #a1a1aa;
    font-size: 0.9rem;
}

/* Roblox Showcase */
.roblox-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.roblox-card {
    background: rgba(255, 100, 100, 0.08);
    border: 2px solid rgba(255, 100, 100, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.roblox-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 100, 100, 0.5);
    box-shadow: 0 15px 40px rgba(255, 100, 100, 0.2);
}

.roblox-preview {
    height: 200px;
}

.roblox-placeholder {
    background: linear-gradient(135deg, #ff4757, #ff6b6b);
}

.roblox-info {
    padding: 1.5rem;
}

.roblox-info h3 {
    color: #ff4757;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.roblox-info p {
    color: #a1a1aa;
    margin-bottom: 1rem;
}

.roblox-stats {
    display: flex;
    gap: 1rem;
}

.roblox-stats span {
    color: #ff4757;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Web Showcase */
.web-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.web-card {
    background: rgba(34, 197, 94, 0.08);
    border: 2px solid rgba(34, 197, 94, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.web-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.2);
}

.web-preview {
    padding: 2rem;
    background: rgba(34, 197, 94, 0.05);
}

.browser-mockup {
    background: #1a1a1a;
    border-radius: 8px;
    border: 2px solid rgba(34, 197, 94, 0.3);
}

.browser-bar {
    background: #2a2a2a;
    padding: 0.8rem;
    border-radius: 6px 6px 0 0;
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #666;
}

.browser-dots span:first-child { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:last-child { background: #28ca42; }

.browser-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #22c55e;
    font-size: 2rem;
    gap: 1rem;
}

.browser-content span {
    font-size: 1rem;
}

.web-info {
    padding: 1.5rem;
}

.web-info h3 {
    color: #22c55e;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.web-info p {
    color: #a1a1aa;
    margin-bottom: 1rem;
}

.tech-stack {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tech {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Footer Updates */
.footer-info h3 {
    color: #8B5CF6;
    margin-bottom: 0.5rem;
}

.footer-info p {
    color: #a1a1aa;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #8B5CF6;
}

/* Mobile Responsivity for Portfolio */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .music-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .roblox-showcase {
        grid-template-columns: 1fr;
    }
    
    .web-showcase {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .portfolio-section {
        padding: 3rem 0;
    }
}