* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
}

button,
img,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

a,
a:hover,
a:active,
a:focus,
a:visited {
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

[draggable] {
    -webkit-user-drag: none;
}

.discord-profile-link,
.activity-card,
.activity-dot,
.invite-card .join-btn,
.scroll-indicator,
.minecraft-section,
.page-loader {
    cursor: pointer !important;
}

.discord-profile-link *,
.activity-card *,
.minecraft-section *,
.join-btn * {
    cursor: pointer !important;
}

.activities-track {
    cursor: grab !important;
}

.activities-track * {
    cursor: grab !important;
}

.activities-track.dragging,
.activities-track.dragging * {
    cursor: grabbing !important;
}

:root {
    color-scheme: dark;
    --bg: #07070b;
    --accent: #6c5ce7;
    --accent-rgb: 108, 92, 231;
    --accent-dim: #5a4bd0;
    --accent-glow: rgba(108, 92, 231, 0.18);
    --ui-accent: #3a4555;
    --ui-accent-rgb: 58, 69, 85;
    --card-bg: rgba(12, 12, 18, 0.78);
    --card-border: rgba(255, 255, 255, 0.06);
    --glass-bg: rgba(10, 10, 16, 0.62);
    --glass-border: rgba(255, 255, 255, 0.05);
    --text-primary: #e5e5eb;
    --text-secondary: #8b8f96;
    --text-muted: #53565d;
    --green: #23a55a;
    --yellow: #f0b132;
    --red: #f23f42;
}

/* Global selection */
::selection { background: rgba(108, 92, 231, 0.35); color: #fff; }
::-moz-selection { background: rgba(108, 92, 231, 0.35); color: #fff; }

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0a0a0c;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: loaderBreathe 3s ease-in-out infinite;
}

@keyframes loaderBreathe {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.03);
        opacity: 1;
    }
}

.loader-lock {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lock-icon {
    width: 48px;
    height: 48px;
    color: rgba(255, 255, 255, 0.6);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

.loader-text {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 4px;
}

.loader-pulse {
    width: 40px;
    height: 2px;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.15);
    animation: loaderPulseBar 2s ease-in-out infinite;
}

@keyframes loaderPulseBar {

    0%,
    100% {
        width: 40px;
        opacity: 0.3;
    }

    50% {
        width: 80px;
        opacity: 0.6;
    }
}

body.loader-active {
    overflow: hidden !important;
    height: 100vh !important;
}

body.loader-active .hero-section {
    opacity: 0;
    pointer-events: none;
}

body.loader-active .members-section {
    opacity: 0;
    pointer-events: none;
}

body.loader-active .scroll-indicator {
    opacity: 0 !important;
    animation: none !important;
}

body.loader-active .music-panel {
    display: none;
}

body.loader-active .top-nav {
    display: none;
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: rgba(7, 7, 10, 0.5);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.4s ease, border-color 0.4s ease;
}

.top-nav.scrolled {
    background: rgba(7, 7, 10, 0.85);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    text-decoration: none;
}
.nav-brand:hover, .nav-brand:focus, .nav-brand:visited { text-decoration: none; }

.nav-brand-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow), 0 0 4px var(--accent);
    animation: navDotPulse 3s ease-in-out infinite;
}

@keyframes navDotPulse {
    0%, 100% { box-shadow: 0 0 12px var(--accent-glow), 0 0 4px var(--accent); }
    50% { box-shadow: 0 0 20px var(--accent-glow), 0 0 8px var(--accent); }
}

.nav-links { display: flex; align-items: center; gap: 8px; }

.top-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    border-radius: 8px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.15);
    color: rgba(108, 92, 231, 0.9);
    font-size: 12px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.top-nav-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.25);
    transform: translateY(-1px);
}

.top-nav-btn i {
    font-size: 11px;
}

.music-panel {
    position: fixed;
    top: 52px;
    right: 16px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0;
}

.music-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(12, 13, 16, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    transition: all 0.3s ease;
    outline: none;
    position: relative;
    z-index: 2;
}

