/* This file is a part of Statrix */
/* Coding : Priyanshu Dey [@HellFireDevil18] */

:root {
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

    --motion-fast: 140ms;
    --motion-medium: 240ms;
    --motion-slow: 380ms;
    --motion-entrance: 480ms;
    --motion-exit: 180ms;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Source Serif 4", "Source Serif Pro", "Georgia", "Times New Roman", Times, serif;
    font-size: 14px;
    background: #1e2835;
    background-image:
        radial-gradient(ellipse at 20% 20%, rgba(0, 212, 170, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 40%);
    background-size: 200% 200%;
    background-attachment: fixed;
    animation: flowingBackground 40s ease infinite;
    color: #e2e8f0;
    line-height: 1.6;
    min-height: 100vh;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes flowingBackground {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

@supports (-webkit-touch-callout: none) {
    body {
        background-attachment: scroll;
    }
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.logo-header {
    text-align: left;
    padding: 12px 0 20px;
}

.logo-header a {
    display: inline-block;
}

.logo-header img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid transparent;
    background: linear-gradient(#1a1a2e, #1a1a2e) padding-box,
                linear-gradient(135deg, #00d4aa, #a855f7, #ec4899) border-box;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 40px rgba(0, 212, 170, 0.4),
        inset 0 0 20px rgba(0, 212, 170, 0.2);
    transition:
        transform var(--motion-medium) var(--ease-out-expo),
        box-shadow var(--motion-medium) var(--ease-out-quint);
}

.logo-header img:hover {
    transform: scale(1.08);
    box-shadow:
        0 12px 36px rgba(0, 0, 0, 0.5),
        0 0 0 2px rgba(255, 255, 255, 0.12),
        0 0 50px rgba(0, 212, 170, 0.5),
        0 0 80px rgba(168, 85, 247, 0.25),
        inset 0 0 25px rgba(0, 212, 170, 0.25);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
    background-clip: padding-box;
}

@media (max-width: 768px) {
    .container {
        padding: 16px;
    }

    .logo-header img {
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 12px;
    }

    .logo-header img {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 360px) {
    .logo-header img {
        width: 56px;
        height: 56px;
    }
}

.hidden {
    display: none;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 12px rgba(0, 212, 170, 0.3);
    font-weight: 600;
    cursor: pointer;
    transition:
        transform var(--motion-fast) var(--ease-out-quart),
        box-shadow var(--motion-fast) var(--ease-out-quart),
        background-color var(--motion-fast) var(--ease-out-quart),
        color var(--motion-fast) var(--ease-out-quart);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00e5ba 0%, #00c9a4 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.4);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
    html,
    body {
        scroll-behavior: auto !important;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    body {
        animation: none !important;
    }
}
