/* Reset */

root

* {
    margin: 0;
    padding: 0;

    font-family: 'Michroma', monospace;
}
body {
    background-color: #000;
    margin: 0;
    padding: 0;
    overflow-x: hidden; 
    min-height: 100vh;
}

/* Ukrycie customowego kursora na mobile */
.cursor, 
.cursor-dot {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}
/* Pre Loader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

.loading-container {
    position: relative;
    width: 85px;
    height: 85px;
}

.loading-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(0, 255, 255, 0.1);
    border-radius: 50%;
}

.circle-outer {
    border-top: 2px solid #0ff;
    animation: rotate 1.5s linear infinite;
}

.circle-middle {
    width: 80%;
    height: 80%;
    margin: 10%;
    border-right: 2px solid #0ff;
    animation: rotate 1s linear infinite reverse;
}

.circle-inner {
    width: 60%;
    height: 60%;
    margin: 20%;
    border-bottom: 2px solid #0ff;
    animation: rotate 0.8s linear infinite;
}

.slogan-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998;
    opacity: 0;
    font-family: monospace;
    background: transparent;
}

.slogan {
   font-size: clamp(0.6rem, 2vw, 1.5rem);
    color: #0ff;
    text-align: center;
    line-height: 1.5;
    position: relative;
    text-transform: uppercase;
    font-family: 'Michroma', sans-serif;
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    mix-blend-mode: screen;
    filter: blur(0px);
    font-weight: 600;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.slogan span {
    display: inline-block;
    opacity: 0;
    transform-origin: center;
    filter: blur(20px);
    text-shadow: 0 0 20px #0ff;
}

.loading-text {
    margin-top: 2rem;
    color: #0ff;
    font-size: clamp(1rem, 2vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    font-family: 'Michroma', sans-serif;
}

.percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0ff;
    font-size: clamp(0.650rem, 2vw, 1.5rem);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.loading-services {
    position: absolute;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0ff;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    font-family: 'Michroma', sans-serif;
    width: 100%;
    text-align: center;
    opacity: 0;
}
.cyber-scan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(0, 255, 255, 0.1),
        transparent 10%,
        transparent 90%,
        rgba(0, 255, 255, 0.1)
    );
    transform: scaleY(0);
    transform-origin: top;
}

.cyber-scan-line {
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(0, 255, 255, 0.2) 15%,
        rgba(0, 255, 255, 0.8) 50%,
        rgba(0, 255, 255, 0.2) 85%,
        transparent 100%
    );
    box-shadow: 
        0 0 15px rgba(0, 255, 255, 0.5),
        0 0 30px rgba(0, 255, 255, 0.3);
}



/* Periodic Scanline */




.periodic-scan-line {
    position: fixed;
    top: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg, 
        transparent, 
        #0ff, 
        transparent
    );
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8), 0 0 25px rgba(0, 255, 255, 0.6);
    z-index: 1005;
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.periodic-scan-line.active {
    animation: periodic-scan 2s linear forwards;
}

@keyframes periodic-scan {
    0% { 
        transform: translateY(-100%);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% { 
        transform: translateY(100vh); 
        opacity: 0;
    }
}
/* Cyber Grid */
.cyber-grid {
    position: fixed; /* Changed from absolute to fixed */
    top: 0;
    left: 0;
    width: 100vw; /* Using viewport units to ensure full width */
    height: 100vh; /* Using viewport units to ensure full height */
    background: 
        linear-gradient(to right, rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 20% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
    background-size: 20px 20px, 20px 20px, 100% 100%, 100% 100%;
    background-attachment: fixed; /* Ensures the background stays fixed */
    pointer-events: none;
    opacity: 0.5;
    left: 0;
    top: 0;
    z-index: -2;
}

.main-content {
    opacity: 0;
    width: 100vw;
    height: 100vh;
    position: relative;
    z-index: 1;
}

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1002;
    opacity: 0.5;
}

.container {
    position: fixed;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    overflow: hidden;
    z-index: 1;
    transition: filter 0.3s ease;
}

.cyber-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
}
/* Logo */
/* Logo Styles */
.logo {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1006;
    width: 150px;
    height: 50px;
    border: 1px solid #0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    color: #0ff;
    font-size: 10px;
    text-transform: uppercase;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.8) translateZ(-100px);
    transition: opacity 0.5s, transform 0.5s;
    transition-delay: 0.25s;
}

