/* =========================================================
   RIVERA STORE
   STYLE.CSS
   ESTILOS GLOBALES
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    min-height: 100vh;

    background: #05060d;
    color: #ffffff;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    line-height: 1.5;

    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

/* =========================================================
   CONTENEDOR GLOBAL
   ========================================================= */

.container {
    width: min(1180px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: relative;
    z-index: 100;

    width: 100%;

    background: #05060d;

    border-bottom: 1px solid rgba(255,255,255,.07);
}

.header-container {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.logo-image {
    display: block;

    width: 145px;
    height: auto;

    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;

    gap: 25px;
}

.main-nav a {
    color: #9da2b5;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        color .2s ease,
        opacity .2s ease;
}

.main-nav a:hover {
    color: #ffffff;
}

.header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 130px;
    min-height: 42px;

    padding: 10px 18px;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #2563eb
        );

    border: 1px solid rgba(255,255,255,.10);

    color: #ffffff !important;

    text-decoration: none !important;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        opacity .2s ease;
}

.header-button:hover {
    color: #ffffff !important;

    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(37,99,235,.30);

    opacity: .95;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    margin-top: 60px;

    background: #05060a;

    border-top: 1px solid rgba(255,255,255,.07);
}

.footer-grid {
    padding: 55px 0;

    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr;

    gap: 45px;
}

.footer-logo {
    margin-bottom: 10px;

    color: #ffffff;

    font-size: 20px;
    font-weight: 900;

    letter-spacing: 1px;
}

.footer-grid p {
    margin: 6px 0;

    color: #747986;

    font-size: 13px;
}

.footer-grid h3 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: 14px;
}

.footer-grid a {
    display: block;

    margin: 8px 0;

    color: #818693;

    font-size: 13px;

    text-decoration: none;

    transition: color .2s ease;
}

.footer-grid a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding: 18px 0;

    border-top: 1px solid rgba(255,255,255,.06);

    color: #666b76;

    font-size: 12px;
}

.footer-bottom span {
    margin-left: 8px;
}

/* =========================================================
   FILTROS
   ========================================================= */

.store-filter-list {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 15px;
}

.store-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;

    min-width: 0;
    min-height: 40px;

    padding: 9px 16px;

    border-radius: 10px;

    background: #151923;

    border: 1px solid rgba(255,255,255,.10);

    color: #cbd5e1 !important;

    text-decoration: none !important;

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.store-filter:hover {
    color: #ffffff !important;

    background: #202638;

    border-color: rgba(124,58,237,.55);

    transform: translateY(-1px);
}

.store-filter.active {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #2563eb
        );

    border-color: transparent;

    box-shadow:
        0 8px 20px rgba(37,99,235,.22);
}

/* =========================================================
   CARRITO
   ========================================================= */

.rs-cart-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        330px;

    gap: 25px;

    margin-top: 30px;

    align-items: start;
}

.rs-cart-products {
    display: flex;
    flex-direction: column;

    gap: 15px;
}

.rs-cart-item {
    display: grid;

    grid-template-columns:
        100px
        minmax(0, 1fr)
        auto;

    gap: 18px;

    align-items: center;

    padding: 16px;

    background: #11151f;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 16px;
}

.rs-cart-image {
    width: 100px;
    height: 100px;

    border-radius: 12px;

    overflow: hidden;

    background:
        radial-gradient(
            circle,
            #252b42,
            #0d1119
        );

    display: flex;
    align-items: center;
    justify-content: center;
}

.rs-cart-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.rs-cart-image span {
    font-size: 35px;
}

/* =========================================================
   BOTONES GENERALES DE PRODUCTOS
   ========================================================= */

.store-product-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 44px;

    padding: 11px 16px;

    border-radius: 10px;

    border: 1px solid rgba(255,255,255,.10);

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #2563eb
        );

    color: #ffffff !important;

    text-decoration: none !important;

    font-size: 14px;
    font-weight: 700;

    box-sizing: border-box;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        opacity .2s ease;
}

.store-product-button:hover {
    color: #ffffff !important;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(37,99,235,.30);

    opacity: .95;
}

/* =========================================================
   RESPONSIVE GLOBAL
   ========================================================= */

