html, body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
body {
    background: #000;
    color: #fff;
    font-family: 'Arial', sans-serif;
    width: 100vw;
    height: 100vh;
}
#hexCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    display: block;
}
.content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
}
.emblem {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
    border: 0px solid #8a2be2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoGlow 10s ease-in-out infinite;
    /* Use the uploaded image as the background */
    background: url('mw-emb.png') no-repeat center center;
    background-size: cover; /* Ensures the image fits well */
}

.logo {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    position: relative;
    background: linear-gradient(45deg, #fff, #8a2be2, #fff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoGlow 3s ease-in-out infinite, textShimmer 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.5));
}
.tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
}
.contact {
    font-size: 1rem;
    padding: 12px 24px;
    border: 2px solid #8a2be2;
    border-radius: 25px;
    background: rgba(138, 43, 226, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: borderGlow 2s ease-in-out infinite;
}
.contact:hover {
    background: rgba(138, 43, 226, 0.3);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.6);
}
/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: rgba(26, 35, 126, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    border: none;
    background: none;
}
.modal-content h2 {
    margin-top: 0;
    color: #fff;
    text-align: center;
}
.modal-content form {
    display: flex;
    flex-direction: column;
}
.modal-content input,
.modal-content textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #8a2be2;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1rem;
}
.modal-content input::placeholder,
.modal-content textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
.modal-content textarea {
    resize: vertical;
    min-height: 120px;
}
.modal-content button[type="submit"] {
    padding: 15px;
    border: 2px solid #8a2be2;
    border-radius: 25px;
    background: rgba(138, 43, 226, 0.3);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.modal-content button[type="submit"]:hover {
    background: rgba(138, 43, 226, 0.6);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}
#form-status {
    text-align: center;
    margin-top: 1rem;
    color: #fff;
}

@keyframes logoGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.5)) drop-shadow(0 0 40px rgba(138, 43, 226, 0.3));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 30px rgba(138, 43, 226, 0.8)) drop-shadow(0 0 60px rgba(138, 43, 226, 0.5));
        transform: scale(1.02);
    }
}
@keyframes textShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}
@keyframes borderGlow {
    0%, 100% { 
        border-color: #8a2be2;
        box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
    }
    50% { 
        border-color: #b347d9;
        box-shadow: 0 0 20px rgba(138, 43, 226, 0.6);
    }
}
@media (max-width: 768px) {
    .logo { font-size: 2.5rem; }
    .tagline { font-size: 1rem; }
    .contact { font-size: 0.9rem; }
}