.menu-logo {
    opacity: 0;
    transform: scale(0.8);
}

.logo.active, .menu-logo.active {
    opacity: 1;
    transform: scale(1) translateZ(0);
}

.logo::before, .menu-logo::before {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    text-shadow: -1px 0 #f0f;
    top: 0;
    color: #0ff;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: noise-anim-2 3s infinite linear alternate-reverse;
}
.scanline {
    position: fixed;
    width: 100vw;
    height: 2px;
    background: linear-gradient(
        90deg, 
        transparent, 
        #0ff, 
        transparent
    );
    animation: scan 10s linear infinite;
    z-index: 100;
    opacity: 0.3;
}

@keyframes scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}
/* Menu Trigger Styles */
.menu-trigger {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #0ff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 1006;
    cursor: pointer;
    overflow: hidden;
    animation: borderGlow 2s infinite;
    opacity: 0;
    transform: scale(0.8) translateZ(-100px);
    transition: opacity 0.5s, transform 0.5s;
    transition-delay: 0.5s;
}

.menu-trigger.active {
    animation: none;
    border: 1px solid #0ff;
    box-shadow: 0 0 10px #0ff, inset 0 0 5px #0ff;
}

@keyframes borderGlow {
    0%, 100% { 
        box-shadow: 0 0 5px #0ff, inset 0 0 5px #0ff;
        border-color: #0ff;
    }
    50% { 
        box-shadow: 0 0 15px #0ff, inset 0 0 10px #0ff;
        border-color: #0ff;
    }
}

.menu-trigger::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 255, 255, 0.15),
        transparent
    );
    animation: scanEffect 2s linear infinite;
}

@keyframes scanEffect {
    0% { left: -100%; }
    100% { left: 100%; }
}

.menu-trigger span {
    width: 20px;
    height: 2px;
    background: #0ff;
    position: relative;
    transition: 0.3s;
    box-shadow: 0 0 8px #0ff;
}

.menu-trigger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    width: 24px;
}

.menu-trigger.active span:nth-child(2) {
    transform: translateX(50px);
    opacity: 0;
}

.menu-trigger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    width: 24px;
}

/* Animations */
@keyframes noise-anim-2 {
    0% { clip: rect(21px, 9999px, 49px, 0); }
    5% { clip: rect(27px, 9999px, 52px, 0); }
    10% { clip: rect(21px, 9999px, 70px, 0); }
    15% { clip: rect(65px, 9999px, 25px, 0); }
    20% { clip: rect(24px, 9999px, 10px, 0); }
    25% { clip: rect(61px, 9999px, 64px, 0); }
    30% { clip: rect(93px, 9999px, 23px, 0); }
    35% { clip: rect(68px, 9999px, 19px, 0); }
    40% { clip: rect(45px, 9999px, 16px, 0); }
    45% { clip: rect(94px, 9999px, 69px, 0); }
    50% { clip: rect(61px, 9999px, 59px, 0); }
}
/* System status */
.system-status {

    display: none;
   /*  position: fixed;
    top: 20px;
    right: 90px;
    z-index: 1006;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #0ff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 120px;
    opacity: 0;
    transform: scale(0.8) translateZ(-100px);*/
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-indicator {
    width: 5px;
    height: 5px;
    background: #0ff;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-text {
    font-size: 8px;
    color: #0ff;
}

/* Side menu */
.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: #000; 
    z-index: 1004;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: none; /* Usuwamy blur */
    overflow: visible;
    box-sizing: border-box;
    padding-top: 100px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 255, 255, 0.5) rgba(0, 0, 0, 0.2);
    will-change: transform;
}

.side-menu::-webkit-scrollbar {
    width: 6px;
}

.side-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.side-menu::-webkit-scrollbar-thumb {
    background-color: rgba(0, 255, 255, 0.5);
    border-radius: 3px;
}

