/* index-style.css */

.index-body {
    background-color: #000;
    color: #99ff99;
    font-family: 'Courier New', monospace;
    margin: 0;
    padding: 0;
    text-align: center;
    position: relative;
    overflow-x: hidden;
}
#page-content-wrapper {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
}
.homepage-content {
    padding: 0;
    color: #c0ffc0;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.homepage-content h1 {
    color: #00ff00;
}
#ascii-art-container {
    position: absolute;
    z-index: 100;
    top: -12vh;
    left: 50%;
    transform: translateX(calc(-56.5% - 0px));
    width: 100%;
    max-width: 100%;
    max-height: 50vh;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
#ascii-art-container svg {
    display: block;
    width: 100%;
    height: auto;
    transform-origin: center top;
}
#series-blurb-text {
    position: relative;
    margin-top: 25vh;
    width: 120%;
    max-width: 1200px;
    padding: 10px 15px;
    box-sizing: border-box;
    z-index: 5;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
#series-blurb-text p {
    font-family: 'Space Grotesk', sans-serif;
    color: #99ff99;
    font-size: 1.5em;
    line-height: 1.8;
    margin-bottom: 1.2em;
}
#series-blurb-text p .line-break-after {
    display: block;
    content: "";
    margin-top: 1.2em;
}

/* Focus-Blur Effect Styles */
.word-span {
    display: inline-block;
    vertical-align: baseline;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.3s ease-out, filter 0.4s ease-out;
    will-change: opacity, filter;
}

.word-span.visible {
    opacity: 1;
    filter: blur(0px);
}

#series-blurb-text .tech-highlight,
#series-blurb-text mark {
    opacity: 0;
    filter: blur(5px);
    transition: opacity 0.3s ease-out 0.05s, filter 0.4s ease-out 0.05s;
    will-change: opacity, filter;
}

#series-blurb-text .tech-highlight.highlight-visible,
#series-blurb-text mark.highlight-visible {
    opacity: 1;
    filter: blur(0px);
}

/* Keyword Pulse Animation */
#series-blurb-text .keyword.active-pulse {
    animation: subtle-pulse-animation 1.5s infinite alternate ease-in-out;
}
@keyframes subtle-pulse-animation {
    0% { filter: brightness(100%) drop-shadow(0 0 0px rgba(0,255,0,0)); }
    100% { filter: brightness(130%) drop-shadow(0 0 3px rgba(80,255,80,0.5)); }
}

/* Original Element Styles (for when fully visible) */
#series-blurb-text a.neon-link {
    color: #00ff00;
    text-decoration: none;
    text-shadow: 0 0 4px #00ff00, 0 0 8px #00ff00;
    font-weight: bold;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
#series-blurb-text a.neon-link:hover {
    color: #c0ffc0;
    text-shadow: 0 0 6px #c0ffc0, 0 0 12px #c0ffc0;
}
#series-blurb-text .tech-highlight {
    background-color: rgba(0, 255, 0, 0.18);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: bold;
    display: inline-block;
}
#series-blurb-text mark {
    background-color: rgba(0, 255, 0, 0.55);
    color: #000;
    padding: 1px 3px;
}

/* Social Media Links */
.social-fixed-left {
    position: fixed;
    bottom: 15px;
    left: 5px;
    z-index: 1000;
    width: auto;
    padding: 15px;
    box-sizing: border-box;
}
.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.social-icon-link {
    display: block;
    line-height: 0;
    margin-bottom: 11px;
    position: relative;
    width: 225px;
    height: 225px;
}
.social-icon {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
}
.text-link-base {
    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 {
    right: 10px;
}

/* Media Queries */
@media (max-width: 768px) {
    #series-blurb-text { margin-top: 25vh; width: 95%; }
    #series-blurb-text p { font-size: 1.3em; }
    .social-fixed-left { padding: 5px; bottom: 5px; left: 5px; }
    .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: 7px; }
}
@media (max-width: 480px) {
    #series-blurb-text { margin-top: 22vh; }
    #series-blurb-text p { font-size: 1.15em; }
}
@media (max-height: 750px) {
     #series-blurb-text { margin-top: 20vh; }
}
@media (min-width: 1921px) {
    #ascii-art-container { top: -8vh; }
    #series-blurb-text { margin-top: 20vh; max-width: 1400px; transform: translateX(-65px); }
    #series-blurb-text p { font-size: 1.8em; line-height: 1.9; }
}