@media (max-width: 850px) {

    .header-container {
        gap: 15px;
    }

    .main-nav {
        gap: 15px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .rs-cart-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {

    .container {
        width: min(
            100% - 26px,
            1180px
        );
    }

    .header-container {
        min-height: 68px;
    }

    .logo-image {
        width: 125px;
    }

    .main-nav {
        display: none;
    }

    .header-button {
        min-width: 95px;
        padding: 9px 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 40px 0;
    }

    .footer-bottom span {
        display: block;

        margin: 5px 0 0;
    }

    .rs-cart-item {
        grid-template-columns: 75px minmax(0,1fr);
    }

    .rs-cart-image {
        width: 75px;
        height: 75px;
    }
}

/* =========================================================
   RIVERA STORE - TIENDA / CHECKOUT / CARRITO
   CORRECCIÓN VISUAL GLOBAL
   ========================================================= */

.store-page,
.checkout-page,
.contact-section {
    padding: 56px 0 72px;
}

.store-header,
.checkout-header,
.page-hero {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 34px;
}

.store-brand,
.checkout-brand,
.section-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 13px;
    border: 1px solid rgba(124,58,237,.35);
    border-radius: 999px;
    background: rgba(124,58,237,.10);
    color: #a78bfa;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.store-header h1,
.checkout-header h1,
.page-hero h1 {
    margin: 14px 0 8px;
    color: #fff;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.08;
    letter-spacing: -.03em;
}

.store-header p,
.checkout-header p,
.page-hero p {
    margin: 0;
    color: #8f96aa;
    font-size: 16px;
}

.store-filters-title {
    margin: 0 0 12px;
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 800;
}

.store-products-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 38px 0 18px !important;
}

.store-products-heading h2 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 25px;
    line-height: 1.2;
}

.store-products-heading p {
    margin: 0;
    color: #777f93;
    font-size: 14px;
}

.store-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.store-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: linear-gradient(180deg, #121724 0%, #0d111a 100%);
    box-shadow: 0 12px 35px rgba(0,0,0,.20);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.store-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124,58,237,.38);
    box-shadow: 0 18px 42px rgba(0,0,0,.30);
}

.store-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #171d2b;
}

.store-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.store-product-card:hover .store-product-image img {
    transform: scale(1.035);
}

.store-product-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #697187;
    font-size: 42px;
}

.store-product-badge {
    position: absolute;
    top: 13px;
    left: 13px;
    z-index: 2;
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(5,6,13,.82);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    backdrop-filter: blur(8px);
}

.store-product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
    min-width: 0;
}

.store-product-category {
    display: block;
    margin-bottom: 7px;
    color: #8b93a8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.store-product-name {
    margin: 0;
    color: #fff;
    font-size: 20px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.store-product-description {
    margin: 9px 0 0;
    color: #858da0;
    font-size: 13px;
    line-height: 1.55;
    min-height: 40px;
}

.store-product-prices {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 18px;
}

.store-product-price {
    color: #fff;
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -.02em;
}

.store-product-old-price {
    color: #666e82;
    font-size: 13px;
    text-decoration: line-through;
}

.store-product-button {
    display: inline-flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 11px;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.store-product-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37,99,235,.25);
    filter: brightness(1.05);
}

.store-product-card form {
    width: 100%;
}

.store-empty,
.checkout-empty {
    max-width: 650px;
    margin: 40px auto;
    padding: 55px 30px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    background: #11151f;
}

.store-empty-icon,
.checkout-empty-icon {
    margin-bottom: 15px;
    font-size: 44px;
}

.store-empty h3,
.checkout-empty h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 24px;
}

.store-empty p,
.checkout-empty p {
    margin: 0;
    color: #81899c;
}

/* ------------------------- CART ------------------------- */

.rs-cart-summary {
    position: sticky;
    top: 96px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: linear-gradient(180deg, #141a28, #0f131d);
    box-shadow: 0 15px 35px rgba(0,0,0,.22);
}

.rs-cart-summary h2 {
    margin: 7px 0 22px;
    font-size: 24px;
}

.rs-cart-summary-row,
.rs-cart-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.rs-cart-summary-row {
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    color: #9299ab;
    font-size: 14px;
}

.rs-cart-summary-row strong {
    color: #fff;
}

.rs-cart-summary-total {
    align-items: center;
    margin: 18px 0 22px;
    color: #a5acbc;
}

.rs-cart-summary-total strong {
    color: #fff;
    font-size: 25px;
}

.rs-cart-checkout {
    margin-bottom: 12px;
}

.rs-cart-continue,
.rs-cart-remove,
.rs-cart-clear {
    border: 0;
    background: transparent;
    color: #8f97aa;
    font-size: 13px;
    text-decoration: none;
}

.rs-cart-continue {
    display: block;
    text-align: center;
}

.rs-cart-continue:hover,
.rs-cart-remove:hover,
.rs-cart-clear:hover {
    color: #fff;
}

.rs-cart-update {
    padding-top: 3px;
}

.rs-cart-remove {
    padding: 8px 0 0;
}

.rs-cart-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 13px;
}

