/* CFP High Impact Styles (Merged: Loading Hero + Impact Body) */
:root {
    --neon-blue: #00f3ff;
    --neon-red: #f43c3c;
    --neon-purple: #bc13fe;
    --dark-bg: #020205;
    --card-bg: rgba(10, 10, 20, 0.7);
}

body {
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

/* --- HERO SECTION (LOADING THEME) --- */
.cfp-hero-section {
    position: relative;
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
}

.cfp-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(16, 12, 98, 0.3) 0%, rgba(2, 2, 5, 1) 70%);
    z-index: -1;
}

.cfp-hero-bg::before {
    content: '01010101010110101011010101010101101010110101010101011010101101010101101010110101010101011010101101010101010110101011';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.2rem;
    color: #00f3ff;
    opacity: 0.05;
    white-space: pre-wrap;
    word-break: break-all;
    animation: binaryScroll 20s linear infinite;
}

@keyframes binaryScroll {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

/* Mouse Scanner Effect */
.cfp-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(0, 243, 255, 0.15),
            transparent 80%);
}

.cfp-scanner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 243, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(250px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            black,
            transparent);
    -webkit-mask-image: radial-gradient(250px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            black,
            transparent);
}


.hero-content-wrapper {
    text-align: center;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
}

/* Loader Console */
.console-container {
    font-family: 'Share Tech Mono', monospace;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--neon-blue);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 10px var(--neon-blue);
}

.hero-title-final {
    font-family: 'Share Tech Mono', monospace;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    color: white;
    text-shadow: 0 0 20px var(--neon-red);
    display: none;
    letter-spacing: -2px;
    animation: impactZoom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes impactZoom {
    0% {
        transform: scale(3);
        opacity: 0;
        filter: blur(20px);
    }

    100% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

.loader-bar-wrap {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px auto;
    border-radius: 2px;
    overflow: hidden;
    display: none;
}

.loader-bar-fill {
    height: 100%;
    background: var(--neon-red);
    width: 0%;
    box-shadow: 0 0 10px var(--neon-red);
    transition: width 0.2s linear;
}

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-top: 30px;
    opacity: 0;
    transition: opacity 1s;
}

.hero-subtitle.visible {
    opacity: 1;
}

.cursor {
    display: inline-block;
    width: 12px;
    height: 1em;
    background: var(--neon-red);
    vertical-align: bottom;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}


/* --- BODY CONTENT (HIGH IMPACT DESIGN) --- */

.cfp-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 50px 20px;
    position: relative;
    z-index: 5;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.cfp-cards-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.cyber-card {
    position: relative;
    width: 500px;
    min-height: 400px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    overflow: hidden;
    transition: all 0.4s ease;
    /* Angled corners from High Impact design */
    clip-path: polygon(20px 0, 100% 0,
            100% calc(100% - 20px), calc(100% - 20px) 100%,
            0 100%, 0 20px);
}

.cyber-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 30px rgba(244, 60, 60, 0.3);
    /* Red Glow */
    border-color: var(--neon-red);
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-red), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.cyber-card:hover::before {
    transform: translateX(100%);
    transition-duration: 1.5s;
}

.card-inner {
    padding: 40px;
    position: relative;
    z-index: 2;
}

.card-icon {
    font-size: 3rem;
    color: var(--neon-red);
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--neon-red);
}

.card-title {
    font-family: 'Share Tech Mono', monospace;
    font-size: 2.2rem;
    color: white;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.card-desc {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cyber-list li {
    list-style: none;
    padding-left: 20px;
    position: relative;
    color: #aaa;
    margin-bottom: 10px;
    transition: 0.3s;
}

.cyber-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--neon-blue);
}

.cyber-list li:hover {
    color: white;
    text-shadow: 0 0 5px white;
    padding-left: 25px;
}

.cyber-btn {
    display: block;
    width: 100%;
    padding: 15px;
    margin-top: 30px;
    background: transparent;
    border: 1px solid var(--neon-red);
    color: var(--neon-red);
    text-align: center;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.2rem;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    cursor: pointer;
}

.cyber-btn:hover {
    background: var(--neon-red);
    color: white;
    box-shadow: 0 0 20px var(--neon-red);
}

/* --- STATS BAR --- */
.stats-bar {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(244, 60, 60, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
    padding: 40px 0;
    margin: 60px 0;
    opacity: 0;
    transition: opacity 1s 0.5s;
}

.stats-bar.visible {
    opacity: 1;
}

.stat-box {
    text-align: center;
}

.stat-num {
    font-family: 'Share Tech Mono', monospace;
    font-size: 4rem;
    color: white;
    text-shadow: 0 0 10px var(--neon-red);
}

.stat-label {
    color: var(--neon-blue);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 5px;
}

/* --- SPONSOR OVERRIDE --- */
.cfp-sponsors {
    padding-top: 50px;
    background: transparent;
    opacity: 0;
    transition: opacity 1s 1s;
}

.cfp-sponsors.visible {
    opacity: 1;
}

.cfp-sponsors .section-divider {
    color: var(--neon-red);
}

.video-card {
    border: 1px solid var(--neon-red);
    box-shadow: 0 0 20px rgba(244, 60, 60, 0.2);
}

/* --- CFP RESPONSIVE FIXES --- */

@media (max-width: 1024px) {
    .cyber-card {
        width: 45%;
        min-height: 350px;
    }

    .hero-title-final {
        font-size: 5vw;
    }
}

@media (max-width: 768px) {
    .cfp-hero-section {
        height: 70vh;
    }

    .hero-title-final {
        font-size: 3rem;
        text-align: center;
    }

    .console-container {
        font-size: 1.2rem;
    }

    .cyber-card {
        width: 100%;
        margin: 0 10px;
    }

    .stats-bar {
        gap: 20px;
        padding: 20px 0;
    }

    .stat-num {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .video-card iframe {
        height: 250px;
    }
}