* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --xbox-green: #107c10;
    --xbox-dark: #0e0e0e;
    --xbox-light: #f2f2f2;
    --glass-bg: rgba(16, 124, 16, 0.15);
    --border: 1px solid rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
    


.h1{
    font-size: 2rem;
    color: #FFF;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
    display: block;
    color: green;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Evita el desplazamiento */
    background: var(--xbox-dark);
    color: var(--xbox-light);
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--xbox-dark);
            color: var(--xbox-light);
            
}

.smart-glass {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed; /* Fija el loader en la pantalla */
    top: 0;
    left: 0;
    background-color: #222; /* Fondo oscuro para toda la pantalla */
    transition: opacity 0.5s ease; /* Transición suave al desaparecer */
}

h1 {
    font-size: 2rem;
    color: #FFF;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.logo1 {
    width: 288px;
    height: 288px;
    position: relative;
}

.circle {
    padding: 20px;
    border: 6px solid transparent;
    border-top-color: #40A800;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    animation: connect 2.5s linear infinite;
}

.xbox {
    background: #FFF;
    width: 80px;
    height: 80px;
    border-radius: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}

.xbox:after, .xbox:before {
    content: '';
    display: block;
    border-top: 10px solid #222;
    border-radius: 50%;
    height: 90%;
    width: 120%;
    transform: rotate(-45deg);
    position: absolute;
    right: -30%;
    top: 15%;
}

.xbox:before {
    left: -30%;
    transform: rotate(45deg);
}

.loading-text {
    text-transform: uppercase;
    color: #FFF;
    text-align: center;
    margin: 20px 0;
    font-size: 1.4rem;
}

@keyframes connect {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

/* Clase para ocultar elementos */
.hidden {
    display: none;
}

/* Estilos para el contenido principal */
#main-content {
    text-align: center;
    color: #FFF;
    padding: 20px;
}

/*Nav*/
/* Menú vertical */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--xbox-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: #107c10 0px 0px 10px;
    backdrop-filter: blur(10px);
    border-radius: 10px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--xbox-green);
    margin-right: 40px;
}



.nav-links {
    display: flex;
    list-style: none;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    font-size: large;
    font-weight: 500;
    color: var(--xbox-light);
    text-transform: uppercase;
    transition: all 0.3s ease;
    
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--xbox-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background-color: var(--glass-bg);
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--xbox-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Submenús */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 300px;
    background-color: var(--xbox-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.submenu-link {
    display: block;
    padding: 12px 20px;
    color: var(--xbox-light);
    text-decoration: none;
    transition: all 0.2s ease;
}

.submenu-link:hover {
    background-color: var(--xbox-green);
    padding-left: 25px;
}

/* Efecto de desenfoque al abrir submenú */
.blur-overlay {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-item:hover ~ .blur-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* Contenido principal */
.main-content {
    margin-top: 60px;
    padding: 40px;
    min-height: calc(100vh - 60px);
    transition: filter 0.3s ease;
}

/* Versión móvil */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 80%;
        max-width: 350px;
        height: calc(100vh - 60px);
        background-color: var(--xbox-dark);
        flex-direction: column;
        transition: all 0.4s ease;
        z-index: 1002;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-item {
        height: auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        padding: 15px 20px;
    }

    .submenu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .nav-item.active .submenu {
        max-height: 1000px;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .blur-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.submenu-item {
    animation: fadeIn 0.3s ease forwards;
    opacity: 0;
}

.submenu-item:nth-child(1) { animation-delay: 0.1s; }
.submenu-item:nth-child(2) { animation-delay: 0.2s; }
.submenu-item:nth-child(3) { animation-delay: 0.3s; }
.submenu-item:nth-child(4) { animation-delay: 0.4s; }
.submenu-item:nth-child(5) { animation-delay: 0.5s; }
.submenu-item:nth-child(6) { animation-delay: 0.6s; }
.submenu-item:nth-child(7) { animation-delay: 0.7s; }
.submenu-item:nth-child(8) { animation-delay: 0.8s; }
.submenu-item:nth-child(9) { animation-delay: 0.9s; }
.submenu-item:nth-child(10) { animation-delay: 1.0s; }
.submenu-item:nth-child(11) { animation-delay: 1.1s; }
.submenu-item:nth-child(12) { animation-delay: 1.2s; }
.submenu-item:nth-child(13) { animation-delay: 1.3s; }

/*Slider*/

.xbox-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    border: 3px solid #107c10;
    box-shadow: 0 0 15px rgba(16, 124, 16, 0.7),
                0 0 30px rgba(16, 124, 16, 0.5),
                0 0 45px rgba(16, 124, 16, 0.3);
    border-radius: 10px;
    margin: 20px 0;
}

.slider-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img, .slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
}

.slide-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #107c10;
    text-shadow: 0 0 10px rgba(16, 124, 16, 0.7);
}

.slide-description {
    max-width: 600px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.info-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #107c10;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.info-btn:hover {
    background: transparent;
    border-color: #107c10;
    box-shadow: 0 0 10px #107c10;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.nav-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.nav-dot.active {
    background: #107c10;
    transform: scale(1.2);
    box-shadow: 0 0 10px #107c10;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(16, 124, 16, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.slider-arrow:hover {
    background: #107c10;
    box-shadow: 0 0 15px #107c10;
    border-color: white;
}

.slider-arrow.left {
    left: 20px;
}

.slider-arrow.right {
    right: 20px;
}

.mute-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.mute-btn:hover {
    background: #107c10;
}

.info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.info-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #0e0e0e;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 3px solid #107c10;
    box-shadow: 0 0 20px #107c10;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #107c10;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-title {
    color: #107c10;
    margin-bottom: 20px;
    font-size: 2rem;
}