.music-toggle:hover {
    background: rgba(20, 21, 26, 0.85);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.music-toggle.active {
    background: rgba(58, 69, 85, 0.4);
    border-color: rgba(255, 255, 255, 0.12);
}

.music-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    background: rgba(12, 13, 16, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    margin-right: -18px;
    padding-right: 14px;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.4s ease, margin 0.4s ease;
    padding-left: 0;
    padding-right: 0;
    margin-right: 0;
    border-color: transparent;
}

.music-controls.open {
    max-width: 240px;
    opacity: 1;
    padding: 6px 14px 6px 10px;
    margin-right: 8px;
    border-color: rgba(255, 255, 255, 0.08);
}

.music-play-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: var(--text-secondary);
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    transition: all 0.2s;
    outline: none;
    flex-shrink: 0;
}

.music-play-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
}

.music-volume-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.music-vol-icon {
    font-size: 11px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.music-vol-label {
    font-size: 10px;
    color: var(--text-muted);
    min-width: 28px;
    text-align: right;
    font-family: 'Courier New', monospace;
    flex-shrink: 0;
}

.music-volume {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer !important;
    flex-shrink: 1;
}

.music-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-secondary);
    cursor: pointer !important;
    transition: background 0.2s, transform 0.2s;
}

.music-volume::-webkit-slider-thumb:hover {
    background: var(--text-primary);
    transform: scale(1.2);
}

.music-volume::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--text-secondary);
    cursor: pointer !important;
}

.music-volume::-moz-range-track {
    background: rgba(255, 255, 255, 0.1);
    height: 3px;
    border-radius: 2px;
    border: none;
}

.card-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    z-index: 0;
}

.card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 25%, rgba(0, 0, 0, 0.85) 45%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.25) 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 25%, rgba(0, 0, 0, 0.85) 45%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.25) 78%, transparent 100%);
}

.member-card.has-banner .role-icon-badge {
    z-index: 6;
}

.member-card.has-banner {
    padding-top: 105px;
}

@font-face {
    font-family: 'Minecraft';
    src: url('minecraft.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.minecraft-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 8px;
}

.minecraft-section {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    transition: background 0.3s, border-color 0.3s;
    cursor: pointer !important;
    text-decoration: none;
}

.minecraft-section+.minecraft-section {
    margin-top: 4px;
}

.minecraft-section:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

.minecraft-head {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    image-rendering: pixelated;
    flex-shrink: 0;
}

.minecraft-nick {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Minecraft', 'VT323', monospace;
    letter-spacing: 1px;
    flex: 1;
    min-width: 0;
}

.minecraft-arrow {
    color: var(--text-secondary);
    font-size: 13px;
    flex-shrink: 0;
    transition: transform 0.3s, color 0.3s;
}

.minecraft-section:hover .minecraft-arrow {
    transform: translateX(3px);
    color: var(--text-primary);
}

::-webkit-scrollbar {
    width: 5px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(var(--accent-rgb), 0.12);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--accent-rgb), 0.2);
}

html {
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--accent-rgb), 0.12) transparent;
}

#gradient-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    transition: opacity 2s ease;
}

#gradient-canvas.loaded {
    opacity: 1;
}

.gradient-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 10, 12, 0.35) 65%, rgba(10, 10, 12, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

.noise {
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 0 0' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 2;
}

.particles {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(58, 69, 85, 0.5);
    border-radius: 50%;
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: translateY(90vh) translateX(10px) scale(1);
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-10vh) translateX(-10px) scale(0.5);
        opacity: 0;
    }
}

.hero-section {
    position: relative;
    z-index: 3;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
}

.hero-section.hero-exit {
    animation: heroFadeOut 0.7s ease forwards;
}

.hero-section.hero-hidden {
    display: none;
}

@keyframes heroFadeOut {
    to {
        opacity: 0;
        transform: translateY(-40px);
    }
}

.hero-container {
    width: 100%;
    max-width: 440px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* ===== HERO BRAND ===== */
.hero-brand {
    text-align: center;
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 10px;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #a78bfa 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-title-dot {
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
}

.hero-title-club {
    color: var(--text-primary);
    -webkit-text-fill-color: var(--text-primary);
}

.hero-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}