.side-menu.active {
    transform: translateX(300px);
    border-right: 1px solid #0ff;
}

/* Menu items */
.menu-item {
    padding: 15px 20px;
    color: #0ff;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    position: relative;
    transition: all 0.6s ease;
    overflow: hidden;
    font-size: 11px;
}

.menu-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-title {
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 15px;
    position: relative;
    font-family: 'Michroma', sans-serif;
}

/* Glitch effect */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text:hover {
    animation: none;
}

.glitch-text:hover::before {
    content: attr(data-text);
    position: absolute;
    left: -2px;
    text-shadow: 2px 0 #ff00c1;
    top: 0;
    color: #0ff;
    background: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: noise-anim-2 3s infinite linear alternate-reverse;
    width: 100%;
}

.glitch-text:hover::after {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    text-shadow: -2px 0 #00ff00;
    top: 0;
    color: #0ff;
    background: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: noise-anim 2s infinite linear alternate-reverse;
    width: 100%;
}

.menu-item:hover {
    background: rgba(0, 255, 255, 0.1);
}

.item-status {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 8px;
    letter-spacing: 1px;
    padding: 0 10px;
    font-family:  'Michroma', sans-serif;
    opacity: 0.7;
}

.item-status-text {
    opacity: 0.7;
    text-transform: uppercase;
}

.menu-indicator {
    width: 6px;
    height: 6px;
    min-width: 6px;
    background: #0ff;
    border-radius: 50%;
    animation: menuPulse 2s infinite;
    margin-left: auto;
}

/* Dropdown content */
.dropdown-content {
    position: relative;
    max-height: 0;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.8);
    margin-top: 10px;
    opacity: 0;
    transform: translateY(-10px);
}

.menu-item.active .dropdown-content {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
}

/* Grid background */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 20px 20px,
                linear-gradient(0deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 20px 20px;
    pointer-events: none;
}

/* Wave effect */

.wave-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(0, 255, 255, 0) 0%,
        rgba(0, 255, 255, 0.1) 50%,
        rgba(0, 255, 255, 0) 100%);
    transform: translateY(-100%);
    pointer-events: none;
}

.dropdown-content.active .wave-effect {
    animation: wave 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
/* Dropdown items */
/* Add these styles to your CSS */
.dropdown-item {
    padding: 15px 25px;
    color: #0ff;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 255, 255, 0.05);
    font-size: 12px;
    display: block;
    overflow: hidden;
    cursor: pointer;
    background: transparent;
    font-family: 'Michroma', sans-serif;
    text-transform: uppercase;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: #0ff;
    transform: scaleY(0);
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px #0ff;
}

.dropdown-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0, 255, 255, 0.1), 
        transparent 20%, 
        transparent 80%, 
        rgba(0, 255, 255, 0.1));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(0, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    padding-left: 30px;
    color: #fff;
    text-shadow: 0 0 5px #0ff, 0 0 10px #0ff, 0 0 20px #0ff;
}

.dropdown-item:hover::before {
    transform: scaleY(1);
}

.dropdown-item:hover::after {
    transform: translateX(0);
}

.dropdown-item span {
    position: relative;
    z-index: 1;
    display: inline-block;
}

.glitch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 255, 0.1);
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: screen;
}

.scanline {
    position: absolute;
    width: 100%;
    height: 1px;
    background: rgba(0, 255, 255, 0.3);
    opacity: 0;
    box-shadow: 0 0 15px #0ff;
}
/* Progress bar */
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: #0ff;
    transition: width 0.8s ease;
}

.menu-item:hover .progress-bar {
    width: 100%;
}

/* Enhanced Random Effect Glitch menu */

