:root {
    --primary-color: #6366f1;
    --bg-dark: #0f172a;
    --card-bg: #1e293b;
}

body {
    background-color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
}

.slider-wrapper {
    position: relative;
    width: 90%; /* Requerimiento del 80% */
    height: 700px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background: var(--card-bg);
}

.slider-container {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    width: 100%;
}

.slide-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    user-select: none;
}

.page__web{
  width: 98%;
  height: 98%;
  scale: 80%;
  border-radius: 40px;
}

.slide-item span {
    font-size: 5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Botones de navegación */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 20px;
    cursor: pointer;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.nav-btn:hover {
    background: var(--primary-color);
}

.prev { left: 20px; }
.next { right: 20px; }

.counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.3);
    padding: 5px 15px;
    border-radius: 20px;
    color: #94a3b8;
    font-size: 0.9rem;
}