/* =============== GLOBAL STYLES =============== */
:root {
    /* Primary Colors */
    --primary-color: #7000ff;
    --primary-light: #9e42ff;
    --primary-dark: #4a00b0;
    
    /* Secondary Colors */
    --secondary-color: #00c2ff;
    --secondary-light: #57e3ff;
    --secondary-dark: #0099cc;
    
    /* Accent Colors */
    --accent-color: #ff003c;
    --accent-light: #ff4775;
    --accent-dark: #c80030;
    
    /* Neutral Colors */
    --dark-color: #111122;
    --darker-color: #070714;
    --light-color: #f8f9fa;
    --gray-color: #9da4af;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-dark: linear-gradient(135deg, var(--darker-color) 0%, var(--dark-color) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(112, 0, 255, 0.6) 0%, rgba(0, 194, 255, 0.6) 100%);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 15px 25px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    
    /* Typography */
    --font-main: 'Rajdhani', sans-serif;
    --font-secondary: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Other */
    --border-radius: 8px;
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700;800&family=Rajdhani:wght@300;400;500;600;700&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--darker-color);
    color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--light-color);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary-light);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.highlight {
    color: var(--primary-light);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

section {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* =============== 3D BACKGROUND CANVAS =============== */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* =============== PRELOADER =============== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--darker-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity var(--transition-medium);
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.logo-text {
    font-family: var(--font-secondary);
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    animation: pulse 2s infinite;
}

.logo-subtext {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--secondary-color);
    letter-spacing: 8px;
    margin-top: -10px;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.loading-progress {
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.5s ease;
}

@keyframes pulse {
    0% {
        text-shadow: 0 0 10px rgba(112, 0, 255, 0.7),
                     0 0 20px rgba(112, 0, 255, 0.5),
                     0 0 30px rgba(112, 0, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(112, 0, 255, 0.9),
                     0 0 30px rgba(112, 0, 255, 0.7),
                     0 0 40px rgba(112, 0, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 10px rgba(112, 0, 255, 0.7),
                     0 0 20px rgba(112, 0, 255, 0.5),
                     0 0 30px rgba(112, 0, 255, 0.3);
    }
}

/* =============== NAVIGATION =============== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-md) 0;
    transition: all var(--transition-fast);
    background-color: transparent;
}

.main-nav.scrolled {
    background-color: rgba(7, 7, 20, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-sm) 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.logo {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: flex;
    align-items: center;
}

.logo::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0.6;
    animation: rotate 10s linear infinite;
}

.logo::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    opacity: 0.4;
    animation: rotate 15s linear infinite reverse;
}

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

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--light-color);
    margin: 5px 0;
    transition: var(--transition-fast);
    border-radius: 3px;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-links li a {
    color: var(--light-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    padding: var(--spacing-xs) 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-fast);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

/* =============== HERO SECTION =============== */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--darker-color) 0%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 var(--spacing-lg);
}

.glitch-text {
    position: relative;
    display: inline-block;
    font-size: 4.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--light-color);
    text-shadow: 0 0 10px rgba(112, 0, 255, 0.7);
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-text::before {
    color: var(--accent-color);
    z-index: -1;
    animation: glitch-animation 3s infinite alternate-reverse;
}

.glitch-text::after {
    color: var(--secondary-color);
    z-index: -2;
    animation: glitch-animation 2s infinite alternate;
}

@keyframes glitch-animation {
    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);
    }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--gray-color);
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 300;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    transition: all var(--transition-fast);
}

.primary-btn {
    color: var(--light-color);
    border: none;
    box-shadow: 0 5px 15px rgba(112, 0, 255, 0.4);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(112, 0, 255, 0.6);
    color: var(--light-color);
}

.secondary-btn {
    color: var(--light-color);
    border: 2px solid var(--primary-color);
    background: transparent;
}

.secondary-btn::before {
    opacity: 0;
}

.secondary-btn:hover {
    color: var(--light-color);
    border-color: transparent;
    transform: translateY(-3px);
}

