.homelab-section { margin-top: 18px; padding: 32px 24px; background: rgba(20, 20, 30, 0.10); backdrop-filter: blur(48px); -webkit-backdrop-filter: blur(48px); border-radius: 24px; box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18), inset 0 2px 0 rgba(255, 255, 255, 0.10); min-width: 26rem; max-width: 26rem; align-self: stretch; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; text-align: center; } /* Mobile responsive homelab section */ @media (max-width: 768px) { .homelab-section { min-width: unset; max-width: unset; width: 100%; padding: 28px 20px; } .homelab-title { font-size: 1.3rem; text-align: center; } .homelab-buttons { justify-content: center; } } @media (max-width: 480px) { .homelab-section { padding: 24px 16px; gap: 16px; min-width: unset; max-width: unset; width: 100%; } .homelab-title { font-size: 1.2rem; } .homelab-buttons { gap: 12px; flex-direction: column; align-items: center; } .homelab-btn { width: 100%; max-width: 200px; text-align: center; justify-content: center; } } .homelab-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; background: radial-gradient(120% 140% at 10% 10%, rgba(90, 210, 255, 0.18) 0%, rgba(6, 18, 38, 0.0) 45%), radial-gradient(140% 160% at 90% 10%, rgba(142, 86, 255, 0.16) 0%, rgba(10, 6, 24, 0.0) 50%), radial-gradient(160% 180% at 50% 100%, rgba(255, 77, 156, 0.12) 0%, rgba(12, 8, 20, 0.0) 55%), linear-gradient(135deg, rgba(10, 14, 30, 0.95) 0%, rgba(12, 22, 44, 0.9) 40%, rgba(14, 10, 36, 0.9) 100%); background-size: 160% 160%, 170% 170%, 180% 180%, 100% 100%; animation: homelab-aurora 12s ease-in-out infinite; filter: saturate(1.15) contrast(1.05); } .homelab-background::after { content: ""; position: absolute; inset: -20% -10%; background: repeating-linear-gradient( 120deg, rgba(120, 220, 255, 0.06) 0px, rgba(120, 220, 255, 0.06) 1px, rgba(10, 12, 24, 0.0) 1px, rgba(10, 12, 24, 0.0) 10px ), radial-gradient(60% 60% at 70% 30%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.0) 60%); mix-blend-mode: screen; opacity: 0.55; animation: homelab-grid 30s linear infinite; pointer-events: none; } .homelab-background::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 80% at 50% 50%, rgba(8, 12, 24, 0.0) 0%, rgba(8, 12, 24, 0.45) 70%, rgba(8, 12, 24, 0.75) 100%); pointer-events: none; } @keyframes homelab-aurora { 0% { background-position: 0% 50%, 100% 40%, 50% 100%, 0% 0%; } 50% { background-position: 80% 40%, 20% 50%, 60% 80%, 0% 0%; } 100% { background-position: 0% 50%, 100% 40%, 50% 100%, 0% 0%; } } @keyframes homelab-grid { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(6%, 0, 0); } } @keyframes gradient-animation { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } .homelab-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; letter-spacing: 0.03em; background: linear-gradient(270deg, var(--primary-color), var(--secondary-color), var(--tertiary-color), var(--primary-color-light), var(--primary-color), var(--secondary-color), var(--tertiary-color)); background-size: 800% 800%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: gradient-animation 25s ease infinite; } .homelab-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; } .homelab-buttons > a.homelab-btn { display: flex; align-items: center; justify-content: center; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, 0.10); border-radius: 12px; color: #ffffff; font-weight: 600; text-decoration: none; transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease; }