* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0d0d0d;
    color: #fff;
    font-family: 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
}

header {
    position: relative;
    height: 250px; /* Reducimos la altura para que cargue más rápido */
    background: url('videos/corrupt.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 3px solid #00d4ff;
}

.header-content {
    position: relative;
    z-index: 1;
    animation: fadeIn 1.5s ease-in-out;
}

h1 {
    font-size: 3.5em;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.7);
    transition: all 0.3s ease;
}

h1:hover {
    text-shadow: 0 0 25px rgba(0, 212, 255, 1);
}

p {
    font-size: 1.3em;
    color: #ccc;
    margin-top: 10px;
}

.video-grid {
    padding: 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.video-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.video-box {
    width: 31%;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.video-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.tiktok-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: #00f2ea;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.play-btn:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-link {
    display: block;
    width: 100%;
    padding: 12px;
    background: #00f2ea;
    color: #1a1a1a;
    text-align: center;
    text-decoration: none;
    font-size: 1em;
    font-weight: 600;
    border-radius: 0 0 12px 12px;
    transition: background 0.3s ease, color 0.3s ease;
}

.video-link:hover {
    background: #fff;
    color: #00f2ea;
}

footer {
    text-align: center;
    padding: 20px;
    background: #1a1a1a;
    color: #ccc;
    font-size: 0.9em;
    border-top: 1px solid #00d4ff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    header {
        height: 200px; /* Reducimos aún más en móviles */
    }
    .video-row {
        flex-direction: column;
    }
    .video-box {
        width: 100%;
        margin-bottom: 20px;
    }
    h1 {
        font-size: 2.5em;
    }
    .video-container {
        height: 400px;
    }
}