/* Animation keyframes */
@keyframes backgroundShift {
    0% { background-color: #000000; }
    50% { background-color: #333333; }
    100% { background-color: #000000; }
}

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

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: greenyellow; }
}

/* Base styles */
body {
    margin: 0;
    background-color: black;
    overflow: hidden; 
    animation: backgroundShift 15s infinite;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
} 

/* Intro section */
.intro {
    margin-bottom: 10vh;
}

.intro h1 {
    color: white;
    font-size: 4em;
    text-shadow: 0 0 15px rgba(255,255,255,0.5);
    overflow: hidden;
    border-right: .15em solid orange;
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3.25s steps(40, end), blink-caret .75s step-end infinite;
}

/* Interactive elements */
.interactive-elements {
    display: flex;
    gap: 180px;
    margin-bottom: 15vh;
}

#anvil, #projector {
    opacity: 0;
    animation: fadeIn 12s ease-out forwards;
    animation-delay: 3.25s;
    transition: transform 0.5s ease-in-out;
}

#anvil {
    width: 200px;
}

#projector {
    width: 150px;
}

#anvil:hover, #projector:hover {
    transform: scale(1.1);
}

.anvil-container, .projector-container {
    position: relative;
    display: flex;     
    align-items: center;
    justify-content: center;
}

/* Footer Styling */
.footer-links {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1a1a1a;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    z-index: 999;
}

.footer-links span {
    color: white;
    margin: 0 5px;
}

/* PayPal button styling - keep original */
.pp-AZC7JVYZMPDAU {
    text-align: center;
    border: none;
    border-radius: 0.25rem;
    min-width: 11.625rem;
    padding: 0 2rem;
    height: 2.625rem;
    font-weight: bold;
    background-color: #FFD140;
    color: #000000;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.25rem;
    cursor: pointer;
}

/* Gold button for other links */
.gold-button {
    display: inline-block;
    text-align: center;
    border: none;
    border-radius: 0.25rem;
    min-width: 11.625rem;
    padding: 0 2rem;
    height: 2.625rem;
    line-height: 2.625rem;
    font-weight: bold;
    background-color: #FFD140;
    color: #000000;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .interactive-elements {
        flex-direction: column;
        gap: 50px;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-links span {
        display: none;
    }
    
    .gold-button, .pp-AZC7JVYZMPDAU {
        margin-bottom: 10px;
    }
    
    .intro h1 {
        font-size: 2.5em;
    }
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    background-color: #1a1a1a;
    padding: 15px 0;
}

.footer-links a,
.footer-links form {
    display: inline-block;
}

.footer-links span {
    color: white;
    margin: 0 5px;
}

.footer-links form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
}

.footer-links form section {
    margin-top: 0.25rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