.hero-badges {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(108, 92, 231, 0.08);
    border-color: rgba(108, 92, 231, 0.15);
    color: rgba(108, 92, 231, 0.9);
}

.hero-badge i {
    font-size: 9px;
    color: var(--accent);
}

.invite-card {
    background: var(--card-bg);
    backdrop-filter: blur(40px) saturate(1.4);
    -webkit-backdrop-filter: blur(40px) saturate(1.4);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    position: relative;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.invite-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.03);
}

.invite-card.animate-in {
    animation: cardReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.invite-card.revealed {
    opacity: 1;
    transform: none;
    animation: none;
}

@keyframes cardReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.invite-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    padding: 1px;
    background: linear-gradient(160deg, rgba(88, 101, 242, 0.15), transparent 30%, transparent 70%, rgba(88, 101, 242, 0.08));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.invite-card::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -20%;
    width: 140%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(88, 101, 242, 0.04), transparent 60%);
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

.invite-banner {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #1a1a2e, #16213e 50%, #0f3460);
    position: relative;
    overflow: hidden;
    opacity: 0;
    border-radius: 16px 16px 0 0;
}

.invite-banner.animate-in {
    animation: bannerReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

@keyframes bannerReveal {
    0% {
        opacity: 0;
        transform: scale(1.08);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.invite-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.invite-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(to top, var(--card-bg), transparent);
    z-index: 1;
}

.invite-icon-wrapper {
    position: relative;
    margin-top: -40px;
    padding: 0 24px;
    z-index: 2;
    opacity: 0;
}

.invite-icon-wrapper.animate-in {
    animation: iconFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes iconFadeIn {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.invite-server-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    border: 4px solid rgba(14, 14, 18, 0.9);
    background: #1a1a2e;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.invite-server-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.invite-server-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-dim));
}

.invite-content {
    padding: 16px 24px 24px;
    position: relative;
    z-index: 1;
}

.invite-server-name {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
}

.invite-server-name.animate-in {
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

.invite-vanity {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    opacity: 0;
}

.invite-vanity.animate-in {
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.invite-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
    opacity: 0;
}

.invite-description.animate-in {
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.invite-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 22px;
    opacity: 0;
}

.invite-stats.animate-in {
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.invite-stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

.invite-stat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.invite-stat-dot.online {
    background: var(--green);
    box-shadow: 0 0 8px rgba(35, 165, 90, 0.5);
}

.invite-stat-dot.online::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(35, 165, 90, 0.3);
    animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0;
        transform: scale(1.8);
    }
}

.invite-stat-dot.total {
    background: var(--text-muted);
}

.invite-stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.invite-stat-number {
    font-variant-numeric: tabular-nums;
}

.join-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none;
    text-align: center;
    opacity: 0;
}

.join-btn.animate-in {
    animation: btnReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

@keyframes btnReveal {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    60% {
        transform: translateY(-2px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.join-btn:hover {
    background: var(--accent-dim);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.join-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: shimmer 3s ease-in-out 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.invite-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    gap: 16px;
}

.invite-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: var(--text-secondary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.invite-loading-text {
    font-size: 13px;
    color: var(--text-muted);
}

.invite-error {
    text-align: center;
    padding: 40px 24px;
}

.invite-error p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.verified-badge {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hero-footer {
    text-align: center;
    margin-top: 20px;
    opacity: 0;
}

.hero-footer.animate-in {
    animation: fadeIn 0.8s ease 1.1s forwards;
}

.hero-footer a {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
    cursor: pointer !important;
}

.hero-footer a:hover {
    color: var(--text-secondary);
}

.hero-footer svg {
    width: 14px;
    height: 14px;
}

.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
    cursor: pointer !important;
    z-index: 10;
    padding: 16px 32px;
}

.scroll-indicator-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.scroll-indicator-text {
    font-size: 9px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 4px;
}

.scroll-indicator-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    animation: bounceArrow 2s ease-in-out 2.5s infinite;
}

.scroll-indicator-arrow i:first-child {
    opacity: 0.3;
    margin-bottom: -4px;
}

.scroll-indicator-arrow i:last-child {
    opacity: 0.6;
}

@keyframes bounceArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

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

.members-section {
    position: relative;
    z-index: 3;
    width: 100%;
    min-height: 100vh;
    padding: 60px 0 40px;
}

.members-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
    transition: color 0.3s;
}

.connection-status.connected {
    color: var(--green);
}

.connection-status.connected .connection-dot {
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
}

.connection-status.disconnected {
    color: var(--red);
}

.connection-status.disconnected .connection-dot {
    background: var(--red);
    box-shadow: 0 0 8px var(--red);
}

.connection-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: all 0.3s;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.members-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    max-width: 1300px;
    align-items: center;
}

.role-segment {
    width: 100%;
}

.role-segment-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 4px 16px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.role-segment-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.3), transparent);
}

.role-segment-name {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.role-segment-count {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 0.5;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.role-segment-count::before {
    content: '';
}

.role-segment-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    justify-content: center;
}

.role-segment-cards .member-card {
    width: 360px;
    max-width: 100%;
}

@media (max-width: 860px) {
    .role-segment-cards .member-card {
        width: 100%;
        max-width: 420px;
    }
}

.member-card {
    min-height: 300px;
    border-radius: 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    border: 1px solid var(--glass-border);
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    padding: 90px 22px 18px 22px;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.member-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    padding: 1px;
    background: linear-gradient(160deg, rgba(108, 92, 231, 0.08), transparent 35%, transparent 65%, rgba(6, 182, 212, 0.04));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.member-card:hover::before {
    opacity: 1;
}

.member-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.member-card.card-enter {
    animation: cardAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

.member-card.removing {
    animation: cardRemove 0.5s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

@keyframes cardAppear {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cardRemove {
    from { opacity: 1; }
    to { opacity: 0; transform: translateY(-10px) scale(0.95); }
}

.member-card:hover {
    border-color: rgba(108, 92, 231, 0.12);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 30px rgba(108, 92, 231, 0.04);
}

.tilt-card {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --shine-x: 50%;
    --shine-y: 50%;
    --shine-opacity: 0;
}

.tilt-card:hover {
    transform: perspective(1200px) rotateY(var(--tilt-x)) rotateX(var(--tilt-y)) !important;
    transition: transform 0.1s linear, border-color 0.4s ease, box-shadow 0.4s ease;
    border-color: rgba(255, 255, 255, 0.1);
}

.tilt-card:not(:hover) {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.tilt-card .tilt-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 10;
    opacity: var(--shine-opacity);
    background: radial-gradient(450px circle at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.03), transparent 45%);
    transition: opacity 0.3s ease;
}

.avatar-container {
    position: relative;
    width: 90px;
    height: 90px;
    margin-bottom: 10px;
    margin-top: -35px;
}

.avatar-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.status-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 4px solid #0e0e12;
    box-sizing: content-box;
}

.status-badge.online {
    background: #23a55a;
}

.status-badge.idle {
    background: #0e0e12;
    overflow: hidden;
}

.status-badge.idle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #f0b232;
    -webkit-mask: radial-gradient(circle 5px at 4px 4px, transparent 98%, #000 100%);
    mask: radial-gradient(circle 5px at 4px 4px, transparent 98%, #000 100%);
}

.status-badge.dnd {
    background: #f23f42;
}

.status-badge.dnd::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 3px;
    background: #0e0e12;
    border-radius: 1.5px;
}

.status-badge.offline {
    background: #80848e;
}

.status-badge.offline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0e0e12;
}

.text-large {
    font-size: 24px;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.text-small {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 6px;
    margin-top: -3px;
    font-weight: 400;
}

.discord-profile-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    cursor: pointer !important;
}

.discord-profile-link:hover {
    color: var(--text-primary);
}

.role-icon-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.role-icon-badge:hover {
    transform: scale(1.1);
}

.role-icon-badge img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.role-icon-emoji {
    font-size: 16px;
    line-height: 1;
}

.role-icon-badge::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    margin-top: 6px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 400;
    white-space: nowrap;
    background: rgba(10, 10, 14, 0.95);
    color: var(--text-secondary);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.role-icon-badge:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.member-meta {
    width: 100%;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.member-about {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    padding: 4px 8px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.custom-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    max-width: 100%;
    overflow: hidden;
}

.custom-status-emoji {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.custom-status-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-separator {
    width: calc(100% - 60px);
    height: 1px;
    margin: 8px auto;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.activities-section {
    margin-top: auto;
    width: 100%;
    padding-top: 4px;
    position: relative;
}

.activities-wrapper {
    width: 100%;
}

.activities-slider {
    overflow: hidden;
    border-radius: 12px;
    width: 100%;
}

.activities-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.activities-track.dragging {
    transition: none;
}

.activity-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    padding: 0 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80px;
}

.activity-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
    min-height: 80px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
}

.activity-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.activity-card.spotify,
.activity-card.game {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

.activity-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-secondary);
    flex-shrink: 0;
    overflow: visible;
    font-size: 1rem;
    position: relative;
}

.activity-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.activity-icon-small {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(12, 13, 16, 0.8);
    background: rgba(12, 13, 16, 0.8);
    z-index: 2;
}

.activity-icon-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.activity-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.activity-type {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.activity-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    margin-bottom: 1px;
}

.activity-details,
.activity-state {
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-elapsed {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.activity-elapsed i {
    font-size: 9px;
}

.activity-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 2px;
    min-height: 28px;
}

.activity-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.activity-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer !important;
    transition: all 0.3s;
}

.activity-dot:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.2);
}

.activity-dot.active {
    background: var(--text-secondary);
    width: 20px;
    border-radius: 3px;
}

.spotify-progress {
    margin-top: 4px;
}

.spotify-bar {
    height: 2.5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.spotify-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ui-accent), #1db954);
    border-radius: 2px;
    transition: width 0.5s linear;
    box-shadow: 0 0 8px rgba(29, 185, 84, 0.4);
}