.secondary-btn:hover::before {
    opacity: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    opacity: 0.8;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--light-color);
    border-radius: 20px;
    position: relative;
    margin-bottom: var(--spacing-sm);
}

.wheel {
    width: 6px;
    height: 6px;
    background-color: var(--light-color);
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel 1.5s infinite;
}

@keyframes wheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

.arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--light-color);
    border-right: 2px solid var(--light-color);
    transform: rotate(45deg);
    animation: arrow 1.5s infinite;
    opacity: 0;
}

.arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes arrow {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* =============== OFFERING SECTION =============== */
.offering {
    background-color: var(--dark-color);
    position: relative;
    z-index: 2;
    padding: var(--spacing-xl) 0;
}

.offering::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/grid.png');
    background-size: cover;
    opacity: 0.05;
    z-index: -1;
}

.offering::after {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent 0%, var(--dark-color) 100%);
    z-index: 1;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 400px;
    perspective: 1000px;
    position: relative;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-front {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
}

.card-back {
    background: linear-gradient(145deg, rgba(7, 7, 20, 0.9) 0%, rgba(17, 17, 34, 0.95) 100%);
    transform: rotateY(180deg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-md);
}

.card-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
    color: var(--light-color);
}

.card-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-primary);
    z-index: -1;
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
    0% {
        box-shadow: 0 0 0 0 rgba(112, 0, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(112, 0, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(112, 0, 255, 0);
    }
}

.card h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.5rem;
}

.card p {
    color: var(--gray-color);
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
}

.price {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-top: auto;
    position: relative;
    display: inline-block;
}

.price::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
}

.discount {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-light);
    margin-top: var(--spacing-xs);
    text-decoration: line-through;
    opacity: 0.8;
}

.card-back ul {
    text-align: left;
    margin-bottom: var(--spacing-lg);
    width: 100%;
}

.card-back ul li {
    margin-bottom: var(--spacing-xs);
    position: relative;
    padding-left: 25px;
    font-size: 0.9rem;
}

.card-back ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.card.featured {
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 194, 255, 0.2);
}

