:root {
    --c-bg: #FFFFFF;
    --c-white: #FFFFFF;
    --c-primary: #A374C6;
    /* Lila del logo */
    --c-accent: #4BA797;
    /* Verde Agua exacto del divider */
    --c-orange: #F59200;
    /* Naranja exacto del banner */
    --c-yellow: #FFD166;
    --c-blue: #118AB2;
    --c-text: #2B2D42;
    --c-text-light: #5C677D;

    --font-display: 'Sigmar One', cursive;
    --font-social: 'Open Sans', sans-serif;
    --font-ui: 'Nunito', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-xl: 50px;
    --radius-pill: 100px;

    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(255, 78, 106, 0.15);

    --transition-smooth: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--c-white);
    color: var(--c-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--c-accent);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ANIMATIONS */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

.floating-delay {
    animation: float 5s ease-in-out infinite 1.5s;
}

.spinning {
    animation: spin 15s linear infinite;
}

.slide-up {
    animation: slideUpFade 0.8s forwards ease-out;
    opacity: 0;
}

/* HEADER */
.main-header {
    background: var(--c-white);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin: 0 20px;
    transition: transform 0.4s ease;
    max-height: 112px;
    box-sizing: border-box;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}

.mobile-menu-toggle svg {
    width: 32px;
    height: 32px;
    fill: var(--c-primary);
}

.brand-logo {
    max-height: 92px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.brand-logo:hover {
    transform: scale(1.05) rotate(-3deg);
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 15px;
}

.social-icons svg {
    width: 28px;
    height: 28px;
    fill: var(--c-primary);
    transition: var(--transition-smooth);
}

.social-icons svg:hover {
    fill: var(--c-accent);
    transform: scale(1.2) translateY(-3px);
}

.whatsapp-svg {
    width: 24px;
    height: 24px;
    fill: #4fc45b;
    margin-right: 10px;
    vertical-align: middle;
}

.main-nav {
    display: flex;
    gap: 20px;
    margin-left: auto;
    margin-right: 30px;
}

.main-nav a {
    font-family: var(--font-ui);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--c-accent);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    transition: var(--transition-smooth);
}

.main-nav a:hover {
    background: var(--c-primary);
    color: var(--c-white);
}

/* MARQUEE */
.marquee-container {
    background: var(--c-primary);
    color: var(--c-white);
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
}

.marquee-content span {
    margin: 0 40px;
}

/* HERO */
.hero-section {
    position: relative;
    padding: 0;
    text-align: center;
    background: transparent;
    margin-bottom: -5px;
    width: 100%;
    overflow: hidden;
}

.hero-banner-container {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
}

.hero-img {
    width: 100%;
    display: block;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    z-index: 2;
}

.deco-element {
    position: absolute;
    z-index: 3;
    font-size: 4rem;
    text-shadow: var(--shadow-sm);
}

.deco-1 {
    top: 20px;
    left: 20px;
}

.deco-2 {
    bottom: 40px;
    right: 20px;
    font-size: 5rem;
}

/* CATALOG GRID */
.catalog-section {
    padding: 20px 5% 80px;
    max-width: 1300px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 50px;
}

.section-title::after {
    content: "✿ ✿ ✿";
    display: block;
    font-size: 1.5rem;
    color: var(--c-yellow);
    margin-top: 10px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--c-white);
    border-radius: var(--radius-xl);
    padding: 25px;
    box-shadow: 0 15px 35px rgba(163, 116, 198, 0.25);
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 8px solid var(--c-white);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 177, 157, 0.35);
}

