@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --primary: #ccee00;
    /* Neon Lime/Green */
    --primary-glow: rgba(204, 238, 0, 0.4);
    --accent: #2e2e2e;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --gold: #ffd700;
    --gradient-gold: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    --font-main: 'Outfit', sans-serif;
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    /* Fondo con imagen y superposición oscura para legibilidad */
    background: linear-gradient(rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.95)), url('./fondo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;

    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Premium Atmospheric Movement at Top */
.top-atmosphere {
    position: fixed;
    top: -20%;
    left: 0;
    width: 100%;
    height: 60%;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(at 10% 20%, rgba(204, 238, 0, 0.1) 0px, transparent 50%),
        radial-gradient(at 90% 10%, rgba(204, 238, 0, 0.08) 0px, transparent 50%),
        radial-gradient(at 50% 40%, rgba(255, 255, 255, 0.03) 0px, transparent 50%);
    filter: blur(80px);
    animation: atmosphereFloat 15s infinite alternate ease-in-out;
    opacity: 0.8;
}

/* Moving Light Sweep (Re-refined) */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            transparent 0%,
            rgba(204, 238, 0, 0.02) 40%,
            rgba(204, 238, 0, 0.04) 50%,
            rgba(204, 238, 0, 0.02) 60%,
            transparent 100%);
    background-size: 300% 300%;
    animation: backgroundSweep 12s infinite linear;
    pointer-events: none;
    z-index: -1;
}

@keyframes atmosphereFloat {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(30px) scale(1.1);
    }
}

@keyframes backgroundSweep {
    0% {
        background-position: -200% -200%;
    }

    100% {
        background-position: 200% 200%;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px var(--primary-glow);
    background-color: #fff;
}

.btn-outline {
    border: 2px solid var(--text-main);
    background: transparent;
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--text-main);
    color: #000;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    cursor: default;
}

.logo .highlight {
    background: linear-gradient(90deg, var(--primary), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    opacity: 0.7;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary-glow);
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    /* nav offset */
}

/* Background Gradients */
.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    z-index: 1;
    width: 100%;
}

.hero-text h1 {
    font-size: 5rem;
    line-height: 0.9;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* 3D Card - Horizontal Redesign */
.trading-card {
    width: 480px;
    height: 320px;
    perspective: 1000px;
    margin: 0 auto;
}

.card-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.trading-card:hover .card-inner {
    transform: rotateY(180deg);
}

#product-card:hover .card-inner {
    transform: none;
}

@keyframes rotate3d {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

.card-front,
.card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    overflow: hidden;
    backface-visibility: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: #000;
}

/* --- CARD FRONT (Camino Viejo) --- */
.camino-design {
    background: linear-gradient(135deg, #fceabb 0%, #f8b500 100%);
    position: relative;
    font-family: 'Outfit', sans-serif;
}

.camino-bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(115deg, #001f5b 40%, transparent 40.5%);
    z-index: 1;
}

.main-portrait {
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 35%;
    height: 85%;
    z-index: 2;
    display: flex;
    align-items: flex-end;
}

.portrait-placeholder {
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="30" r="20" fill="%23ccc"/><path d="M20 90 Q50 60 80 90" fill="%23ccc"/></svg>') no-repeat center bottom / contain;
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.3));
}

/* --- FINAL PREMIUM CARD OVERLAYS (Phase 5) --- */
.card-overlay-crest {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 65px;
    height: 65px;
    z-index: 10;
    object-fit: contain;
    pointer-events: none;
}

.card-overlay-category {
    position: absolute;
    left: 30px;
    top: 110px;
    z-index: 11;
    writing-mode: vertical-lr;
    text-orientation: upright;
    color: #1a4ab2;
    /* Royal Camino Blue */
    font-size: 2.4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -8px;
    /* Tight stack */
    pointer-events: none;
    line-height: 0.8;
}