.rs-cart-quantity label {
    color: #7f879a;
    font-size: 12px;
}

.rs-cart-quantity input {
    width: 78px;
    height: 38px;
    padding: 0 9px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 9px;
    outline: none;
    background: #0a0e16;
    color: #fff;
}

.rs-cart-item-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    align-self: stretch;
    justify-content: center;
    min-width: 100px;
}

.rs-cart-item-total strong {
    color: #fff;
    font-size: 18px;
}

.rs-cart-clear-form {
    width: min(1180px, calc(100% - 40px));
    margin: 15px auto 0;
    text-align: right;
}

.rs-cart-clear {
    cursor: pointer;
    padding: 8px 0;
}

/* ----------------------- CHECKOUT ----------------------- */

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr);
    gap: 25px;
    align-items: start;
    max-width: 1050px;
    margin: 0 auto;
}

.checkout-product,
.checkout-form-box {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: #11151f;
}

.checkout-product {
    padding: 28px;
    position: sticky;
    top: 96px;
}

.checkout-product h2 {
    margin: 10px 0 14px;
    color: #fff;
    font-size: 25px;
}

.checkout-price {
    color: #fff;
    font-size: 30px;
    font-weight: 900;
}

.checkout-form-box {
    padding: 28px;
}

.checkout-form-box h2 {
    margin: 0 0 22px;
    color: #fff;
    font-size: 22px;
}

.order-form,
.form-group {
    display: flex;
    flex-direction: column;
}

.order-form {
    gap: 17px;
}

.form-group {
    gap: 7px;
}

.form-group label {
    color: #d7dbea;
    font-size: 13px;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 45px;
    padding: 10px 13px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;
    outline: none;
    background: #090d15;
    color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(124,58,237,.75);
    box-shadow: 0 0 0 3px rgba(124,58,237,.10);
}

.form-group small {
    line-height: 1.45;
}

.checkout-submit {
    display: inline-flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.checkout-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37,99,235,.25);
}

.checkout-empty-button {
    width: auto;
    max-width: 260px;
    margin-top: 20px;
}

/* ---------------------- CONTACTO ------------------------ */

.contact-section .container {
    max-width: 1050px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}

.contact-card {
    position: relative;
    min-width: 0;
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: #11151f;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 12px;
    background: rgba(124,58,237,.14);
}

.contact-card h3 {
    margin: 0 0 8px;
    color: #fff;
}

.contact-card p,
.contact-info,
.contact-item {
    color: #858da0;
}

/* ---------------------- RESPONSIVE ---------------------- */

