@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg: #07060b;
    --panel: #0e0b16;
    --panel2: #100b1c;
    --violet: #a855f7;
    --bright: #c084fc;
    --pink: #e879f9;
    --line: rgba(168, 85, 247, .28);
    --muted: #a8a0b8;
    --white: #f6f1ff;
    --font: 'Space Grotesk', sans-serif;
    --display: 'Orbitron', sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--white);
    font-family: var(--font);
    line-height: 1.6;
    overflow-x: hidden
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(ellipse at 78% 15%, rgba(91, 33, 182, .15), transparent 40%), radial-gradient(ellipse at 10% 55%, rgba(126, 34, 206, .08), transparent 38%), #07060b
}

.site-noise {
    position: fixed;
    inset: 0;
    opacity: .045;
    pointer-events: none;
    z-index: 10;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E")
}

.section-wrap {
    margin-inline: auto
}

.site-header {
    height: 60px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0 20px;
    border-bottom: 1px solid rgba(168, 85, 247, .2);
    position: relative;
    z-index: 20
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    flex-shrink: 0
}

.brand-mark {
    font-size: 37px;
    color: var(--violet);
    line-height: 1;
    text-shadow: 0 0 22px #a855f7
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15
}

.brand-copy strong {
    font: 800 20px var(--display);
    letter-spacing: -1px
}

.brand-copy strong span {
    color: var(--violet)
}

.brand-copy small {
    font-size: 11px;
    letter-spacing: 2px;
    color: #b8afc9;
    margin-top: 5px
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px
}

.nav-link {
    color: #c4bbd3;
    text-decoration: none;
    font-size: 13px;
    position: relative;
    transition: color .2s
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -10px;
    height: 2px;
    background: var(--violet);
    transition: right .25s
}

.nav-link:hover,
.nav-link.active {
    color: #fff
}

.nav-link:hover::after,
.nav-link.active::after {
    right: 0
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 13px 20px;
    border-radius: 5px;
    font: 600 12px var(--font);
    letter-spacing: .2px;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    color: var(--white);
    border: 1px solid transparent
}

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

.button span {
    font-size: 16px
}

.button-outline {
    border-color: var(--violet);
    background: rgba(168, 85, 247, .05)
}

.button-outline:hover {
    box-shadow: 0 0 22px #a855f744
}

.header-cta {
    padding: 10px 16px;
    margin: 10px 10px 10px 650px;
}

