* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0A0A0A;
    --dark-gray: #1A1A1A;
    --medium-gray: #333333;
    --light-gray: #888888;
    --white: #FFFFFF;
    --off-white: #F5F5F5;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--black);
    color: var(--white);
    overflow-x: hidden;
    cursor: none;
}

.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--white);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease;
    mix-blend-mode: difference;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--medium-gray);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 4px;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--light-gray);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.cta-button {
    border: 1px solid var(--white);
    padding: 0.6rem 1.5rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background: var(--white);
    color: var(--black);
}

.cta-button::after {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s ease;
}

/* YouTube Hero */
.youtube-page {
    padding-top: 80px;
}

.youtube-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
}

.youtube-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.youtube-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.title-line.accent {
    color: transparent;
    -webkit-text-stroke: 2px var(--white);
}

.youtube-subtitle {
    font-size: 1.3rem;
    color: var(--light-gray);
    line-height: 1.6;
}

/* Videos Grid */
.videos-grid-section {
    padding: 4rem 2rem;
    background: var(--black);
}

.videos-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Loading State */
.loading-videos {
    text-align: center;
    padding: 4rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--medium-gray);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-videos p {
    color: var(--light-gray);
}

/* Video Card - Lista vertical */
.video-card {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 2rem;
    background: var(--dark-gray);
    border: 1px solid var(--medium-gray);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeInCard 0.5s ease forwards;
    opacity: 0;
}

.video-card:hover {
    transform: translateX(5px);
    border-color: var(--white);
}

.video-card:first-child {
    border-color: var(--white);
}

@keyframes fadeInCard {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-thumbnail {
    position: relative;
    width: 100%;
    min-height: 200px;
    background: var(--black);
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-overlay svg {
    width: 24px;
    height: 24px;
    margin-left: 4px;
}

.video-card:hover .play-overlay {
    background: var(--white);
}

.video-card:hover .play-overlay svg path {
    fill: var(--black);
}

.video-card-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-card-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--white);
}

.video-description {
    color: var(--light-gray);
    line-height: 1.6;
    font-size: 1rem;
}

/* No Videos State */
.no-videos {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--light-gray);
}

.no-videos svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.no-videos h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

/* Admin Section */
.admin-section {
    padding: 4rem 2rem;
    background: var(--black);
    border-top: 1px solid var(--medium-gray);
}

.admin-container {
    max-width: 800px;
    margin: 0 auto;
}

.admin-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.admin-container > p {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
}

#video-links-input {
    width: 100%;
    min-height: 200px;
    background: var(--dark-gray);
    border: 1px solid var(--medium-gray);
    color: var(--white);
    padding: 1.5rem;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.9rem;
    resize: vertical;
    transition: border-color 0.3s ease;
}

#video-links-input:focus {
    outline: none;
    border-color: var(--white);
}

#video-links-input::placeholder {
    color: var(--medium-gray);
}

.admin-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.admin-btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--white);
    background: transparent;
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.save-btn:hover {
    background: var(--white);
    color: var(--black);
}

.clear-btn {
    border-color: var(--medium-gray);
    color: var(--light-gray);
}

.clear-btn:hover {
    border-color: #ff4444;
    color: #ff4444;
}

/* Footer */
.footer {
    background: var(--black);
    border-top: 1px solid var(--medium-gray);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--light-gray);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--medium-gray);
    color: var(--light-gray);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--light-gray);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .cursor {
        display: none;
    }
    
    body {
        cursor: auto;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--black);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--medium-gray);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .youtube-title {
        font-size: 3.5rem;
    }
    
    .video-card {
        grid-template-columns: 1fr;
    }
    
    .video-thumbnail {
        min-height: 200px;
    }
    
    .video-card-info {
        padding: 1.5rem;
    }
    
    .video-card-info h3 {
        font-size: 1.2rem;
    }
    
    .admin-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}