@font-face {
    font-family: 'font'; 
    src: url('../fonts/main.ttf') format('truetype');
}

.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(5px);
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 85%;
    height: 35px;
}

#tilt-card {
    transform-origin: center;
    transition: transform 0.1s ease;
    transform: rotateX(0deg) rotateY(0deg) scale(1);
}

.center-box {
    position: relative; 
    width: 550px; 
    height: 400px; 
    background-color: rgba(5, 5, 5, 0.4);
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 20px;
    z-index: 1;
    transform: translateZ(0);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'font', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    position: relative;
    perspective: 1000px;
    background-image: url("../img/main/background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000000;
    cursor: url('../../cursors/main.cur'), auto;
}

body {
    margin: 0;
    padding: 0;
    background-color: #000; 
    font-family: 'font', Arial, sans-serif; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    height: 100vh;
    overflow: hidden;
    background-image: url("../img/main/background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    cursor: url('../cursors/main.cur'), auto;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(5px);  
    z-index: -1;  
}

.names-container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    position: absolute;  
    top: 50%;  
    left: 50%;  
    transform: translate(-50%, -50%);  
    max-width: 1000px;
    width: 100%;
    box-sizing: border-box;
}

.name {
    font-size: calc(1.5vw + 15px);
    margin: calc(1vw + 5px) 0;
    cursor: url('../cursors/main.cur');
    text-align: center;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    filter: brightness(300%);
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 1),
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6), 
        0 0 30px rgba(255, 255, 255, 0.4), 
        0 0 40px rgba(255, 255, 255, 0.3); 
    text-decoration: none;
}

.overlay {
    position: fixed;  
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    filter: brightness(300%);
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 1),
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6), 
        0 0 30px rgba(255, 255, 255, 0.4), 
        0 0 40px rgba(255, 255, 255, 0.3); 
    color: white;
    font-size: 3rem;
    font-family: 'font', Arial, sans-serif;
    cursor: url('../cursors/main.cur'), auto;
    z-index: 999;
    text-align: center;
    opacity: 1; 
    transition: opacity 0.2s ease-out, visibility 0s 0.2s; 
    visibility: visible;
    pointer-events: all;  
}

.overlay.hidden {
    opacity: 0; 
    visibility: hidden;
    pointer-events: none; 
    transition: opacity 0.2s ease-out, visibility 0s 0.2s; 
}

.overlay .click-text {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hide-overlay {
    opacity: 0;
    visibility: hidden;
}

.name:hover {
    font-size: calc(2vw + 20px);
    font-family: 'font', Arial, sans-serif;
    color: white;
    filter: brightness(300%);
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 1),
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6), 
        0 0 30px rgba(255, 255, 255, 0.4), 
        0 0 40px rgba(255, 255, 255, 0.3); 
}

html, body {
    height: 100%;
} 