/*
© 2026 FluffFox. This CSS file is an integral part of the nixten.ddns.net system.
Unauthorized modification or redistribution is strictly prohibited.
*/
body {
    margin: 0;
    font-family: "IBM Plex Mono", "Cascadia Mono", "Consolas", "Courier New", monospace;
    background: #0b0f0c;
    color: #b7f7c2;
    min-height: 100vh;
    overflow-x: hidden;
    letter-spacing: 0.01em;
}

html::before {
  content: "" !important;
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 4px !important;
  z-index: 999999 !important;
  pointer-events: none !important;
}


body::after {
  content: "" !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: repeating-linear-gradient(to bottom, rgba(0, 255, 100, 0.03) 0px, rgba(0, 255, 100, 0.03) 2px, transparent 2px, transparent 4px) !important;
  z-index: 9998 !important;
  pointer-events: none !important;
}

.page {
    max-width: 1200px;
    margin: 40px auto 140px auto;
    padding: 0 20px 80px 20px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.grid {
    display: grid;
    gap: 24px;
}

.hero-wrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: stretch;
}

.quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
}

.status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.community-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.extra-grid {
    grid-template-columns: 0.9fr 1.1fr;
}

@media (max-width: 980px) {
    .hero-wrap,
    .media-grid,
    .status-grid,
    .quick-grid,
    .community-grid,
    .extra-grid {
        grid-template-columns: 1fr;
    }
}
.img-container {
    text-align: center;   /* centers inline-block elements */
}

.responsive-img {
    max-width: 100%;
    height: auto;
    display: inline-block; /* works with text-align: center */
}

.header {
    background: #0f1511;
    margin: 48px auto 32px auto;
    padding: 44px 20px 36px 20px;
    max-width: 700px;
    box-shadow: inset 0 0 0 1px #1b2a20, 0 8px 24px rgba(0,0,0,0.45);
    animation: fadeIn 1s ease-in-out;
    text-align: center;
    border: 1.5px solid #1b2a20;
}

.about-section {
    text-align: center;
    padding: 44px 20px 36px 20px;
    background: #0f1511;
    margin: 36px auto;
    max-width: 700px;
    box-shadow: inset 0 0 0 1px #1b2a20, 0 8px 24px rgba(0,0,0,0.45);
    animation: fadeIn 1s ease-in-out;
    border: 1.5px solid #1b2a20;
}

.page .about-section,
.page .header,
.page .conventions,
.page .depression,
.page .wotd-section,
.page .vscode-status {
    margin: 0;
    max-width: 100%;
}

.about-section.longform {
    text-align: left;
}

.about-section.longform h1 {
    text-align: center;
}

.about-section.longform p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-section h1 {
    font-size: 2.4rem;
    color: #64ff8f;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.about-section p {
    font-size: 1.18rem;
    line-height: 1.7;
    color: #b7f7c2;
    font-weight: 500;
}

.about-section img {
    width: 120px;
    height: 120px;
    margin: 18px 0 18px 0;
    box-shadow: 0 4px 18px rgba(0,0,0,0.5);
    object-fit: cover;
    border: 2px solid #1b2a20;
    background: #0b0f0c;
}

.cash-app,
.social-links {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 80px;
}

.cash-app a,
.social-links a {
    text-decoration: none;
    color: #8affb0;
    font-size: 1.18rem;
    background: #0f1511;
    padding: 7px 18px;
    box-shadow: inset 0 0 0 1px #1b2a20, 5px 5px 0 #0b120d;
    font-weight: 600;
    border: 1.2px solid #1b2a20;
}
.cash-app a:hover,
.social-links a:hover {
    background: #111c15;
    color: #e7ffe9;
    transform: translate(-5px, -5px);
    box-shadow: inset 0 0 0 1px #2c4434, 5px 5px 0 #2f7a4a, 0 8px 12px rgba(0,0,0,0.55);
}

.visit-counter {
    margin-top: 18px;
    font-size: 1.08rem;
    color: #64ff8f;
    font-weight: 600;
}

.rate-link {
    display: inline-block;
    margin-top: 12px;
    color: #b7f7c2;
    background: #0f1511;
    border: 1px solid #1b2a20;
    padding: 8px 18px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px #1b2a20, 5px 5px 0 #0b120d;
}

.rate-link:hover {
    background: #111c15;
    transform: translate(-5px, -5px);
    box-shadow: inset 0 0 0 1px #2c4434, 5px 5px 0 #2f7a4a, 0 8px 12px rgba(0,0,0,0.55);
}

.jam-section a {
    display: inline-block;
    margin: 10px 0;
    padding: 10px 24px;
    background: #0f1511;
    color: #b7f7c2;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.18em;
    box-shadow: inset 0 0 0 1px #1b2a20, 5px 5px 0 #0b120d;
}
.jam-section a:hover {
    background: #111c15;
    transform: translate(-5px, -5px);
    box-shadow: inset 0 0 0 1px #2c4434, 5px 5px 0 #2f7a4a, 0 8px 12px rgba(0,0,0,0.55);
}

.vscode-status {
    background: #0f1511;
    color: #64ff8f;
    padding: 18px 0 10px 0;
    margin: 30px auto 0 auto;
    max-width: 700px;
    font-size: 1.18em;
    box-shadow: inset 0 0 0 1px #1b2a20, 0 2px 8px rgba(0,0,0,0.5);
    border: 1.5px solid #1b2a20;
}

.wotd-section {
    text-align: center;
    margin: 40px auto 0 auto;
    max-width: 700px;
    background: #0f1511;
    padding: 30px 20px 20px 20px;
    box-shadow: inset 0 0 0 1px #1b2a20, 0 2px 10px rgba(0,0,0,0.45);
    border: 1.5px solid #1b2a20;
}

