/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --white: #ffffff;
    --yellow: #FFD700;
    --blue: #4169E1;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-gray: #666666;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    color: var(--white);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(65, 105, 225, 0.05) 0%, transparent 50%);
    z-index: -1;
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(45deg, var(--yellow), var(--blue)) 1;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--yellow), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg, var(--yellow), var(--blue));
    transition: left 0.3s ease;
}

.nav-links a:hover::before {
    left: 0;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Main Content */
.main-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.hero-section {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.1);
    margin-bottom: 4rem;
}

.title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--yellow), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(45deg, #FFD700, #4169E1, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.subtitle {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 3rem;
}

.url-form {
    max-width: 800px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.5rem;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all 0.3s ease;
}

.input-group::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--yellow), var(--blue));
    border-radius: 52px;
    z-index: -1;
    opacity: 0.5;
}

.input-group:focus-within {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.input-group i {
    font-size: 1.5rem;
    color: var(--yellow);
    padding: 0 1rem;
    display: flex;
    align-items: center;
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1rem;
    padding: 1rem 0;
    outline: none;
}

.input-group input::placeholder {
    color: var(--light-gray);
}

.btn-extract {
    background: linear-gradient(45deg, var(--yellow), var(--blue));
    color: var(--black);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-extract:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.feature i {
    color: var(--yellow);
    font-size: 1.5rem;
}

/* Auth Pages */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.auth-card {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 3rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.auth-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--yellow);
    font-size: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, var(--yellow), var(--blue));
    color: var(--black);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.alert.error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6b6b;
}

.alert.success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #51cf66;
}

.auth-links {
    text-align: center;
    margin-top: 2rem;
}

.auth-links a {
    color: var(--yellow);
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Processing Page */
.processing-container {
    min-height: calc(100vh - 200px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.processing-card {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 3rem;
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.processing-icon {
    font-size: 4rem;
    color: var(--yellow);
    margin-bottom: 2rem;
}

.processing-title {
    color: var(--white);
    margin-bottom: 2rem;
}

.progress-container {
    background: rgba(255, 255, 255, 0.1);
    height: 10px;
    border-radius: 5px;
    margin: 2rem 0;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(45deg, var(--yellow), var(--blue));
    border-radius: 5px;
    width: 0%;
    transition: width 0.5s ease;
}

.progress-text {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--yellow);
    font-weight: bold;
}

.processing-steps {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
}

.processing-steps .step {
    flex: 1;
    text-align: center;
    padding: 1rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.processing-steps .step.active {
    opacity: 1;
    color: var(--yellow);
}

.processing-steps .step i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.video-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 2rem;
    text-align: left;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 2px solid transparent;
    border-image: linear-gradient(45deg, var(--yellow), var(--blue)) 1;
    padding: 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--yellow), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--yellow);
}

.copyright {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
}

/* Responsividade */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .input-group {
        flex-direction: column;
        border-radius: 20px;
    }
    
    .btn-extract {
        margin-top: 1rem;
        border-radius: 20px;
    }
    
    .processing-steps {
        flex-direction: column;
        gap: 1rem;
    }
}
/* Dashboard Styles */
.dashboard-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.dashboard-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--yellow);
    font-size: 2.5rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.dashboard-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header i {
    font-size: 2rem;
    color: var(--yellow);
}

.card-header h3 {
    color: var(--white);
    font-size: 1.3rem;
}

.card-content {
    color: var(--light-gray);
}

.card-content p {
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

.card-content strong {
    color: var(--yellow);
}

.activity-item {
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--yellow);
}

.activity-item p {
    margin-bottom: 0.3rem;
}

.activity-item small {
    color: var(--light-gray);
    font-size: 0.8rem;
}

.dashboard-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--yellow), var(--blue));
    color: var(--black);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.btn-action.logout {
    background: linear-gradient(45deg, #ff4757, #ff3838);
    color: white;
}
/* Download Page Styles */
.download-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.download-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

.download-icon {
    font-size: 4rem;
    color: #51cf66;
    margin-bottom: 1.5rem;
}

.download-title {
    color: var(--white);
    margin-bottom: 1rem;
}

.download-subtitle {
    color: var(--light-gray);
    margin-bottom: 2rem;
}

.download-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: left;
}

.track-list {
    margin: 2rem 0;
}

.track-list h3 {
    text-align: left;
    margin-bottom: 1rem;
    color: var(--yellow);
}

.track {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.track:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.track-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.track-info i {
    font-size: 1.5rem;
    color: var(--yellow);
}

.track-info h4 {
    color: var(--white);
    margin-bottom: 0.3rem;
}

.track-info small {
    color: var(--light-gray);
}

.btn-download {
    padding: 0.5rem 1.5rem;
    background: linear-gradient(45deg, var(--yellow), var(--blue));
    color: var(--black);
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.download-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}