.spotify-timestamps {
    display: flex;
    justify-content: space-between;
    margin-top: 3px;
    font-size: 10px;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
}

.site-footer {
    padding: 48px 0 24px;
    width: 100%;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: -0.02em;
}

.footer-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
}

.footer-copy {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.12);
    font-weight: 400;
    letter-spacing: 0.3px;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 60px 24px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 48px;
    opacity: 0.3;
}

.empty-state span {
    font-size: 14px;
}

.ticker-digit {
    position: relative;
    display: inline-block;
    height: 1em;
    min-width: 0.6em;
    overflow: hidden;
    line-height: 1;
    vertical-align: baseline;
    flex-shrink: 0;
}

.ticker-digit-inner {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    backface-visibility: hidden;
}

.digit-enter {
    transform: translateY(100%);
}

.digit-enter-active {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(0%) !important;
}

.digit-exit-active {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(-100%) !important;
}

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

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

    .invite-banner {
        height: 110px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== Ulica brand gradient ===== */
.ulica-brand-pre {
    background: linear-gradient(135deg, #6c5ce7 0%, #a78bfa 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    font-weight: inherit;
    font-size: inherit;
    font-family: inherit;
    letter-spacing: inherit;
}
.ulica-brand-post {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    font-weight: inherit;
    font-size: inherit;
    font-family: inherit;
    letter-spacing: inherit;
}

/* ═══════════════════════════════════════════════════
   HUB-LANDING REWORK (v80)
   Hero + Showcase + Features + Clicker Promo
   ═══════════════════════════════════════════════════ */

.hub-ease: cubic-bezier(0.22, 1, 0.36, 1);

/* ── Hero (new) ── */
.hero-section {
    min-height: 92vh;
    padding: 130px 32px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-container {
    max-width: 760px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 2;
}

.hero-section .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.25);
    color: #e5e5eb;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-section .hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 10px #4ade80;
    animation: heroBadgePulse 2s ease-in-out infinite;
}

@keyframes heroBadgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.4); }
}

