/* Custom Styles */

/* Parallax Container */
.parallax-container {
    perspective: 1px;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.parallax-layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.parallax-base {
    transform: translateZ(0);
}

.parallax-back {
    transform: translateZ(-1px) scale(2);
    z-index: -1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0f172a; 
}
::-webkit-scrollbar-thumb {
  background: #334155; 
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569; 
}

/* Package Scroll Box Custom Scrollbar */
.pkg-scroll-box::-webkit-scrollbar {
    width: 6px;
}
.pkg-scroll-box::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
.pkg-scroll-box::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
}
.pkg-scroll-box::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Splash Screen */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #020617;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

#splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Loader Animation */
.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #fff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Glitch Effect Text (Optional for Rap Vibe) */
.glitch {
  position: relative;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.glitch::before {
  left: 2px;
  text-shadow: -1px 0 #ec4899; /* Changed to Pink for Tech Vibe */
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}
.glitch::after {
  left: -2px;
  text-shadow: -1px 0 #8b5cf6; /* Changed to Violet for Tech Vibe */
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% { clip: rect(13px, 9999px, 86px, 0); }
  5% { clip: rect(78px, 9999px, 14px, 0); }
  /* ... simplified for brevity ... */
  100% { clip: rect(65px, 9999px, 46px, 0); }
}

/* Button Shine Effect */
.btn-shine-pkg {
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: border-pulse 3s infinite;
}

.btn-shine-pkg::before {
    content: '';
    position: absolute;
    top: 0; 
    left: -100%; 
    width: 200%; 
    height: 100%;
    background: linear-gradient(
        to right, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    transform: skewX(-20deg);
    animation: shine-sweep 3s infinite linear;
    pointer-events: none;
    z-index: -1;
}

@keyframes shine-sweep {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

@keyframes border-pulse {
    0%, 100% { box-shadow: 0 0 0 0px rgba(236, 72, 153, 0); }
    50% { box-shadow: 0 0 15px 0px rgba(236, 72, 153, 0.4); }
}