.wotd-section h1 {
    color: #64ff8f;
    font-size: 2.1rem;
    font-weight: 700;
}

.wotd-section h2 {
    color: #8affb0;
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.wotd-section p {
    color: #b7f7c2;
    font-size: 1.1rem;
    font-weight: 500;
}

.wotd-section a {
    color: #8affb0;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: underline;
}

.profile-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

#presence-card {
    width: 100%;
    max-width: 700px;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    align-items: center;
    background: #0f1511;
    padding: 20px;
    box-shadow: inset 0 0 0 1px #1b2a20, 0 8px 24px rgba(0,0,0,0.45);
    border: 1.5px solid #1b2a20;
}

#presence-card img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border: 2px solid #1b2a20;
}

.profile-info {
    text-align: left;
}

.profile-info h2 {
    margin: 0 0 6px 0;
    font-size: 1.4rem;
}

.profile-info .subtext,
.profile-info .handle {
    margin: 4px 0;
    font-size: 1rem;
}

.depression {
    text-align: center;
    margin: 40px auto 0 auto;
    max-width: 700px;
    background: #0f1511;
    padding: 30px 20px 20px 20px;
    box-shadow: inset 0 0 0 1px #1b2a20, 0 2px 10px rgba(0,0,0,0.45);
    border: 1.5px solid #1b2a20;
}

.depression h1 {
    color: #64ff8f;
    font-size: 2.1rem;
    font-weight: 700;
}

.depression p {
    color: #b7f7c2;
    font-size: 1.1rem;
    font-weight: 500;
}

footer {
    color: #8affb0;
    text-align: center;
    padding: 18px 0 12px 0;
    background: #0b0f0c;
    border-top: 1.5px solid #1b2a20;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.4);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    font-size: 1.18rem;
    letter-spacing: 0.03em;
    z-index: 100;
    transition: none;
    overflow: hidden;
    border-left: none;
    border-right: none;
    border-top: 1.5px solid #1b2a20;
}

footer::before {
    display: none;
}

footer a {
    color: #8affb0;
    text-decoration: none;
    font-weight: 600;
    transition: none;
}

footer span, footer a {
    position: relative;
    z-index: 2;
}

@keyframes glassWave {
    0% { transform: translateX(-50%) scaleY(1); opacity: 0.85; }
    100% { transform: translateX(-48%) scaleY(1.08); opacity: 1; }
}

#now-playing-section span,
#now-playing-section p,
#now-playing-section,
#now-playing-section a {
    color: #b7f7c2 !important;
}

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

#message-section {
    text-align: center;
    padding: 20px;
}

#message-section h2 {
    margin-bottom: 10px;
}

#message-section p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.4;
}

.feedback {
    color: #64ff8f;
    font-weight: bold;
    margin-bottom: 15px;
}

.message-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.message-form input,
.message-form textarea {
    width: 100%;
    border: 1px solid #1b2a20;
    padding: 12px;
    font-size: 1.05em;
    margin-bottom: 12px;
    resize: vertical;
    box-sizing: border-box;
    background: #0b0f0c;
    color: #b7f7c2;
}

.message-form button {
    padding: 12px 30px;
    background: #0f1511;
    color: #b7f7c2;
    font-size: 1.1em;
    border: 1px solid #1b2a20;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px #1b2a20, 5px 5px 0 #0b120d;
}

.message-form button:hover {
    background: #111c15;
    transform: translate(-5px, -5px);
    box-shadow: inset 0 0 0 1px #2c4434, 5px 5px 0 #2f7a4a, 0 8px 12px rgba(0,0,0,0.55);
}

#custom-status::before {
    content: "“";
}

#custom-status::after {
    content: "”";
}

.mobile-nav {
    display: none;
}

.conventions {
    text-align: center;
    padding: 44px 20px 36px 20px;
    background: #0f1511;
    margin: 36px auto;
    max-width: 100%;
    box-shadow: inset 0 0 0 1px #1b2a20, 0 8px 24px rgba(0,0,0,0.45);
    animation: fadeIn 1s ease-in-out;
    border: 1.5px solid #1b2a20;
    margin-left: 20px;
    margin-right: 20px;
}

body.theme-night .conventions {
    background: rgba(22,24,38,0.82) !important;
    border: 1.5px solid rgba(0,255,255,0.10) !important;
    box-shadow: 0 8px 32px 0 rgba(0,255,255,0.08), 0 2px 10px #0ff2;
    color: #e0e6ff !important;
    backdrop-filter: blur(24px) saturate(160%);
}

.GFM {
    color: #8affb0;
    font-weight: 600;
}

ol {
    padding-left: 1.2em;
    margin: 0 auto 20px auto;
    max-width: 100%;
    text-align: center;
    background-color: #0b0f0c;
    color:#b7f7c2;
}

li {
    margin-bottom: 12px;
    font-size: 1.1em;
    line-height: 1.4;
    display: list-item;
    text-align: left;
}

body {
    position: relative;
    overflow-x: hidden;
}

body::after {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 45vh;
    pointer-events: none;
    z-index: 9999;
    background: rgba(100, 255, 143, 0.28);
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,0.15) 25%,
        rgba(0,0,0,0.5) 55%,
        black 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,0.15) 25%,
        rgba(0,0,0,0.5) 55%,
        black 100%
    );
    animation: crtSweep 7s linear infinite;
}


@keyframes crtSweep {
    0%   { transform: translateY(-150%); }
    100% { transform: translateY(250%); }
}