.hero-section .hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: 24px;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    background: linear-gradient(135deg, #6c5ce7, #a78bfa 60%, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: heroGradShift 6s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 40px rgba(108, 92, 231, 0.3));
}

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

.hero-section .hero-sub {
    font-size: clamp(15px, 1.4vw, 17px);
    color: #8b8f96;
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.65;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-hero {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    font-family: 'Inter', sans-serif;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #6c5ce7, #8b7cff);
    color: #fff;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(108, 92, 231, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-hero-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: #e5e5eb;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
}

.btn-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
    transform: translateX(-100%);
    animation: btnShine 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes btnShine {
    0%, 60% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero-link-preview {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.hero-link-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #53565d;
    font-weight: 600;
}

.hero-link-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 500;
    color: #e5e5eb;
    letter-spacing: 0.02em;
}

.hero-link-chip i {
    font-size: 11px;
    color: #8b8f96;
}

.hero-link-host { color: #e5e5eb; }
.hero-link-host .ulica-brand-post { color: #ffffff; }

.hero-link-slug {
    color: #a78bfa;
    font-weight: 700;
    transition: opacity 0.4s ease;
}

/* ── Section heading shared ── */
.section-head {
    max-width: 680px;
    margin: 0 auto 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
    color: #a78bfa;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.accent-grad {
    background: linear-gradient(135deg, #6c5ce7, #a78bfa 60%, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-sub {
    font-size: 15px;
    color: #8b8f96;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Showcase ── */
.showcase {
    max-width: 1080px;
    margin: 0 auto;
    padding: 70px 32px 60px;
    position: relative;
    z-index: 2;
}

.showcase-grid {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* Zapas na avatar wystający poza górną krawędź karty */
    padding: 40px 0 8px;
}

.showcase-track {
    display: flex;
    gap: 18px;
    align-items: stretch;
    will-change: transform;
}

.showcase-slot {
    flex: 0 0 auto;
    width: var(--slot-w, 300px);
    position: relative;
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-slot.is-leaving { opacity: 0; }

.showcase-slot.is-entering {
    animation: slotFadeIn 0.8s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

.showcase-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.5s ease;
    display: flex;
    flex-direction: column;
    isolation: isolate;
}

.showcase-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 92, 231, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(108, 92, 231, 0.15);
}

.showcase-banner {
    position: relative;
    width: 100%;
    height: 55%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.2), rgba(167, 139, 250, 0.1));
    flex-shrink: 0;
}

.showcase-banner img,
.showcase-banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(7, 7, 11, 0.75) 100%);
    pointer-events: none;
}

.showcase-body {
    flex: 1;
    padding: 40px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    min-height: 0;
    min-width: 0;
}

.showcase-avatar {
    position: absolute;
    top: -32px;
    left: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: #1a1a25;
    border: 3px solid #07070b;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.showcase-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.4), rgba(167, 139, 250, 0.4));
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.showcase-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    max-width: 100%;
}

.showcase-slug {
    font-size: 11px;
    color: #8b8f96;
    font-family: 'JetBrains Mono', monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    max-width: 100%;
}

.showcase-bio {
    font-size: 12px;
    color: #8b8f96;
    line-height: 1.45;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    min-width: 0;
    max-width: 100%;
}

/* Skeleton for loading state */
.showcase-skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.02) 100%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.8s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Empty-state card - subtelna wersja */
.showcase-card-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    text-align: center;
    gap: 10px;
    flex-direction: column;
}

