/* Basic body styles for full page height and background */
body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    background-color: #000;
}

/* Parent Wrapper for H1 and Link Section */
.main-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px; /* Space between h1, links, and GIF */
}

/* --- */

/* H1 Styles */
h1 {
    font-family: 'pixelout', sans-serif;
    font-size: clamp(7rem, 10vw, 14rem);
    margin: 0;
    background: linear-gradient(to right, #4B0082, #E97451, #9CAF88, #E97451, #4B0082);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-shift 8s linear infinite; 
    background-size: 200% auto; 
    white-space: nowrap;
}

@font-face {
    font-family: 'pixelout';
    src: url('fonts/pixelout.ttf');
    font-display: swap;
}

@font-face {
    font-family: 'alagard';
    src: url('fonts/alagard.ttf');
    font-display: swap;
}

@keyframes gradient-shift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; } 
}

/* --- */

/* Link Section Styles */
.link-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.link-item {
    font-family: 'alagard', monospace; /* Added monospace as a fallback */
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border: 1px solid #E97451;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.link-item:hover {
    background-color: #E97451;
    color: #000;
}

/* GIF Styles */
.decorative-gif {
    max-width: 250px;
    height: auto;
    border-radius: 8px;
}