@media (max-width: 980px) {
    .store-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-product {
        position: static;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .header-container {
        min-height: auto;
        padding: 15px 0;
        flex-wrap: wrap;
    }

    .logo-image {
        width: 130px;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 18px;
        padding-top: 5px;
    }

    .header-button {
        min-width: 105px;
    }

    .store-products-grid {
        grid-template-columns: 1fr;
    }

    .rs-cart-layout {
        grid-template-columns: 1fr;
    }

    .rs-cart-summary {
        position: static;
    }

    .rs-cart-item {
        grid-template-columns: 82px minmax(0,1fr);
    }

    .rs-cart-image {
        width: 82px;
        height: 82px;
    }

    .rs-cart-item-total {
        grid-column: 2;
        align-items: flex-start;
        min-width: 0;
        padding-top: 3px;
    }

    .rs-cart-clear-form {
        width: calc(100% - 28px);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .store-page,
    .checkout-page,
    .contact-section {
        padding-top: 38px;
    }

    .store-header h1,
    .checkout-header h1,
    .page-hero h1 {
        font-size: 34px;
    }

    .store-product-info,
    .checkout-form-box,
    .checkout-product,
    .rs-cart-summary {
        padding: 19px;
    }

    .rs-cart-item {
        padding: 12px;
        gap: 12px;
    }
}

/* =========================================================
   RIVERA STORE — VISUAL REFRESH / FREE FIRE EDITION
   ========================================================= */
body {
    background: #05060c;
}
.site-header {
    position: sticky;
    top: 0;
    background: rgba(4,5,11,.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-container { min-height: 72px; }
.header-logo {
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none!important;
    min-width:220px;
}
.logo-mark {
    width:42px;
    height:42px;
    object-fit:contain;
}
.brand-wordmark {
    font-size:22px;
    font-weight:900;
    letter-spacing:-.03em;
    color:#fff;
    white-space:nowrap;
}
.brand-wordmark strong { color:#8b5cf6; font-style:italic; }
.main-nav { gap:8px; }
.main-nav a {
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:10px 14px;
    border-radius:999px;
    color:#c4c8d4;
}
.main-nav a.active,
.main-nav a:hover {
    color:#fff;
    background:rgba(124,58,237,.18);
}
.header-button {
    min-width:150px;
    border-radius:11px;
    background:linear-gradient(135deg,#7c3aed,#8b5cf6);
    box-shadow:0 8px 26px rgba(124,58,237,.25);
}
.site-footer {
    margin-top:0;
    background:rgba(3,4,9,.94);
    position:relative;
    z-index:2;
}
@media(max-width:800px){
    .main-nav { display:none; }
    .header-logo { min-width:auto; }
    .brand-wordmark { font-size:18px; }
    .header-button { min-width:auto; padding:9px 12px; }
}


/* =========================================================
   RIVERA STORE — SOPORTE / CONTACTO
   ========================================================= */

.support-page {
    background:
        linear-gradient(180deg, rgba(5,6,13,.30), rgba(5,6,13,.96)),
        url('../images/backgrounds/contacto.jpg') center top / cover fixed no-repeat;
}

.support-page main {
    position: relative;
}

.support-hero {
    position: relative;
    min-height: 265px;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-align: center;
}

.support-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 80%, rgba(124,58,237,.22), transparent 40%),
        linear-gradient(180deg, rgba(5,6,13,.15), rgba(5,6,13,.68));
}

.support-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5,6,13,.45), transparent 30%, transparent 70%, rgba(5,6,13,.45));
    pointer-events: none;
}

.support-hero-content {
    position: relative;
    z-index: 2;
    padding: 45px 0 30px;
}

.support-kicker {
    color: #a78bfa;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.support-hero h1 {
    margin: 12px 0 10px;
    color: #fff;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -.04em;
}

.support-hero h1 strong {
    color: #8b5cf6;
}

.support-hero p {
    margin: 8px 0 0;
    color: #9da4b7;
    font-size: 17px;
}

.support-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 130px;
    margin: 18px auto 0;
}

.support-divider span {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #7c3aed);
}

.support-divider span:last-child {
    background: linear-gradient(90deg, #7c3aed, transparent);
}

.support-divider b {
    color: #a78bfa;
    font-size: 10px;
}

.support-section {
    position: relative;
    padding: 18px 0 72px;
}

.support-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.support-card {
    position: relative;
    min-height: 405px;
    padding: 25px 28px 24px;
    overflow: hidden;
    border: 1px solid rgba(139,92,246,.32);
    border-radius: 22px;
    background: linear-gradient(150deg, rgba(7,10,20,.93), rgba(11,14,26,.88));
    box-shadow: 0 22px 50px rgba(0,0,0,.30);
    transform: skewY(-1.2deg);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.support-card > * {
    transform: skewY(1.2deg);
}

.support-card:nth-child(2) {
    transform: skewY(1.2deg);
    margin-top: 17px;
    border-color: rgba(124,58,237,.50);
}

.support-card:nth-child(2) > * {
    transform: skewY(-1.2deg);
}

.support-card:nth-child(3) {
    transform: skewY(-1.5deg);
    margin-top: 4px;
    border-color: rgba(251,146,60,.42);
}

.support-card:nth-child(3) > * {
    transform: skewY(1.5deg);
}

.support-card:hover {
    transform: skewY(-1.2deg) translateY(-6px);
    box-shadow: 0 28px 60px rgba(0,0,0,.42);
}

.support-card:nth-child(2):hover {
    transform: skewY(1.2deg) translateY(-6px);
}

.support-card:nth-child(3):hover {
    transform: skewY(-1.5deg) translateY(-6px);
}

.support-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -95px;
    bottom: -110px;
    border-radius: 50%;
    background: rgba(124,58,237,.13);
    filter: blur(15px);
    pointer-events: none;
}

.support-card-whatsapp {
    border-color: rgba(34,197,94,.60);
    box-shadow: 0 22px 50px rgba(0,0,0,.30), inset 0 0 35px rgba(34,197,94,.035);
}

.support-card-discord {
    border-color: rgba(124,58,237,.58);
}

.support-card-email {
    border-color: rgba(249,115,22,.52);
    box-shadow: 0 22px 50px rgba(0,0,0,.30), inset 0 0 35px rgba(249,115,22,.035);
}

.support-card-top {
    display: flex;
    justify-content: flex-end;
    min-height: 25px;
}

.support-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(0,0,0,.28);
    color: #a78bfa;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .06em;
}

