
/* =========================================================
   OKARGO7683
   MINECRAFT STAFF PORTFOLIO
   Purple / Black Theme
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --bg: #07060b;
    --bg-soft: #0b0911;

    --surface: #100d18;
    --surface-2: #151020;
    --surface-3: #1b1528;

    --purple: #8b5cf6;
    --purple-light: #a78bfa;
    --purple-dark: #6d28d9;

    --purple-glow:
        rgba(139, 92, 246, 0.25);

    --text: #f5f3ff;
    --text-soft: #c4bfd2;
    --text-muted: #81798f;

    --border:
        rgba(167, 139, 250, 0.15);

    --border-strong:
        rgba(167, 139, 250, 0.3);

    --success: #7cf2a2;

    --max-width: 1180px;

    --radius: 14px;

}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% -20%,
            rgba(109, 40, 217, 0.18),
            transparent 45%
        ),
        var(--bg);

    color: var(--text);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;

}


body::before {

    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    opacity: 0.025;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.4) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.4) 1px,
            transparent 1px
        );

    background-size: 40px 40px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 70%
        );

}


a {
    color: inherit;

    text-decoration: none;
}


button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    width: 100%;

    background:
        rgba(7, 6, 11, 0.78);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    border-bottom:
        1px solid var(--border);

}


.header-container {

    width:
        min(
            calc(100% - 40px),
            var(--max-width)
        );

    min-height: 76px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


/* LOGO */

.site-logo {

    position: relative;

    font-size: 21px;

    font-weight: 850;

    letter-spacing: -0.8px;

}


.site-logo::after {

    content: "";

    position: absolute;

    width: 7px;

    height: 7px;

    right: -11px;

    bottom: 5px;

    border-radius: 50%;

    background:
        var(--purple-light);

    box-shadow:
        0 0 12px var(--purple);

}


.site-logo span {

    color:
        var(--purple-light);

}


/* NAVIGATION */

.main-navigation {

    display: flex;

    align-items: center;

    gap: 7px;

}


.main-navigation a {

    position: relative;

    padding:
        9px 13px;

    border-radius: 8px;

    color:
        var(--text-muted);

    font-size: 13px;

    font-weight: 650;

    transition:
        color 0.2s ease,
        background 0.2s ease;

}


.main-navigation a:hover {

    color:
        var(--text);

    background:
        rgba(139, 92, 246, 0.08);

}


.main-navigation a.active {

    color:
        var(--text);

    background:
        rgba(139, 92, 246, 0.13);

}


.main-navigation a.active::after {

    content: "";

    position: absolute;

    left: 50%;

    bottom: 3px;

    width: 4px;

    height: 4px;

    transform:
        translateX(-50%);

    border-radius: 50%;

    background:
        var(--purple-light);

    box-shadow:
        0 0 8px var(--purple);

}


/* STATUS */

.header-status {

    display: flex;

    align-items: center;

    gap: 8px;

    padding:
        7px 11px;

    border:
        1px solid
        rgba(124, 242, 162, 0.12);

    border-radius: 100px;

    background:
        rgba(124, 242, 162, 0.04);

    color:
        #a5dcb7;

    font-size: 11px;

    font-weight: 700;

}


.status-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background:
        var(--success);

    box-shadow:
        0 0 10px
        rgba(124, 242, 162, 0.65);

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    min-height:
        calc(100vh - 76px);

    display: flex;

    align-items: center;

    overflow: hidden;

}


.hero-background {

    position: absolute;

    inset: 0;

    pointer-events: none;

}


.hero-grid {

    position: absolute;

    inset: 0;

    opacity: 0.18;

    background-image:
        linear-gradient(
            rgba(139, 92, 246, 0.12) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(139, 92, 246, 0.12) 1px,
            transparent 1px
        );

    background-size:
        65px 65px;

    mask-image:
        radial-gradient(
            ellipse at center,
            black 0%,
            transparent 70%
        );

}


.hero-glow {

    position: absolute;

    border-radius: 50%;

    filter:
        blur(100px);

}


.glow-one {

    width: 520px;

    height: 520px;

    top: -260px;

    left: 8%;

    background:
        rgba(109, 40, 217, 0.25);

}


.glow-two {

    width: 420px;

    height: 420px;

    right: 5%;

    bottom: -230px;

    background:
        rgba(139, 92, 246, 0.16);

}