.card.featured .card-icon::before {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.card.premium {
    border: 1px solid rgba(112, 0, 255, 0.2);
}

.card.premium .card-icon::before {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.card.ultimate {
    border: 1px solid rgba(255, 0, 60, 0.2);
}

.card.ultimate .card-icon::before {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.card.special {
    border: 1px solid rgba(0, 194, 255, 0.4);
    transform: scale(1.03);
    z-index: 3;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    animation: glow-pulse 3s infinite alternate;
}

.card.special .card-icon::before {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    animation: pulse-icon 2s infinite, rotate-hue 8s linear infinite;
}

@keyframes glow-pulse {
    0% {
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }
    100% {
        box-shadow: 0 15px 30px rgba(112, 0, 255, 0.2), 0 0 15px rgba(0, 194, 255, 0.3);
    }
}

@keyframes rotate-hue {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

/* =============== ABOUT SECTION =============== */
.about {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
    background-color: var(--darker-color);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 10%, rgba(112, 0, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.about-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.about-content {
    text-align: left;
}

.about-content p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.about-image {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-cube {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 20s linear infinite;
}

.floating-cube::before,
.floating-cube::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.5);
    animation: pulse-cube 2s infinite alternate;
}

.floating-cube::before {
    transform: rotateX(45deg) rotateY(45deg);
    border-color: var(--primary-color);
}

.floating-cube::after {
    transform: rotateX(-45deg) rotateY(-45deg);
    border-color: var(--secondary-color);
}

@keyframes rotate-cube {
    0% {
        transform: rotate3d(1, 1, 1, 0deg);
    }
    100% {
        transform: rotate3d(1, 1, 1, 360deg);
    }
}

@keyframes pulse-cube {
    0% {
        opacity: 0.5;
        box-shadow: 0 0 10px rgba(112, 0, 255, 0.3);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 30px rgba(112, 0, 255, 0.8);
    }
}

/* =============== SCRIPTS PREVIEW SECTION =============== */
.scripts-preview {
    background-color: var(--dark-color);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

.scripts-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/grid.png');
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.scripts-counter {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.counter {
    text-align: center;
}

.counter-value {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: var(--spacing-xs);
    position: relative;
    display: inline-block;
    text-shadow: 0 0 10px rgba(112, 0, 255, 0.5);
}

.counter-value::after {
    content: '+';
    font-size: 2rem;
    position: absolute;
    top: 0;
    right: -20px;
}

.counter-label {
    font-size: 1rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
}

.scripts-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto var(--spacing-xl);
}

.category-card {
    background: rgba(7, 7, 20, 0.5);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    text-align: center;
    transition: transform var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(5px);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(112, 0, 255, 0.2);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-light);
}

.category-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.category-card p {
    color: var(--gray-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cta-container {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* =============== CONTACT SECTION =============== */
.contact {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
    background-color: var(--darker-color);
    perspective: 1000px;
    transform-style: preserve-3d;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 90% 10%, rgba(0, 194, 255, 0.1) 0%, transparent 60%);
    z-index: 0;
    animation: pulse-glow 4s infinite alternate;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
}

/* Contact 3D Header */
.contact-header-3d {
    text-align: center;
    margin-bottom: 3rem;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: translateZ(20px);
    text-shadow: 0 0 15px rgba(112, 0, 255, 0.5);
    position: relative;
}

.contact-title .highlight-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    position: relative;
    display: inline-block;
}

.contact-title .highlight-gradient::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    animation: width-pulse 3s infinite alternate;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    transform: translateZ(10px);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    transform-style: preserve-3d;
}

.info-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    z-index: 1;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(112, 0, 255, 0.1) 0%, rgba(0, 194, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--border-radius);
    z-index: -1;
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.3), 0 0 40px rgba(0, 194, 255, 0.2);
}

.info-card:hover {
    transform: translateY(-5px) translateZ(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(112, 0, 255, 0.2);
    border-color: rgba(112, 0, 255, 0.3);
}

.info-card:hover .card-glow {
    opacity: 1;
    animation: pulse-glow 2s infinite alternate;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-bottom: var(--spacing-sm);
    position: relative;
    transform: translateZ(20px);
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: rgba(112, 0, 255, 0.1);
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.3);
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    transform: translateZ(30px) scale(1.1);
    color: #fff;
    background: rgba(112, 0, 255, 0.2);
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.5);
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    transform: translateZ(15px);
    transition: all 0.3s ease;
    color: #fff;
}

.info-card:hover h3 {
    color: var(--primary-light);
    text-shadow: 0 0 5px rgba(112, 0, 255, 0.5);
}

.info-card p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 0;
    transform: translateZ(10px);
    transition: all 0.3s ease;
}

.info-card:hover p {
    color: #bbb;
}

.contact-form-container {
    perspective: 1000px;
}

.form-3d-container {
    background: rgba(20, 20, 30, 0.8);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    border: 1px solid rgba(112, 0, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.form-glow-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--border-radius);
    z-index: -1;
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.3), 0 0 40px rgba(0, 194, 255, 0.2);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.form-3d-container:hover .form-glow-border {
    opacity: 1;
    animation: pulse-glow 2s infinite alternate;
}

.form-group {
    margin-bottom: var(--spacing-md);
    position: relative;
    transform-style: preserve-3d;
    z-index: 1;
}

.form-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    z-index: 2;
}

.form-group input:focus ~ .form-highlight,
.form-group textarea:focus ~ .form-highlight,
.form-group select:focus ~ .form-highlight {
    width: 100%;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(20, 20, 30, 0.5);
    border: 1px solid rgba(112, 0, 255, 0.2);
    border-radius: var(--border-radius);
    color: var(--light-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) inset;
    backdrop-filter: blur(5px);
    transform: translateZ(0);
}

.search-container {
    position: relative;
    width: 100%;
    margin-bottom: 50px;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    background-color: rgba(30, 30, 40, 0.7);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.3);
}

.search-input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.4);
    outline: none;
}

