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

body {
    position: relative;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: #000000;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    text-align: center;
    position: relative;
}

.loading {
    opacity: 1;
    transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.loading.fade-out {
    opacity: 0;
    transform: translateY(-30px);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.content {
    opacity: 0;
    transform: translateY(50px);
    transition: all 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.5s;
}

.content.show {
    opacity: 1;
    transform: translateY(0);
}

.main-title {
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.05em;
    line-height: 0.9;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.main-subtitle {
    align-items: center;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

@media (max-width: 768px) {
    .spinner {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 36px;
    }
}

.main-title {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

#brand-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}