.hero-container {

    position: relative;

    z-index: 2;

    width:
        min(
            calc(100% - 40px),
            var(--max-width)
        );

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.35fr 0.65fr;

    align-items: center;

    gap: 80px;

    padding:
        100px 0;

}


.hero-content {

    max-width: 760px;

}


.hero-tag {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 22px;

    padding:
        7px 12px;

    border:
        1px solid var(--border);

    border-radius: 7px;

    background:
        rgba(139, 92, 246, 0.06);

    color:
        var(--purple-light);

    font-family: monospace;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.hero-tag span {

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background:
        var(--purple-light);

    box-shadow:
        0 0 10px var(--purple);

}


.hero h1 {

    font-size:
        clamp(
            64px,
            9vw,
            118px
        );

    line-height: 0.9;

    letter-spacing: -6px;

    margin-bottom: 25px;

}


.hero h1 span {

    color:
        var(--purple-light);

    text-shadow:
        0 0 40px
        rgba(139, 92, 246, 0.25);

}


.hero h2 {

    max-width: 650px;

    margin-bottom: 22px;

    font-size:
        clamp(
            24px,
            3vw,
            34px
        );

    line-height: 1.2;

    letter-spacing: -1px;

}


.hero-content > p {

    max-width: 650px;

    margin-bottom: 35px;

    color:
        var(--text-soft);

    font-size: 16px;

}


/* =========================================================
   BUTTONS
========================================================= */

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}


.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 47px;

    padding:
        0 20px;

    border-radius: 9px;

    font-size: 13px;

    font-weight: 750;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;

}


.button:hover {

    transform:
        translateY(-3px);

}


.button-primary {

    background:
        linear-gradient(
            135deg,
            var(--purple-light),
            var(--purple-dark)
        );

    color:
        white;

    box-shadow:
        0 8px 30px
        rgba(109, 40, 217, 0.22);

}


.button-primary:hover {

    box-shadow:
        0 12px 40px
        rgba(109, 40, 217, 0.38);

}


.button-secondary {

    border:
        1px solid var(--border-strong);

    background:
        rgba(255,255,255,0.02);

    color:
        var(--text);

}


.button-secondary:hover {

    border-color:
        rgba(167, 139, 250, 0.55);

    background:
        rgba(139, 92, 246, 0.08);

}


/* =========================================================
   HERO INFO
========================================================= */

.hero-info {

    display: flex;

    gap: 45px;

    margin-top: 48px;

}


.hero-info div {

    display: flex;

    flex-direction: column;

}


.hero-info strong {

    font-size: 25px;

    letter-spacing: -1px;

}


.hero-info span {

    color:
        var(--text-muted);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.8px;

}


/* =========================================================
   PROFILE CARD
========================================================= */

.hero-card {

    position: relative;

    padding: 30px;

    border:
        1px solid var(--border-strong);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(21, 16, 32, 0.95),
            rgba(10, 8, 14, 0.95)
        );

    box-shadow:
        0 25px 80px
        rgba(0,0,0,0.35),
        inset 0 1px 0
        rgba(255,255,255,0.04);

    overflow: hidden;

}


.hero-card::before {

    content: "";

    position: absolute;

    width: 220px;

    height: 220px;

    top: -100px;

    right: -100px;

    border-radius: 50%;

    background:
        rgba(139, 92, 246, 0.18);

    filter:
        blur(40px);

}


.card-header {

    display: flex;

    align-items: center;

    gap: 8px;

    color:
        var(--text-muted);

    font-family: monospace;

    font-size: 10px;

    letter-spacing: 2px;

}


.card-indicator {

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background:
        var(--purple-light);

    box-shadow:
        0 0 9px var(--purple);

}


.profile-symbol {

    width: 85px;

    height: 85px;

    margin:
        35px auto 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 22px;

    border:
        1px solid
        rgba(167,139,250,0.3);

    background:
        linear-gradient(
            135deg,
            rgba(139,92,246,0.3),
            rgba(109,40,217,0.08)
        );

    color:
        var(--purple-light);

    font-size: 34px;

    font-weight: 900;

    box-shadow:
        0 0 40px
        rgba(139,92,246,0.12);

}


.hero-card h3 {

    text-align: center;

    font-size: 23px;

}


.hero-card > p {

    text-align: center;

    color:
        var(--text-muted);

    font-size: 13px;

}