@keyframes enhancedMenuGlitchEffect {
   0%, 100% {
       transform: translate(0);
       text-shadow: none;
       filter: none;
   }
   10% {
       transform: translate(-3px, 2px) skew(2deg);
       text-shadow: 2px 0 #ff00c1, -2px 0 #00ff00;
       filter: hue-rotate(90deg);
   }
   20% {
       transform: translate(3px, -2px) skew(-2deg);
       text-shadow: -2px 0 #ff00c1, 2px 0 #00ff00;
       filter: hue-rotate(180deg);
   }
   30% {
       transform: translate(-2px, 1px) scale(1.05);
       text-shadow: 1px 1px #0ff, -1px -1px #ff00c1;
       filter: brightness(1.2) contrast(1.2);
   }
   40% {
       transform: translate(2px, -1px) scale(0.95);
       text-shadow: -1px -1px #0ff, 1px 1px #ff00c1;
       filter: saturate(150%);
   }
   50% {
       transform: translate(-1px, -1px) rotate(1deg);
       text-shadow: 2px 2px #00ff00, -2px -2px #0ff;
       filter: invert(10%);
   }
   60% {
       transform: translate(1px, 1px) rotate(-1deg);
       text-shadow: -2px 2px #00ff00, 2px -2px #0ff;
       filter: blur(0.5px);
   }
   70% {
       transform: translate(-2px, 2px) skew(1deg);
       text-shadow: 3px 0 #ff00c1, -3px 0 #00ff00;
       filter: hue-rotate(270deg);
   }
   80% {
       transform: translate(2px, -2px) skew(-1deg);
       text-shadow: -3px 0 #ff00c1, 3px 0 #00ff00;
       filter: brightness(0.8) contrast(1.3);
   }
   90% {
       transform: translate(0) scale(1.02);
       text-shadow: 1px 1px #0ff, -1px -1px #ff00c1, 2px 2px #00ff00;
       filter: saturate(200%);
   }
}
.menu-container {
    position: relative;
    overflow: hidden;
}
.menu-item-random-glitch {
    animation: enhancedMenuGlitchEffect 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    width: 290px;
    box-sizing: border-box;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.menu-item-random-glitch::before,
.menu-item-random-glitch::after {
   content: '';
   position: absolute;
   inset: 0;
   background: rgba(0, 0, 0, 0.7);
   pointer-events: none;
}

.menu-item-random-glitch::before {
   left: 2px;
   text-shadow: -2px 0 #ff00c1;
   animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.menu-item-random-glitch::after {
   left: -2px;
   text-shadow: 2px 0 #00ff00;
   animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
   0% { clip-path: inset(20% 0 60% 0); }
   20% { clip-path: inset(40% 0 40% 0); }
   40% { clip-path: inset(60% 0 20% 0); }
   60% { clip-path: inset(20% 0 60% 0); }
   80% { clip-path: inset(40% 0 40% 0); }
   100% { clip-path: inset(60% 0 20% 0); }
}

@keyframes glitch-anim-2 {
   0% { clip-path: inset(60% 0 20% 0); }
   20% { clip-path: inset(20% 0 60% 0); }
   40% { clip-path: inset(40% 0 40% 0); }
   60% { clip-path: inset(60% 0 20% 0); }
   80% { clip-path: inset(20% 0 60% 0); }
   100% { clip-path: inset(40% 0 40% 0); }
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.20);
    z-index: 1003;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: none;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}
/* Social Media */
.social-media-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 20px;
    margin-top: auto;
    z-index: 1010;
    background: rgba(0, 0, 0, 0.8);
}

.social-icon {
    color: #0ff;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.social-icon svg {
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.5));
    stroke-width: 1.5;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.5), transparent);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: rgba(0, 0, 0, 0.5);
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover svg {
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.8));
    animation: socialGlitch 2s infinite;
}



/* Cursor */
.cursor {
    width: 30px;
    height: 30px;
    border: 2px solid #0ff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
    mix-blend-mode: screen;
}

.cursor::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid #0ff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: #0ff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.cursor-hover {
    width: 50px;
    height: 50px;
}

.cursor-click {
    width: 20px;
    height: 20px;
}

/* Scan Effect */
.scan-effect {
    position: fixed;
    left: 0;
    top: 0;
    width: 300px;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    z-index: 998;
}

.scan-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: #0ff;
    box-shadow: 
        0 0 10px #0ff,
        0 0 20px #0ff,
        0 0 30px #0ff;
    opacity: 0;
}