.showcase-card-empty:hover {
    background: rgba(108, 92, 231, 0.05);
    border-style: solid;
    border-color: rgba(108, 92, 231, 0.3);
}

.showcase-card-empty-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(108, 92, 231, 0.12);
    border: 1px solid rgba(108, 92, 231, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a78bfa;
    font-size: 13px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-card-empty:hover .showcase-card-empty-icon {
    background: linear-gradient(135deg, #6c5ce7, #8b7cff);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.showcase-card-empty-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.showcase-card-empty-text strong {
    font-size: 13px;
    color: #e5e5eb;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.showcase-card-empty-text span {
    font-size: 11.5px;
    color: #53565d;
}

/* ── Features ── */
.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 32px 70px;
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.feature-card {
    padding: 24px 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, background 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(108, 92, 231, 0.08), transparent 45%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.feature-card > * { position: relative; z-index: 1; }

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(108, 92, 231, 0.25);
    background: rgba(108, 92, 231, 0.04);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: rgba(108, 92, 231, 0.12);
    color: #a78bfa;
    box-shadow: inset 0 0 0 1px rgba(108, 92, 231, 0.22);
    margin-bottom: 14px;
}

.feature-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 13px;
    color: #8b8f96;
    line-height: 1.55;
}

/* ── Members section (hub context) ── */
.members-section > .section-head {
    padding: 60px 32px 0;
}

.community-cta {
    display: flex;
    justify-content: center;
    padding: 30px 32px 50px;
}

/* ── Clicker Promo ── */
.clicker-promo {
    max-width: 1080px;
    margin: 0 auto;
    padding: 30px 32px 70px;
    position: relative;
    z-index: 2;
}

.clicker-promo-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 36px 40px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(22, 18, 38, 0.88), rgba(12, 11, 22, 0.88));
    border: 1px solid rgba(108, 92, 231, 0.25);
    backdrop-filter: blur(24px);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s, box-shadow 0.4s;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.clicker-promo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(108, 92, 231, 0.5);
    box-shadow: 0 30px 80px rgba(108, 92, 231, 0.2);
}