.profile-tags {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 7px;

    margin:
        25px 0;

}


.profile-tags span {

    padding:
        6px 9px;

    border:
        1px solid var(--border);

    border-radius: 6px;

    color:
        var(--text-soft);

    background:
        rgba(139,92,246,0.05);

    font-size: 10px;

}


.profile-status {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    padding-top: 20px;

    border-top:
        1px solid var(--border);

    color:
        #9fcdae;

    font-size: 11px;

}


/* =========================================================
   SECTIONS
========================================================= */

.section {

    position: relative;

    width:
        min(
            calc(100% - 40px),
            var(--max-width)
        );

    margin: 0 auto;

    padding:
        120px 0;

}


.section-alt {

    width: 100%;

    max-width: none;

    padding-left:
        max(
            20px,
            calc(
                (100% - var(--max-width))
                / 2
            )
        );

    padding-right:
        max(
            20px,
            calc(
                (100% - var(--max-width))
                / 2
            )
        );

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(139,92,246,0.025),
            transparent
        );

}


.section-heading {

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 45px;

}


.section-heading > div {

    display: flex;

    align-items: center;

    gap: 16px;

}


.section-number {

    color:
        var(--purple-light);

    font-family: monospace;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;

}


.section-heading h2 {

    font-size:
        clamp(30px, 4vw, 44px);

    letter-spacing: -1.8px;

}


.section-heading > p {

    max-width: 360px;

    color:
        var(--text-muted);

    font-size: 13px;

    text-align: right;

}


/* =========================================================
   EXPERIENCE
========================================================= */

.experience-preview {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;

}


.experience-card {

    position: relative;

    padding: 27px;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(21,16,32,0.85),
            rgba(12,9,17,0.85)
        );

    overflow: hidden;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;

}


.experience-card::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            120deg,
            rgba(139,92,246,0.06),
            transparent 50%
        );

    opacity: 0;

    transition:
        opacity 0.25s ease;

}


.experience-card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(167,139,250,0.3);

    box-shadow:
        0 15px 50px
        rgba(0,0,0,0.25);

}


.experience-card:hover::before {

    opacity: 1;

}


.experience-date {

    margin-bottom: 25px;

    color:
        var(--text-muted);

    font-family: monospace;

    font-size: 10px;

}


.experience-main {

    display: flex;

    justify-content: space-between;

}


.current-label {

    display: inline-block;

    margin-bottom: 8px;

    padding:
        4px 7px;

    border-radius: 4px;

    background:
        rgba(124,242,162,0.08);

    color:
        #9fcdae;

    font-family: monospace;

    font-size: 9px;

    font-weight: 800;

}


.experience-main h3 {

    font-size: 24px;

    letter-spacing: -0.7px;

}


.experience-main p {

    color:
        var(--text-muted);

    font-size: 13px;

}


.section-action {

    margin-top: 28px;

}


.text-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color:
        var(--purple-light);

    font-size: 13px;

    font-weight: 700;

}


.text-link span {

    transition:
        transform 0.2s ease;

}


.text-link:hover span {

    transform:
        translateX(5px);

}


/* =========================================================
   SKILLS
========================================================= */

.skills-preview {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;

}


.skill-card {

    position: relative;

    min-height: 220px;

    padding: 27px;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background:
        var(--surface);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;

}


.skill-card:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(167,139,250,0.32);

}


.skill-icon {

    display: inline-flex;

    width: 35px;

    height: 35px;

    align-items: center;

    justify-content: center;

    margin-bottom: 35px;

    border:
        1px solid var(--border-strong);

    border-radius: 8px;

    background:
        rgba(139,92,246,0.08);

    color:
        var(--purple-light);

    font-family: monospace;

    font-size: 10px;

}


.skill-card h3 {

    margin-bottom: 9px;

    font-size: 18px;

}


.skill-card p {

    color:
        var(--text-muted);

    font-size: 13px;

}


/* =========================================================
   PROJECTS
========================================================= */

.projects-preview {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;

}


.project-card {

    position: relative;

    min-height: 260px;

    padding: 30px;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            var(--surface-2),
            var(--surface)
        );

    overflow: hidden;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;

}


