/* =========================
   RESET Y CONFIGURACIÓN BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
    color: white;
}

/* =========================
   HEADER
========================= */
header {
    text-align: center;
    padding: 60px 20px 40px;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* =========================
   NAVEGACIÓN PRINCIPAL
========================= */
.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 20px;
    transition: all 0.3s ease;
}
.operations-grid a{
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 20px;
    transition: all 0.3s ease;
}


.main-nav a:hover,
.main-nav a.active {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

/* =========================
   CONTENEDOR GENERAL
========================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 80px;
}

/* =========================
   TEXTOS
========================= */
h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

p {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 15px;
}

/* =========================
   GRID OPERACIONES
========================= */
.operations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.operation-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
    cursor: pointer;
}

.operation-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.25);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.operation-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* =========================
   CAJA DE EJEMPLOS
========================= */
.example-box {
    background: rgba(255,255,255,0.1);
    border-left: 4px solid rgba(255,255,255,0.6);
    padding: 20px;
    border-radius: 12px;
    margin: 25px 0;
}

/* =========================
   STEAM
========================= */
.steam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.steam-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.steam-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.steam-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.steam-card ul {
    list-style: none;
    margin-top: 10px;
}

.steam-card li {
    padding-left: 22px;
    margin-bottom: 8px;
    position: relative;
    opacity: 0.9;
}

.steam-card li::before {
    content: "▸";
    position: absolute;
    left: 0;
}

/* =========================
   IMÁGENES Y VIDEOS
========================= */
img {
    max-width: 100%;
    border-radius: 15px;
    margin-top: 15px;
}

iframe {
    border-radius: 15px;
    margin-top: 20px;
}

/* =========================
   FOOTER
========================= */
footer {
    text-align: center;
    padding: 25px;
    background: rgba(0,0,0,0.2);
    font-size: 0.9rem;
    opacity: 0.85;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.4rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 40px 15px 60px;
    }
}
