:root {
    --bg: #000000;
    --brand: #24CCEC;
    --brand-glow: rgba(36, 204, 236, 0.4);
    --surface: #111111;
    --text: #ffffff;
    --muted: #adadad;
    --tension-line: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.4;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    width: 100%;
}

/* Kinetic Grain Texture */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3External%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
}

/* Layout */
.viewport {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

header {
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    border-left: 1px solid var(--tension-line);
    padding-left: 3.5rem;
    margin-bottom: 10rem;
}

.back-btn {
    font-family: inherit;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    margin-bottom: auto;
    margin-top: 1rem;
    width: fit-content;
}

.back-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-5px);
    background: rgba(36, 204, 236, 0.05);
}

.back-btn .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-right: 0.8rem;
}

.back-btn:hover .arrow {
    transform: translateX(-5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.kinetic-bg {
    position: absolute;
    top: 5vh;
    right: 0;
    font-size: 35vw;
    font-family: 'Anton', sans-serif;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(36, 204, 236, 0.15);
    line-height: 0.8;
    pointer-events: none;
    z-index: 0;
    text-transform: uppercase;
    transform: skewY(-10deg);
    animation: drift 25s ease-in-out infinite alternate;
    filter: blur(1px);
}

@keyframes drift {
    from {
        transform: skewY(-10deg) translateX(0);
    }

    to {
        transform: skewY(-10deg) translateX(-5%);
    }
}

/* Hero Image Section */
.hero-image-wrapper {
    position: absolute;
    top: 5vh;
    right: 2%;
    height: 80vh;
    width: clamp(280px, 35vw, 550px);
    z-index: 1;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 30px var(--brand-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}




.mono {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.35rem;
    color: var(--brand);
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 700;
    position: relative;
    z-index: 10;
}

h1 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(4rem, 15vw, 10rem);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 10;
}

h1 span {
    color: var(--brand);
}

.elevator {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text);
    max-width: 800px;
    position: relative;
    padding-bottom: 2rem;
}

.elevator::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--brand);
    box-shadow: 0 0 15px var(--brand);
}

/* Grid System */
.friction-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    margin-bottom: 10rem;
    padding-top: 5rem;
}

.col-left {
    grid-column: 1 / span 5;
}

.col-right {
    grid-column: 7 / span 6;
}

.about-text {
    font-size: 1.25rem;
    color: var(--muted);
    border-left: 2px solid var(--brand);
    padding-left: 2rem;
}

.highlight {
    color: var(--text);
    font-weight: 700;
}

/* Prize Section - High Tension */
.prize-container {
    grid-column: 1 / -1;
    background: var(--surface);
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--tension-line);
    position: relative;
    overflow: hidden;
}

.prize-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
    animation: friction-slide 3s infinite linear;
}