.project-card::after {

    content: "";

    position: absolute;

    width: 170px;

    height: 170px;

    right: -80px;

    bottom: -80px;

    border-radius: 50%;

    background:
        rgba(139,92,246,0.1);

    filter:
        blur(25px);

}


.project-card:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(167,139,250,0.3);

}


.project-number {

    color:
        var(--purple-light);

    font-family: monospace;

    font-size: 11px;

}


.project-card h3 {

    margin-top: 55px;

    margin-bottom: 12px;

    font-size: 24px;

}


.project-card p {

    color:
        var(--text-muted);

    font-size: 13px;

}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {

    position: relative;

    padding:
        140px 20px;

    overflow: hidden;

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);

    background:
        radial-gradient(
            circle at center,
            rgba(109,40,217,0.14),
            transparent 55%
        );

    text-align: center;

}


.contact-container {

    max-width: 700px;

    margin: 0 auto;

}


.contact-container .section-number {

    display: block;

    margin-bottom: 20px;

}


.contact-container h2 {

    font-size:
        clamp(38px, 6vw, 65px);

    line-height: 1;

    letter-spacing: -3px;

    margin-bottom: 20px;

}


.contact-container p {

    max-width: 540px;

    margin:
        0 auto 30px;

    color:
        var(--text-muted);

    font-size: 15px;

}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    width:
        min(
            calc(100% - 40px),
            var(--max-width)
        );

    margin: 0 auto;

    padding:
        35px 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    color:
        var(--text-muted);

    font-size: 11px;

}


.site-footer div {

    display: flex;

    flex-direction: column;

    gap: 2px;

}


.site-footer strong {

    color:
        var(--text-soft);

    font-size: 13px;

}


.site-footer p {

    font-family: monospace;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .hero-container {

        grid-template-columns: 1fr;

        gap: 60px;

    }


    .hero-card {

        max-width: 430px;

    }


    .skills-preview {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 800px) {

    .header-status {

        display: none;

    }


    .main-navigation {

        display: none;

    }


    .hero {

        min-height:
            auto;

    }


    .hero-container {

        padding:
            90px 0;

    }


    .hero h1 {

        font-size: 70px;

        letter-spacing: -4px;

    }


    .hero-info {

        gap: 25px;

    }


    .section-heading {

        align-items: start;

        flex-direction: column;

    }


    .section-heading > p {

        text-align: left;

    }


    .experience-preview {

        grid-template-columns: 1fr;

    }


    .projects-preview {

        grid-template-columns: 1fr;

    }

}


@media (max-width: 550px) {

    .header-container {

        width:
            calc(100% - 28px);

    }


    .site-logo {

        font-size: 18px;

    }


    .hero-container {

        width:
            calc(100% - 28px);

    }


    .hero h1 {

        font-size: 56px;

        letter-spacing: -3px;

    }


    .hero h2 {

        font-size: 22px;

    }


    .hero-info {

        display: grid;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 12px;

    }


    .hero-info strong {

        font-size: 20px;

    }


    .hero-info span {

        font-size: 9px;

    }


    .section {

        width:
            calc(100% - 28px);

        padding:
            85px 0;

    }


    .skills-preview {

        grid-template-columns: 1fr;

    }


    .contact-section {

        padding:
            100px 20px;

    }


    .contact-container h2 {

        letter-spacing: -2px;

    }


    .site-footer {

        width:
            calc(100% - 28px);

        flex-direction: column;

        align-items: flex-start;

    }

}

/* ============================================================
   BLOG — IMÁGENES
   ============================================================ */

.blog-image {
    width: 100%;
    margin: 20px 0;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface-2);
}

.blog-image img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

/* =========================================================
COMPATIBILIDAD CON EL INDEX ACTUAL
========================================================= */

/* ---------------------------------------------------------
BOTONES
El HTML actual utiliza .btn en lugar de .button
--------------------------------------------------------- */

.btn {
display: inline-flex;

align-items: center;
justify-content: center;

min-height: 47px;

padding:
    0 20px;

border-radius: 9px;

font-size: 13px;

font-weight: 750;

transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;

}

.btn:hover {
transform:
translateY(-3px);
}

.btn-primary {
background:
linear-gradient(
135deg,
var(--purple-light),
var(--purple-dark)
);

color:
    white;

box-shadow:
    0 8px 30px
    rgba(109, 40, 217, 0.22);

}

.btn-primary:hover {
box-shadow:
0 12px 40px
rgba(109, 40, 217, 0.38);
}

