/* --- COPYRIGHT BY XIMurphy --- */

:root {
    --bg-color: #0d0d0d;
    --card-bg: #1a1a1a;
    --accent-color: #ffffff;
    --text-color: #f2f2f2;
    --border-color: #333333;
    --hover-bg: #252525;
}

body {
    margin: 0;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    background: linear-gradient(135deg, #292929 0%, #090909 55%, #202020 100%);
    background-attachment: fixed;
    color: var(--text-color);
    font-family: 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

.floating-paths {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    color: #ffffff;
}

.floating-paths svg {
    display: block;
    width: 100%;
    height: 100%;
}

.floating-paths path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    animation: floating-path-flow 28s linear infinite;
}

.icon-sprite {
    display: none;
}

.content-wrapper,
.mainsite-container,
footer {
    position: relative;
    z-index: 1;
}

.page-transition-out .content-wrapper,
.page-transition-out .mainsite-container,
.page-transition-out footer {
    animation: setup-page-exit 180ms ease-in forwards;
}

.page-reload-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #000000;
    pointer-events: none;
    animation: page-reload-dim 420ms ease-in-out forwards;
}

@keyframes setup-page-exit {
    to {
        opacity: 0;
        transform: translateY(-6px);
    }
}

@keyframes page-reload-dim {
    0%, 100% {
        opacity: 0;
    }

    35% {
        opacity: 0.4;
    }
}

@keyframes floating-path-flow {
    to {
        stroke-dashoffset: -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-paths path {
        animation: none;
        stroke-dasharray: none;
    }
}

h1 { font-size: 1.6rem; margin: 0; letter-spacing: -0.5px; }
h2 { font-size: 1.2rem; margin-top: 25px; color: var(--accent-color); }
h3 { font-size: 1rem; margin-top: 15px; opacity: 0.9; }
h4 { font-size: 1.8rem; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; }
p, li { opacity: 0.8; font-size: 0.95rem; }

.content-wrapper {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mainsite-container {
    width: 100%;
    max-width: 800px;
}
.link-card,
.product-card {
    background: rgba(26, 26, 26, 0.62);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.06);
}

.profile-section {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.profile-avatar {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 90px;
    margin-bottom: 15px;
}

.profile-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
}

@supports (interpolate-size: allow-keywords) and selector(details::details-content) {
}

.profile-bio {
    margin: 14px 0 0;
    color: rgba(242, 242, 242, 0.78);
    text-align: center;
}
.profile-identity {
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-identity {
    width: 100%;
    flex-wrap: wrap;
    gap: 7px;
}

.section-divider {
    width: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.section-divider:not(:empty)::before { margin-right: 15px; }
.section-divider:not(:empty)::after { margin-left: 15px; }

.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-card {
    position: relative;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 12px;
    color: var(--text-color);
    transition: all 0.2s ease;
}
.link-card,
.product-card {
    isolation: isolate;
    overflow: hidden;
}
.link-card > *,
.product-card > * {
    z-index: 1;
}
.link-card::before,
.product-card::before {
    position: absolute;
    inset: -35% -60%;
    z-index: 0;
    border-radius: inherit;
    background: linear-gradient(
        110deg,
        transparent 36%,
        rgba(255, 255, 255, 0.05) 45%,
        rgba(255, 255, 255, 0.06) 51%,
        rgba(255, 255, 255, 0.05) 57%,
        rgba(255, 255, 255, 0.04) 63%,
        transparent 72%
    );
    content: "";
    opacity: 0;
    pointer-events: none;
    transform: translateX(-60%) skewX(-15deg);
}
.link-card:hover::before,
.link-card:focus-visible::before,
.product-card:hover::before,
.product-card:focus-visible::before {
    animation: card-sheen 1600ms ease-out;
}

@keyframes card-sheen {
    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(60%) skewX(-15deg);
    }
}

.link-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

a:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 4px;
}
.link-card:focus-visible,
.product-card:focus-visible {
    border-color: var(--accent-color);
}

.icon { 
    width: 22px; 
    height: 22px; 
    position: absolute; 
    left: 20px;
}

.link-text { 
    font-weight: 500; 
    text-align: center;
}

.setup-header-main {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.setup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.product-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.product-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.product-card .info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.product-card .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.5;
}

.product-card .name {
    margin-top: 2px;
    font-size: 1rem;
    font-weight: 500;
}

.product-link-icon {
    opacity: 0.3;
    transition: opacity 0.2s;
}

.product-card:hover .product-link-icon {
    opacity: 1;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.5;
}

.back-link:hover {
    opacity: 1;
}

footer {
    width: 100%;
    margin-top: 60px;
    padding-bottom: 40px;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
    font-size: 0.8rem;
    opacity: 0.4;
}

.adtext {
    margin-top: 10px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* --- SCROLLBAR STYLE --- */
html {
    scrollbar-color: #333333 #0d0d0d;
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color); 
}

::-webkit-scrollbar-thumb {
    background: #333333; 
    border-radius: 10px;
    border: 2px solid var(--bg-color);
}

::-webkit-scrollbar-thumb:hover {
    background: #444444; 
}

@media (max-width: 420px) {
    body {
        padding: 28px 16px;
    }

    .link-card {
        padding: 14px 16px;
    }

    .icon {
        left: 16px;
    }
}

@media (max-width: 360px) {
}

@media (prefers-reduced-motion: reduce) {
.link-card,
.product-card {
        transition: none;
    }
.link-card::before,
.product-card::before {
        animation: none;
    }
.link-card:hover::before,
.link-card:focus-visible::before,
.product-card:hover::before,
.product-card:focus-visible::before {
        animation: none;
    }
.link-card:hover,
.product-card:hover {
        transform: none;
    }
}
