:root {
    --magik-accent: #35e0d0;
    --magik-accent-dark: #22c7b8;
    --magik-accent-soft: rgba(53, 224, 208, 0.14);
    --magik-secondary: #7a3cff;
    --magik-secondary-soft: rgba(122, 60, 255, 0.14);
    --magik-black: #050505;
    --magik-gray: #0d0d0d;
    --magik-panel: #101114;
    --magik-panel-2: #14131c;
    --magik-border: rgba(255, 255, 255, 0.08);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--magik-black);
    color: #ffffff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
.oswald {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.glass-nav {
    background: rgba(0, 0, 0, 0.80);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.btn-magik {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--magik-secondary) 0%, var(--magik-accent) 100%);
    color: #ffffff;
    font-weight: 900;
    padding: 1rem 2rem;
    clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    cursor: pointer;
    box-shadow: 0 16px 36px rgba(122, 60, 255, 0.20);
}

.btn-magik:hover {
    background: linear-gradient(135deg, #9f6bff 0%, #67efe2 100%);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 22px 44px rgba(122, 60, 255, 0.28);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-weight: 800;
    padding: 1rem 1.7rem;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    transition: all 0.3s ease;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(122, 60, 255, 0.04));
}

.btn-outline:hover {
    background: #ffffff;
    color: #050505;
    border-color: #ffffff;
}

.section-label {
    color: #b79cff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

.card-dark {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(122, 60, 255, 0.03));
    border: 1px solid var(--magik-border);
    transition: all 0.3s ease;
}

.card-dark:hover {
    border-color: rgba(122, 60, 255, 0.46);
    box-shadow: 0 18px 42px rgba(122, 60, 255, 0.12);
    transform: translateY(-4px);
}

.program-card {
    background: linear-gradient(180deg, rgba(122, 60, 255, 0.22), rgba(53, 224, 208, 0.08) 35%, rgba(0, 0, 0, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.program-card img {
    transition: transform 0.7s ease, filter 0.7s ease;
    filter: grayscale(100%);
}

.program-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.faq-item[open] {
    border-color: rgba(122, 60, 255, 0.52);
    background: rgba(122, 60, 255, 0.06);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.text-glow {
    text-shadow:
        0 0 18px rgba(53, 224, 208, 0.26),
        0 0 28px rgba(122, 60, 255, 0.30);
}

.hero-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 90%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 90%);
}

.sticky-mobile-bar {
    box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.35);
    background: rgba(5, 5, 5, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.quote-mark {
    color: rgba(122, 60, 255, 0.28);
    font-size: 4rem;
    line-height: 1;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: #262626;
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--magik-accent);
}

/* Overrides de paleta para alinear con la identidad actual de Magik */
.text-yellow-400 {
    color: var(--magik-accent) !important;
}

.text-yellow-300 {
    color: #6ff0e4 !important;
}

.bg-yellow-400 {
    background-color: var(--magik-accent) !important;
}

.text-magik-purple {
    color: var(--magik-secondary) !important;
}

.bg-magik-purple {
    background-color: var(--magik-secondary) !important;
}

.border-magik-purple {
    border-color: rgba(122, 60, 255, 0.38) !important;
}

.brand-pill {
    background: linear-gradient(135deg, rgba(122, 60, 255, 0.18), rgba(53, 224, 208, 0.16));
    border: 1px solid rgba(122, 60, 255, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.border-yellow-400,
.border-yellow-400\/30,
.border-yellow-400\/20 {
    border-color: rgba(53, 224, 208, 0.36) !important;
}

.hover\:text-yellow-400:hover {
    color: var(--magik-accent) !important;
}

.selection\:bg-yellow-400::selection,
::selection {
    background: var(--magik-accent);
    color: #050505;
}

.from-yellow-400\/20 {
    --tw-gradient-from: rgba(53, 224, 208, 0.20) var(--tw-gradient-from-position) !important;
    --tw-gradient-to: rgba(53, 224, 208, 0) var(--tw-gradient-to-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

.to-yellow-400\/0 {
    --tw-gradient-to: rgba(53, 224, 208, 0) var(--tw-gradient-to-position) !important;
}

.shadow-accent {
    box-shadow: 0 0 0 1px rgba(53, 224, 208, 0.18), 0 22px 60px rgba(53, 224, 208, 0.12);
}

.brand-gradient {
    background: linear-gradient(135deg, rgba(53, 224, 208, 0.18), rgba(122, 60, 255, 0.18));
}

.brand-line {
    background: linear-gradient(90deg, var(--magik-accent), var(--magik-secondary));
}

.animate-marquee {
    display: flex;
    width: max-content;
    animation: marqueeItems 12s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

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

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