.btn-secondary {
border:
1px solid var(--border-strong);

background:
    rgba(255,255,255,0.02);

color:
    var(--text);

}

.btn-secondary:hover {
border-color:
rgba(167, 139, 250, 0.55);

background:
    rgba(139, 92, 246, 0.08);


}

/* ---------------------------------------------------------
PROFILE CARD
El nuevo HTML utiliza estos elementos directamente
--------------------------------------------------------- */

.hero-card-top {
display: flex;

align-items: center;
justify-content: space-between;

color:
    var(--text-muted);

font-family: monospace;

font-size: 10px;

letter-spacing: 2px;

}

.profile-name {
text-align: center;

font-size: 23px;

font-weight: 800;

letter-spacing: -0.5px;

}

.profile-role {
margin-top: 2px;

text-align: center;

color:
    var(--text-muted);

font-size: 13px;

}

/* ---------------------------------------------------------
EXPERIENCE
--------------------------------------------------------- */

.experience-date span {
display: block;

margin-top: 4px;

color:
    var(--text-muted);

font-size: 9px;

}

.experience-main {
display: block;
}

/* ---------------------------------------------------------
PROJECT CARDS
El HTML actual tiene un contenedor interno
--------------------------------------------------------- */

.project-card > div:last-child {
position: relative;

z-index: 2;


}

.project-card > div:last-child > span {
display: block;

margin-top: 2px;

color:
    var(--text-muted);

font-family: monospace;

font-size: 9px;

font-weight: 700;

letter-spacing: 1px;


}

.project-card .project-number {
position: relative;


z-index: 2;


}

/* ---------------------------------------------------------
MOBILE
--------------------------------------------------------- */

@media (max-width: 800px) {


.hero-card {
    width: 100%;
}


}

@media (max-width: 550px) {


.hero-buttons {
    width: 100%;
}


.btn {
    width: 100%;
}


.hero-card {
    padding: 24px;
}


}

/* =========================================================
   ORDER PAGE
========================================================= */

.order-page {

    position: relative;

    min-height: calc(100vh - 76px);

    padding:
        100px 20px
        120px;

    overflow: hidden;

}


.order-page::before {

    content: "";

    position: absolute;

    width: 650px;

    height: 650px;

    top: -300px;

    left: 50%;

    transform:
        translateX(-50%);

    border-radius: 50%;

    background:
        rgba(109, 40, 217, 0.10);

    filter:
        blur(120px);

    pointer-events: none;

}


.order-container {

    position: relative;

    z-index: 2;

    width:
        min(
            100%,
            900px
        );

    margin: 0 auto;

}


/* =========================================================
   ORDER HEADER
========================================================= */

.order-header {

    max-width: 760px;

    margin:
        0 auto 70px;

    text-align: center;

}


.order-header .hero-tag {

    margin-bottom: 25px;

}


.order-header h1 {

    margin-bottom: 25px;

    font-size:
        clamp(
            48px,
            7vw,
            82px
        );

    line-height: 0.95;

    letter-spacing: -4px;

}


.order-header h1 span {

    color:
        var(--purple-light);

    text-shadow:
        0 0 40px
        rgba(139, 92, 246, 0.25);

}


.order-header > p {

    max-width: 650px;

    margin: 0 auto;

    color:
        var(--text-soft);

    font-size: 15px;

}


/* =========================================================
   ORDER FORM
========================================================= */

.order-form {

    display: flex;

    flex-direction: column;

    gap: 16px;

}


.order-section {

    position: relative;

    padding: 32px;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(21, 16, 32, 0.90),
            rgba(12, 9, 17, 0.90)
        );

    box-shadow:
        0 15px 50px
        rgba(0, 0, 0, 0.16);

    overflow: hidden;

}


.order-section::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(167, 139, 250, 0.25),
            transparent
        );

}


.order-section-header {

    display: flex;

    align-items: flex-start;

    gap: 16px;

    margin-bottom: 30px;

}


.order-section-header .section-number {

    flex-shrink: 0;

    margin-top: 5px;

}


.order-section-header h2 {

    margin-bottom: 5px;

    font-size: 22px;

    letter-spacing: -0.6px;

}


.order-section-header p {

    color:
        var(--text-muted);

    font-size: 12px;

}


/* =========================================================
   FORM GRID
========================================================= */

