/* ============================================
   ReNet.dk — Decorations
   Orbs, mesh, background patterns
   ============================================ */

/* ---------- Hero Mesh / Grid ---------- */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}

/* ---------- Dot Pattern ---------- */
.dot-pattern {
    background-image: radial-gradient(circle, rgba(99, 102, 241, 0.12) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* ---------- Noise Overlay ---------- */
.noise-overlay {
    position: absolute;
    inset: 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.04'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    pointer-events: none;
    opacity: 0.3;
    z-index: 1;
}

/* ---------- Glowing Divider ---------- */
.glow-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
    opacity: 0.25;
    margin: 0;
}

/* ---------- Bg Circle (Hero) ---------- */
.bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

/* ---------- Particles Container ---------- */
.particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* ---------- Stats Section Decoration ---------- */
.stats-section {
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, transparent 65%);
    pointer-events: none;
}

/* ---------- Hero Network Lines SVG ---------- */
.hero-network-svg {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    max-width: 600px;
    opacity: 0.12;
    pointer-events: none;
    animation: float-y-slow 8s ease-in-out infinite;
    z-index: 1;
}

@media (max-width: 767px) {
    .hero-network-svg {
        display: none;
    }
}

/* ---------- Section Glow ---------- */
.section-glow {
    position: relative;
}

.section-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* ---------- Gradient Text Shimmer (Hero badge) ---------- */
.shimmer-text {
    background: linear-gradient(90deg,
            var(--accent-light) 0%,
            #fff 40%,
            var(--accent-light) 60%,
            #C084FC 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* ---------- Event Card Accent Left ---------- */
.timeline-item {
    position: relative;
    padding-left: var(--space-xl);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    opacity: 0.5;
}

/* ---------- Bottom Hero Gradient Fade ---------- */
.hero-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
    pointer-events: none;
    z-index: 3;
}

/* ---------- QR Code Glow Frame ---------- */
.qr-glow-frame {
    display: inline-block;
    padding: 4px;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.qr-glow-frame img {
    display: block;
    border-radius: calc(var(--radius-lg) - 2px);
}