@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

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

/* Background Video Configuration */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #000000;
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

:root {
    --primary-color: #000000;
    --light-black: rgba(0, 0, 0, 0.89);
    --black: #000000;
    --white: #ffffff;
    --grey: #aaa;
    --neon-green: #00ff7f;
}

/* Header Text Styles */
.top-txt {
    background-color: var(--black);
}

.head {
    display: flex;
    justify-content: center; 
    align-items: center;     
    gap: 20px;               
    color: rgba(255, 255, 255, 0.945);
    padding: 10px 0;
    font-size: 14px;
}

/* Main Content Centering */
.center-txt {
    display: flex;
    justify-content: center;
    align-items: center; 
    min-height: 80vh; 
    text-align: center;
    padding: 20px;
}

/* Logo and Branding Styles */
.main-logo {
    font-size: 8rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 15px; 
    margin: 0;
    text-shadow: 0 0 20px rgba(0, 255, 127, 0.5); 
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.8));
}

/* Terminal/Diagnostic Text Styles */
.tagline {
    font-family: 'Courier New', Courier, monospace;
    white-space: pre; /* Keeps the grid formatting from server */
    font-size: 1rem;
    color: var(--neon-green);
    display: inline-block;
    text-align: left;
    max-width: 100%;
    line-height: 1.5;
    margin-top: 20px;
}

/* Main Action Button (Liquid Metal) */
.action-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

#liquid-metal {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Button Glass Effect Layer */
.outline {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Neon Rotating Border Effect */
.outline::before {
    content: "";
    position: absolute;
    width: 150%;
    height: 150%;
    background: conic-gradient(from 0deg, transparent, var(--neon-green), transparent, #0055ff, transparent);
    animation: rotateMetal 4s linear infinite;
    opacity: 0.3; 
    transition: 0.5s;
}

.outline::after {
    content: "";
    position: absolute;
    inset: 4px;
    background: #0a0a0a; 
    border-radius: 50%;
    z-index: 1;
}

.btn-internal-text {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.6;
    transition: 0.3s;
}

/* GIF Loader Styles */
#btn-loader {
    position: relative;
    z-index: 99;
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Interaction Effects */
#liquid-metal:hover {
    transform: scale(1.05) translateY(-5px);
}

#liquid-metal:hover .outline::before {
    opacity: 1;
    animation: rotateMetal 1.5s linear infinite;
}

#liquid-metal:hover .btn-internal-text {
    opacity: 1;
    color: var(--neon-green);
    text-shadow: 0 0 15px var(--neon-green);
}

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

/* Social Media Footer */
.footer-social {
    position: fixed;
    bottom: 20px;
    width: 100%;
    z-index: 100;
}

.social-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: 0.3s;
}

.social-icon {
    width: 22px;
    height: 22px;
    filter: invert(1);
    opacity: 0.5;
}

.social-link span {
    color: #fff;
    font-size: 0.5rem;
    letter-spacing: 1px;
    margin-top: 5px;
    opacity: 0.3;
}

.social-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover .social-icon {
    opacity: 1;
    filter: invert(1) drop-shadow(0 0 8px var(--neon-green));
}

/* --- Mobile --- */

@media (max-width: 768px) {
    .main-logo {
        font-size: 3.5rem;
        letter-spacing: 8px;
    }

    /* Change columns to list on mobile to prevent overflow */
    .tagline {
        font-size: 0.75rem;
        white-space: pre-wrap; 
        text-align: center;
        width: 100%;
        padding: 0 10px;
    }

    #liquid-metal {
        width: 140px;
        height: 140px;
    }

    .footer-social {
        position: relative; /* Avoid overlapping content on small screens */
        margin-top: 50px;
        bottom: 10px;
    }
}