.order-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;

}


.order-grid .form-group:last-child:nth-child(3) {

    grid-column:
        1 / -1;

}


/* =========================================================
   FORM GROUP
========================================================= */

.form-group {

    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-bottom: 18px;

}


.form-group:last-child {

    margin-bottom: 0;

}


.form-group label {

    display: flex;

    align-items: center;

    gap: 7px;

    color:
        var(--text-soft);

    font-size: 12px;

    font-weight: 700;

}


.form-group label span {

    color:
        var(--text-muted);

    font-size: 10px;

    font-weight: 500;

}


.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;

    border:
        1px solid var(--border);

    border-radius: 9px;

    outline: none;

    background:
        rgba(7, 6, 11, 0.65);

    color:
        var(--text);

    font-family: inherit;

    font-size: 13px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;

}


.form-group input,
.form-group select {

    min-height: 48px;

    padding:
        0 14px;

}


.form-group textarea {

    min-height: 130px;

    padding: 13px 14px;

    resize: vertical;

    line-height: 1.6;

}


.form-group input::placeholder,
.form-group textarea::placeholder {

    color:
        #5f586a;

}


.form-group select {

    cursor: pointer;

}


.form-group select option {

    background:
        #100d18;

    color:
        var(--text);

}


.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {

    border-color:
        var(--border-strong);

}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    border-color:
        rgba(167, 139, 250, 0.65);

    background:
        rgba(139, 92, 246, 0.035);

    box-shadow:
        0 0 0 3px
        rgba(139, 92, 246, 0.08),
        0 0 25px
        rgba(109, 40, 217, 0.08);

}


.form-group small {

    margin-top: 2px;

    color:
        var(--text-muted);

    font-size: 10px;

    line-height: 1.5;

}


/* =========================================================
   CHECKBOX
========================================================= */

.checkbox-group {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    padding: 16px;

    border:
        1px solid var(--border);

    border-radius: 9px;

    background:
        rgba(139, 92, 246, 0.035);

    color:
        var(--text-soft);

    font-size: 11px;

    line-height: 1.6;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;

}


.checkbox-group:hover {

    border-color:
        var(--border-strong);

    background:
        rgba(139, 92, 246, 0.055);

}


.checkbox-group input {

    flex-shrink: 0;

    width: 16px;

    height: 16px;

    margin-top: 2px;

    accent-color:
        var(--purple);

    cursor: pointer;

}


/* =========================================================
   ORDER NOTICE
========================================================= */

.order-notice {

    margin-top: 18px;

    padding: 17px 18px;

    border:
        1px solid
        rgba(167, 139, 250, 0.12);

    border-left:
        2px solid
        var(--purple);

    border-radius: 8px;

    background:
        rgba(139, 92, 246, 0.045);

}


.order-notice strong {

    display: block;

    margin-bottom: 5px;

    color:
        var(--purple-light);

    font-size: 12px;

}


.order-notice p {

    color:
        var(--text-muted);

    font-size: 11px;

    line-height: 1.6;

}


/* =========================================================
   ORDER SUBMIT
========================================================= */

.order-submit {

    display: flex;

    justify-content: center;

    gap: 12px;

    margin-top: 14px;

}


.order-submit .button {

    min-width: 180px;

}


/* =========================================================
   VALIDATION
========================================================= */

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown),
.form-group select:invalid {

    border-color:
        rgba(239, 68, 68, 0.35);

}


.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown),
.form-group select:valid {

    border-color:
        rgba(124, 242, 162, 0.18);

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 700px) {

    .order-page {

        padding:
            75px 14px
            90px;

    }


    .order-header {

        margin-bottom: 45px;

    }


    .order-header h1 {

        font-size: 52px;

        letter-spacing: -3px;

    }


    .order-section {

        padding: 23px;

    }


    .order-section-header {

        margin-bottom: 25px;

    }


    .order-grid {

        grid-template-columns: 1fr;

        gap: 0;

    }


    .order-grid .form-group:last-child:nth-child(3) {

        grid-column:
            auto;

    }


    .order-submit {

        flex-direction: column;

    }


    .order-submit .button {

        width: 100%;

    }

}


@media (max-width: 450px) {

    .order-header h1 {

        font-size: 43px;

        letter-spacing: -2px;

    }


    .order-section {

        padding: 19px;

    }


    .order-section-header h2 {

        font-size: 19px;

    }


    .order-section-header p {

        font-size: 11px;

    }

}