.clear-search-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 10;
}

.clear-search-btn:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.search-spinner {
    position: absolute;
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-size: 1.2rem;
    z-index: 9;
}

.search-results-info {
    text-align: center;
    margin-top: 0.5rem;
}

.search-results-count {
    font-size: 0.9rem;
    color: var(--primary-color);
    display: none;
    padding: 0.5rem 1rem;
    background: rgba(112, 0, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(112, 0, 255, 0.2);
}

.search-match {
    animation: searchHighlight 1s ease;
}

@keyframes searchHighlight {
    0% { box-shadow: 0 0 0 rgba(112, 0, 255, 0); }
    50% { box-shadow: 0 0 20px rgba(112, 0, 255, 0.7); }
    100% { box-shadow: 0 0 0 rgba(112, 0, 255, 0); }
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    transform: translateZ(5px);
    outline: none;
    background: rgba(20, 20, 30, 0.7);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.3);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239da4af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(112, 0, 255, 0.2);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--gray-color);
    transition: all 0.3s ease;
    pointer-events: none;
    font-size: 1rem;
    z-index: 1;
    transform: translateZ(0);
    padding: 0 0.5rem;
    border-radius: 4px;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group select:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:not([value=""]):not(:focus) ~ label {
    top: -0.7rem;
    left: 0.5rem;
    font-size: 0.8rem;
    color: var(--primary-light);
    background: rgba(20, 20, 30, 0.8);
    padding: 0 0.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 0 5px rgba(112, 0, 255, 0.5);
    transform: translateZ(5px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select::placeholder {
    color: transparent;
}

/* Custom Submit Button */
.submit-btn {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(112, 0, 255, 0.3);
    transform-style: preserve-3d;
    transform: translateZ(0);
    z-index: 2;
    width: 100%;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.submit-btn:hover {
    transform: translateY(-5px) translateZ(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(112, 0, 255, 0.5);
}

.submit-btn:hover::before {
    opacity: 1;
}

.submit-btn:active {
    transform: translateY(2px) translateZ(0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(112, 0, 255, 0.3);
}

.btn-text {
    position: relative;
    z-index: 2;
    transform: translateZ(5px);
    letter-spacing: 1px;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transform: translateZ(10px);
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateZ(15px) translateX(5px);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(112, 0, 255, 0.5), rgba(0, 194, 255, 0.5));
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.submit-btn:hover .btn-glow {
    opacity: 0.7;
}

/* Form Success Message */
.form-success-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 30, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    transform: translateY(100%) translateZ(0);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.form-success-message.show {
    transform: translateY(0) translateZ(0);
    opacity: 1;
}

.success-icon {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1rem;
    transform: translateZ(20px);
}

.form-success-message h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
    transform: translateZ(15px);
}

.form-success-message p {
    color: var(--gray-color);
    text-align: center;
    transform: translateZ(10px);
}

/* Contact 3D Elements */
.contact-3d-objects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.contact-cube1 {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(112, 0, 255, 0.2), rgba(0, 194, 255, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    animation: float-rotate 20s infinite linear;
    box-shadow: 0 0 30px rgba(112, 0, 255, 0.3);
}

.contact-cube2 {
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.1), rgba(112, 0, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    animation: float-rotate 30s infinite linear reverse;
    box-shadow: 0 0 40px rgba(0, 194, 255, 0.3);
}

.contact-sphere {
    position: absolute;
    top: 30%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.2) 0%, rgba(0, 194, 255, 0.2) 100%);
    border-radius: 50%;
    animation: float-up-down 10s infinite ease-in-out;
    box-shadow: 0 0 50px rgba(112, 0, 255, 0.3);
}

.glowing-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    box-shadow: 0 0 30px rgba(112, 0, 255, 0.5);
    opacity: 0.7;
    filter: blur(5px);
}

.contact-orb1 {
    top: 15%;
    right: 30%;
    width: 50px;
    height: 50px;
    animation: pulse-scale 5s infinite alternate ease-in-out;
}

.contact-orb2 {
    bottom: 25%;
    left: 25%;
    width: 70px;
    height: 70px;
    animation: pulse-scale 7s infinite alternate-reverse ease-in-out;
}

/* Animation for glowing elements */
@keyframes pulse-glow {
    0% {
        opacity: 0.5;
        box-shadow: 0 0 10px rgba(112, 0, 255, 0.3), 0 0 20px rgba(0, 194, 255, 0.2);
    }
    100% {
        opacity: 0.8;
        box-shadow: 0 0 20px rgba(112, 0, 255, 0.5), 0 0 40px rgba(0, 194, 255, 0.3);
    }
}

@keyframes width-pulse {
    0% {
        width: 0%;
        opacity: 0.5;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

/* Contact page specific responsive styles */
@media (max-width: 768px) {
    .contact-title {
        font-size: 2.5rem;
    }
    
    .contact-info {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1.2rem;
    }
    
    .form-3d-container {
        padding: var(--spacing-md);
    }
    
    .contact-3d-objects {
        display: none;
    }
}

/* =============== FOOTER =============== */
.footer {
    background-color: var(--dark-color);
    padding-top: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: var(--spacing-sm);
}

.footer-logo p {
    font-size: 0.9rem;
    color: var(--gray-color);
    font-family: var(--font-body);
    font-weight: 400;
    margin-top: var(--spacing-sm);
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    color: var(--gray-color);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-contact ul li {
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-contact ul li i {
    color: var(--primary-light);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding: var(--spacing-md) 0;
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* =============== SCRIPTS PAGE =============== */
.scripts-list {
    padding: var(--spacing-xl) 0;
    background-color: var(--darker-color);
    min-height: 100vh;
}

.scripts-header {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    text-align: center;
    padding: 0 var(--spacing-lg);
}

.scripts-header h1 {
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.scripts-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-primary);
}

.scripts-header p {
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.scripts-filter {
    max-width: 1200px;
    margin: 0 auto var(--spacing-lg);
    padding: 0 var(--spacing-lg);
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--gray-color);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.view-more-btn {
    background: linear-gradient(145deg, rgba(112, 0, 255, 0.2), rgba(0, 194, 255, 0.2));
    color: white;
    border: 1px solid rgba(112, 0, 255, 0.5);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(112, 0, 255, 0.3);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: translateZ(0);
    z-index: 2;
    width: 100%;
}

.view-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(112, 0, 255, 0.4) 0%, rgba(0, 194, 255, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 30px;
    z-index: -1;
}

.view-more-btn:hover {
    transform: translateY(-3px) translateZ(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(112, 0, 255, 0.5);
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.view-more-btn:hover::before {
    opacity: 1;
}

.view-more-btn:active {
    transform: translateY(1px) translateZ(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2), 0 0 5px rgba(112, 0, 255, 0.3);
}

.view-more-btn i {
    transition: transform 0.3s ease;
}

.view-more-btn:hover i {
    transform: translateY(2px);
}

.view-more-btn.active i {
    transform: rotate(180deg);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(112, 0, 255, 0.2);
    overflow: hidden;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--light-color);
    font-size: 1rem;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(112, 0, 255, 0.2);
}

.search-box i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
    z-index: 2;
    text-shadow: 0 0 10px rgba(112, 0, 255, 0.7);
}

.scripts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.creator-section {
    margin-bottom: var(--spacing-xl);
}

.creator-title {
    font-size: 1.5rem;
    color: var(--light-color);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    display: inline-block;
}

.creator-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.script-card {
    position: relative;
    background: rgba(20, 20, 30, 0.7);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(103, 0, 255, 0.1) inset;
    border: 1px solid rgba(100, 100, 255, 0.1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.glow-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    pointer-events: none;
    box-shadow: 0 0 15px var(--border-color, rgba(103, 0, 255, 0.5)), 0 0 30px rgba(0, 194, 255, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.script-card:hover .glow-border {
    opacity: 1;
    animation: pulseBorder 2s infinite alternate;
}

.script-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.script-info {
    flex-grow: 1;
}

.script-name {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--light-color);
}

.script-creator {
    font-size: 0.8rem;
    color: var(--primary-light);
    margin-bottom: var(--spacing-sm);
    display: block;
}

.script-description {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: var(--spacing-md);
}

.script-price {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: auto;
}

.script-price.unknown {
    color: var(--accent-light);
    opacity: 0.8;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
}

/* =============== RESPONSIVE STYLES =============== */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .glitch-text {
        font-size: 3.5rem;
    }
    
    .counter-value {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: rgba(7, 7, 20, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        gap: var(--spacing-md);
        transition: right var(--transition-medium);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1000;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .card.featured {
        transform: scale(1);
    }
    
    .card {
        height: 350px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .glitch-text {
        font-size: 2.8rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .scripts-counter {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .footer-content {
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .footer-links h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact ul li {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .glitch-text {
        font-size: 2.2rem;
    }
    
    .filter-controls {
        justify-content: center;
    }
    
    .search-box {
        margin: 0 auto var(--spacing-md);
    }
    
    .scripts-grid {
        grid-template-columns: 1fr;
    }
    
    .card {
        height: auto;
    }
    
    .card-inner {
        min-height: 350px;
    }
}

/* Enhanced 3D Effects for Scripts Page */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.script-3d-objects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.floating-cube {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(112, 0, 255, 0.05);
    border: 1px solid rgba(112, 0, 255, 0.3);
    transform-style: preserve-3d;
    animation: float-rotate 20s infinite linear;
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.2);
}

.cube1 {
    top: 15%;
    left: 10%;
    animation-duration: 25s;
}

.cube2 {
    bottom: 20%;
    right: 15%;
    width: 200px;
    height: 200px;
    animation-duration: 30s;
    animation-direction: reverse;
}

.floating-sphere {
    position: absolute;
    top: 40%;
    left: 20%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 194, 255, 0.1), rgba(0, 194, 255, 0.05));
    border: 1px solid rgba(0, 194, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 194, 255, 0.2);
    animation: float-pulse 8s infinite ease-in-out;
}

.floating-pyramid {
    position: absolute;
    bottom: 35%;
    left: 75%;
    width: 120px;
    height: 120px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: linear-gradient(to bottom, rgba(255, 0, 60, 0.1), rgba(255, 0, 60, 0.05));
    border: 1px solid rgba(255, 0, 60, 0.2);
    animation: float-up-down 12s infinite ease-in-out;
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.2);
}

.floating-torus {
    position: absolute;
    top: 70%;
    left: 40%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 15px solid rgba(0, 194, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.3), inset 0 0 15px rgba(0, 194, 255, 0.3);
    animation: float-rotate-3d 15s infinite linear;
}

.scripts-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 6rem;
}

.scripts-counter-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.counter-item {
    text-align: center;
}

.counter-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(20, 20, 30, 0.7);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    position: relative;
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.5);
    z-index: 1;
    overflow: hidden;
}

/* Make total scripts counter even larger */
.counter-item:first-child .counter-circle {
    width: 180px;
    height: 180px;
}

.counter-item:first-child .counter-value {
    font-size: 4rem;
}

.counter-circle::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1px solid rgba(112, 0, 255, 0.3);
    animation: pulse-circle 2s infinite;
}

.highlight-gradient {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    position: relative;
}

.highlight-gradient::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
}

/* Animation Keyframes for 3D Effects */
@keyframes float-rotate {
    0% {
        transform: rotate3d(1, 1, 1, 0deg);
    }
    100% {
        transform: rotate3d(1, 1, 1, 360deg);
    }
}

@keyframes float-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes float-up-down {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes float-rotate-3d {
    0% {
        transform: rotate3d(0.5, 1, 0.2, 0deg);
    }
    100% {
        transform: rotate3d(0.5, 1, 0.2, 360deg);
    }
}

@keyframes pulse-circle {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

/* Enhanced Animations for Script Cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) translateZ(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

@keyframes pulseBorder {
    0% {
        box-shadow: 0 0 15px var(--border-color, rgba(103, 0, 255, 0.5)), 0 0 30px rgba(0, 194, 255, 0.3);
    }
    100% {
        box-shadow: 0 0 25px var(--border-color, rgba(103, 0, 255, 0.7)), 0 0 50px rgba(0, 194, 255, 0.5);
    }
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }
    100% {
        transform: translateY(-20px) translateX(10px) scale(1.5);
        opacity: 0.7;
    }
}

@keyframes cardReveal {
    0% {
        opacity: 0;
        transform: translateY(20px) rotateX(-10deg) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0) scale(1);
    }
}

/* 3D Floating Particles */
.card-3d-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-particle {
    position: absolute;
    background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    z-index: 2;
}

.script-card:hover .floating-particle {
    opacity: 0.5;
}

.floating-particle.p1 {
    width: 10px;
    height: 10px;
    top: 20%;
    left: 10%;
}

.floating-particle.p2 {
    width: 15px;
    height: 15px;
    top: 50%;
    left: 80%;
}

.floating-particle.p3 {
    width: 8px;
    height: 8px;
    top: 80%;
    left: 30%;
}

/* Advanced Live Search Feature */
.search-container {
    margin: 30px auto;
    max-width: 800px;
    width: 100%;
    transform-style: preserve-3d;
}

.search-wrapper {
    position: relative;
    background: rgba(15, 15, 30, 0.7);
    border: 2px solid rgba(112, 0, 255, 0.5);
    border-radius: 50px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.search-wrapper:hover, 
.search-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(112, 0, 255, 0.6);
    transform: translateZ(5px);
}

.search-icon {
    color: var(--primary-light);
    margin-right: 15px;
    font-size: 18px;
    transform: translateZ(10px);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    font-family: var(--font-body);
    padding: 12px 5px;
    transform: translateZ(10px);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.search-input:focus {
    outline: none;
}

.search-stats {
    font-size: 14px;
    color: var(--gray-color);
    white-space: nowrap;
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateZ(10px);
}

#search-count {
    color: var(--primary-light);
    font-weight: bold;
    font-size: 16px;
}

/* No Results Message */
.no-results-message {
    text-align: center;
    margin: 50px auto;
    padding: 30px;
    max-width: 600px;
    background: rgba(15, 15, 30, 0.7);
    border: 2px solid rgba(255, 50, 50, 0.5);
    border-radius: 10px;
    color: white;
    box-shadow: 0 0 20px rgba(255, 50, 50, 0.3);
    transform-style: preserve-3d;
    display: none;
}

.no-results-message h3 {
    color: var(--accent-light);
    margin-bottom: 15px;
    transform: translateZ(5px);
}

.no-results-message p {
    color: var(--gray-color);
    margin-bottom: 20px;
    transform: translateZ(3px);
}

.no-results-message .btn {
    transform: translateZ(10px);
}

/* Scripts Total Counter */
.scripts-total-counter {
    text-align: center;
    margin-bottom: 40px;
    transform-style: preserve-3d;
}

.counter-mega {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.counter-circle .counter-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(112, 0, 255, 0.5);
}

.counter-mega .counter-label {
    font-size: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: translateZ(20px);
}

/* Search Results Styling */
.search-results-count {
    margin-top: 10px;
    text-align: center;
    font-size: 1rem;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
}

.search-results-count.results-found {
    background: rgba(112, 0, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(112, 0, 255, 0.3);
}

.search-results-count.no-results {
    background: rgba(255, 50, 50, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 50, 50, 0.3);
}

.script-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
}

.search-match {
    animation: highlight-pulse 1s ease;
}

@keyframes highlight-pulse {
    0% { box-shadow: 0 0 0 rgba(112, 0, 255, 0.5); }
    50% { box-shadow: 0 0 30px rgba(112, 0, 255, 0.8); }
    100% { box-shadow: 0 0 0 rgba(112, 0, 255, 0.5); }
}

/* Animation class for search result highlighting */
.script-card.pulsing {
    animation: highlight-pulse 1s ease;
    z-index: 10;
}