.modal-text {
    line-height: 1.6;
    margin-bottom: 20px;
}

/* RGB Border Animation */
@keyframes rgbBorder {
    0% { border-color: #107c10; box-shadow: 0 0 15px #107c10; }
    25% { border-color: #ff3366; box-shadow: 0 0 15px #ff3366; }
    50% { border-color: #4834d4; box-shadow: 0 0 15px #4834d4; }
    75% { border-color: #686de0; box-shadow: 0 0 15px #686de0; }
    100% { border-color: #107c10; box-shadow: 0 0 15px #107c10; }
}

.xbox-slider {
    animation: rgbBorder 8s infinite linear;
}

/* Responsive */
@media (max-width: 768px) {
    .xbox-slider {
        height: 70vh;
    }

    .slide-title {
        font-size: 1.8rem;
    }

    .slide-content {
        padding: 20px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .xbox-slider {
        height: 60vh;
        border-width: 2px;
    }

    .slide-title {
        font-size: 1.5rem;
    }

    .slide-description {
        font-size: 0.9rem;
    }

    .info-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .nav-dot {
        width: 12px;
        height: 12px;
    }
}

/*Icons Section*/

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    position: relative;
    z-index: 1;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.icon {
    padding: 25px;
    font-size: 3rem;
    color: white;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1;
    text-align: center;
}

.social-icon:hover .icon {
    transform: scale(1.2) translateY(-15px);
    animation: icon3d 200ms infinite;
}

.social-name {
    position: absolute;
    bottom: -25px;
    opacity: 0;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 15px;
    border-radius: 20px;
    white-space: nowrap;
}

.social-icon:hover .social-name {
    opacity: 1;
    bottom: -15px;
}

/* Colores específicos para cada red social */
.social-icon:nth-child(1) .icon { background: #1877f2; } /* Facebook */
.social-icon:nth-child(2) .icon { background: #1da1f2; } /* Twitter */
.social-icon:nth-child(3) .icon { background: #e4405f; } /* Instagram */
.social-icon:nth-child(4) .icon { background: #000000; } /* Codepen */
.social-icon:nth-child(5) .icon { background: #ff0000; } /* YouTube */

/* Efecto 3D al pasar el mouse */
@keyframes icon3d {
    0% { text-shadow: 5px 4px rgba(244,67,54,0.7), -5px -6px rgba(33,150,243,0.7); }
    25% { text-shadow: -5px -6px rgba(244,67,54,0.7), 5px 4px rgba(33,150,243,0.7); }
    50% { text-shadow: 5px -4px rgba(244,67,54,0.7), -8px 4px rgba(33,150,243,0.7); }
    75% { text-shadow: -8px -4px rgba(244,67,54,0.7), -5px -4px rgba(33,150,243,0.7); }
    100% { text-shadow: -5px 0 rgba(244,67,54,0.7), 5px -4px rgba(33,150,243,0.7); }
}

/* Efecto blur en el fondo cuando se pasa el mouse */
.social-icon:hover ~ .blur-effect {
    opacity: 1;
}

.blur-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        gap: 20px;
    }
    .icon {
        padding: 20px;
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        gap: 15px;
    }
    .icon {
        padding: 15px;
        font-size: 2rem;
    }
    .social-name {
        font-size: 0.8rem;
    }
}

/*Xbox Mando Y demas*/
.controller-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    transition: transform 0.5s ease;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    margin-top: 20px;
}

.xbox-controller {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.xbox-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(9, 0, 0);
    font-weight: bold;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.xbox-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(1.1);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.xbox-menu {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.2s;
}

.menu-overlay.active .xbox-menu {
    transform: translateY(0);
    opacity: 1;
}

.menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.menu-title {
    color: #107c10;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-shadow: 0 0 10px rgba(16, 124, 16, 0.5);
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.menu-item {
    background: rgba(16, 124, 16, 0.1);
    border: 1px solid rgba(16, 124, 16, 0.3);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 124, 16, 0.2), transparent);
    z-index: -1;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(16, 124, 16, 0.3);
    border-color: #107c10;
}

.menu-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #107c10;
}

.menu-label {
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 768px) {
    .controller-container {
        max-width: 350px;
    }
    
    .menu-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .controller-container {
        max-width: 280px;
    }
    
    .xbox-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .xbox-menu {
        padding: 20px;
    }
    
    .menu-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
}

/*contenido*/
/* Estilos para el contenido principal */
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.tile {
    background: linear-gradient(135deg, rgba(30,30,30,0.8), rgba(50,50,50,0.6));
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    aspect-ratio: 1/1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.tile:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: var(--xbox-green);
    box-shadow: 0 10px 25px rgba(16, 124, 16, 0.5);
}

.tile.focused {
    transform: scale(1.05);
    border-color: var(--xbox-green);
    box-shadow: 0 0 0 3px var(--xbox-green), 0 0 20px rgba(16, 124, 16, 0.7);
    z-index: 10;
}

.tile-image {
    width: 100%;
    height: 70%;
    object-fit: cover;
}

.tile-content {
    padding: 15px;
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(0,0,0,0.7);
}

.tile-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: white;
}

.tile-subtitle {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.tile-buttons {
    display: flex;
    gap: 8px;
}

.tile-button {
    padding: 5px 10px;
    background: var(--xbox-green);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s;
}

.tile-button:hover {
    background: #0e6e0e;
}

.tile-1 { border-top: 5px solid var(--xbox-green); }
.tile-2 { border-top: 5px solid var(--accent-1); }
.tile-3 { border-top: 5px solid var(--accent-2); }
.tile-4 { border-top: 5px solid var(--accent-3); }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.tile {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

.tile:nth-child(1) { animation-delay: 0.1s; }
.tile:nth-child(2) { animation-delay: 0.2s; }
.tile:nth-child(3) { animation-delay: 0.3s; }
.tile:nth-child(4) { animation-delay: 0.4s; }
.tile:nth-child(5) { animation-delay: 0.5s; }
.tile:nth-child(6) { animation-delay: 0.6s; }
.tile:nth-child(7) { animation-delay: 0.7s; }
.tile:nth-child(8) { animation-delay: 0.8s; }
.tile:nth-child(9) { animation-delay: 0.9s; }
.tile:nth-child(10) { animation-delay: 1.0s; }
.tile:nth-child(11) { animation-delay: 1.1s; }
.tile:nth-child(12) { animation-delay: 1.2s; }
.tile:nth-child(13) { animation-delay: 1.3s; }

@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
        padding: 15px;
    }
    
    .tile-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .dashboard {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
    
    .tile-content {
        padding: 10px;
    }
    
    .tile-title {
        font-size: 0.9rem;
    }
    
    .tile-subtitle {
        display: none;
    }
    
    .tile-buttons {
        flex-direction: column;
        gap: 5px;
    }
    
    .tile-button {
        padding: 3px 5px;
        font-size: 0.6rem;
    }
}

/*informations*/
/* Estilos para el contenido principal */

        /* Icono Xbox flotante */
        .xbox-icon {
            position: fixed;
            bottom: 20px;
            left: 20px;
            width: 50px;
            height: 50px;
            background: var(--xbox-green);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            z-index: 100;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
            transition: all 0.3s ease;
        }

        .xbox-icon:hover {
            transform: scale(1.1);
            box-shadow: 0 0 15px var(--xbox-green);
        }

        .xbox-icon i {
            font-size: 24px;
            color: white;
        }

        /* Menú estilo Windows 8 */
        .win8-panel {
            position: fixed;
            top: 0;
            left: -100%;
            width: 80%;
            max-width: 600px;
            height: 100vh;
            background: rgba(30, 30, 30, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 20px;
            overflow-y: auto;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border-right: 1px solid rgba(255, 255, 255, 0.1);
        }

        .win8-panel.active {
            left: 0;
        }

        .panel-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .panel-title {
            font-size: 1.8rem;
            color: var(--xbox-green);
            font-weight: 600;
        }

        .close-panel {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            width: 40px;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .close-panel:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: rotate(90deg);
        }

        /* Contenido del panel */
        .content-item {
            margin-bottom: 30px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .content-item:hover {
            border-color: var(--xbox-green);
            box-shadow: 0 5px 15px rgba(16, 124, 16, 0.3);
        }

        .media-container {
            width: 100%;
            height: 200px;
            overflow: hidden;
            position: relative;
        }

        .media-container img, 
        .media-container video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .content-item:hover .media-container img,
        .content-item:hover .media-container video {
            transform: scale(1.05);
        }

        .item-info {
            padding: 15px;
            background: rgba(0, 0, 0, 0.5);
        }

        .item-title {
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: var(--xbox-green);
        }

        .item-description {
            font-size: 0.9rem;
            line-height: 1.5;
            margin-bottom: 15px;
            opacity: 0.8;
        }

        .view-more {
            display: inline-block;
            padding: 8px 20px;
            background: var(--xbox-green);
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .view-more:hover {
            background: #0e6e0e;
            transform: translateY(-2px);
        }

        /* Efecto overlay */
        .panel-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .panel-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .win8-panel {
                width: 90%;
            }
            
            .media-container {
                height: 180px;
            }
            
            .panel-title {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .win8-panel {
                width: 100%;
                padding: 15px;
            }
            
            .media-container {
                height: 150px;
            }
            
            .item-title {
                font-size: 1.1rem;
            }
            
            .item-description {
                font-size: 0.8rem;
            }
            
            .view-more {
                padding: 6px 15px;
                font-size: 0.8rem;
            }
        }

        /*information and footer*/
            /* Efecto blur */
            .blur-overlay {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                backdrop-filter: blur(5px);
                background: rgba(0, 0, 0, 0.5);
                z-index: 98;
                opacity: 0;
                pointer-events: none;
                transition: opacity 0.3s ease;
            }
    
            /* Header */
            .hero {
                padding: 80px 20px 40px;
                text-align: center;
                background: linear-gradient(135deg, rgba(16, 124, 16, 0.2), rgba(0, 0, 0, 0.8));
                position: relative;
                overflow: hidden;
            }
    
            .hero::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: url('https://compass-ssl.xbox.com/assets/ed/0d/ed0d0d0d-0d0d-0d0d-0d0d-0d0d0d0d0d0d.jpg') center/cover;
                z-index: -1;
                opacity: 0.3;
            }
    
            .hero h1 {
                font-size: 2.5rem;
                margin-bottom: 15px;
                background: linear-gradient(to right, #ffffff, #107c10);
                -webkit-background-clip: text;
                background-clip: text;
                color: transparent;
            }
    
            .hero p {
                font-size: 1.2rem;
                max-width: 700px;
                margin: 0 auto 25px;
                opacity: 0.9;
            }
    
            .join-btn {
                display: inline-block;
                padding: 12px 35px;
                background: var(--xbox-green);
                color: white;
                text-decoration: none;
                font-weight: bold;
                border-radius: 5px;
                font-size: 1.1rem;
                transition: all 0.3s ease;
                border: 2px solid transparent;
            }
    
            .join-btn:hover {
                background: transparent;
                border-color: var(--xbox-green);
                box-shadow: 0 0 15px var(--xbox-green);
            }
    
            /* Sección Game Pass */
            .game-pass-section {
                padding: 60px 20px;
                max-width: 1400px;
                margin: 0 auto;
            }
    
            .section-title {
                text-align: center;
                margin-bottom: 40px;
                font-size: 2rem;
                color: var(--xbox-green);
                position: relative;
                display: inline-block;
                left: 50%;
                transform: translateX(-50%);
            }
    
            .section-title::after {
                content: '';
                position: absolute;
                bottom: -10px;
                left: 0;
                width: 100%;
                height: 3px;
                background: var(--xbox-green);
            }
    
            .games-grid {
                display: grid;
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
                gap: 25px;
            }
    
            .game-card {
                background: var(--glass-bg);
                border-radius: 10px;
                overflow: hidden;
                border: 1px solid rgba(255, 255, 255, 0.1);
                transition: all 0.3s ease;
                cursor: pointer;
                position: relative;
            }
    
            .game-card:hover {
                transform: translateY(-10px);
                box-shadow: 0 10px 25px rgba(16, 124, 16, 0.3);
                border-color: var(--xbox-green);
            }
    
            .game-card:hover ~ .blur-overlay {
                opacity: 1;
            }
    
            .game-image {
                width: 100%;
                height: 150px;
                object-fit: cover;
            }
    
            .game-info {
                padding: 15px;
            }
    
            .game-title {
                font-size: 1.1rem;
                margin-bottom: 5px;
                color: white;
            }
    
            .game-badge {
                display: inline-block;
                padding: 3px 8px;
                background: var(--xbox-green);
                color: white;
                font-size: 0.7rem;
                border-radius: 3px;
                margin-bottom: 10px;
            }
    
            .game-btn {
                display: inline-block;
                padding: 5px 15px;
                background: rgba(255, 255, 255, 0.1);
                color: white;
                text-decoration: none;
                border-radius: 5px;
                font-size: 0.8rem;
                transition: all 0.3s ease;
            }
    
            .game-btn:hover {
                background: var(--xbox-green);
            }
    
            /* Footer */
            .xbox-footer {
                background: #000;
                padding: 40px 20px;
                margin-top: 60px;
            }
    
            .footer-grid {
                display: grid;
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
                gap: 30px;
                max-width: 1400px;
                margin: 0 auto;
            }
    
            .footer-column {
                margin-bottom: 20px;
            }
    
            .footer-title {
                color: var(--xbox-green);
                margin-bottom: 15px;
                font-size: 1.1rem;
                position: relative;
                padding-bottom: 8px;
            }
    
            .footer-title::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 40px;
                height: 2px;
                background: var(--xbox-green);
            }
    
            .footer-links {
                list-style: none;
            }
    
            .footer-link {
                margin-bottom: 10px;
                transition: all 0.3s ease;
            }
    
            .footer-link a {
                color: #aaa;
                text-decoration: none;
                display: flex;
                align-items: center;
                transition: all 0.3s ease;
            }
    
            .footer-link a:hover {
                color: white;
                transform: translateX(5px);
            }
    
            .footer-link i {
                margin-right: 8px;
                width: 20px;
                text-align: center;
            }
    
            .footer-bottom {
                text-align: center;
                padding-top: 30px;
                margin-top: 30px;
                border-top: 1px solid rgba(255, 255, 255, 0.1);
                color: #777;
                font-size: 0.9rem;
            }
    
            /* Responsive */
            @media (max-width: 768px) {
                .hero h1 {
                    font-size: 2rem;
                }
                
                .hero p {
                    font-size: 1rem;
                }
                
                .games-grid {
                    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
                }
                
                .footer-grid {
                    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
                }
            }
    
            @media (max-width: 480px) {
                .hero {
                    padding: 60px 15px 30px;
                }
                
                .hero h1 {
                    font-size: 1.8rem;
                }
                
                .join-btn {
                    padding: 10px 25px;
                    font-size: 1rem;
                }
                
                .games-grid {
                    grid-template-columns: 1fr;
                }
                
                .game-card {
                    max-width: 300px;
                    margin: 0 auto;
                }
                
                .footer-grid {
                    grid-template-columns: 1fr;
                }
            }
    
            /* Animaciones */
            @keyframes fadeInUp {
                from {
                    opacity: 0;
                    transform: translateY(20px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
    
            .game-card {
                animation: fadeInUp 0.5s ease forwards;
                opacity: 0;
            }
    
            .game-card:nth-child(1) { animation-delay: 0.1s; }
            .game-card:nth-child(2) { animation-delay: 0.2s; }
            .game-card:nth-child(3) { animation-delay: 0.3s; }
            .game-card:nth-child(4) { animation-delay: 0.4s; }
            .game-card:nth-child(5) { animation-delay: 0.5s; }
            .game-card:nth-child(6) { animation-delay: 0.6s; }
            .game-card:nth-child(7) { animation-delay: 0.7s; }
            .game-card:nth-child(8) { animation-delay: 0.8s; }
            .game-card:nth-child(9) { animation-delay: 0.9s; }
            .game-card:nth-child(10) { animation-delay: 1.0s; }
            .game-card:nth-child(11) { animation-delay: 1.1s; }
            .game-card:nth-child(12) { animation-delay: 1.2s; }
            .game-card:nth-child(13) { animation-delay: 1.3s; }
    
            .footer-link {
                animation: fadeInUp 0.5s ease forwards;
                opacity: 0;
            }
    
            .footer-column:nth-child(1) .footer-link { animation-delay: 0.1s; }
            .footer-column:nth-child(2) .footer-link { animation-delay: 0.2s; }
            .footer-column:nth-child(3) .footer-link { animation-delay: 0.3s; }
            .footer-column:nth-child(4) .footer-link { animation-delay: 0.4s; }
            .footer-column:nth-child(5) .footer-link { animation-delay: 0.5s; }