:root {
    --twitch: #6441a5;
    --kick: #00e701;
}

body {
    position: relative;
    min-height: 100vh;
    background: none;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.avatar {
    height: 200px;
    width: auto;
    filter: drop-shadow(5px 4px 0px rgba(0, 0, 0, 1));
    transition: transform 300ms ease, filter 300ms ease;
    margin-top: 50px;
}

main {
    flex: 1;
}

footer {
    width: 100%;
    padding: 60px 20px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
    position: relative;
    z-index: 10;
}

footer img {
    height: 30px;
    width: auto;
    margin: 0 10px;
    object-fit: contain;
}

.logo-autoprohibicion {
    height: 55px !important;
}

.logo-jugarbien {
    height: 40px !important;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url(assets/wallpaper.png);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    filter: blur(4px);
    transform: scale(1.06);
    z-index: -3;
    pointer-events: none;
}

.card-link {
    position: relative;
    overflow: visible;
    width: 100%;
    aspect-ratio: 1.1 / 1;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 100ms ease-in-out;
    z-index: 1;
    display: flex;
}

.card-link:hover {
    transform: translateY(-5px);
}

.card-link::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: inherit;
    background: conic-gradient(
        from 0deg,
        rgb(94, 0, 0),
        rgba(255, 80, 80, 0.1) 20%,
        rgba(255, 80, 80, 0) 35%,
        rgba(255, 80, 80, 0) 65%,
        rgba(255, 80, 80, 0.1) 80%,
        rgb(255, 7, 7)
    );
    filter: blur(14px);
    animation: glow-spin 3.5s linear infinite;
    z-index: -2;
}

.card-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: #141716; 
    border-radius: 14px; 
    z-index: 1;
}

.card-link::after {
    content: "";
    position: absolute;
    inset: 2px; 
    border-radius: inherit;
    background: rgba(20, 24, 22, 1);
    z-index: -1;
}

@keyframes glow-spin {
    from {
        transform: rotate(-400deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.card-inside {
    background-color: rgba(0, 0, 0, 0.932);
    border-radius: 15px;
    padding: 50px;
    height: 130px;
    width: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.btn-custom {
    background-color: rgba(114, 18, 18, 0.8);
    border: 1px solid rgb(114, 18, 18);
    font-size: large;
    color: white;
    font-weight: bold;
    transition: transform 300ms ease-in-out, box-shadow 300ms ease-in-out;
}

.btn-custom:hover {
    background-color: rgb(114, 18, 18);
    box-shadow: 0 0 20px rgb(114, 18, 18);
    color: white;
}

.btn-custom:active {
    transform: translateY(-1px);
}

.rrss {
    background-color: rgba(0, 0, 0, 0.801);
    border-radius: 15px;
    transition: transform 100ms ease-in-out;
    aspect-ratio: 4 / 1;
    display: flex;
    align-items: center;
    justify-content: start;
    flex: 1;
    text-decoration: none !important;
}

.kick {
    box-shadow: 0 0 20px var(--kick);

}

.twitch {
    box-shadow: 0 0 20px var(--twitch);

}

.rrss .dot {
    width: 9px;
    height: 9px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
    flex-shrink: 0;
}

.rrss.kick .dot {
    background: var(--kick);
    box-shadow: 0 0 10px var(--kick);
    animation: ledTilt 1.4s infinite;
}

.rrss.twitch .dot {
    background: var(--twitch);
    box-shadow: 0 0 10px var(--twitch);
    animation: ledTilt 1.4s infinite;
}

@keyframes ledTilt {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

.rrss:hover {
    transform: scale(1.2);
    cursor: pointer;
}

.rrss p {
    margin: 0;
    text-align: center;
    color: white;
    font-weight:700;
}

.logo {
    width: 25px;
    margin: 10px;
}

p {
    color: white;
    font-weight: bolder;
    font-size: larger;
}

.modal-content.style-modal {
    border: 2px solid #990000 !important;
    box-shadow: 0 0 30px rgba(153, 0, 0, 0.6);
    border-radius: 15px;
}

#ageModal .btn-danger {
    background-color: #990000;
    border-color: #990000;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}

#ageModal .btn-danger:hover {
    background-color: #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
}

#ageModal .modal-body {
    transition: opacity 300ms ease, transform 300ms ease;
    opacity: 1;
    transform: scale(1);
}

#ageModal .modal-body.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.modal-backdrop.show {
    opacity: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.61) !important;
}

.text-extra {
    color: rgb(216, 216, 216);
    font-weight: normal;
    font-size: larger;
}

