/* Font imports */
@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/orbitron/v34/yMJRMIlzdpvBhQQL_Qq7dy0.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/orbitron/v34/yMJRMIlzdpvBhQQL_Qq7dy0.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/orbitron/v34/yMJRMIlzdpvBhQQL_Qq7dy0.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: #000;
    overflow-x: hidden;
    font-family: 'Orbitron', monospace;
    position: relative;
}

/* Video background */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

/* Main container */
.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 40px;
}

/* Content - middle-right positioned correctly */
.content {
    position: absolute;
    top: 47%;
    right: 60px;
    transform: translateY(-50%);
    text-align: right;
    opacity: 0;
    animation: textFadeIn 2s ease-in-out 1.5s forwards;
}

.main-heading {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    line-height: 1.1;
    animation: neonFlicker 2s infinite;
}

/* Contract address */
.contract-address {
    font-size: clamp(0.6rem, 1.5vw, 0.9rem);
    color: #fff;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    opacity: 0;
    animation: addressFadeIn 1s ease-in-out 3s forwards;
}

/* X Logo - bottom right */
.x-logo {
    position: absolute;
    bottom: 30px;
    right: 30px;
    opacity: 0;
    animation: logoFadeIn 2s ease-in-out 0.5s forwards;
}

.x-logo a {
    display: block;
    transition: transform 0.2s ease;
}

.x-logo a:hover {
    transform: scale(1.1);
}

.x-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.address-label {
    color: #e3175f;
    margin-right: 15px;
    letter-spacing: 2px;
}

.address-value {
    background: rgba(227, 23, 95, 0.1);
    border: 2px solid #e3175f;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 1px;
}

.address-value:hover {
    background: rgba(227, 23, 95, 0.2);
    box-shadow: 0 0 20px #e3175f;
    transform: translateY(-2px);
}

/* Copy notification */
.copy-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #e3175f;
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
    box-shadow: 0 0 30px #e3175f;
}

.copy-notification.show {
    opacity: 1;
}

/* Neon flicker animation */
@keyframes neonFlicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        color: #ffffff;
        text-shadow: 
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px #fff,
            0 0 40px #e3175f,
            0 0 80px #e3175f,
            0 0 90px #e3175f,
            0 0 100px #e3175f,
            0 0 150px #e3175f;
    }
    20%, 24%, 55% {
        color: #ffffff;
        text-shadow: 
            0 0 2px #fff,
            0 0 5px #fff;
    }
}

/* Fade in animations */
@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateX(-30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes addressFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive */
@media (max-width: 968px) {
    .content {
        top: 30px;
        right: 20px;
        left: 20px;
        text-align: center;
    }

    .x-logo {
        bottom: 30px;
        right: 20px;
    }

    .x-logo-img {
        width: 50px;
        height: 50px;
    }

    .main-heading {
        font-size: clamp(1.8rem, 10vw, 3rem);
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .content {
        top: 20px;
        right: 15px;
        left: 15px;
    }

    .x-logo {
        bottom: 20px;
        right: 15px;
    }

    .x-logo-img {
        width: 40px;
        height: 40px;
    }

    .main-heading {
        font-size: clamp(1.5rem, 12vw, 2.5rem);
        letter-spacing: 1px;
    }

    .contract-address {
        font-size: clamp(0.8rem, 4vw, 1rem);
    }

    .address-value {
        display: block;
        margin-top: 10px;
        word-break: break-all;
        padding: 6px 12px;
    }
}