.card-overlay-name-ripped {
    position: absolute;
    top: 50%;
    right: 25px;
    /* On the right side */
    transform: translateY(-50%);
    background: #fff;
    padding: 40px 14px;
    color: #1a4ab2;
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    writing-mode: vertical-lr;
    text-orientation: upright;
    letter-spacing: -3px;
    z-index: 12;
    pointer-events: none;
    /* High fidelity ripped pattern */
    clip-path: polygon(0% 0%, 9% 2%, 2% 5%, 11% 9%, 3% 13%, 12% 16%, 4% 21%, 14% 25%, 3% 30%, 12% 34%, 1% 39%, 13% 44%, 5% 49%, 14% 53%, 6% 58%, 13% 62%, 3% 67%, 12% 72%, 4% 77%, 13% 82%, 5% 87%, 12% 92%, 1% 96%, 8% 100%,
            100% 100%, 92% 97%, 100% 93%, 88% 89%, 99% 85%, 91% 81%, 100% 77%, 92% 72%, 99% 68%, 88% 64%, 97% 60%, 89% 56%, 100% 52%, 91% 48%, 99% 44%, 87% 40%, 96% 36%, 88% 32%, 100% 28%, 92% 24%, 99% 20%, 90% 16%, 98% 12%, 89% 8%, 100% 4%, 92% 1%, 100% 0%);
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
}

