/* --- START OF contact-style.css --- */
.contact-body {
    background-color: #111111;
    color: #008800;
    font-family: 'Electrolize', 'Courier New', monospace;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
    overflow: hidden;
}
html, body {
    width: 100%;
    height: 100%;
}
* {
    box-sizing: border-box;
}
#page-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: calc(100vh - 60px);
    padding: 15px 0 10px 0;
    position: relative;
    max-height: calc(100vh - 60px);
    overflow-y: hidden; /* Keep hidden as original, fixed icons are outside this wrapper */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.brightness-slider-container {
    margin-right: -20px;
}
.error-message {
    display: block;
    color: #ff4444;
    font-size: 0.8em;
    margin-top: 5px;
    text-shadow: 0 0 3px #ff4444;
}
@keyframes spin { /* For loading spinner */
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.loading-spinner {
    display: inline-block;
    margin-right: 10px;
    animation: spin 1s linear infinite;
    color: #008800;
}
.hologram-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    margin-bottom: -120px;
    position: relative;
    z-index: 3;
    overflow-x: hidden;
    overflow-y: hidden;
}
@keyframes glitch {
    0% { text-shadow: 0px 0px 5px #008800, 0px 0px 10px #008800; }
    50% { text-shadow: 2px -2px 5px #008800, -2px 2px 10px #ff00ff; }
    100% { text-shadow: -2px 2px 5px #008800, 2px -2px 10px #00ffff; }
}
.glitch-text {
    animation: glitch 0.15s infinite alternate;
}
.hologram {
    width: 400px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    animation: spinHologram 35s linear infinite;
    will-change: transform;
    margin-left: -1vw; 
    margin-top: 17px; 
}
.hologram .ascii-art {
    color: #008800;
    font-size: 14px;
    text-shadow: 0 0 5px #008800, 0 0 10px #008800;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
    white-space: pre;
    line-height: 1.2;
}
.contact-form-wrapper {
    width: 80%;
    max-width: 600px;
    position: relative;
    margin: 0 auto;
}
.contact-svg-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.svg-border-path {
    fill: rgba(0, 20, 0, 0.7);
    stroke: #008800;
    stroke-width: 2;
    filter: drop-shadow(0 0 5px #008800);
}
.svg-node {
    fill: #008800;
    animation: pulse 2s ease-in-out infinite alternate;
}
.scan-line {
    stroke: #008800;
    stroke-width: 1;
    stroke-dasharray: 10 5;
    opacity: 0.7;
    animation: scan 3s linear infinite;
}
.contact-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    box-sizing: border-box;
}
.contact-content h1 {
    color: #008800;
    text-shadow: 0 0 10px #008800;
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-align: center;
}
.form-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    flex: 1;
}
#contactForm {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}
.form-group {
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    letter-spacing: 1px;
    text-shadow: 0 0 5px #008800;
}
.futuristic-input {
    width: 100%;
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid #008800;
    border-radius: 0;
    color: #008800;
    font-family: 'Electrolize', monospace;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 255, 102, 0.3);
    box-sizing: border-box;
}
.futuristic-input:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.7);
    border-color: #00ff99;
}
textarea.futuristic-input {
    resize: vertical;
}
.submit-btn {
    background-color: rgba(0, 20, 0, 0.8);
    color: #008800;
    border: 1px solid #008800;
    padding: 12px 30px;
    font-family: 'Electrolize', monospace;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    align-self: center;
    min-width: 200px;
}
.submit-btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 102, 0.3), transparent);
    transition: all 0.5s;
}
.submit-btn:hover:before {
    left: 100%;
}
.submit-btn:hover {
    background-color: rgba(0, 40, 0, 0.8);
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.5);
}

/* === START: Fixed Social Icons CSS (Only Left) === */
.social-fixed-left { /* Styles for the remaining X icon */
    position: fixed;
    bottom: 15px;
    left: 5px;
    z-index: 1000;
    width: auto;
    padding: 15px;
    box-sizing: border-box;
}

/* Removed .social-fixed-right rule */

.social-item { /* General style applies to the item in .social-fixed-left */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.social-icon-link { /* General style applies to the link in .social-fixed-left */
    display: block;
    line-height: 0;
    margin-bottom: 11px;
    position: relative;
     width: 225px;
     height: 225px;
}
.social-icon { /* General style applies to the icon in .social-fixed-left */
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
}

/* Removed #discord-icon-img rule */

.text-link-base { /* General style applies to the text link in .social-fixed-left */
    display: block;
    color: #0f0;
    text-decoration: none;
    font-size: 0.825em;
    text-align: center;
    padding: 4px;
    position: relative;
    transition: color 0.2s;
    width: 100%;
}
.text-link-base:hover {
    color: #8f8;
}
#x-text-link { /* Specific offset for X text link */
    right: 10px;
}

/* Removed #discord-text-link rule */

/* === END: Fixed Social Icons CSS === */

/* Animations */
@keyframes spinHologram {
    0% {
        transform: translateY(17px) translateX(-1vw) rotateY(0deg);
    }
    100% {
        transform: translateY(17px) translateX(-1vw) rotateY(360deg);
    }
}
@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}
@keyframes scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(540px); } /* Adjust distance if needed */
}

/* Responsive design */
@media (max-width: 1200px) {
    .hologram .ascii-art { font-size: 12px; }
}
@media (max-width: 992px) {
    .hologram { width: 350px; height: 250px; }
    .hologram-container { margin-bottom: -70px; }
}
@media (max-width: 768px) {
    #page-content-wrapper { padding: 30px 0 10px 0; }
    .contact-form-wrapper { width: 95%; }
    .hologram .ascii-art { font-size: 10px; }
    .hologram-container { margin-bottom: -40px; }
    /* Removed responsive rules specifically for .social-fixed-right */
}
@media (max-width: 480px) {
    .hologram { width: 280px; height: 200px; }
    .hologram .ascii-art { font-size: 8px; }
    .contact-content { padding: 15px; padding-top: 30px; }
    .contact-form-wrapper { height: auto; }
    .hologram-container { margin-bottom: -30px; }

    /* Keep responsive adjustments ONLY for the remaining LEFT icon */
    .social-fixed-left {
        padding: 5px;
        bottom: 5px;
        left: 5px;
    }
    /* Apply responsive adjustments to elements within .social-fixed-left */
    .social-fixed-left .social-icon-link {
        width: 150px;
        height: 150px;
        margin-bottom: 8px;
    }
    .social-fixed-left .text-link-base {
        font-size: 0.7em;
    }
    .social-fixed-left #x-text-link {
        right: 9px; /* Scaled offsets */
    }
    /* Removed responsive rules for elements that were inside .social-fixed-right */
}
/* --- END OF contact-style.css --- */