.scan-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    color: #0ff;
    font-family: 'Michroma', sans-serif;
    font-size: 0.8rem;
    white-space: nowrap;
    text-shadow: 0 0 10px #0ff;
    opacity: 0;
}

.scan-grid {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 20px 20px,
                linear-gradient(0deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 20px 20px;
    opacity: 0;
}
/*TEST--------------------------------*/


/* Blur Effect */
body.menu-active {
    overflow-x: hidden;
}

/* Elements to blur */

body.menu-active .cyber-grid-bg,

body.menu-active .main-content,

body.menu-active .periodic-scan-line,

body.menu-active .slogan-container {
    filter: blur(8px);
    opacity: 0.3;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animations */
@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

@keyframes menuPulse {
    0% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.7; transform: scale(1); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes glitch {
    0% { transform: translate(2px, 2px); }
    25% { transform: translate(-2px, -2px); }
    50% { transform: translate(2px, -2px); }
    75% { transform: translate(-2px, 2px); }
    100% { transform: translate(2px, 2px); }
}

@keyframes textGlitch {
    0% { clip-path: inset(0 0 0 0); }
    5% { clip-path: inset(30% 0 20% 0); }
    10% { clip-path: inset(0 0 0 0); }
    15% { clip-path: inset(10% 0 40% 0); }
    20% { clip-path: inset(0 0 0 0); }
    100% { clip-path: inset(0 0 0 0); }
}

@keyframes scanline {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes noise-anim {
    0% { clip: rect(51px, 9999px, 28px, 0); }
    5% { clip: rect(70px, 9999px, 19px, 0); }
    10% { clip: rect(92px, 9999px, 13px, 0); }
    15% { clip: rect(85px, 9999px, 49px, 0); }
    20% { clip: rect(45px, 9999px, 56px, 0); }
    25% { clip: rect(26px, 9999px, 31px, 0); }
    30% { clip: rect(62px, 9999px, 73px, 0); }
    35% { clip: rect(34px, 9999px, 11px, 0); }
    40% { clip: rect(26px, 9999px, 61px, 0); }
    45% { clip: rect(34px, 9999px, 71px, 0); }
    50% { clip: rect(35px, 9999px, 69px, 0); }
}

@keyframes noise-anim-2 {
    0% { clip: rect(21px, 9999px, 49px, 0); }
    5% { clip: rect(27px, 9999px, 52px, 0); }
    10% { clip: rect(21px, 9999px, 70px, 0); }
    15% { clip: rect(65px, 9999px, 25px, 0); }
    20% { clip: rect(24px, 9999px, 10px, 0); }
    25% { clip: rect(61px, 9999px, 64px, 0); }
    30% { clip: rect(93px, 9999px, 23px, 0); }
    35% { clip: rect(68px, 9999px, 19px, 0); }
    40% { clip: rect(45px, 9999px, 16px, 0); }
    45% { clip: rect(94px, 9999px, 69px, 0); }
    50% { clip: rect(61px, 9999px, 59px, 0); }
}

@keyframes wave {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes socialGlitch {
    0% {
        transform: translate(0);
        opacity: 1;
    }
    2% {
        transform: translate(-3px, 3px);
        opacity: 0.8;
    }
    4% {
        transform: translate(3px, -3px);
        opacity: 0.9;
    }
    6% {
        transform: translate(0);
        opacity: 1;
    }
    100% {
        transform: translate(0);
        opacity: 1;
    }
}



/*Page Transiition Style*/


/* Nowe style dla animacji cofania */
.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    display: none;
    overflow: hidden;
}

.transition-scan-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(0, 255, 255, 0.8),
        rgba(0, 255, 255, 0.8),
        transparent
    );
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    transform: translateY(-50%);
}

.transition-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 20px 20px,
        linear-gradient(0deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 20px 20px;
    opacity: 0;
}

.container777{


    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  
    color: #0ff;
    font-size: 2rem;
    font-family: 'Michroma', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Content */



/* Test ----------------------------------*/
/* Hero Section - Main container */
.cyber-hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Hero Container - main content container */
.hero-container {
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
    z-index: 2;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left side styling - text */
.hero-text-container {
    text-align: left;
    opacity: 0;
    transform: translateX(-50px);
}

.hero-title {
    font-family: 'Michroma', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    line-height: 1.3;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-glitch-text {
    position: relative;
    display: block;
    color: #fff;
    margin-bottom: 8px;
}

.hero-glitch-text::before,
.hero-glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.hero-glitch-text::before {
    color: #0ff;
    z-index: -1;
    animation: hero-glitch-anim 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    animation-delay: 0.1s;
}

.hero-glitch-text::after {
    color: #f0f;
    z-index: -2;
    animation: hero-glitch-anim 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
    animation-delay: 0.2s;
}

@keyframes hero-glitch-anim {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-3px, 3px);
    }
    40% {
        transform: translate(-3px, -3px);
    }
    60% {
        transform: translate(3px, 3px);
    }
    80% {
        transform: translate(3px, -3px);
    }
    100% {
        transform: translate(0);
    }
}

.hero-holographic-text {
    display: block;
    background: linear-gradient(90deg, 
        #0ff, 
        #f0f, 
        #ff0
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: hero-holographic-text-animation 4s linear infinite;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

@keyframes hero-holographic-text-animation {
    to {
        background-position: 200% center;
    }
}

.hero-description {
    font-family: 'Michroma', sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 500px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-buttons-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
 }
 
 .hero-button-primary {
    font-family: 'Michroma', sans-serif;
    background: linear-gradient(90deg, 
        #0EA5E9,    /* neon-blue */
        #DB2777     /* cyber-pink */
    );
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
 
 .hero-button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.4s ease;
 }
 
 .hero-button-primary:hover {
    color: #fff; 
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
 }
 
 .hero-button-primary:hover::before {
    left: 100%;
 }
 
 .hero-button-secondary {
    font-family: 'Michroma', sans-serif;
    background: transparent;
    color: #0ff;
    border: 1px solid #0ff;
    padding: 12px 24px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    transition: all 0.3s ease;
 }
 
 .hero-button-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transition: all 0.4s ease;
 }
 
 .hero-button-secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    transform: translateY(-3px);
 }
 
 .hero-button-secondary:hover::before {
    left: 100%;
 }

/* Right side styling - 3D logo */
.hero-logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 400px;
    perspective: 1000px;
    opacity: 0;
    transform: translateX(50px);
}

.hero-logo-hologram {
    position: relative;
    width: 300px;
    height: 300px;
    transform-style: preserve-3d;
    animation: hero-float 6s ease-in-out infinite;
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    25% { transform: translateY(-15px) rotateY(90deg); }
    50% { transform: translateY(0) rotateY(180deg); }
    75% { transform: translateY(15px) rotateY(270deg); }
}

.hero-logo-hologram::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0, 255, 255, 0.5) 0%, transparent 70%);
    filter: blur(10px);
    opacity: 0.7;
    animation: hero-pulse 4s ease-in-out infinite;
}