/* =========================================================
   ORDER MODALS
   ========================================================= */

.order-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.order-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* =========================================================
   OVERLAY
   ========================================================= */

.order-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(5, 3, 12, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* =========================================================
   MODAL BOX
   ========================================================= */

.order-modal-box {
    position: relative;
    z-index: 2;

    width: min(100%, 560px);

    padding: 34px;

    background:
        linear-gradient(
            145deg,
            rgba(31, 20, 54, 0.98),
            rgba(13, 10, 22, 0.99)
        );

    border: 1px solid rgba(150, 80, 255, 0.35);
    border-radius: 18px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.55),
        0 0 45px rgba(130, 60, 255, 0.12);

    transform: translateY(20px) scale(0.97);

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;

    opacity: 0;
}

.order-modal.active .order-modal-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}


/* =========================================================
   MODAL TEXT
   ========================================================= */

.order-modal-box h2 {
    margin: 12px 0 12px;

    font-size: 28px;
    line-height: 1.2;

    color: #ffffff;
}

.order-modal-box > p {
    margin: 0 0 22px;

    color: rgba(255, 255, 255, 0.68);
    line-height: 1.7;
}


/* =========================================================
   WARNING
   ========================================================= */

.order-modal-warning {
    margin: 20px 0;

    padding: 18px 20px;

    background: rgba(130, 60, 255, 0.08);

    border: 1px solid rgba(150, 80, 255, 0.22);
    border-left: 3px solid #9b5cff;

    border-radius: 10px;
}

.order-modal-warning strong {
    display: block;

    margin-bottom: 8px;

    color: #ffffff;
    font-size: 15px;
}

.order-modal-warning p {
    margin: 7px 0 0;

    color: rgba(255, 255, 255, 0.68);

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.order-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;

    margin-top: 26px;
}

.order-modal-actions .button {
    cursor: pointer;

    border: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .order-modal {
        padding: 16px;
    }

    .order-modal-box {
        padding: 25px 20px;

        border-radius: 15px;
    }

    .order-modal-box h2 {
        font-size: 24px;
    }

    .order-modal-actions {
        flex-direction: column-reverse;
    }

    .order-modal-actions .button {
        width: 100%;
        text-align: center;
    }

}

 /* =========================================================
    ORDER MODALS — FINAL
    ========================================================= */

#confirmationModal,
#gmailModal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 100vw !important;
    height: 100vh !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 20px !important;
    box-sizing: border-box !important;

    z-index: 999999 !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease !important;
}

#confirmationModal.active,
#gmailModal.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}


/* =========================================================
   FONDO OSCURO
   ========================================================= */

#confirmationModal .order-modal-overlay,
#gmailModal .order-modal-overlay {
    position: absolute !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 100% !important;
    height: 100% !important;

    background: rgba(5, 2, 12, 0.88) !important;

    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}


/* =========================================================
   CAJA
   ========================================================= */

#confirmationModal .order-modal-box,
#gmailModal .order-modal-box {
    position: relative !important;

    z-index: 2 !important;

    width: 100% !important;
    max-width: 540px !important;

    max-height: calc(100vh - 40px) !important;

    overflow-y: auto !important;

    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 32px !important;

    background: #100b1c !important;

    border: 1px solid rgba(155, 92, 255, 0.45) !important;

    border-radius: 18px !important;

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.75),
        0 0 50px rgba(130, 70, 255, 0.15) !important;

    transform: translateY(25px) scale(0.97) !important;

    opacity: 0 !important;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease !important;
}

#confirmationModal.active .order-modal-box,
#gmailModal.active .order-modal-box {
    transform: translateY(0) scale(1) !important;

    opacity: 1 !important;
}


/* =========================================================
   ETIQUETA SUPERIOR
   ========================================================= */

#confirmationModal .section-tag,
#gmailModal .section-tag {
    display: inline-block !important;

    margin: 0 0 14px !important;

    padding: 6px 10px !important;

    color: #b889ff !important;

    background: rgba(155, 92, 255, 0.10) !important;

    border: 1px solid rgba(155, 92, 255, 0.22) !important;

    border-radius: 6px !important;

    font-size: 11px !important;
    font-weight: 700 !important;

    letter-spacing: 1.5px !important;
}