.badge-wrapper {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 80px;
    height: 80px;
    background: var(--c-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--c-white);
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.product-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 25px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.product-desc {
    color: var(--c-text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
}

.product-price {
    display: none;
}

.btn-guzal {
    background: var(--c-orange);
    color: var(--c-white);
    font-family: var(--font-display);
    font-weight: 400;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.btn-guzal:hover {
    background: var(--c-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(163, 116, 198, 0.3);
}

/* DETAILS PAGE */
.details-page {
    padding: 60px 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.btn-back {
    display: inline-block;
    background: var(--c-white);
    color: var(--c-accent);
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: 400;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-back:hover {
    background: var(--c-primary);
    color: var(--c-white);
}

.details-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--c-white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.gallery-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.main-preview {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: contain;
    background: var(--c-bg);
    border-radius: var(--radius-lg);
}

.thumbnails-strip {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.thumb-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition-smooth);
}

.thumb-img:hover {
    border-color: var(--c-primary);
    transform: translateY(-5px);
}

.video-box {
    margin-top: 30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.video-box video {
    width: 100%;
    display: block;
}

.info-wrapper h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.game-meta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--c-yellow);
    color: var(--c-accent);
    padding: 10px 25px;
    border-radius: var(--radius-pill);
    font-family: var(--font-ui);
    font-weight: 800;
    margin-bottom: 25px;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
}

.guzal-rules-card {
    background: var(--c-bg);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin: 30px 0;
    border: 2px dashed #E0D4C3;
}

.guzal-rules-card h3 {
    color: var(--c-blue);
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guzal-rules-card h3:first-child {
    margin-top: 0;
}

.guzal-rules-card h3::before {
    content: "✿";
    color: var(--c-primary);
}

.guzal-rules-card ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.guzal-rules-card li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 25px;
}

.guzal-rules-card li::before {
    content: "★";
    position: absolute;
    left: 0;
    color: var(--c-yellow);
    font-size: 1.2rem;
}

.buy-action {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--c-bg);
}

.buy-action .tag-price {
    display: none;
}

/* FOOTER */
.site-footer {
    color: var(--c-white);
    padding: 35px 5% 40px;
    margin-top: -5px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.textured-lila {
    background-color: var(--c-primary);
    /* Extra subtle SVG plexus pattern with 30% line transparency */
    background-image: url("data:image/svg+xml,%3Csvg width='300' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 40L250 30M30 40L150 150M250 30L150 150M150 150L60 240M150 150L230 220M60 240L230 220M150 10L80 80M150 10L220 80M80 80L220 80M10 150L80 80M10 150L80 220M80 80L80 220M290 150L220 80M290 150L220 220M220 80L220 220M150 290L80 220M150 290L220 220M80 220L220 220M80 80L150 150M220 80L150 150M80 220L150 150M220 220L150 150' stroke='rgba(255,255,255,0.3)' stroke-width='1.2' fill='none'/%3E%3Ccircle cx='30' cy='40' r='3' fill='rgba(255,255,255,0.4)'/%3E%3Ccircle cx='250' cy='30' r='3' fill='rgba(255,255,255,0.4)'/%3E%3Ccircle cx='150' cy='150' r='3' fill='rgba(255,255,255,0.4)'/%3E%3Ccircle cx='60' cy='240' r='3' fill='rgba(255,255,255,0.4)'/%3E%3Ccircle cx='230' cy='220' r='3' fill='rgba(255,255,255,0.4)'/%3E%3Ccircle cx='150' cy='10' r='3' fill='rgba(255,255,255,0.4)'/%3E%3Ccircle cx='10' cy='150' r='3' fill='rgba(255,255,255,0.4)'/%3E%3Ccircle cx='290' cy='150' r='3' fill='rgba(255,255,255,0.4)'/%3E%3Ccircle cx='150' cy='290' r='3' fill='rgba(255,255,255,0.4)'/%3E%3Ccircle cx='80' cy='80' r='3' fill='rgba(255,255,255,0.4)'/%3E%3Ccircle cx='220' cy='80' r='3' fill='rgba(255,255,255,0.4)'/%3E%3Ccircle cx='80' cy='220' r='3' fill='rgba(255,255,255,0.4)'/%3E%3Ccircle cx='220' cy='220' r='3' fill='rgba(255,255,255,0.4)'/%3E%3C/svg%3E");
    background-size: 350px;
    background-repeat: repeat;
}

.site-footer h3 {
    color: var(--c-white);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.site-footer p {
    font-size: 1.4rem;
}

.footer-columns {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.footer-col {
    flex: 1;
    min-width: 300px;
}

.footer-logo {
    height: 180px;
    margin-bottom: 20px;
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    border: none;
    font-family: var(--font-body);
}

.btn-submit {
    background: var(--c-accent);
    color: var(--c-white);
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 400;
    transition: var(--transition-smooth);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-back-bottom {
    display: block;
    margin: 40px auto 0;
    background: var(--c-accent);
    color: var(--c-white);
    padding: 12px 30px;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: 400;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn-back-bottom:hover {
    background: var(--c-primary);
    transform: scale(1.05);
}

.copyright-bar {
    background: #000000;
    color: #FFFFFF;
    text-align: center;
    padding: 15px 20px;
    font-size: 0.9rem;
    font-family: var(--font-body);
}

@media (max-width: 1024px) {
    .section-title {
        font-size: 2.8rem;
    }
    
    .details-layout {
        gap: 30px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .main-header {
        margin: 0;
        border-radius: 0;
        padding: 10px 20px;
    }

    .brand-logo {
        max-height: 60px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--c-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1050;
        gap: 30px;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav a {
        font-size: 1.5rem;
    }

    .social-icons {
        margin-left: 0;
        margin-top: 20px;
        gap: 25px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-banner-container {
        padding: 0;
    }

    .deco-element {
        font-size: 2.5rem;
    }
    
    .deco-2 {
        font-size: 3rem;
        bottom: 20px;
    }

    .footer-columns {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-col {
        min-width: unset;
        width: 100%;
    }

    .details-layout {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .info-wrapper h1 {
        font-size: 2rem;
    }

    .thumbnails-strip {
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .thumb-img {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .product-card {
        padding: 15px;
        border-radius: var(--radius-lg);
    }

    .badge-wrapper {
        width: 60px;
        height: 60px;
        font-size: 0.8rem;
    }
}