@keyframes hero-pulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scale(1.2); }
}

.hero-logo-3d {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: hero-rotate 20s linear infinite;
}

@keyframes hero-rotate {
    0% { transform: rotateY(0) rotateX(10deg); }
    100% { transform: rotateY(360deg) rotateX(10deg); }
}

/* Temporary cube placeholder for 3D logo */
.hero-logo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.hero-cube {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.hero-cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid #0ff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3) inset;
    backface-visibility: visible;
    opacity: 0.8;
}

.hero-cube-front {
    transform: translateZ(100px);
}

.hero-cube-back {
    transform: rotateY(180deg) translateZ(100px);
}

.hero-cube-left {
    transform: rotateY(-90deg) translateZ(100px);
}

.hero-cube-right {
    transform: rotateY(90deg) translateZ(100px);
}

.hero-cube-top {
    transform: rotateX(90deg) translateZ(100px);
}

.hero-cube-bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

.hero-logo-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 0%, transparent 70%);
    animation: hero-glow 2s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes hero-glow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.1); }
}

.hero-logo-reflection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0) 0%, rgba(0, 255, 255, 0.1) 50%, rgba(0, 255, 255, 0) 100%);
    animation: hero-reflection 8s linear infinite;
    pointer-events: none;
}

@keyframes hero-reflection {
    0% { transform: rotate(0deg) scale(1.5); opacity: 0; }
    20% { opacity: 0.5; }
    80% { opacity: 0.5; }
    100% { transform: rotate(360deg) scale(1.5); opacity: 0; }
}

