body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'SF Pro Display', 'SF Pro Icons', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: #00000c; /* Dark navy background */
    color: #e0e0e0; /* Light grey text */
    overflow: hidden; /* Hide overflow for background animation */
}

/* Optional: Add a subtle animated background */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 209, 255, 0.1), rgba(0, 123, 255, 0.1), transparent);
    animation: gradient-animation 15s ease infinite;
    z-index: -1;
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.container {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    padding-bottom: 34vh; /* Positions the content block's center at roughly 1/3 from the top */
    position: relative;
    z-index: 1;
}

.logo {
    width: 120px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 10px;
    animation: pulse 2s infinite alternate;
    filter: drop-shadow(0 0 10px rgba(0, 209, 255, 0.7));
}

@keyframes pulse {
    from {
        transform: scale(1);
        opacity: 0.9;
    }
    to {
        transform: scale(1.05);
        opacity: 1;
    }
}

h1 {
    font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
    font-size: 4.5em;
    margin: 0.4em 0 0.8rem; /* Reduced bottom margin to bring it closer to the subtitle */
    color: #ffffff;
    font-weight: 200; /* Use a thin font weight */
    letter-spacing: 2px;
}

main p {
    font-size: 1.3em;
    color: #a0a0a0; /* Lighter grey for subtitle */
    margin-top: 0;
    margin-bottom: 2em;
    font-weight: 300;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 800px;
    margin-top: 2em;
    position: relative;
    padding-bottom: 9em; /* 3x distance for the line */
}

.tags-container::after {
    content: '';
    position: absolute;
    bottom: 3em; /* Position the line within the new padding space */
    left: 0;
    width: 100%;
    height: 2px;
    background-image: linear-gradient(to right, rgba(0, 209, 255, 0.3) 50%, transparent 50%);
    background-size: 16px 2px;
    animation: move-track 0.8s linear infinite;
}

@keyframes move-track {
    from { background-position: 0 0; }
    to { background-position: -16px 0; }
}

.stick-runner {
    position: absolute;
    bottom: 3em;
    left: 10px;
    width: 50px;
    height: 60px;
    animation: stick-runner-bounce 0.4s ease-in-out infinite;
}

@keyframes stick-runner-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.stick-runner-head {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    background: #00d1ff;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 209, 255, 0.7);
}

.stick-runner-torso {
    position: absolute;
    top: 13px;
    left: 50%;
    transform: translateX(-50%) rotate(15deg);
    width: 6px;
    height: 22px;
    background: #00d1ff;
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(0, 209, 255, 0.7);
}

.stick-runner-arm, .stick-runner-leg {
    position: absolute;
    left: 50%;
    transform-origin: 3px 3px;
    width: 6px;
    background: #00d1ff;
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(0, 209, 255, 0.7);
}

.stick-runner-arm {
    top: 15px;
    height: 20px;
}

.stick-runner-leg {
    top: 32px;
    height: 25px;
}

.stick-runner-arm-front { animation: stick-arm-front-anim 0.4s linear infinite; z-index: 2; }
.stick-runner-arm-back { animation: stick-arm-back-anim 0.4s linear infinite; z-index: 1; }
.stick-runner-leg-front { animation: stick-leg-front-anim 0.4s linear infinite; z-index: 2; }
.stick-runner-leg-back { animation: stick-leg-back-anim 0.4s linear infinite; z-index: 1; }

@keyframes stick-arm-front-anim {
    0%   { transform: translateX(-50%) rotate(70deg); }
    50%  { transform: translateX(-50%) rotate(-70deg); }
    100% { transform: translateX(-50%) rotate(70deg); }
}

@keyframes stick-arm-back-anim {
    0%   { transform: translateX(-50%) rotate(-70deg); }
    50%  { transform: translateX(-50%) rotate(70deg); }
    100% { transform: translateX(-50%) rotate(-70deg); }
}

@keyframes stick-leg-front-anim {
    0%   { transform: translateX(-50%) rotate(-50deg); }
    50%  { transform: translateX(-50%) rotate(50deg); }
    100% { transform: translateX(-50%) rotate(-50deg); }
}

@keyframes stick-leg-back-anim {
    0%   { transform: translateX(-50%) rotate(50deg); }
    50%  { transform: translateX(-50%) rotate(-50deg); }
    100% { transform: translateX(-50%) rotate(50deg); }
}

.coming-soon-box {
    position: absolute;
    bottom: 3em;
    right: 10px;
    font-size: 1.5em;
    font-weight: 400;
    background-color: rgba(0, 42, 51, 0.5);
    border-radius: 4px;
}

.coming-soon-box span {
    display: block;
    padding: 10px 20px;
    color: #00d1ff;
    position: relative;
    z-index: 1;
}

.coming-soon-box .dashed-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.coming-soon-box .dashed-border rect {
    width: 100%;
    height: 100%;
    fill: transparent;
    stroke: #00d1ff;
    stroke-width: 2;
    stroke-dasharray: 15 10; /* Dash length, gap length */
    animation: march-border 0.7s linear infinite;
}

@keyframes march-border {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: 25; } /* Sum of dash and gap */
}

.tags-container span {
    background-color: rgba(0, 209, 255, 0.1);
    border: 1px solid rgba(0, 209, 255, 0.2);
    color: #00d1ff;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: 400;
    transition: all 0.3s ease;
}

.tags-container span:hover {
    background-color: rgba(0, 209, 255, 0.2);
    transform: translateY(-2px);
}



footer {
    flex-shrink: 0;
    width: 100%;
    padding: 20px 0;
    background-color: #0a0a1a; /* Slightly different dark shade */
    border-top: 1px solid #1a1a3a; /* Techy border color */
    position: relative;
    z-index: 1;
}

footer p {
    margin: 0;
    font-size: 0.9em;
    color: #6c757d; /* Muted grey for footer text */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo {
        width: 100px;
    }
    h1 {
        font-size: 3.5em;
    }
    main p {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 80px;
    }
    h1 {
        font-size: 2.5em;
    }
    main p {
        font-size: 1em;
    }
}