@font-face {
    font-family: 'HelveticaNeue ThinCond';
    src: url('../fonts/HelveticaNeue-Condensed-Thin.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeue Condensed';
    src: url('../fonts/HelveticaNeue-Condensed.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeue Condensed';
    src: url('../fonts/HelveticaNeue-Condensed-Bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

body {
    background: rgba(255, 255, 255, 0.09);
    position: relative;
    font-family: 'Helvetica', sans-serif;
}

h1 {
    font-size: 34px;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 0%;
}

/* Cursor Canvas for Particle Effect */
#cursorCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

@media screen and (max-width:992px) {
    #cursorCanvas {
        display: none;
    }
}

nav {
    text-align: center;
}

nav img {
    max-width: 140px;
}

#canvas {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

#canvas.dragging {
    cursor: grabbing;
}

.image-container {
    position: absolute;
    width: 170px;
    height: auto;
    transition: filter 0.15s ease;
    pointer-events: none;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.center-marker {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10;
}






/* Background Video */
#video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.3);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1111;
    padding: 10px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    max-width: 150px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .logo img {
        max-width: 100px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 14px;
    }
}



/* Image Link Styles */
.image-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
    pointer-events: auto;
    /* Keep as auto */
    transition: 0.2s ease-in-out;
}

.image-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Tooltip Styles */
.tooltip {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.image-link:hover .tooltip {
    opacity: 1;
}

.image-link:hover {
    transform: scale(1.05);
}


/* Make sure image container allows pointer events */
.image-container {
    position: absolute;
    width: 170px;
    height: auto;
    pointer-events: auto;
    /* GPU acceleration to prevent blur flicker */
    will-change: filter;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Disable link during drag to allow smooth dragging */
.dragging .image-link {
    pointer-events: none;
}

.image-link,
.image-link img {
    -webkit-user-drag: none;
    user-drag: none;
}


/* Page fade in/out animations */
body {
    animation: fadeIn 1.5s ease forwards;
    transition: opacity 0.5s ease;
}

body.unloading {
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Grain Canvas */
#grainCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    animation: fadeInGrain 0.3s ease forwards;
    transition: opacity 0.5s ease;
}

body.unloading #grainCanvas {
    opacity: 0;
}

@keyframes fadeInGrain {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.8;
    }
}

/* Transition overlay */
#transitionOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F0F0F0;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

body.unloading #transitionOverlay {
    opacity: 1;
}

/* Update video background for fade effect */
#video-background video {
    transition: filter 0.5s ease;
}

body.unloading #video-background video {
    filter: brightness(0) blur(8px);
}

/* Landing Page */
.coming-soon-container {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.coming-soon-container img {
    max-width: 300px;
    max-height: 200px;
}

.coming-soon-social {
    position: absolute;
    left: 50%;
    bottom: 5%;
    transform: translate(-50%, -50%);
}

.landing nav img {
    max-width: 210px;
}

.coming-soon-social i {
    font-size: 28px;
}

.coming-soon-social a {
    color: #000;
}

@media screen and (max-width:992px) {
    .coming-soon-container img {
        max-width: 200px;
    }

    .landing nav img {
        max-width: 170px;
    }
}

.content {
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 1;
    padding-top: 160px;
    padding-bottom: 160px;
}

.tagline {
    font-size: clamp(1.2rem, 2vw, 1.85rem);
    font-weight: 800;
    margin-bottom: 2rem;
    color: #000;
    text-transform: uppercase;
    font-family: 'HelveticaNeue Condensed';
}

.email-form-wrapper {
    margin-bottom: 2rem;
}

.email-form {
    display: flex;
    gap: 0;
    max-width: 600px;
    margin: 22px auto;
    border: 1px solid #fff;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.email-form:focus-within {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.email-input {
    flex: 1;
    padding: 1.25rem 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    /* translucent black */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1rem;
    outline: none;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    font-family: 'HelveticaNeue Condensed';
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Optional: glow or highlight when focused */
.email-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.submit-btn {
    padding: 1rem 2rem;
    background: #fff;
    color: #000;
    border: none;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: 'HelveticaNeue Condensed';
}

.submit-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(-2px);
}

.submit-btn:active {
    transform: translateX(-2px) scale(0.98);
}

.success-message {
    display: none;
    color: #000;
    font-size: 1rem;
    margin-top: 1rem;
    letter-spacing: 0.05em;
    animation: fadeIn 0.5s ease;
}

.success-message.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sub-text {
    font-size: clamp(0.75rem, 1vw, 1.25rem);
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    font-family: 'HelveticaNeue Condensed';
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .email-form {
        flex-direction: column;
    }

    .email-input {
        padding: 1rem;
        text-align: center;
    }

    .submit-btn {
        padding: 1rem;
    }

    .brand-name {
        letter-spacing: 0.2em;
    }
}

#message {
    text-align: center;
    font-family: 'Helvetica', sans-serif;
    margin-top: 28px;
    color: #000;
    transition: opacity 0.4s ease;
    font-size: 1.25rem;
    font-weight: 600;
}

.subscribe-message {
    margin-top: 24px !important;
}