/* Animations for elements on page load */
.hero-reveal-element {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Responsiveness */
@media (max-width: 992px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text-container {
        order: 1;
        text-align: center;
    }
    
    .hero-logo-container {
        order: 0;
        height: 300px;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons-container {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-container {
        padding: 0 20px;
    }
    
    .hero-buttons-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-logo-hologram {
        width: 220px;
        height: 220px;
    }
    
    .hero-cube-face {
        width: 150px;
        height: 150px;
    }
    
    .hero-cube-front {
        transform: translateZ(75px);
    }
    
    .hero-cube-back {
        transform: rotateY(180deg) translateZ(75px);
    }
    
    .hero-cube-left {
        transform: rotateY(-90deg) translateZ(75px);
    }
    
    .hero-cube-right {
        transform: rotateY(90deg) translateZ(75px);
    }
    
    .hero-cube-top {
        transform: rotateX(90deg) translateZ(75px);
    }
    
    .hero-cube-bottom {
        transform: rotateX(-90deg) translateZ(75px);
    }
}

/* Page Tranisiton ----------------------------------*/

/* Page Transition Styles */
#page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    display: none;
    transition: opacity 0.2s ease-in;
}

#page-transition-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0, 255, 255, 0.6),
        rgba(0, 255, 255, 0.9) 50%,
        rgba(0, 255, 255, 0.6)
    );
    box-shadow: 
        0 0 15px rgba(0, 255, 255, 0.5),
        0 0 30px rgba(0, 255, 255, 0.3);
    transition: width 0.3s ease-out;
}

#page-transition-scanline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        transparent 10%,
        rgba(0, 255, 255, 0.5) 50%,
        transparent 90%
    );
    animation: scan-pulse 0.5s linear infinite;
}

#page-transition-scanline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(0, 255, 255, 0.1) 0px,
            rgba(0, 255, 255, 0.1) 1px,
            transparent 1px,
            transparent 3px
        );
}

#page-transition-overlay.backward #page-transition-scanline {
    left: auto;
    right: 0;
}

/* Grid overlay for transition effect */
#page-transition-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 20px 20px,
        linear-gradient(0deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 20px 20px;
    opacity: 0;
    transition: opacity 0.2s ease-in;
}

/* Glitch effects for transitions */
#page-transition-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, 
            transparent 0%, 
            rgba(255, 0, 255, 0.05) 45%, 
            transparent 50%, 
            rgba(0, 255, 255, 0.05) 55%, 
            transparent 100%
        );
    background-size: 200% 100%;
    opacity: 0;
    mix-blend-mode: screen;
    animation: glitch-transition 0.3s linear forwards;
    animation-play-state: paused;
}

@keyframes glitch-transition {
    0% {
        background-position: 0% 0;
        opacity: 0;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        background-position: 200% 0;
        opacity: 0;
    }
}

@keyframes scan-pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

body.is-transitioning {
    overflow: hidden;
}

/* Animation for scan effect */
@keyframes scan-horizontal {
    0% { width: 0%; opacity: 1; }
    90% { width: 100%; opacity: 1; }
    100% { width: 100%; opacity: 0; }
}

/* Small digital noise for scan effect */
@keyframes digital-noise {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
}

/* Grid animation */
@keyframes grid-pulse {
    0%, 100% { opacity: 0.03; }
    50% { opacity: 0.06; }
}

/* Make sure transitions work in all browsers */
@supports (backdrop-filter: blur(5px)) {
    #page-transition-overlay {
        backdrop-filter: blur(1px);
        background-color: rgba(0, 0, 0, 0.9);
    }
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    #page-transition-scanline {
        height: 100vh;
    }
    
    @keyframes scan-horizontal {
        0% { width: 0%; opacity: 1; }
        95% { width: 100%; opacity: 1; }
        100% { width: 100%; opacity: 0; }
    }
}