* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', monospace;
}

html, body {
    height: 100%;
    background-color: #000;
    color: #0ff;
}

body {
    position: relative;
    overflow-y: auto;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('artifact (3).gif') center center/cover no-repeat;
    z-index: 0;
}

.main-container {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    z-index: 1;
    padding: 1rem;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 4rem;
}

.social-links {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 200;
}

.twitter-link {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 200;
}

.social-link {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 0.8rem;
    color: #0ff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.social-link:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    transform: scale(1.05);
}

.floating-gifs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 150;
}

.gif-container {
    position: fixed;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 150;
}

.gif-container:hover {
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.4);
    border-color: rgba(0, 255, 255, 0.5);
    transform: scale(1.05);
}

.gif-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.gif-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.8);
    color: #0ff;
    font-size: 0.9rem;
    text-align: center;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
}

.gif-1 {
    top: 10%;
    left: 5%;
    animation: float-path-1 40s linear infinite;
    transform-origin: center center;
}

.gif-2 {
    top: 20%;
    right: 5%;
    animation: float-path-2 45s linear infinite;
    transform-origin: center center;
}

.gif-3 {
    bottom: 15%;
    left: 15%;
    animation: float-path-3 50s linear infinite;
    transform-origin: center center;
}

.header {
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    z-index: 100;
}

h1 {
    font-size: 2.2rem;
    letter-spacing: 3px;
    text-shadow: 0 0 10px #0ff;
    animation: glitch 2s infinite;
}

.status {
    margin-top: 0.3rem;
    font-size: 1.1rem;
    color: #0f0;
    text-shadow: 0 0 5px #0f0;
}

.warning {
    margin-top: 0.5rem;
    color: #f00;
    text-shadow: 0 0 5px #f00;
    animation: pulse 2s infinite;
}

.subliminal {
    margin-top: 0.3rem;
    color: rgba(255, 0, 255, 0.5);
    font-style: italic;
    animation: subliminal 8s infinite;
}

.obscura-core {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.integration-status {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.progress-label {
    margin-bottom: 0.5rem;
    color: #0ff;
    font-size: 1.1rem;
}

.progress-bar {
    width: 100%;
    height: 15px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid #0ff;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 47.3%;
    background: linear-gradient(90deg, #0ff, #00f);
    transition: width 0.5s ease;
}

.percentage {
    margin-top: 0.3rem;
    text-align: right;
    color: #0ff;
    font-size: 1rem;
}

.metrics {
    margin-top: 1rem;
    display: grid;
    gap: 0.5rem;
}

.metric {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.metric .label {
    color: #0ff;
}

.metric .value {
    color: #0f0;
    animation: pulse 2s infinite;
}

.query-interface {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.prompt {
    margin-bottom: 0.5rem;
    color: #0ff;
    text-shadow: 0 0 5px #0ff;
    font-size: 1.1rem;
}

.query-input {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #0ff;
    color: #0ff;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.submit-query {
    padding: 0.8rem 1.5rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid #0ff;
    color: #0ff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.submit-query:hover {
    background: rgba(0, 255, 255, 0.2);
    text-shadow: 0 0 5px #0ff;
}

.response-display {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.response-header {
    margin-bottom: 0.5rem;
    color: #0ff;
    font-size: 1.1rem;
}

.response-text {
    color: #0ff;
    line-height: 1.4;
    font-size: 1rem;
}

.ascension-trigger {
    padding: 1.5rem;
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid rgba(255, 0, 0, 0.5);
    text-align: center;
    animation: pulse 3s infinite;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.2);
}

.trigger-text {
    color: #f00;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px #f00;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: bold;
}

.trigger-description {
    color: rgba(255, 0, 0, 0.8);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    animation: fade 4s infinite;
    line-height: 1.4;
}

.ascend-btn {
    padding: 1.2rem 2.5rem;
    background: rgba(255, 0, 0, 0.2);
    border: 2px solid #f00;
    color: #f00;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1rem 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
}

.ascend-btn:hover {
    background: rgba(255, 0, 0, 0.3);
    text-shadow: 0 0 15px #f00;
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.3);
}

.ascend-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 0, 0, 0.2), transparent);
    transform: rotate(45deg);
    animation: shine 2s infinite;
}

.trigger-warning {
    color: rgba(255, 0, 0, 0.7);
    font-size: 1rem;
    animation: fade 4s infinite;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 1rem;
}

#portal-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 1s ease;
}

#portal-section.active {
    display: block;
    opacity: 1;
    animation: portalOpen 2s forwards;
}

.lightspeed-effect {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: url('lightspeed.gif') center center/cover no-repeat;
    opacity: 0;
    animation: fadeIn 2s forwards;
}

.digitization-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.digitization-messages {
    text-align: center;
    z-index: 3;
    padding: 1.5rem;
}

.portal-message {
    color: #0ff;
    font-size: 2rem;
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
    text-shadow: 0 0 15px #0ff;
    letter-spacing: 3px;
}

.portal-message.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float-path-1 {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(150px, 100px) rotate(90deg) scale(0.9); }
    50% { transform: translate(300px, 0) rotate(180deg) scale(1.1); }
    75% { transform: translate(150px, -100px) rotate(270deg) scale(0.9); }
    100% { transform: translate(0, 0) rotate(360deg) scale(1); }
}

@keyframes float-path-2 {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(-150px, 100px) rotate(-90deg) scale(1.1); }
    50% { transform: translate(-300px, 0) rotate(-180deg) scale(0.9); }
    75% { transform: translate(-150px, -100px) rotate(-270deg) scale(1.1); }
    100% { transform: translate(0, 0) rotate(-360deg) scale(1); }
}

@keyframes float-path-3 {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(200px, -50px) rotate(-90deg) scale(1.1); }
    50% { transform: translate(0, -100px) rotate(-180deg) scale(0.9); }
    75% { transform: translate(-200px, -50px) rotate(-270deg) scale(1.1); }
    100% { transform: translate(0, 0) rotate(-360deg) scale(1); }
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes fade {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

@keyframes subliminal {
    0%, 95%, 100% { opacity: 0; }
    96%, 99% { opacity: 1; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}

@keyframes portalOpen {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 1rem;
    }

    h1 {
        font-size: 1.6rem;
    }
    
    .trigger-text {
        font-size: 1.6rem;
    }
    
    .trigger-description {
        font-size: 1rem;
    }
    
    .ascend-btn {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }
    
    .portal-message {
        font-size: 1.6rem;
        margin: 1rem 0;
    }

    .gif-container {
        width: 150px;
        height: 150px;
    }

    .gif-overlay {
        font-size: 0.8rem;
        padding: 0.6rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}