.clicker-promo-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(ellipse 50% 60% at 30% 50%, rgba(108, 92, 231, 0.35), transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    animation: clickerPromoGlow 8s ease-in-out infinite alternate;
}

@keyframes clickerPromoGlow {
    0% { opacity: 0.6; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1.05); }
}

.clicker-promo-left {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.clicker-promo-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.25);
    color: #86efac;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.clicker-promo-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
    animation: heroBadgePulse 2s ease-in-out infinite;
}

.clicker-promo-card h3 {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

.clicker-promo-card p {
    font-size: 14px;
    color: #8b8f96;
    line-height: 1.6;
    max-width: 480px;
}

.clicker-promo-right {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.clicker-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6c5ce7, #8b7cff);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clicker-promo-card:hover .clicker-promo-btn {
    transform: translateX(4px);
    box-shadow: 0 14px 36px rgba(108, 92, 231, 0.5);
}

.clicker-promo-btn i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.clicker-promo-card:hover .clicker-promo-btn i { transform: translateX(2px); }

/* ── Site footer (hub) ── */
.site-footer {
    padding: 40px 32px 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(7, 7, 10, 0.5);
    position: relative;
    z-index: 2;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
}

.footer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6c5ce7;
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.5);
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #8b8f96;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links a:hover { color: #fff; }

.footer-copy { font-size: 12px; color: #53565d; }

/* ── Nav center (hub) ── */
.nav-center {
    display: flex;
    gap: 28px;
}

.nav-center .nav-link {
    color: #8b8f96;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-center .nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #6c5ce7;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-center .nav-link:hover { color: #fff; }
.nav-center .nav-link:hover::after { width: 100%; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .nav-center { display: none; }
    .hero-section { padding: 110px 20px 60px; }
    .hero-section .hero-title { font-size: clamp(38px, 10vw, 64px); margin-bottom: 24px; }
    .hero-actions { flex-direction: column; width: 100%; align-items: stretch; }
    .hero-actions .btn-hero { justify-content: center; }
    .showcase { padding: 70px 20px 60px; }
    .features { padding: 60px 20px 80px; }
    .clicker-promo-card { flex-direction: column; text-align: center; padding: 28px 22px; }
    .clicker-promo-left { text-align: center; }
    .clicker-promo-card p { margin: 0 auto; }
    .footer-inner { flex-direction: column; text-align: center; }
}