@keyframes friction-slide {
    0% {
        transform: translateX(-100%);
    }

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

.prize-card {
    text-align: center;
    flex: 1;
}

.prize-rank {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.prize-amount {
    font-size: 4rem;
    font-weight: 900;
    color: var(--brand);
}

/* Format/Values */
.format-block {
    grid-column: 1 / span 6;
    padding: 3rem;
    background: linear-gradient(135deg, #111 0%, #000 100%);
    border: 1px solid var(--tension-line);
}

.values-block {
    grid-column: 7 / -1;
    padding: 3rem;
    border: 1px solid var(--tension-line);
    background: linear-gradient(135deg, #111 0%, #000 100%);
}

.list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.list-item::before {
    content: '>';
    color: var(--brand);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin-right: 1.5rem;
    font-weight: bold;
}

/* Location Cards */
.locations {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.location-card {
    padding: 4rem;
    background: #111;
    border: 1px solid var(--tension-line);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.location-card:hover {
    border-color: var(--brand);
    background: #181818;
    transform: translateY(-5px);
}

.location-card h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.location-data {
    display: flex;
    gap: 3rem;
}

.data-point label {
    display: block;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.7rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.data-point span {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Registration CTA */
.cta-section {
    height: 350px;
    background: var(--brand);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: none;
    margin-top: 0;
    margin-bottom: 80px;
}

.footer-btn {
    background: white !important;
    color: black !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}

.footer-btn:hover {
    transform: scale(1.2) !important;
}

.register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3.5rem;
    background: var(--brand);
    color: black;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px -10px var(--brand-glow);
}

.hero-cta {
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.register-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px var(--brand-glow);
    filter: brightness(1.1);
}

.secondary-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.register-btn span {
    position: relative;
    z-index: 2;
}

.info-section {
    background: var(--brand);
    color: #000000;
    padding: 6rem 4rem;
    margin: 5rem -2rem;
    width: calc(100% + 4rem);
    grid-column: 1 / -1;
    position: relative;
    overflow: hidden;
}

.info-content {
    position: relative;
    z-index: 2;
}

.info-section h3 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(3rem, 10vw, 5rem);
    margin-bottom: 4rem;
    text-transform: uppercase;
    line-height: 1;
    max-width: 900px;
}

.value-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.value-card {
    padding: 3rem 2rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-card:hover {
    transform: translateY(-10px);
    background-color: white;
    
}

.value-card .card-num {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
    opacity: 1;
    color: var(--brand);
    font-weight: 700;
}

.value-card h4 {
    font-family: 'Anton', sans-serif;
    font-size: 1.8rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    font-weight: 500;
}

.info-section a {
    color: #000000;
    font-weight: 900;
    text-decoration: none;
    border-bottom: 3px solid #000000;
    padding-bottom: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 1.1rem;
}

/* Sub Footer Bar */
.bottom-bar {
    background: #000000;
    padding: 3rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0 -2rem -2rem -2rem;
    width: calc(100% + 4rem);
}

.copyright-group {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.copyright-group span {
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.copyright-group a {
    color: #ffffff;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.copyright-group a:hover {
    opacity: 0.7;
}

.social-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-icon:hover {
    color: var(--brand);
    transform: translateY(-3px);
}

/* Registration Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
    overflow-x: hidden;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: #111111;
    width: 90%;
    max-width: 600px;
    padding: 3rem;
    border: 1px solid var(--tension-line);
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 10px;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    color: var(--brand);
}

.modal-header h2 {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1.1px;
}

.modal-header p {
    color: var(--muted);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.registration-form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--brand);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #181818;
    border: 1px solid var(--tension-line);
    padding: 0.8rem 1rem;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    border-radius: 8px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
}

.phone-input-group {
    display: flex;
    gap: 0.5rem;
}

.phone-input-group select {
    width: 80px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.phone-input-group input {
    flex: 1;
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 1.2rem;
    background: var(--brand);
    color: black;
    border: none;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    border-radius: 8px;
}

.submit-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px var(--brand-glow);
}

.success-msg {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

.success-msg.active {
    display: block;
}

.success-msg h3 {
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    color: var(--brand);
    margin-bottom: 1rem;
}

/* Global Responsiveness */
@media (max-width: 1024px) {
    .hero-accents {
        width: 200px;
        right: 2%;
        gap: 1rem;
    }

    .friction-grid {
        gap: 1.5rem;
    }

    .col-left {
        grid-column: 1 / span 6;
    }

    .col-right {
        grid-column: 7 / span 6;
    }

    .prize-amount {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .viewport {
        padding: 1.5rem;
    }

    header {
        height: 75vh;
        padding-left: 0;
        border-left: none;
        justify-content: center;
        text-align: center;
       
    }

    .back-btn {
        left: 1.5rem;
        top: 1.5rem;
    }

    .hero-image-wrapper {
        display: none !important;
    }

    .kinetic-bg {
        display: none !important;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .elevator::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .friction-grid {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        margin-bottom: 6rem;
    }

    .about-text {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid var(--brand);
        padding-top: 2rem;
    }

    .prize-container {
        flex-direction: column;
        gap: 2rem;
        padding: 3rem 1.5rem;
    }

    .locations {
        grid-template-columns: 1fr;
    }

    .location-card {
        padding: 2.5rem;
    }

    .location-card h3 {
        font-size: 1.8rem;
    }

    .bottom-bar {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 3rem 1.5rem;
        margin: 0 -1.5rem -1.5rem -1.5rem;
        width: calc(100% + 3rem);
    }

    .copyright-group {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-section h2 {
        font-size: 2.2rem !important;
    }

    .modal-container {
        padding: 2.5rem 1rem 2rem 1rem !important;
        width: 92% !important;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .modal-close {
        top: 0.8rem !important;
        right: 0.8rem !important;
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
        width: 100% !important;
    }

    .modal-header h2 {
        font-size: 1.8rem !important;
    }

    .phone-input-group {
        width: 100%;
        gap: 0.4rem;
    }

    .register-btn {
        
        font-size: 0.9rem !important;
        white-space: nowrap !important;
        width: auto !important;
        max-width: 90% !important;
    }

    .info-grid {
        grid-template-columns: 1fr !important;
    }
}