/* =========================================================
   TÍTULO
   ========================================================= */

#confirmationModal .order-modal-box h2,
#gmailModal .order-modal-box h2 {
    display: block !important;

    margin: 0 0 12px !important;

    padding: 0 !important;

    color: #ffffff !important;

    font-size: 28px !important;
    font-weight: 700 !important;

    line-height: 1.2 !important;
}


/* =========================================================
   TEXTO
   ========================================================= */

#confirmationModal .order-modal-box > p,
#gmailModal .order-modal-box > p {
    display: block !important;

    margin: 0 0 22px !important;
    padding: 0 !important;

    color: rgba(255, 255, 255, 0.68) !important;

    font-size: 15px !important;
    line-height: 1.7 !important;
}


/* =========================================================
   AVISO
   ========================================================= */

#confirmationModal .order-modal-warning,
#gmailModal .order-modal-warning {
    display: block !important;

    width: 100% !important;

    box-sizing: border-box !important;

    margin: 20px 0 !important;
    padding: 18px !important;

    background: rgba(155, 92, 255, 0.07) !important;

    border: 1px solid rgba(155, 92, 255, 0.20) !important;

    border-left: 3px solid #9b5cff !important;

    border-radius: 10px !important;
}

#confirmationModal .order-modal-warning strong,
#gmailModal .order-modal-warning strong {
    display: block !important;

    margin: 0 0 9px !important;

    color: #ffffff !important;

    font-size: 14px !important;
}

#confirmationModal .order-modal-warning p,
#gmailModal .order-modal-warning p {
    display: block !important;

    margin: 7px 0 0 !important;

    color: rgba(255, 255, 255, 0.65) !important;

    font-size: 14px !important;

    line-height: 1.65 !important;
}


/* =========================================================
   BOTONES
   ========================================================= */

#confirmationModal .order-modal-actions,
#gmailModal .order-modal-actions {
    display: flex !important;

    align-items: center !important;
    justify-content: flex-end !important;

    gap: 12px !important;

    width: 100% !important;

    margin: 25px 0 0 !important;
    padding: 0 !important;
}

#confirmationModal .order-modal-actions .button,
#gmailModal .order-modal-actions .button {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    min-height: 44px !important;

    margin: 0 !important;

    padding: 11px 20px !important;

    box-sizing: border-box !important;

    cursor: pointer !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;

    border-radius: 8px !important;
}


/* =========================================================
   BOTÓN PRINCIPAL
   ========================================================= */

#confirmationModal .button-primary,
#gmailModal .button-primary {
    color: #ffffff !important;

    background: linear-gradient(
        135deg,
        #8b4dff,
        #6d35d9
    ) !important;

    border: 1px solid rgba(190, 145, 255, 0.35) !important;

    box-shadow:
        0 8px 25px rgba(110, 50, 220, 0.25) !important;
}

#confirmationModal .button-primary:hover,
#gmailModal .button-primary:hover {
    transform: translateY(-2px) !important;

    box-shadow:
        0 12px 30px rgba(110, 50, 220, 0.35) !important;
}


/* =========================================================
   BOTÓN SECUNDARIO
   ========================================================= */

#confirmationModal .button-secondary,
#gmailModal .button-secondary {
    color: rgba(255, 255, 255, 0.80) !important;

    background: rgba(255, 255, 255, 0.04) !important;

    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

#confirmationModal .button-secondary:hover,
#gmailModal .button-secondary:hover {
    background: rgba(255, 255, 255, 0.08) !important;

    border-color: rgba(255, 255, 255, 0.20) !important;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    #confirmationModal,
    #gmailModal {
        padding: 15px !important;
    }

    #confirmationModal .order-modal-box,
    #gmailModal .order-modal-box {
        max-height: calc(100vh - 30px) !important;

        padding: 24px 20px !important;

        border-radius: 15px !important;
    }

    #confirmationModal .order-modal-box h2,
    #gmailModal .order-modal-box h2 {
        font-size: 23px !important;
    }

    #confirmationModal .order-modal-actions,
    #gmailModal .order-modal-actions {
        flex-direction: column-reverse !important;

        align-items: stretch !important;
    }

    #confirmationModal .order-modal-actions .button,
    #gmailModal .order-modal-actions .button {
        width: 100% !important;
    }
}
