@font-face {
    font-family: 'Minecraft';
    src: url('Minecraft.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: 'Minecraft', monospace;
    background-color: #000;
    color: #fff;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

/* Splash Screen */
.splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.splash.fade-out {
    opacity: 0;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    animation: fadeIn 1s ease;
}

.splash-title {
    font-size: 2rem;
    text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.5);
    animation: pulse 2s infinite;
    cursor: pointer;
    user-select: none;
    transition: transform 0.1s;
}

.splash-title:hover {
    transform: scale(1.05);
}

.splash-title:active {
    transform: scale(0.95);
}

/* Main Content */
.main-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.main-content.hidden {
    display: none;
}

.main-content.visible {
    opacity: 1;
}

.title {
    font-size: 2rem;
    text-shadow: 6px 6px 0px rgba(0, 0, 0, 0.8);
    z-index: 10;
    position: relative;
}

/* Canvas */
#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #666;
    font-size: 1rem;
    z-index: 10;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .splash-title {
        font-size: 1.5rem;
    }
    
    .title {
        font-size: 1.5rem;
    }
}
