/* Import custom font */
@import url('https://fonts.googleapis.com/css2?family=Metal+Mania&display=swap');

/* Base page styling */
body {
    background-color: #000000;
    color: #ff0000;
    font-family: "Metal Mania", "Times New Roman", serif;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Main content wrapper */
.container {
    width: 950px;
    margin: 0 auto;
    background-color: #000000;
    border: 2px solid #ff0000;
    padding: 20px;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

/* Table layout */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

td {
    padding: 20px;
    border: 1px solid #ff0000;
    background-color: #000000;
    vertical-align: top;
}

/* Header section */
.welcome {
    font-size: 36px;
    color: #ff0000;
    text-shadow: 2px 2px 4px #000000;
    margin-bottom: 20px;
}

.welcome h1 {
    margin: 0;
    padding: 20px;
    border: 1px solid #ff0000;
    background-color: #000000;
}

/* Main logo */
.main-logo {
    max-width: 620px;
    width: 100%;
    height: 400px;
    margin: 20px auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.5));
    object-fit: contain;
    object-position: center;
}

/* Site navigation */
.menu {
    background-color: #000000;
    padding: 15px;
    margin: 20px 0;
    border: 1px solid #ff0000;
    text-transform: uppercase;
}

.menu a {
    color: #ff0000;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    letter-spacing: 2px;
    transition: color 0.2s ease;
}

.menu a:hover {
    color: #ffffff;
}

/* Updates section */
.updates {
    background-color: #000000;
    color: #ff0000;
    padding: 15px;
    margin: 20px 0;
    border: 1px solid #ff0000;
    text-align: left;
}

.updates blink {
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

/* Loading screen */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 1s ease-in-out 3.5s forwards;
    will-change: opacity;
}

/* Infinity tunnel container */
.infinity-container {
    position: relative;
    width: 400px;
    height: 400px;
    perspective: 1000px;
}

/* Loading logo */
.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    will-change: transform;
}

.logo-image {
    width: 100%;
    height: 100%;
    animation: singleSpin 3.5s linear forwards;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.5));
    transform-style: preserve-3d;
}

/* Infinity tunnel squares */
.square {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    transform: translate(-50%, -50%);
    opacity: 0;
    will-change: transform, opacity, width, height;
}

/* Animations */
@keyframes singleSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes squareAnimation {
    0% {
        width: 200px;
        height: 200px;
        opacity: 1;
        border-color: rgba(255, 0, 0, 1);
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    }
    85% {
        opacity: 0.1;
        border-color: rgba(255, 0, 0, 0.3);
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.2);
    }
    100% {
        width: 600px;
        height: 600px;
        opacity: 0;
        border-color: rgba(255, 0, 0, 0);
        box-shadow: none;
    }
}

/* Staggered square animations */
.square:nth-child(1) { animation: squareAnimation 4.5s infinite cubic-bezier(0.4, 0, 0.2, 1); }
.square:nth-child(2) { animation: squareAnimation 4.5s infinite cubic-bezier(0.4, 0, 0.2, 1) 0.45s; }
.square:nth-child(3) { animation: squareAnimation 4.5s infinite cubic-bezier(0.4, 0, 0.2, 1) 0.9s; }
.square:nth-child(4) { animation: squareAnimation 4.5s infinite cubic-bezier(0.4, 0, 0.2, 1) 1.35s; }
.square:nth-child(5) { animation: squareAnimation 4.5s infinite cubic-bezier(0.4, 0, 0.2, 1) 1.8s; }
.square:nth-child(6) { animation: squareAnimation 4.5s infinite cubic-bezier(0.4, 0, 0.2, 1) 2.25s; }
.square:nth-child(7) { animation: squareAnimation 4.5s infinite cubic-bezier(0.4, 0, 0.2, 1) 2.7s; }
.square:nth-child(8) { animation: squareAnimation 4.5s infinite cubic-bezier(0.4, 0, 0.2, 1) 3.15s; }
.square:nth-child(9) { animation: squareAnimation 4.5s infinite cubic-bezier(0.4, 0, 0.2, 1) 3.6s; }
.square:nth-child(10) { animation: squareAnimation 4.5s infinite cubic-bezier(0.4, 0, 0.2, 1) 4.05s; }

/* Fade effects */
@keyframes fadeOut {
    to { 
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Blinking text */
blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Video container */
.video-container {
    margin-top: 20px;
    border: 2px solid #ff0000;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container iframe {
    max-width: 100%;
} 