.card-overlay-number-circle {
    position: absolute;
    bottom: 35px;
    left: 45px;
    width: 75px;
    height: 75px;
    background: #1a4ab2;
    color: #fcc900;
    /* Gold */
    border: 5px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 950;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.card-footer-info {
    position: absolute;
    bottom: 15px;
    left: 80px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-shield-container {
    width: 45px;
    height: 45px;
    background: #001f5b;
    border: 2px solid #fff;
    border-radius: 50%;
    /* Simplified */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.footer-text {
    display: flex;
    flex-direction: column;
}

.team-name {
    font-size: 0.9rem;
    color: #001f5b;
    font-weight: 800;
    text-transform: uppercase;
}

.category-name {
    font-size: 1.6rem;
    color: #0044cc;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
}

.player-number-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 55px;
    height: 55px;
    background: #001f5b;
    color: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    z-index: 5;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
}

/* --- CARD BACK (Grunge) --- */
.card-back {
    transform: rotateY(180deg);
}

.camino-back-design {
    background-color: #f0f0f0;
    border: 6px solid #000;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.back-texture-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#888 1px, transparent 1px);
    background-size: 4px 4px;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.back-content {
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.back-title {
    font-family: 'Arial Black', sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 4px solid #000;
    width: 100%;
    text-align: center;
    margin: 5px 0;
    color: #000;
}

.back-stars {
    color: #888;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.big-shield-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

.shield-placeholder-lg {
    width: 120px;
    height: 140px;
    background: #111;
    clip-path: polygon(50% 0, 100% 20%, 100% 80%, 50% 100%, 0 80%, 0 20%);
    position: relative;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.inner-shield-text {
    width: 100%;
    display: flex;
    justify-content: space-around;
    font-size: 0.7rem;
    font-weight: bold;
    margin-top: 10px;
}

.cross-icon {
    font-size: 3rem;
    line-height: 1;
}

.ball-icon {
    position: absolute;
    top: -15px;
    font-size: 2.5rem;
    background: #fff;
    border-radius: 50%;
    line-height: 1;
    color: #000;
    border: 2px solid #000;
}

.back-bottom-banner {
    width: 90%;
    height: 25px;
    background: #ddd;
    border: 2px solid #000;
    margin-bottom: 5px;
    transform: skewX(-20deg);
}

.back-footer-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-family: sans-serif;
    font-weight: bold;
    border-top: 2px solid #000;
    padding-top: 5px;
}

.collection-info {
    font-size: 0.6rem;
    text-align: left;
    color: #555;
    line-height: 1.2;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #000;
}

.shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 40%);
    z-index: 10;
    pointer-events: none;
}

/* Stats Strip */
.trust-strip {
    background: var(--bg-card);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-strip .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.trust-item {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

.trust-item p {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.product-visual {
    height: 300px;
    background: #222;
    border-radius: 10px;
    margin-bottom: 20px;
}

.design-gold {
    background: linear-gradient(135deg, #333 0%, #444 100%);
    border: 2px solid var(--gold);
}

.design-totw {
    background: #000;
    border: 2px solid #555;
}

.design-retro {
    background: #5a3a2a;
    border: 2px solid #d4a017;
}

/* Steps */
.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.step-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.step-icon {
    width: 60px;
    height: 60px;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(204, 238, 0, 0.1);
    border-radius: 50%;
    padding: 12px;
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
}

.step-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.step-item p {
    color: var(--text-muted);
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.review-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
}

.stars {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.review-card p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.history-image-placeholder {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.history-image-placeholder:hover {
    transform: scale(1.02);
}

.history-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--primary);
    border-radius: 20px;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.author {
    font-weight: 600;
    color: var(--primary);
}

/* Contact */
.contact-section {
    text-align: center;
    background: radial-gradient(circle at center, rgba(204, 238, 0, 0.1) 0%, transparent 70%);
}

.big-btn {
    font-size: 1.2rem;
    padding: 20px 50px;
    margin-top: 30px;
}

/* Footer */
footer {
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #050505;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--primary);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Socials */
.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-socials {
    display: flex;
    gap: 10px;
}

.social-icon {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Japanese Wave Background - High Impact */
.wave-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    /* Deep ocean gradient */
    background: linear-gradient(180deg, #050505 0%, #0a1510 50%, #0d2015 100%);
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 35%;
    /* Taller waves */
    background-repeat: repeat-x;
    background-position: 0 bottom;
    background-size: 50% 100%;
    transform-origin: center bottom;
    will-change: transform;
}

/* 
   "The Great Wave" Style SVG Pattern
   Sharp, claw-like crests typical of Ukiyo-e woodblock prints.
*/
.wave:nth-child(1) {
    /* Foreground - Darkest, Fastest */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 200' preserveAspectRatio='none'%3E%3Cpath d='M0,100 C150,200 350,0 500,100 C650,200 750,50 800,100 V200 H0 V100 Z' fill='rgba(204, 238, 0, 0.15)'/%3E%3Cpath d='M0,120 C200,220 400,20 600,120 C750,200 850,50 950,120 V200 H0 V120 Z' fill='rgba(204, 238, 0, 0.2)'/%3E%3C/svg%3E");
    z-index: 3;
    opacity: 1;
    height: 25%;
    bottom: -10px;
    animation: waveScroll 6s linear infinite, waveSwell 4s ease-in-out infinite alternate;
}

.wave:nth-child(2) {
    /* Midground */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 200' preserveAspectRatio='none'%3E%3Cpath d='M0,80 C200,160 300,20 500,80 C700,140 800,40 900,80 V200 H0 V80 Z' fill='rgba(255, 255, 255, 0.05)'/%3E%3C/svg%3E");
    z-index: 2;
    opacity: 0.7;
    height: 30%;
    bottom: -20px;
    animation: waveScroll 12s linear infinite reverse, waveSwell 7s ease-in-out infinite alternate;
}

.wave:nth-child(3) {
    /* Background */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 200' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C250,150 450,10 700,60 C850,110 950,20 1100,60 V200 H0 V60 Z' fill='rgba(255, 255, 255, 0.03)'/%3E%3C/svg%3E");
    z-index: 1;
    opacity: 0.5;
    height: 40%;
    bottom: -30px;
    animation: waveScroll 20s linear infinite;
}

@keyframes waveScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes waveSwell {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-15px);
    }
}

/* Make sure the container covers enough area for parallax but doesn't block clicks */
.hero-content {
    position: relative;
    z-index: 10;
    /* Entrance Animation */
    animation: fadeUpEntrada 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeUpEntrada {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Update visual reference for gradient removal */
.hero-section::before {
    display: none;
    /* Remove old radial gradient */
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    border: 1px solid var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    text-align: center;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-muted);
}

.close-modal:hover {
    color: white;
}

.wa-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.wa-avatar {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.phone-number {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.btn-wa {
    width: 100%;
    text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-text p {
        margin: 0 auto 2.5rem;
    }

    .steps-container {
        flex-direction: column;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .mobile-toggle {
        display: block;
        color: white;
    }

    .nav-socials {
        display: none;
        /* Hide socials in nav on mobile */
    }
}

/* Discount Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000000;
    /* Extra high to ensure it shows over everything */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border: 3px solid var(--primary);
    /* Gold border for 'ad' feel */
    border-radius: 20px;
    padding: 60px 40px;
    max-width: 550px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.8), 0 0 30px var(--primary-glow);
    transform: translateY(30px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.modal-body h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    line-height: 1.1;
}

.modal-body p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popup-form input {
    padding: 15px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.popup-form input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.popup-success {
    margin-top: 20px;
    padding: 20px;
    background: rgba(204, 238, 0, 0.1);
    border-radius: 10px;
    border: 1px solid var(--primary);
}

.discount-code {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-top: 10px;
    letter-spacing: 2px;
}

.hidden {
    display: none;
}

/* --- STUDIO HERO & 3D ALBUM --- */
.studio-hero {
    background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 70%), var(--bg-dark);
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    position: relative;
    overflow: hidden;
}

.studio-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #fff;
    text-transform: none;
    /* Reference uses normal case */
}

.studio-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.album-container-3d {
    perspective: 2000px;
    width: 100%;
    max-width: 500px;
    margin: 40px auto 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book {
    width: 320px;
    height: 450px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-25deg) rotateX(10deg);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
}

.book.open {
    transform: rotateY(0deg) rotateX(0deg);
}

.book-page {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform-style: preserve-3d;
    transform-origin: left center;
    transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 1);
    z-index: 1;
}

.book-page.flipped {
    transform: rotateY(-180deg);
}

.page-front,
.page-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 2px 10px 10px 2px;
    overflow: hidden;
    background: #000;
    /* Fondo negro para evitar guiones blancos */
}

.page-back {
    transform: rotateY(180deg);
    background: #111;
    /* Darker pages to avoid white stripes/flicker */
    border-radius: 10px 2px 2px 10px;
}

/* Hardcover effect for front and final back */
.cover-front,
.cover-back {
    background: #000 !important;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
    /* Brillo en los bordes internos */
}

/* Page Shadows & Textures */
.page-front::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, transparent 5%, transparent 95%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 5;
}

.page-back::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(-90deg, rgba(0, 0, 0, 0.1) 0%, transparent 10%);
    pointer-events: none;
}

.cover-front {
    z-index: 10;
}

.cover-front img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.book-spine {
    position: absolute;
    width: 45px;
    height: 100%;
    left: -22px;
    background: linear-gradient(90deg, #000, #111, #000);
    transform: rotateY(-90deg);
    transform-origin: right;
    z-index: 1;
    border-radius: 5px 0 0 5px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

/* Volume / Thickness effect */
.book::before {
    content: '';
    position: absolute;
    top: 5px;
    right: -10px;
    width: 10px;
    height: calc(100% - 10px);
    transform: rotateY(90deg);
    transform-origin: left;
    background: linear-gradient(90deg, #222, #111 20%, #000 50%, #222);
    /* Darker volume */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.book.open::before {
    opacity: 0;
    pointer-events: none;
}

.cover-back {
    background: #000;
}

.cover-back img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* Interior Spreads */
.spread-left {
    background: url('pagina1.png') no-repeat left center / 200% 100% !important;
}

.spread-right {
    background: url('pagina1.png') no-repeat right center / 200% 100% !important;
}

.spread-left-2 {
    background: url('pagina2.png') no-repeat left center / 200% 100% !important;
}

.spread-right-2 {
    background: url('pagina2.png') no-repeat right center / 200% 100% !important;
}

.page-content {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #333;
}

.page-content h3 {
    color: var(--primary);
    /* Neon lime for visibility */
    margin-bottom: 20px;
}

.interior-img {
    width: 100%;
    height: 200px;
    background: #222;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.studio-cta {
    background: #111;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: none;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    text-decoration: none;
    margin-top: 20px;
}

.studio-cta:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--primary-glow);
}

.studio-cta span {
    font-size: 1.4rem;
    font-weight: 300;
}

/* --- CART SYSTEM --- */
.cart-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px var(--primary-glow);
    z-index: 1001;
    transition: var(--transition);
}

.cart-toggle:hover {
    transform: scale(1.1) translateY(-5px);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: #000;
    color: var(--primary);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 400px;
    height: 100%;
    background: var(--bg-card);
    z-index: 1002;
    transition: var(--transition);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.cart-close {
    cursor: pointer;
    font-size: 1.5rem;
    opacity: 0.7;
    transition: var(--transition);
}

.cart-close:hover {
    opacity: 1;
    color: var(--primary);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: #222;
    object-fit: cover;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 700;
}

.cart-item-remove {
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
}

.cart-item-remove:hover {
    opacity: 1;
    color: #ff4444;
}

.cart-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cart-empty {
    text-align: center;
    margin-top: 50px;
    opacity: 0.5;
}

/* --- PRODUCT DETAIL SPECIFICS --- */
.product-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 20px 0;
}

.delivery-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
    margin-top: 20px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
}

/* --- VERTICAL FLOW EDITOR STYLES --- */
.editor-header {
    margin-bottom: 40px;
}

.editor-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 5px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.editor-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

.editor-module {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
}

.module-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    min-width: 60px;
    user-select: none;
}

.module-content {
    flex-grow: 1;
}

.module-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.module-title::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.editor-buy-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    margin-top: 40px;
}

.buy-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.price-display {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.current-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.btn-add-cart {
    width: 100%;
    padding: 20px;
    font-size: 1.1rem;
    border: none;
}

.buy-info {
    text-align: center;
    font-size: 0.85rem;
    color: var(--primary);
    margin-top: 15px;
    opacity: 0.8;
}

/* Redefining format-card for better vertical stack info */
.format-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px;
}

.format-price {
    margin-top: 0;
}

/* Preview Area Enhancement */
.detail-image {
    background: radial-gradient(circle, rgba(204, 238, 0, 0.03) 0%, transparent 70%);
    padding: 20px;
    border-radius: 30px;
}

.trading-card {
    transition: var(--transition);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

.trading-card.flipped .card-inner {
    transform: rotateY(180deg) !important;
}

#product-card {
    width: 100%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 2/3;
    /* Vertical Format */
    margin: 0 auto;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid var(--text-muted);
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.qty-input {
    font-size: 1.2rem;
    font-weight: 700;
    width: 30px;
    text-align: center;
}

@media (max-width: 992px) {
    .detail-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .detail-image {
        order: -1;
    }

    .trading-card {
        width: 100%;
        max-width: 400px;
        height: 260px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
}

/* --- PRODUCT PAGE LAYOUT (MyCardSports Style) --- */

.product-page-container {
    padding: 140px 0 60px;
    /* Added top padding for fixed header */
    max-width: 1200px;
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    padding: 0 20px;
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Left Column: Visuals */
.product-visuals {
    position: sticky;
    top: 120px;
    background: #111;
    border-radius: 20px;
    padding: 40px 40px 20px;
    /* Reduced bottom padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #222;
    min-height: auto;
    /* Allow it to shrink */
}

/* Right Column: Info & Form */
.product-info {
    padding-top: 20px;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.1;
    color: #fff;
}

.product-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 400;
}

.product-price {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-tag-old {
    text-decoration: line-through;
    color: #666;
    font-size: 1.2rem;
    font-weight: normal;
}

/* Form Styles */
.product-form {
    background: #151515;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #222;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-text {
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
}

/* Clean Inputs */
.clean-input {
    width: 100%;
    background: #000;
    border: 1px solid #333;
    padding: 15px;
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.clean-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Graphic selector for Size */
.size-selector {
    display: flex;
    gap: 15px;
}

.size-option {
    flex: 1;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    background: #000;
}

.size-option:hover {
    border-color: #666;
}

.size-option.active {
    border-color: var(--primary);
    background: rgba(204, 238, 0, 0.05);
}

.size-name {
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
    color: #fff;
}

.size-dim {
    font-size: 0.8rem;
    color: #888;
}

/* File Upload Clean */
.upload-btn-clean {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #000;
    border: 1px dashed #444;
    padding: 15px;
    border-radius: 8px;
    color: #888;
    cursor: pointer;
    transition: var(--transition);
}

.upload-btn-clean:hover {
    border-color: var(--primary);
    color: #fff;
}

.btn-primary {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(204, 238, 0, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.upload-icon {
    color: var(--primary);
}

/* CTA */
.add-to-cart-sticky {
    position: sticky;
    bottom: 20px;
    z-index: 100;
    margin-top: 30px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 1.1rem;
    border-radius: 12px;
}

.guarantee-text {
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    margin-top: 15px;
}

/* Footer improvements */
.footer-container {
    background: #050505;
    padding: 60px 0 20px;
    border-top: 1px solid #222;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links li {
    margin-bottom: 10px;
}

.newsletter-form {
    display: flex;
    margin-top: 10px;
}

.newsletter-input {
    flex: 1;
    background: #111;
    border: 1px solid #333;
    padding: 10px;
    color: #fff;
    border-radius: 4px 0 0 4px;
}

.newsletter-btn {
    background: var(--primary);
    border: none;
    padding: 0 15px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 0 4px 4px 0;
}

/* --- ACCORDIONS --- */
.accordion-item {
    border-bottom: 1px solid #222;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s;
}

.accordion-header:hover {
    color: var(--primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.acc-icon {
    font-size: 1.2rem;
    font-weight: 300;
}

.accordion-item.active .acc-icon {
    transform: rotate(45deg);
    /* Optional: rotate into X */
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    /* Arbitrary large height */
}