/* =========================================
   DJ BATTLE ARENA
   Diseño principal
   ========================================= */

:root {
    --background: #0b0b12;
    --surface: #141420;
    --surface-light: #1b1b2a;

    --purple: #9b5cff;
    --purple-light: #c4a0ff;

    --blue: #35d9ff;
    --text: #f5f5ff;
    --muted: #a3a3b8;

    --border: rgba(255, 255, 255, 0.09);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

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

.topbar {
    width: 100%;
    min-height: 82px;
    padding: 18px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    background: rgba(11, 11, 18, 0.95);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo strong {
    color: var(--purple-light);
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--purple), #6030bc);
    color: white;
    font-size: 13px;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 14px;
}

.navigation > a:not(.button) {
    color: var(--muted);
}

.navigation > a:not(.button):hover {
    color: white;
}

.user-name {
    color: var(--blue);
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: white;
    background: linear-gradient(135deg, #9b5cff, #6736d4);
    box-shadow: 0 0 24px rgba(155, 92, 255, 0.18);
}

.button-outline {
    color: white;
    border: 1px solid rgba(196, 160, 255, 0.45);
    background: rgba(155, 92, 255, 0.06);
}

.hero {
    min-height: 600px;
    padding: 85px 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
}

.eyebrow {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.hero h1 {
    margin-top: 22px;
    font-size: clamp(44px, 5.4vw, 76px);
    line-height: 1.04;
    letter-spacing: -3px;
    font-weight: 900;
}

.hero h1 span {
    color: var(--purple-light);
    text-shadow: 0 0 35px rgba(155, 92, 255, 0.25);
}

.hero-description {
    max-width: 520px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    margin-top: 50px;
}

.hero-features div,
.battle-card-footer div {
    display: flex;
    flex-direction: column;
}

.hero-features strong {
    font-size: 16px;
    color: var(--purple-light);
}

.hero-features span {
    color: var(--muted);
    font-size: 12px;
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
}

.visual-glow {
    position: absolute;
    width: 75%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--purple);
    opacity: 0.12;
    filter: blur(90px);
}

.battle-card {
    position: relative;
    width: 100%;
    max-width: 490px;
    padding: 25px;
    border: 1px solid rgba(196, 160, 255, 0.2);
    border-radius: 22px;
    background: linear-gradient(145deg, #1a172a, #11111c 70%);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
}

.battle-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.status-badge {
    color: var(--blue);
    border: 1px solid rgba(53, 217, 255, 0.25);
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 9px;
}

.battle-versus {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.dj-placeholder {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    border-radius: 16px;
    font-size: 42px;
    font-weight: 900;
    font-style: italic;
}

.dj-purple {
    color: #e4d1ff;
    background: linear-gradient(145deg, #7141bd, #241537);
    border: 1px solid rgba(196, 160, 255, 0.3);
}

.dj-blue {
    color: #c8f7ff;
    background: linear-gradient(145deg, #147f9d, #14213a);
    border: 1px solid rgba(53, 217, 255, 0.3);
}

.versus {
    font-size: 20px;
    font-weight: 900;
    font-style: italic;
    color: var(--purple-light);
}

.battle-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 23px;
}

.battle-card-footer strong {
    font-size: 12px;
}

.battle-card-footer span {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1px;
}

.align-right {
    text-align: right;
}

.versus-small {
    color: var(--purple-light);
    font-size: 11px;
    font-weight: 900;
}

.battle-progress {
    height: 6px;
    margin-top: 25px;
    border-radius: 20px;
    overflow: hidden;
    background: #29263a;
}

.battle-progress span {
    display: block;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, var(--purple), var(--blue));
}

.preview-note {
    margin-top: 18px;
    color: var(--muted);
    text-align: center;
    font-size: 9px;
    letter-spacing: 2px;
}

.section-intro {
    padding: 65px 20px 35px;
    text-align: center;
}

.section-intro h2 {
    margin-top: 15px;
    font-size: clamp(26px, 3vw, 38px);
}

.section-intro p {
    max-width: 600px;
    margin: 12px auto 0;
    color: var(--muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 30px 8% 90px;
}

.feature-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--surface);
    transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(155, 92, 255, 0.45);
}

.feature-number {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.feature-card h3 {
    margin-top: 18px;
    font-size: 20px;
}

.feature-card p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}

.footer {
    padding: 35px 20px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer p,
.footer > span {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1px;
}

/* Adaptación a móviles */

@media (max-width: 850px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 65px 7%;
    }

    .hero-content {
        margin: auto;
    }

    .hero-visual {
        width: 100%;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        padding-right: 7%;
        padding-left: 7%;
    }
}

@media (max-width: 600px) {
    .topbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 5%;
    }

    .navigation {
        width: 100%;
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero {
        padding-top: 45px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-features {
        gap: 20px;
    }

    .battle-card {
        padding: 18px;
    }

    .dj-placeholder {
        font-size: 30px;
    }
}

