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

html, body, a, button, .interactive-console, .social-btn {
    cursor: none !important;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Sansation', sans-serif;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    position: relative;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    font-family: 'Sansation', monospace, sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1;
    pointer-events: none;
    z-index: 10000;
    transform: translate3d(-50%, -50%, 0);
    will-change: transform;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.04s linear, color 0.3s ease;
}

body.cursor-active .custom-cursor {
    opacity: 1;
}

body.cursor-hovering .custom-cursor {
    color: rgba(255, 255, 255, 0.4);
    transform: translate3d(-50%, -50%, 0) scale(1.4) rotate(45deg);
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1), opacity 1.2s ease;
    will-change: transform, opacity;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 14px;            
}

.loader-text {
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.7);
    font-family: monospace;
    animation: pulseText 1.4s infinite ease-in-out;
}

.loader-bar-container {
    width: 160px;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.loader-progress-bar {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #ffffff;
    animation: progressFill 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

body.loaded .page-loader {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #000000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 2s ease 0.6s;
}

body.loaded #bg-canvas {
    opacity: 1;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 28px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.8s, transform 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.8s;
}

body.loaded .site-header {
    opacity: 1;
    transform: translateY(0);
}

.tagline {
    font-family: 'Sansation', sans-serif;
    font-size: 1.0rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    text-transform: lowercase;
    transition: color 0.4s ease;
}

.tagline:hover {
    color: rgba(255, 255, 255, 0.9);
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    z-index: 1;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.logo-wrapper {
    width: 100%;
    padding: 10px 0 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 16px;
    transition: border-color 0.4s ease;
}

.interactive-console:hover .logo-wrapper {
    border-color: rgba(255, 255, 255, 0.12);
}

.logo {
    max-width: 100%;
    width: 290px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.console-description {
    font-size: 0.78rem;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    padding: 0 8px;
}

.interactive-console {
    position: relative;
    width: 100%;
    max-width: 380px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform-style: preserve-3d;
    opacity: 0;
    transform: perspective(1000px) translateY(30px);
    transition: border-color 0.4s ease, background 0.4s ease, transform 0.1s linear, opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
    will-change: transform, opacity;
}

body.loaded .interactive-console {
    opacity: 1;
    transform: perspective(1000px) translateY(0);
}

body.loaded .interactive-console:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.corner-mark {
    position: absolute;
    width: 8px;
    height: 8px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.25);
    transition: border-color 0.4s ease;
}

.interactive-console:hover .corner-mark {
    border-color: rgba(255, 255, 255, 0.7);
}

.top-left { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.top-right { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
.bottom-left { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
.bottom-right { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

.social-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.social-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    text-decoration: none;
    background: transparent;
    transition: color 0.35s ease, transform 0.35s ease;
}

.social-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-minimal {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
    z-index: 10;
    opacity: 0;
    transition: opacity 1.4s ease 1s;
}

body.loaded .footer-minimal {
    opacity: 1;
}

.footer-minimal p {
    font-family: 'Sansation', sans-serif;
    font-size: 0.6rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    transition: color 0.4s ease;
}

.footer-minimal p:hover {
    color: rgba(255, 255, 255, 0.75);
}

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

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

@media (hover: none) and (pointer: coarse) {
    .custom-cursor {
        display: none !important;
    }
    html, body, a, button, .interactive-console, .social-btn {
        cursor: auto !important;
    }
}

@media (max-width: 768px) {
    .interactive-console { max-width: 320px; padding: 20px; }
    body.loaded .interactive-console { transform: perspective(1000px) translateY(0); }
    .logo { width: 230px; }
    .logo-wrapper { padding-bottom: 16px; margin-bottom: 12px; }  
    .console-description { font-size: 0.72rem; margin-bottom: 16px; }
    .social-buttons { gap: 16px; }
    .social-btn { width: 38px; height: 38px; font-size: 1rem; }
    .site-header { padding: 22px 24px; }
    .tagline { font-size: 0.72rem; }
    .footer-minimal { bottom: 20px; }
    .footer-minimal p { font-size: 0.52rem; }
}