.button-primary {
    background: linear-gradient(110deg, #7e22ce, #a855f7 60%, #d946ef);
    box-shadow: 0 8px 26px #a855f733
}

.button-primary:hover {
    box-shadow: 0 8px 32px #a855f766
}

.button-ghost {
    border-color: #6b3c91;
    background: rgba(12, 7, 20, .65)
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #e9d5ff;
    margin: 5px
}

.hero {
    min-height: 640px;
    position: relative;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    border-bottom: 1px solid var(--line);
    isolation: isolate
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .3;
    background-image: linear-gradient(rgba(168, 85, 247, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(168, 85, 247, .1) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(90deg, black, transparent 80%)
}


.eyebrow,
.section-tag {
    font: 600 10px var(--display);
    letter-spacing: 1.8px;
    color: #d8b4fe
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px
}

.eyebrow i {
    width: 30px;
    height: 1px;
    background: var(--violet)
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c084fc;
    box-shadow: 0 0 12px #c084fc
}

.hero h1 {
    font: 800 clamp(46px, 6vw, 82px)/1.08 var(--display);
    letter-spacing: -4px;
    margin: 0 0 20px
}

.hero h1 span,
.section-heading h2 em,
.about-heading h2 em,
.register-copy h2 em {
    font-style: normal;
    color: var(--violet);
    text-shadow: 0 0 28px #9333ea55
}

.hero-kicker {
    font: 600 12px var(--display);
    letter-spacing: 2px;
    color: #e9d5ff;
    margin: 0 0 18px
}

.hero-kicker b {
    color: var(--pink)
}

.hero-description {
    max-width: 440px;
    color: #b8b0c5;
    font-size: 15px;
    margin: 0 0 29px
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.hero-meta {
    display: flex;
    gap: 30px;
    margin-top: 36px
}

.hero-meta>div {
    display: flex;
    gap: 12px;
    align-items: center
}

.meta-icon {
    font-size: 25px;
    color: var(--violet)
}

.hero-meta span:last-child {
    display: flex;
    flex-direction: column
}

.hero-meta small {
    font: 600 9px var(--display);
    letter-spacing: 1px;
    color: #9186a5
}

.hero-meta strong {
    font-size: 12px;
    font-weight: 500
}

.hero-visual {
    height: 560px;
    position: relative;
    overflow: hidden;
    align-self: end;
    background: radial-gradient(ellipse at 54% 45%, rgba(126, 34, 206, .42), transparent 44%), linear-gradient(135deg, transparent 30%, rgba(56, 18, 91, .22));
    mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 92%, transparent 100%)
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    top: 75px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid #a855f777;
    border-radius: 50%;
    box-shadow: 0 0 45px #9333ea33, inset 0 0 45px #9333ea22
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent 0 49px, rgba(168, 85, 247, .09) 50px), linear-gradient(90deg, transparent, rgba(126, 34, 206, .09), transparent);
    pointer-events: none
}

.orbit {
    position: absolute;
    border: 1px solid rgba(192, 132, 252, .5);
    border-radius: 50%;
    left: 50%;
    top: 47%;
    transform: translate(-50%, -50%) rotate(-28deg)
}

.orbit-one {
    width: 430px;
    height: 190px
}

.orbit-two {
    width: 330px;
    height: 470px;
    transform: translate(-50%, -50%) rotate(32deg);
    border-style: dashed;
    opacity: .5
}

.robot-core {
    position: absolute;
    left: 50%;
    bottom: -30px;
    width: 290px;
    height: 440px;
    transform: translateX(-42%);
    filter: drop-shadow(0 0 30px #a855f766);
    z-index: 2
}

.robot-head {
    position: absolute;
    top: 25px;
    left: 69px;
    width: 150px;
    height: 155px;
    background: linear-gradient(130deg, #f5eaff 0%, #aaa0c7 18%, #393044 42%, #17121f 70%, #8b5cf6);
    border-radius: 45% 45% 35% 35%;
    transform: rotate(-8deg);
    border: 2px solid #d8b4fe;
    box-shadow: inset -18px -8px 25px #09070d, inset 9px 5px 14px #fff5
}

.robot-head::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 25px;
    width: 98px;
    height: 90px;
    border-radius: 48%;
    background: #09060f;
    border: 2px solid #7e22ce;
    box-shadow: 0 0 24px #a855f7
}

.robot-face {
    position: absolute;
    top: 57px;
    left: 36px;
    display: flex;
    gap: 26px;
    z-index: 2
}

.robot-eye {
    width: 20px;
    height: 13px;
    background: #e9d5ff;
    border-radius: 50%;
    box-shadow: 0 0 8px #c084fc, 0 0 22px #a855f7
}

.robot-jaw {
    position: absolute;
    bottom: -4px;
    left: 39px;
    width: 75px;
    height: 38px;
    background: linear-gradient(120deg, #aaa0c7, #17121f);
    clip-path: polygon(10% 0, 90% 0, 72% 100%, 25% 100%);
    border-bottom: 2px solid #c084fc
}

.robot-ear {
    position: absolute;
    right: -13px;
    top: 63px;
    width: 20px;
    height: 35px;
    border: 3px solid #c084fc;
    background: #17121f;
    border-radius: 4px;
    box-shadow: 0 0 15px #a855f7
}

.robot-neck {
    position: absolute;
    top: 165px;
    left: 123px;
    width: 65px;
    height: 48px;
    background: linear-gradient(90deg, #1b1426, #c4b5fd, #2b1c3d);
    clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%)
}

.robot-body {
    position: absolute;
    top: 205px;
    left: 18px;
    width: 260px;
    height: 250px;
    background: linear-gradient(115deg, #e9ddff 0%, #6b5a8e 13%, #1d1728 32%, #09070e 60%, #7e22ce 100%);
    clip-path: polygon(26% 0, 73% 0, 94% 17%, 100% 75%, 79% 100%, 19% 100%, 0 70%, 7% 18%);
    border: 2px solid #c084fc;
    box-shadow: inset 0 0 30px #a855f7
}

.body-panel {
    position: absolute;
    inset: 30px 44px 25px;
    background: linear-gradient(135deg, #1b1426, #09070e);
    border: 1px solid #7e22ce;
    clip-path: polygon(15% 0, 85% 0, 100% 20%, 90% 100%, 10% 100%, 0 20%)
}

.body-light {
    position: absolute;
    left: 50%;
    top: 50px;
    width: 60px;
    height: 5px;
    background: #e879f9;
    transform: translateX(-50%);
    box-shadow: 0 0 16px #e879f9
}

.body-logo {
    position: absolute;
    left: 50%;
    top: 90px;
    transform: translateX(-50%);
    font: 800 31px var(--display);
    color: #c084fc;
    text-shadow: 0 0 18px #a855f7
}

.robot-shoulder {
    position: absolute;
    right: -4px;
    top: 223px;
    width: 65px;
    height: 100px;
    border-radius: 25px;
    background: linear-gradient(100deg, #120c1b, #c4b5fd, #31213f);
    border: 2px solid #c084fc;
    transform: rotate(-15deg)
}

.visual-label {
    position: absolute;
    font: 600 9px var(--display);
    letter-spacing: 1.3px;
    color: #e9d5ff;
    z-index: 4
}

.label-top {
    top: 30px;
    right: 16px
}

.label-top span {
    color: #d946ef;
    text-shadow: 0 0 10px #d946ef
}

.label-bottom {
    bottom: 220px;
    left: 20px
}

.tiny-bars {
    color: var(--violet);
    margin-right: 8px
}

.visual-coordinate {
    position: absolute;
    right: 15px;
    bottom: 120px;
    font: 10px var(--display);
    line-height: 1.9;
    color: #8d6db4;
    text-align: right
}

.hero-side-note {
    position: absolute;
    right: -15px;
    top: 160px;
    writing-mode: vertical-rl;
    font: 600 10px var(--display);
    letter-spacing: 4px;
    line-height: 2;
    color: #a69ab9
}

.hero-side-note span {
    color: var(--violet)
}

.hero-bottom-line {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    color: #82768f;
    font: 9px var(--display);
    letter-spacing: 1.4px
}

.hero-bottom-line b {
    color: var(--violet);
    font-size: 14px;
    margin-left: 8px
}

.section-pad {
    padding-top: 75px;
    padding-left: 80px;
    padding-right: 80px;
    padding-bottom: 75px;
}

.section-pud {
    padding-top: 150px;
    padding-left: 80px;
    padding-right: 80px;
    padding-bottom: 75px;
    height: 640px;
}

.section-index {
    font: 600 9px var(--display);
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 32px
}

.section-index span {
    color: #ffffff;
}

.about {
    border-bottom: 1px solid var(--line)
}

.about-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 90px
}

.section-tag {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 17px
}

.section-tag>span {
    display: inline-block;
    width: 22px;
    height: 2px;
    background: var(--violet);
    box-shadow: 0 0 12px #a855f7
}

.about-heading h2,
.section-heading h2,
.register-copy h2 {
    font: 700 clamp(31px, 4vw, 49px)/1.23 var(--display);
    letter-spacing: -1.5px;
    margin: 0 0 22px
}

.about-heading>p:not(.section-tag) {
    font-size: 14px;
    color: #aaa1b9;
    max-width: 440px;
    margin: 0 0 25px
}

.text-link {
    color: #d8b4fe;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    border-bottom: 1px solid #7e22ce;
    padding-bottom: 6px
}

.text-link span {
    margin-left: 15px
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 10px;
    align-content: start
}

.feature-card {
    min-height: 205px;
    padding: 20px 17px;
    background: linear-gradient(145deg, rgba(24, 15, 37, .85), rgba(9, 7, 14, .6));
    border: 1px solid rgba(168, 85, 247, .22);
    position: relative;
    border-radius: 20px;
    transition: border-color .25s, transform .25s
}

.feature-card:hover {
    border-color: var(--violet);
    transform: translateY(-4px)
}

.feature-number {
    position: absolute;
    top: 13px;
    right: 13px;
    color: #5f4776;
    font: 10px var(--display)
}

.feature-icon {
    display: block;
    font-size: 30px;
    color: var(--violet);
    margin: 8px 0 16px;
    text-shadow: 0 0 15px #a855f766
}

.feature-card h3 {
    font: 600 15px var(--display);
    margin: 0 0 8px
}

.feature-card p {
    font-size: 12px;
    line-height: 1.6;
    color: #a79db6;
    margin: 0
}

.about-banner {
    grid-column: 1/-1;
    min-height: 115px;
    border: 1px solid rgba(168, 85, 247, .4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: radial-gradient(ellipse at 80% 50%, #581c8733, transparent 50%), #0c0912
}

.banner-circuit {
    position: absolute;
    inset: 0;
    opacity: .3;
    background: linear-gradient(120deg, transparent 20%, #a855f7 20.2%, transparent 20.5%), linear-gradient(65deg, transparent 65%, #a855f7 65.2%, transparent 65.5%)
}

.about-banner>div:nth-child(2) {
    display: flex;
    flex-direction: column;
    position: relative
}

.about-banner small {
    font: 600 8px var(--display);
    letter-spacing: 1.5px;
    color: #9f8aad
}

.about-banner strong {
    font: 600 17px var(--display);
    margin-top: 8px
}

.banner-symbol {
    font: 800 37px var(--display);
    color: #a855f7;
    opacity: .8
}

.events {
    border-bottom: 1px solid var(--line)
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 34px
}

.section-heading h2 {
    margin: 0
}

.section-heading>p {
    max-width: 320px;
    color: #a79db6;
    font-size: 13px;
    margin: 0 0 5px
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.event-card {
    background: linear-gradient(145deg, #100b19, #09070e);
    border: 1px solid rgba(168, 85, 247, .3);
    transition: transform .3s, border-color .3s;
    min-width: 0
}

.event-card:hover {
    transform: translateY(-7px);
    border-color: #b76cff;
    box-shadow: 0 15px 45px #6b21a822
}

.event-image {
    height: 235px;
    position: relative;
    overflow: hidden;
    background-color: #10091a;
    border-bottom: 1px solid rgba(168, 85, 247, .35)
}

.event-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 80%, rgba(147, 51, 234, .35), transparent 55%), repeating-linear-gradient(0deg, transparent 0 24px, rgba(168, 85, 247, .07) 25px);
    z-index: 0
}

.event-image::after {
    content: "";
    position: absolute;
    inset: 0;
}

.event-number {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    font: 800 28px var(--display);
    color: #d8b4fe;
    text-shadow: 0 0 16px #a855f7
}

.image-chip {
    position: absolute;
    top: 20px;
    right: 14px;
    z-index: 2;
    font: 8px var(--display);
    letter-spacing: 1px;
    color: #c4b5fd
}

.race-track {
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 27px;
    height: 90px;
    border: 2px solid #7e22ce;
    border-radius: 50%;
    transform: perspective(160px) rotateX(55deg);
    box-shadow: 0 0 22px #9333ea55;
    z-index: 1
}

.race-track span {
    position: absolute;
    width: 54px;
    height: 33px;
    border: 2px solid #c084fc;
    background: linear-gradient(145deg, #4c1d95, #09070e);
    border-radius: 8px;
    top: 23px;
    left: 40%;
    box-shadow: 0 0 18px #a855f7
}

.race-track span:nth-child(2) {
    width: 14px;
    height: 14px;
    top: 53px;
    left: 30%;
    border-radius: 50%;
    background: #e879f9
}

.race-track span:nth-child(3) {
    width: 14px;
    height: 14px;
    top: 53px;
    left: 61%;
    border-radius: 50%;
    background: #e879f9
}

.arm {
    position: absolute;
    width: 18px;
    height: 100px;
    background: linear-gradient(90deg, #241332, #d8b4fe, #5b21b6);
    border: 1px solid #c084fc;
    transform-origin: top;
    border-radius: 7px;
    z-index: 2
}

.arm-one {
    left: 45%;
    top: 54px;
    transform: rotate(-25deg)
}

.arm-two {
    left: 45%;
    top: 54px;
    transform: rotate(38deg);
    height: 72px
}

.arm-base {
    position: absolute;
    left: 34%;
    bottom: 24px;
    width: 95px;
    height: 25px;
    background: linear-gradient(#bba5df, #30203e);
    border: 1px solid #c084fc;
    z-index: 2;
    clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%)
}

.cube {
    position: absolute;
    bottom: 46px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #d8b4fe, #7e22ce);
    z-index: 1;
    box-shadow: 0 0 14px #a855f755
}

.cube-one {
    right: 27%;
}

.cube-two {
    right: 18%;
    bottom: 72px;
    background: linear-gradient(135deg, #f0abfc, #86198f)
}

.drone {
    position: absolute;
    z-index: 2;
    width: 150px;
    height: 70px;
    left: 50%;
    top: 58%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 12px #a855f7)
}

.drone-arm {
    position: absolute;
    left: 15px;
    right: 15px;
    top: 32px;
    height: 5px;
    background: linear-gradient(90deg, #c084fc, #17121f, #e9d5ff, #17121f, #c084fc);
    transform: rotate(-15deg)
}

.drone-body {
    position: absolute;
    width: 42px;
    height: 28px;
    left: 54px;
    top: 22px;
    background: linear-gradient(145deg, #e9d5ff, #3b2454 50%, #09070e);
    clip-path: polygon(20% 0, 80% 0, 100% 70%, 50% 100%, 0 70%);
    border: 1px solid #c084fc
}

.drone-prop {
    position: absolute;
    width: 42px;
    height: 7px;
    border: 1px solid #c084fc;
    border-radius: 50%;
    box-shadow: 0 0 12px #a855f7
}

.prop-a {
    left: 0;
    top: 8px
}

.prop-b {
    right: 0;
    top: 8px
}

.prop-c {
    left: 0;
    bottom: 5px
}

.prop-d {
    right: 0;
    bottom: 5px
}

.drone-beam {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 70px;
    height: 65px;
    transform: translateX(-50%);
    background: linear-gradient(0deg, #a855f733, transparent);
    clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%);
    z-index: 1
}

.event-card-content {
    padding: 22px 20px 18px
}

.event-type {
    font: 600 8px var(--display);
    letter-spacing: 1.3px;
    color: #a78bfa
}

.event-card h3 {
    font: 700 19px var(--display);
    margin: 8px 0 10px
}

.event-card-content>p {
    font-size: 12px;
    color: #a79db6;
    min-height: 60px;
    margin: 0 0 20px
}

.event-card-bottom {
    border-top: 1px solid rgba(168, 85, 247, .2);
    padding-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 10px;
    color: #9f91b2
}

.event-card-bottom a {
    font-size: 10px;
    color: #d8b4fe;
    text-decoration: none;
    white-space: nowrap
}

.event-card-bottom a b {
    margin-left: 5px
}

.event-note {
    font-size: 10px;
    color: #80748f;
    margin: 22px 0 0
}

.event-note span {
    color: #c084fc;
    margin-right: 5px
}

.register {
    padding-top: 80px;
    padding-bottom: 90px
}

.register-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1fr .72fr;
    gap: 60px;
    padding: 56px 55px;
    background: radial-gradient(ellipse at 15% 80%, rgba(126, 34, 206, .24), transparent 50%), linear-gradient(110deg, #100a19, #09070e 70%);
    border: 1px solid #7e22ce;
    box-shadow: 0 0 50px #6b21a811;
    overflow: hidden
}

.register-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 40%, rgba(168, 85, 247, .08), transparent 80%)
}

.register-copy,
.register-form-wrap {
    position: relative;
    z-index: 1
}

.register-copy h2 {
    font-size: clamp(30px, 3.5vw, 43px)
}

.register-copy>p:not(.section-tag) {
    max-width: 410px;
    color: #b2a8c1;
    font-size: 13px
}

.register-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 25px
}

.register-badges span {
    font: 600 8px var(--display);
    letter-spacing: .7px;
    padding: 8px 10px;
    border: 1px solid #5b2a7f;
    color: #d8b4fe
}

.register-form-wrap {
    padding: 24px;
    background: rgba(5, 4, 9, .7);
    border: 1px solid rgba(168, 85, 247, .35)
}

.form-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px
}

.form-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--violet);
    color: #d8b4fe;
    font-size: 22px;
    border-radius: 10px;
}

.form-heading h3 {
    font: 600 14px var(--display);
    margin: 0 0 4px
}

.form-heading p {
    font-size: 11px;
    color: #9f91b2;
    margin: 0
}

.register-form-wrap form {
    display: flex;
    flex-direction: column
}

.register-form-wrap label {
    font: 600 8px var(--display);
    letter-spacing: 1px;
    color: #b8a5cb;
    margin: 13px 0 6px
}

.register-form-wrap input,
.register-form-wrap select {
    width: 100%;
    padding: 12px 13px;
    background: #0b0811;
    color: #f6f1ff;
    border: 1px solid #382349;
    border-radius: 3px;
    font: 12px var(--font);
    outline: none
}

.register-form-wrap input:focus,
.register-form-wrap select:focus {
    border-color: var(--violet);
    box-shadow: 0 0 0 2px #a855f722
}

.register-form-wrap input::placeholder {
    color: #665773
}

.register-form-wrap select:invalid {
    color: #776886
}

.register-form-wrap select option {
    background: #100b16;
    color: #f6f1ff
}

.submit-button {
    width: 100%;
    margin-top: 18px
}

.form-message {
    font-size: 9px;
    color: #82768f;
    margin: 12px 0 0;
    line-height: 1.5
}

.register-corner {
    position: absolute;
    width: 35px;
    height: 35px;
    border-color: #e879f9;
    opacity: .8
}

.corner-a {
    left: 0;
    top: 0;
    border-left: 2px solid;
    border-top: 2px solid
}

.corner-b {
    right: 0;
    bottom: 0;
    border-right: 2px solid;
    border-bottom: 2px solid
}

.site-footer {
    padding-top: 35px;
    padding-bottom: 18px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px
}

.footer-brand .brand-mark {
    font-size: 32px
}

.footer-brand .brand-copy strong {
    font-size: 21px
}

.footer-motto {
    font: 700 12px/1.7 var(--display);
    letter-spacing: 1px;
    text-align: center
}

.footer-motto span {
    color: var(--violet)
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 19px
}

.footer-links a,
.footer-bottom a {
    font-size: 10px;
    color: #a79db6;
    text-decoration: none
}

.footer-links a:hover,
.footer-bottom a:hover {
    color: #d8b4fe
}

.footer-bottom {
    grid-column: 1/-1;
    border-top: 1px solid rgba(168, 85, 247, .2);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 9px;
    color: #796d87
}

.footer-bottom b {
    color: var(--violet);
    margin-left: 6px
}

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

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

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}

@media (max-width: 1240px) {
    .site-header {
        gap: 14px;
    }

    .main-nav {
        gap: 18px;
    }

    .header-cta {
        display: none;
    }

    .hero {
        min-height: 600px;
        grid-template-columns: 1fr .8fr;
    }

    .hero h1 {
        font-size: clamp(42px, 6vw, 66px);
    }

    .hero-visual {
        height: 500px;
    }

    .robot-core {
        transform: translateX(-44%) scale(.88);
        transform-origin: bottom center;
    }

    .hero-side-note {
        display: none;
    }

    .about-layout {
        gap: 38px;
    }

    .register-panel {
        gap: 30px;
        padding: 40px 32px;
    }

    .event-image {
        height: 175px;
    }
}

@media (max-width: 720px) {
    .hero-content {
        padding: 25px !important;
    }

    .site-header {
        width: calc(100% - 36px);
        height: 72px;
    }

    .brand-mark {
        font-size: 31px;
    }

    .brand-copy strong {
        font-size: 17px;
    }

    .brand-copy small {
        font-size: 7px;
        letter-spacing: 1.4px;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 22;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 71px;
        left: -1px;
        right: -1px;
        padding: 18px;
        background: #0c0813;
        border: 1px solid #4c1d95;
        box-shadow: 0 15px 30px #0009;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-radius: 20px;
    }

    .main-nav.open {
        display: flex;
    }

    .nav-link {
        padding: 13px 10px;
        border-bottom: 1px solid #251632;
    }

    .nav-link:last-child {
        border-bottom: 0;
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
        padding-top: 30px;
    }


    .eyebrow {
        font-size: 8px;
        letter-spacing: 1.2px;
        flex-wrap: wrap;
    }

    .hero h1 {
        font-size: clamp(40px, 11vw, 65px);
        letter-spacing: -2.5px;
    }

    .hero-kicker {
        font-size: 9px;
        letter-spacing: 1.2px;
        line-height: 1.8;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-actions .button {
        flex: 1;
        padding: 12px 13px;
        gap: 8px;
    }

    .hero-meta {
        gap: 22px;
        margin-top: 27px;
    }

    .hero-meta strong {
        font-size: 11px;
    }

    .hero-visual {
        height: 330px;
        width: 100%;
        align-self: center;
        mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    }

    .hero-visual::before {
        width: 260px;
        height: 260px;
        top: 25px;
    }

    .robot-core {
        transform: translateX(-45%) scale(.67);
        transform-origin: bottom center;
        bottom: -38px;
    }

    .orbit-one {
        width: 300px;
        height: 130px;
    }

    .orbit-two {
        width: 240px;
        height: 340px;
    }

    .label-top {
        right: 4px;
        top: 20px;
    }

    .label-bottom {
        left: 6px;
        bottom: 23px;
    }

    .visual-coordinate {
        right: 5px;
        bottom: 90px;
    }

    .hero-bottom-line {
        position: relative;
        bottom: auto;
        padding: 12px 0 16px;
        font-size: 7px;
        letter-spacing: .7px;
    }

    .hero-bottom-line span:last-child {
        display: none;
    }

    .section-pad {
        padding: 55px 25px !important;
    }

    .section-pud {
        padding: 55px 25px !important;
        min-height: 670px;
    }

    .about-heading h2 {
        margin: 30px 0 !important;
    }

    .section-index {
        margin-bottom: 24px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-heading h2,
    .section-heading h2 {
        font-size: clamp(29px, 8vw, 42px);
    }

    .about-heading>p:not(.section-tag) {
        font-size: 13px;
    }

    .about-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 20px;
        column-gap: 8px;
    }

    .feature-card {
        padding: 14px 10px;
        min-height: 180px;
    }

    .feature-icon {
        font-size: 25px;
    }

    .feature-card h3 {
        font-size: 11px;
    }

    .feature-card p {
        font-size: 10px;
    }

    .feature-number {
        font-size: 8px;
        top: 7px;
        right: 7px;
    }

    .about-banner {
        padding: 17px;
        min-height: 100px;
    }

    .about-banner strong {
        font-size: 13px;
    }

    .banner-symbol {
        font-size: 27px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .section-heading>p {
        font-size: 12px;
    }

    .event-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .event-image {
        height: 200px;
    }

    .event-card-content {
        padding: 20px;
    }

    .event-card-content>p {
        min-height: 0;
    }

    .register {
        padding-top: 55px;
        padding-bottom: 60px;
    }

    .register-panel {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 30px 20px;
    }

    .register-copy h2 {
        font-size: clamp(28px, 8vw, 38px);
    }

    .register-copy>p:not(.section-tag) {
        font-size: 12px;
    }

    .register-form-wrap {
        padding: 18px;
    }

    .site-footer {
        grid-template-columns: 1fr auto;
        gap: 22px;
        padding-top: 28px;
    }

    .footer-motto {
        display: none;
    }

    .footer-links {
        gap: 13px;
        flex-wrap: wrap;
    }

    .footer-links a {
        font-size: 9px;
    }

    .footer-bottom {
        display: grid;
        grid-template-columns: 1fr auto;
        font-size: 8px;
    }

    .footer-bottom span:nth-child(2) {
        display: none;
    }
}

@media (max-width: 380px) {
    .section-wrap {
        width: calc(100% - 28px);
    }

    .hero-meta {
        gap: 13px;
    }

    .meta-icon {
        font-size: 20px;
    }

    .hero-meta small {
        font-size: 8px;
    }

    .hero-meta strong {
        font-size: 10px;
    }

    .hero-actions {
        gap: 8px;
    }

    .hero-actions .button {
        font-size: 10px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .feature-icon {
        margin: 2px 0 8px;
    }

    .feature-card p {
        font-size: 11px;
    }

    .about-banner {
        grid-column: auto;
    }

    .footer-links {
        gap: 9px;
    }
}

.form-message.success {
    color: #d8b4fe
}

.brand-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 8px #a855f7);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    background: #32104F;
    color: #F0ABFC;
    border: 1px solid #C026D3;
    border-radius: 10px;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    z-index: 22;
}

@media (max-width: 720px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    footer#contact {
        padding-top: 20px !important;
    }
}


/* Social media bar above the header */
.social-bar {
    width: 100%;
    background: #100719;
    border-bottom: 1px solid #32104F;
}

.social-bar-inner {
    min-height: 42px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 10px 0;
}

.social-label {
    color: #BBA7D4;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #6F3894;
    border-radius: 8px;
    background: #1A0B29;
    color: #F0ABFC;
    transition: 0.25s ease;
}

.social-icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-icon.facebook svg {
    fill: currentColor;
    stroke: none;
}

.social-icon .social-dot {
    fill: currentColor;
    stroke: none;
}

.social-icon:hover {
    background: #6F3894;
    border-color: #F0ABFC;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 0 12px #9333EA55;
}

@media (max-width: 720px) {
    .social-bar-inner {
        min-height: 38px;
        justify-content: center;
        gap: 12px;
    }

    .social-label {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .social-icons {
        gap: 8px;
    }

    .social-icon {
        width: 26px;
        height: 26px;
    }
}

/* Wide centered brand banner */
.brand-banner {
    width: 100%;


    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0c;
    border-bottom: 1px solid #32104F;
}

.banner-image-link {
    width: 100%;
    max-width: 1100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.banner-image {
    display: block;
    max-height: 73px;
    object-fit: contain;
    object-position: center;
}

/* Mobile */
@media (max-width: 720px) {

    .banner-image-link {
        max-width: 100%;
    }

    .banner-image {
        max-height: 80px;
    }
}

/* ABOUT ROBOFEST */

.about-robofest {
    position: relative;
    overflow: hidden;
    background: #08050F;
    min-height: 640px;
}

.about-robofest-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.about-robofest-content h2 {
    margin: 16px 0 24px;
    color: #FFFFFF;
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.about-robofest-content h2 span {
    display: block;
    color: #C026D3;
}

.about-robofest-description {
    max-width: 580px;
    margin: 0 0 18px;
    color: #BBA7D4;
    font-size: 14px;
    line-height: 1.9;
}

.about-robofest-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    text-decoration: none;
}

.about-robofest-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.about-robofest-frame {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 1px solid #6F3894;
    border-radius: 22px;
    background:
        radial-gradient(circle at center, #32104F 0%, #160A22 45%, #08050F 75%);
    box-shadow: 0 0 35px #9333EA22;
}

.about-robofest-frame::before,
.about-robofest-frame::after {
    content: "";
    position: absolute;
    width: 75%;
    height: 75%;
    border: 1px solid #9333EA66;
    transform: rotate(45deg);
}

.about-robofest-frame::after {
    width: 55%;
    height: 55%;
    border-color: #C026D366;
    transform: rotate(22deg);
}

.about-robofest-symbol {
    z-index: 1;
    color: #F0ABFC;
    font-size: clamp(100px, 16vw, 180px);
    font-weight: 900;
    text-shadow: 0 0 35px #9333EA88;
}

.about-visual-top,
.about-visual-bottom {
    position: absolute;
    z-index: 2;
    color: #E9D5FF;
    font-size: 9px;
    letter-spacing: 2px;
}

.about-visual-top {
    top: 22px;
    left: 22px;
}

.about-visual-bottom {
    right: 22px;
    bottom: 22px;
}

@media (max-width: 720px) {
    .about-robofest-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-robofest-content h2 {
        font-size: clamp(36px, 10vw, 48px);
    }

    .about-robofest-description {
        font-size: 13px;
    }

    .about-robofest-frame {
        max-width: 330px;
    }

    .about-robofest-symbol {
        font-size: 125px;
    }
}

.about-heading h2 {
    margin: 40px 0
}

/* ALL CHALLENGES — Premium 3D Button */
.events-actions .button-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 24px;

    color: #FFFFFF;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;

    background: linear-gradient(135deg,
            #C026D3 0%,
            #9333EA 45%,
            #512080 100%);

    border: 1px solid #E9A8FF;
    border-radius: 12px;

    box-shadow:
        inset 0 1px 2px #FFFFFF66,
        inset 0 -3px 5px #32104F88,
        0 5px 0 #32104F,
        0 9px 20px #9333EA55;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

/* Hover: raised 3D effect */
.events-actions .button-secondary:hover {
    transform: translateY(-3px);
    filter: brightness(1.15);

    box-shadow:
        inset 0 1px 3px #FFFFFF88,
        0 8px 0 #32104F,
        0 14px 28px #C026D366;
}

/* Click: button presses down */
.events-actions .button-secondary:active {
    transform: translateY(4px);

    box-shadow:
        inset 0 3px 7px #32104F88,
        0 1px 0 #32104F,
        0 3px 10px #9333EA44;
}

/* Arrow movement */
.events-actions .button-secondary span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.events-actions .button-secondary:hover span {
    transform: translate(3px, -3px);
}

/* Events Action Buttons */
.events-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.events-actions .button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 24px;

    color: #FFFFFF;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;

    background: linear-gradient(135deg,
            #C026D3 0%,
            #9333EA 45%,
            #32104F 100%);

    border: 1px solid #E9A8FF;
    border-radius: 12px;

    box-shadow:
        inset 0 1px 2px #FFFFFF66,
        inset 0 -3px 5px #32104F88,
        0 5px 0 #210D35,
        0 9px 20px #9333EA44;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

/* Hover effect */
.events-actions .button:hover {
    transform: translateY(-3px);
    filter: brightness(1.15);

    box-shadow:
        inset 0 1px 3px #FFFFFF88,
        0 8px 0 #210D35,
        0 14px 28px #9333EA66;
}

/* Press-down 3D effect */
.events-actions .button:active {
    transform: translateY(4px);

    box-shadow:
        inset 0 3px 7px #32104F88,
        0 1px 0 #210D35,
        0 3px 10px #9333EA44;
}

/* Arrow animation */
.events-actions .button span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.events-actions .button:hover span {
    transform: translate(3px, -3px);
}

/* Mobile layout */
@media (max-width: 480px) {
    .events-actions {
        gap: 12px;
    }

    .events-actions .button {
        padding: 13px 17px;
        font-size: 12px;
    }
}

/* REGISTER SECTION — scoped overrides only */
.register.section-wrap.section-pad {
    padding-left: 80px !important;
    padding-right: 80px !important;
}

.register .register-panel {
    border-radius: 24px !important;
    box-sizing: border-box !important;
}

.register .register-form-wrap {
    border-radius: 18px !important;
    box-sizing: border-box !important;
}

.register .form-heading,
.register .register-badges span,
.register input,
.register select {
    border-radius: 12px !important;
    box-sizing: border-box !important;
}

.register input,
.register select {
    overflow: hidden !important;
}

.register .submit-button {
    border: 1px solid #e9a8ff !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #c026d3 0%, #9333ea 48%, #4c1d70 100%) !important;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.35),
        inset 0 -3px 0 rgba(35, 8, 48, 0.35),
        0 4px 0 #32104f,
        0 7px 0 #1c0c2a,
        0 12px 22px rgba(147, 51, 234, 0.3) !important;
    transform: translateY(0) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

.register .submit-button:hover {
    transform: translateY(-3px) !important;
    filter: brightness(1.12) !important;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        0 5px 0 #32104f,
        0 8px 0 #1c0c2a,
        0 16px 28px rgba(192, 38, 211, 0.35) !important;
}

.register .submit-button:active {
    transform: translateY(5px) !important;
    box-shadow:
        inset 0 3px 7px rgba(35, 8, 48, 0.4),
        0 2px 0 #32104f,
        0 4px 10px rgba(147, 51, 234, 0.2) !important;
}

.register .submit-button:focus-visible {
    outline: 2px solid #f0abfc !important;
    outline-offset: 4px !important;
}

@media (max-width: 720px) {
    .register.section-wrap.section-pad {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .register .submit-button {
        transition: none !important;
    }
}

footer#contact {
    margin: 0 10px
}

.about-robofest-symbol {

    height: 130px;
    overflow: hidden;
    border-radius: 12px;
}

.about-robofest-symbol img {
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =====================================
   HERO SECTION — BACKGROUND IMAGE TEST
   ===================================== */

.hero {
    position: relative;
    min-height: 640px;
    overflow: hidden;

    /* IMAGE */
    background-image:
        linear-gradient(90deg,
            rgba(7, 6, 11, 0.94) 0%,
            rgba(7, 6, 11, 0.72) 38%,
            rgba(7, 6, 11, 0.30) 75%,
            rgba(7, 6, 11, 0.15) 100%),
        url("Hero_Section.jpg");

    /* IMAGE FIT */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

/* Keep hero text above the background */
.hero-content {
    position: relative;
    z-index: 3;
    padding-left: 80px;
    padding-right: 80px;
}

/* Keep the existing robot illustration visible */
.hero-visual {
    position: relative;
    z-index: 1;
}

/* Mobile adjustments */
@media (max-width: 760px) {
    .hero {
        min-height: 640px;
        background-position: 45% center;
        background-size: cover;
    }
}

/* =====================================
   ABOUT ROBOFEST — BACKGROUND IMAGE
   ===================================== */

.about-robofest {
    position: relative;
    width: 100%;
    overflow: hidden;

    background-image:
        linear-gradient(90deg,
            rgba(7, 6, 11, 0.92) 0%,
            rgba(7, 6, 11, 0.72) 45%,
            rgba(7, 6, 11, 0.35) 100%),
        url("About_Robofest.jpg");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

/* Mobile adjustments */
@media (max-width: 720px) {
    .about-robofest {
        background-position: 50% center;
        background-size: cover;
    }
}

/* =====================================
   ABOUT SECTION — BACKGROUND IMAGE
   ===================================== */

.about {
    position: relative;
    width: 100%;
    overflow: hidden;

    background-image:
        linear-gradient(90deg,
            rgba(7, 6, 11, 0.92) 0%,
            rgba(7, 6, 11, 0.72) 45%,
            rgba(7, 6, 11, 0.35) 100%),
        url("About.jpg");

    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

/* Mobile adjustments */
@media (max-width: 720px) {
    .about {
        background-position: 60% center;
        background-size: cover;
    }
}


/* Let the background show between event cards */
.events .event-card {
    background-color: rgba(8, 13, 24, 0.82) !important;
}

/* 6TH AND LAST SECTION — REGISTER BACKGROUND */
#register {
    background:
        linear-gradient(rgba(5, 5, 15, 0.35), rgba(5, 5, 15, 0.60)),
        url("u.jpg") center / cover no-repeat !important;
}

@media (max-width: 720px) {
    #register {
        background-size: cover;
        background-position: 50% center;
        /* 50% horizontal, center vertical */
        background-repeat: no-repeat;
    }
}


.site-header {
    margin: 0 20px !important;
    padding: 0 !important;
    justify-content: space-between !important;
}

/* menu toggle: left, 20px margin */
.menu-toggle {
    margin-left: 20px !important;
}

/* Join the mission: right, 20px margin */
.header-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 20px 0 auto !important;
    padding: 9px 12px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
}

/* dropdown spans the full header width */
.main-nav {
    left: 0 !important;
    right: 0 !important;
}

footer#contact {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: center !important;
    gap: 30px !important;
    padding-top: 35px;
}

/* left half: logo + name centered */
footer#contact .footer-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    justify-self: center !important;
}

/* right half: motto centered */
footer#contact .footer-motto {
    display: block !important;
    justify-self: center !important;
    text-align: center !important;
    margin: 0 !important;
    font-size: 15px !important;
    letter-spacing: 1.5px !important;
}

/* bottom row spans both halves */
footer#contact .footer-bottom {
    grid-column: 1 / -1 !important;
}

@media (max-width: 720px) {
    footer#contact {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    footer#contact .footer-motto {
        font-size: 10px !important;
        letter-spacing: 1px !important;
    }
}

footer#contact .footer-bottom {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    text-align: center !important;
}

/* copyright in the center */
footer#contact .footer-bottom>span {
    grid-column: 2 !important;
    text-align: center !important;
}

/* back to top on the right */
footer#contact .footer-bottom>a {
    grid-column: 3 !important;
    justify-self: end !important;
}

@media (max-width: 720px) {
    footer#contact .footer-bottom {
        grid-template-columns: 1fr auto 1fr !important;
        font-size: 10px !important;
    }
}

/* Hover lift only on real mouse devices */
@media (hover: none),
(pointer: coarse) {
    .main-event-card:hover {
        transform: none !important;
        border-color: #00d9ff !important;
        box-shadow:
            0 2px 0 #087b99,
            0 7px 0 #062333,
            0 16px 28px rgba(0, 0, 0, .48),
            0 0 28px rgba(0, 201, 238, .18),
            inset 0 1px 0 rgba(255, 255, 255, .12) !important;
    }

    .main-event-button:hover {
        transform: translateY(0) !important;
        filter: none !important;
        box-shadow:
            0 3px 0 #006181,
            0 6px 0 #03405a,
            0 10px 18px rgba(0, 0, 0, .38),
            inset 0 1px 0 rgba(255, 255, 255, .55) !important;
    }
}

/* Button press: works with finger (:active) or JS class (.is-pressed) */
.main-event-button:active,
.main-event-button.is-pressed {
    transform: translateY(5px) !important;
    filter: brightness(.96) !important;
    box-shadow:
        0 1px 0 #006181,
        0 2px 0 #03405a,
        0 3px 8px rgba(0, 0, 0, .35),
        inset 0 3px 7px rgba(0, 35, 55, .28) !important;
}

.main-event-button {
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

.register-copy h2 {
    margin: 25px 0 25px !important;
}

/* No sticky hover lift on touch devices */
@media (hover: none),
(pointer: coarse) {
    .register .submit-button:hover {
        transform: translateY(0) !important;
        filter: none !important;
        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.35),
            inset 0 -3px 0 rgba(35, 8, 48, 0.35),
            0 4px 0 #32104f,
            0 7px 0 #1c0c2a,
            0 12px 22px rgba(147, 51, 234, 0.3) !important;
    }
}

/* Press effect: finger (:active) or JS class (.is-pressed) */
.register .submit-button:active,
.register .submit-button.is-pressed {
    transform: translateY(5px) !important;
    filter: brightness(.96) !important;
    box-shadow:
        inset 0 3px 7px rgba(35, 8, 48, 0.4),
        0 2px 0 #32104f,
        0 4px 10px rgba(147, 51, 234, 0.2) !important;
}

.register .submit-button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

/* No sticky hover on touch devices */
@media (hover: none),
(pointer: coarse) {
    .events .section-heading>.button-secondary:hover {
        transform: translateY(0) !important;
        filter: none !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .45),
            inset 0 -4px 8px rgba(25, 5, 42, .42),
            0 3px 0 #210d35,
            0 6px 0 #160820,
            0 12px 24px rgba(147, 51, 234, .28),
            0 0 18px rgba(192, 38, 211, .12) !important;
    }

    .events .section-heading>.button-secondary:hover span {
        transform: none !important;
    }
}

/* Press effect: finger (:active) or JS class (.is-pressed) */
.events .section-heading>.button-secondary:active,
.events .section-heading>.button-secondary.is-pressed {
    transform: translateY(4px) !important;
    filter: brightness(.98) !important;
    box-shadow:
        inset 0 3px 8px rgba(25, 5, 42, .5),
        0 1px 0 #210d35,
        0 3px 8px rgba(147, 51, 234, .22) !important;
}

.events .section-heading>.button-secondary {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

/* ===== Hero buttons: About ROBOFEST + Explore events — 3D ===== */
.hero-actions .button {
    position: relative !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    transform: translateY(0) !important;
    transition:
        transform .18s cubic-bezier(.34, 1.56, .64, 1),
        box-shadow .18s ease,
        filter .18s ease !important;
}

/* About ROBOFEST (purple) */
.hero-actions .button-primary {
    border: 1px solid #f0abfc !important;
    background: linear-gradient(135deg, #c026d3 0%, #9333ea 48%, #4c1d70 100%) !important;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, .35),
        inset 0 -3px 0 rgba(35, 8, 48, .35),
        0 4px 0 #6923a5,
        0 7px 0 #1c0c2a,
        0 12px 22px rgba(147, 51, 234, .3) !important;
}

/* Explore events (dark glass) */
.hero-actions .button-ghost {
    border: 1px solid #a855f7 !important;
    background: linear-gradient(180deg, #1b1030 0%, #0c0714 100%) !important;
    color: #f3e8ff !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        inset 0 -3px 0 rgba(0, 0, 0, .35),
        0 4px 0 #3b1a63,
        0 7px 0 #1c0c2a,
        0 12px 22px rgba(0, 0, 0, .4) !important;
}

/* Jump up — mouse only */
@media (hover: hover) and (pointer: fine) {
    .hero-actions .button:hover {
        transform: translateY(-4px) !important;
        filter: brightness(1.12) !important;
    }

    .hero-actions .button-primary:hover {
        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, .4),
            0 6px 0 #32104f,
            0 10px 0 #1c0c2a,
            0 18px 30px rgba(192, 38, 211, .4) !important;
    }

    .hero-actions .button-ghost:hover {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .22),
            0 6px 0 #3b1a63,
            0 10px 0 #1c0c2a,
            0 18px 30px rgba(0, 0, 0, .45) !important;
    }
}

/* Press down — mouse click, finger tap, Android */
.hero-actions .button:active,
.hero-actions .button.is-pressed {
    transform: translateY(5px) !important;
    filter: brightness(.96) !important;
    box-shadow:
        inset 0 3px 7px rgba(20, 5, 35, .5),
        0 1px 0 #1c0c2a,
        0 3px 8px rgba(0, 0, 0, .3) !important;
}

@media (prefers-reduced-motion: reduce) {
    .hero-actions .button {
        transition: none !important;
    }
}