@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.logo-container {
    position: relative;
    width: 200px;
    height: 275px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.logo svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.logo path {
    fill: none;
    stroke: #fff;
    stroke-width: 1;
    opacity: 0;
}

.loading-text {
    margin-top: 2rem;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInOut 2s ease-in-out infinite 0.5s;
}

.progress-bar {
    width: 200px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.5s;
}

.progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: #fff;
    transition: width 0.5s ease;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes drawPath {
    to { stroke-dashoffset: 0; }
}

@keyframes fillPath {
    to { fill: white; }
}

#preloader.fade-out {
    opacity: 1;
    animation: fadeOut 0.8s ease forwards;
    pointer-events: none;
}

@keyframes fadeOut {
    to { opacity: 0; }
}

#main-content {
    display: none;
}