@import url("https://fonts.googleapis.com/css2?family=Sixtyfour&display=swap");

/* animations */
.fade-in {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    margin: 0;
    padding: 0;
    background: black;
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
    color: #00ff00;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    opacity: 0; /* start with opacity 0 */
}

.container {
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.tks-logo {
    max-width: 450px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px #00ff00);
    margin-bottom: 320px;
}

canvas#matrix {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
}

.top-bar {
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    margin: 20px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid #00ff00;
    border-radius: 10px;
    padding: 5px 5px;
    box-shadow: 0 0 10px #00ff00;
}

.cursor {
    display: inline-block;
    width: 10px;
    height: 24px;
    background-color: #00ff00;
    margin-left: 5px;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.main-card {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 20px;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    height: 600px;
    align-items: stretch;
}

.subcard {
    background-color: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    border-radius: 15px;
    padding: 20px;
    flex: 1;
    display: block;
    justify-content: space-between;
    font-size: 20px;
}

.socials-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.social-icons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #00ff00;
}

.social-icons a {
    color: #00ff00;
    font-size: 40px;
    transition: transform 0.2s;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.wormsec-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
}

.wormsec-button {
    padding: 15px 30px;
    font-size: 18px;
    color: black;
    background-color: #00ff00;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 20px;
}

.wormsec-button:hover {
    background-color: #00cc00;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
}

.enter-button {
    font-family: "Sixtyfour", sans-serif;
    font-size: 69px;
    /* haha so funny */
    color: #00cc00;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    animation: glow-animation 1.5s infinite alternate;
    text-decoration: none;
    margin-bottom: 120px;
}

@keyframes glow-animation {
    0% {
        text-shadow: 0 0 5px rgb(0, 150, 0), 0 0 10px rgb(0, 130, 0),
        0 0 15px rgb(0, 110, 0);
    }

    100% {
        text-shadow: 0 0 10px rgb(0, 100, 0), 0 0 20px rgb(0, 80, 0),
        0 0 30px rgb(0, 60, 0);
    }
}

@media (max-width: 1200px) {
    .main-card {
        flex-direction: column;
        height: auto;
    }

    .top-bar {
        object-fit: cover;
        margin-left: 20px;
        margin-right: 20px;
        height: 100px;
        margin-bottom: 0;
    }

    body {
        overflow: auto;
    }
}

@media (max-width: 768px) {
    .tks-logo {
        max-width: 350px;
    }

    .enter-button {
        font-size: 50px;
    }
}

@media (max-width: 480px) {
    .tks-logo {
        max-width: 250px;
    }

    .enter-button {
        font-size: 40px;
    }
}