.support-card-whatsapp .support-badge {
    color: #22c55e;
}

.support-card-email .support-badge {
    color: #f97316;
}

.support-logo {
    width: 76px;
    height: 76px;
    margin: 0 0 20px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.support-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.support-logo-whatsapp {
    background: linear-gradient(145deg, #16a34a, #22c55e);
    padding: 13px;
}

.support-logo-discord {
    background: linear-gradient(145deg, #4f46e5, #7c3aed);
}

.support-logo-email {
    background: #fff;
}

.support-card h2 {
    margin: 0 0 3px;
    color: #fff;
    font-size: 27px;
    line-height: 1.1;
}

.support-card h3 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 800;
}

.support-card-whatsapp h3 {
    color: #22c55e;
}

.support-card-discord h3 {
    color: #a78bfa;
}

.support-card-email h3 {
    color: #f97316;
}

.support-card p {
    max-width: 285px;
    min-height: 50px;
    margin: 0;
    color: #9aa2b4;
    font-size: 14px;
    line-height: 1.55;
}

.support-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    margin-top: 22px;
    padding: 11px 15px;
    border-radius: 10px;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 900;
    transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.support-action:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.support-action img {
    width: 23px;
    height: 23px;
    object-fit: contain;
}

.support-action-whatsapp {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    box-shadow: 0 10px 25px rgba(34,197,94,.18);
}

.support-action-discord {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    box-shadow: 0 10px 25px rgba(124,58,237,.20);
}

.support-action-email {
    background: linear-gradient(135deg, #ea4335, #f97316);
    box-shadow: 0 10px 25px rgba(249,115,22,.18);
}

.support-action-disabled {
    opacity: .68;
    cursor: not-allowed;
    filter: saturate(.65);
}

.support-contact-number,
.support-contact-status {
    display: block;
    margin-top: 9px;
    text-align: center;
    color: #a3aabd;
    font-size: 13px;
}

.support-info-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 0;
    margin: 28px auto 0;
    max-width: 1050px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 16px;
    background: rgba(7,10,18,.82);
    box-shadow: 0 18px 40px rgba(0,0,0,.25);
}

.support-info-item {
    display: flex;
    gap: 16px;
    padding: 22px 28px;
    align-items: flex-start;
}

.support-info-item + .support-info-item {
    border-left: 1px solid rgba(255,255,255,.07);
}

.support-info-icon {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(124,58,237,.35);
    border-radius: 17px;
    background: rgba(124,58,237,.10);
    color: #a78bfa;
    font-size: 24px;
}

.support-info-item strong {
    display: block;
    margin: 2px 0 5px;
    color: #fff;
    font-size: 15px;
}

.support-info-item p {
    margin: 0;
    color: #858da0;
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .support-cards {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .support-card,
    .support-card:nth-child(2),
    .support-card:nth-child(3) {
        margin-top: 0;
        transform: none;
    }

    .support-card > *,
    .support-card:nth-child(2) > *,
    .support-card:nth-child(3) > * {
        transform: none;
    }

    .support-card:hover,
    .support-card:nth-child(2):hover,
    .support-card:nth-child(3):hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 650px) {
    .support-hero {
        min-height: 220px;
    }

    .support-section {
        padding-top: 8px;
    }

    .support-card {
        min-height: 385px;
        padding: 22px;
    }

    .support-info-bar {
        grid-template-columns: 1fr;
    }

    .support-info-item + .support-info-item {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.07);
    }
}

/* Acceso directo a la portada general de Rivera Games Store */
.header-home-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:40px;
    padding:0 13px;
    border:1px solid rgba(139,92,246,.34);
    border-radius:10px;
    background:rgba(139,92,246,.10);
    color:#e9e5ff !important;
    text-decoration:none !important;
    font-size:11px;
    font-weight:850;
    white-space:nowrap;
    transition:transform .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.header-home-button:hover{
    transform:translateY(-1px);
    background:rgba(139,92,246,.18);
    border-color:rgba(167,139,250,.55);
    box-shadow:0 8px 24px rgba(76,45,170,.18);
}
@media(max-width:900px){.header-home-button{min-height:38px;padding:0 10px}.header-home-button span{display:none}}
@media(max-width:650px){.header-home-button{display:inline-flex;min-width:38px;padding:0 10px}.header-home-button+ .header-button{min-width:38px;padding:0 10px}.header-home-button+ .header-button span{display:none}}
