/* ==========================================
   CSS Variables & Reset
   ========================================== */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-primary: #ffffff;
    --text-secondary: #b8c1ec;
    --bg-dark: #0a0e27;
    --bg-secondary: #151932;
    --bg-card: #1a1f3a;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    --shadow-sm: 0 2px 10px rgba(102, 126, 234, 0.1);
    --shadow-md: 0 4px 20px rgba(102, 126, 234, 0.2);
    --shadow-lg: 0 10px 40px rgba(102, 126, 234, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Space Background with Stars */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 60px 70px, #fff, transparent),
        radial-gradient(1px 1px at 50px 50px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, #fff, transparent),
        radial-gradient(2px 2px at 90px 10px, #fff, transparent),
        radial-gradient(1px 1px at 190px 150px, #ddd, transparent),
        radial-gradient(1px 1px at 220px 90px, #fff, transparent);
    background-repeat: repeat;
    background-size: 300px 300px;
    animation: stars 200s linear infinite;
    opacity: 0.5;
    z-index: -1;
}

/* Animated Shooting Stars */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
    animation: shootingStars 15s linear infinite;
}

@keyframes stars {
    0% { transform: translateY(0); }
    100% { transform: translateY(-300px); }
}

@keyframes shootingStars {
    0% {
        box-shadow: 
            100vw -10vh 1px 1px #fff,
            20vw 80vh 1px 1px #fff,
            80vw 30vh 1px 1px #fff;
    }
    100% {
        box-shadow: 
            -10vw calc(100vh + 10vh) 1px 1px transparent,
            -30vw calc(100vh + 10vh) 1px 1px transparent,
            -20vw calc(100vh + 10vh) 1px 1px transparent;
    }
}

/* Nebula Effect */
.space-nebula {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.nebula-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 50%, rgba(102, 126, 234, 0.15), transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(118, 75, 162, 0.12), transparent 50%),
                radial-gradient(ellipse at 50% 20%, rgba(240, 147, 251, 0.1), transparent 50%);
    animation: nebulaPulse 20s ease-in-out infinite;
}

@keyframes nebulaPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    transition: var(--transition-fast);
    box-shadow: none;
}

.navbar.scrolled {
    background: rgba(9, 10, 15, 0.3);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 900;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.5));
    transition: var(--transition-fast);
}

.logo:hover .logo-image {
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.8));
    transform: scale(1.05);
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite;
}

.logo-pulse {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(102, 126, 234, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.8));
    }
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 18px;
    font-weight: 500;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 50px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float3d 20s ease-in-out infinite;
    transform-style: preserve-3d;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    top: 50%;
    right: -5%;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    bottom: -10%;
    left: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: #4facfe;
    top: 20%;
    right: 20%;
    animation-delay: -15s;
}

@keyframes float3d {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotateZ(0deg);
    }
    33% {
        transform: translate3d(30px, -50px, 20px) rotateZ(120deg) scale(1.1);
    }
    66% {
        transform: translate3d(-20px, 20px, -20px) rotateZ(240deg) scale(0.9);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
}

.title-line {
    display: block;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition-fast);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-5px) rotateX(10deg);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-5px) rotateX(10deg);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.hero-animation {
    position: relative;
    perspective: 1000px;
}

/* 3D Cube Animation */
.cube-3d {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cube-scene {
    width: 250px;
    height: 250px;
    perspective: 1000px;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

.cube-face {
    position: absolute;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
}

.cube-face i {
    color: var(--primary-color);
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.8));
}

.cube-face.front  { transform: rotateY(0deg) translateZ(125px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(125px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(125px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(125px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(125px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(125px); }

@keyframes rotateCube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* 3D Card Flip */
.card-3d {
    width: 100%;
    height: 400px;
    perspective: 1000px;
}

.card-3d-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s;
    animation: cardFlip 6s infinite ease-in-out;
}

.card-3d-front,
.card-3d-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(26, 31, 58, 0.8);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.card-3d-back {
    transform: rotateY(180deg);
    border-color: var(--accent-color);
}

@keyframes cardFlip {
    0%, 40% { transform: rotateY(0deg); }
    50%, 90% { transform: rotateY(180deg); }
    100% { transform: rotateY(360deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0% {
        top: 10px;
        opacity: 1;
    }
    100% {
        top: 30px;
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   Section Styles
   ========================================== */
section {
    padding: 120px 0;
    position: relative;
    perspective: 2000px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

/* ==========================================
   About Section
   ========================================== */
.about {
    background: transparent;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: var(--transition-fast);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    font-size: 48px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

/* ==========================================
   Services Section
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: rgba(26, 31, 58, 0.6);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-fast);
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

/* 3D Service Icons */
.service-icon-3d {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    perspective: 1000px;
}

.service-icon-3d i {
    font-size: 60px;
    color: var(--primary-color);
    transition: all 0.6s ease;
    transform-style: preserve-3d;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
}

.service-card:hover .service-icon-3d i {
    transform: rotateY(360deg) scale(1.2);
    filter: drop-shadow(0 0 30px rgba(102, 126, 234, 1));
}

/* Add 3D depth to service cards */
.service-card {
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.service-card:hover {
    transform: translateZ(30px) rotateX(5deg) rotateY(5deg);
}

/* 3D Contact Envelope */
.contact-3d-icon {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    margin-bottom: 30px;
}

.envelope-3d {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    transform-style: preserve-3d;
    animation: floatEnvelope 4s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}

.envelope-3d i {
    font-size: 80px;
    color: var(--primary-color);
    filter: drop-shadow(0 0 30px rgba(102, 126, 234, 0.8));
}

@keyframes floatEnvelope {
    0%, 100% { 
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }
    25% { 
        transform: translateY(-20px) rotateX(10deg) rotateY(10deg);
    }
    50% { 
        transform: translateY(0) rotateX(-10deg) rotateY(-10deg);
    }
    75% { 
        transform: translateY(-20px) rotateX(5deg) rotateY(-5deg);
    }
}

/* Stripe Pricing Table Styling */
.pricing-table-wrapper {
    margin: 40px 0;
    padding: 20px;
    background: rgba(26, 31, 58, 0.5);
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
}

.pricing-table-wrapper:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

stripe-pricing-table {
    font-family: 'Rajdhani', sans-serif !important;
}

/* Stripe pricing table card animations */
/* Since Stripe uses Shadow DOM, we can use CSS custom properties that pierce through */
stripe-pricing-table::part(card) {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Global styles that affect Stripe pricing table internals */
.pricing-table-wrapper stripe-pricing-table {
    --pricing-table-border-radius: 15px;
    --pricing-table-background-color: rgba(26, 31, 58, 0.8);
    --pricing-table-border-color: rgba(102, 126, 234, 0.2);
}

/* Animate pricing table on load */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-table-wrapper {
    animation: slideUp 0.6s ease;
}

/* Add glow effect to pricing cards through wrapper */
.pricing-table-wrapper:hover {
    transform: translateY(-5px);
}

/* Individual pricing card hover simulation */
/* We'll use JavaScript to add this functionality, but prepare the CSS */
.pricing-table-wrapper.card-hover-active {
    background: rgba(26, 31, 58, 0.7);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.4);
}

/* Pulse animation for pricing cards */
@keyframes pricingPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
    }
    50% {
        box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
    }
}

.pricing-table-wrapper:hover {
    animation: pricingPulse 2s ease-in-out infinite;
}

.service-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.service-features i {
    color: var(--primary-color);
}

/* ==========================================
   Portfolio Section
   ========================================== */
.portfolio {
    background: transparent;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.filter-btn {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-fast);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.portfolio-item:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.4);
}

.portfolio-item.hide {
    display: none;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 350px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-content {
    text-align: center;
    padding: 30px;
    transform: translateY(20px);
    transition: var(--transition-fast);
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    margin-bottom: 10px;
}

.portfolio-content p {
    font-size: 16px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.portfolio-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.portfolio-tags span {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 20px;
    transition: var(--transition-fast);
}

.portfolio-link:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* ==========================================
   Team Section
   ========================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.team-member {
    text-align: center;
    transition: var(--transition-fast);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.team-member:hover {
    transform: translateY(-15px) rotateY(5deg);
}

.member-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%;
    padding-bottom: 100%; /* Creates 1:1 aspect ratio */
}

.member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: var(--transition-medium);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.member-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.member-role {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.member-bio {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
    background: transparent;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(26, 31, 58, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-text p {
    color: var(--text-secondary);
}

.social-links-large {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links-large a {
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: var(--transition-fast);
}

.social-links-large a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-3px);
}

.contact-form {
    background: rgba(26, 31, 58, 0.6);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(21, 25, 50, 0.8);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: 'Rajdhani', sans-serif;
    transition: var(--transition-fast);
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 20px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -10px;
    left: 15px;
    font-size: 14px;
    background: var(--bg-card);
    padding: 0 5px;
    color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: rgba(10, 14, 39, 0.5);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    background: rgba(21, 25, 50, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 50px;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    backdrop-filter: blur(5px);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    transform: scale(1.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

/* ==========================================
   Back to Top Button
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-text h1 {
        font-size: 56px;
    }
    
    .section-title {
        font-size: 48px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 14, 39, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition-fast);
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-text h1 {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 32px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .portfolio-filters {
        flex-wrap: wrap;
    }
    
    .policies-content {
        grid-template-columns: 1fr;
    }
    
    .policy-modal-content {
        padding: 30px;
        margin: 20px;
        max-height: 85vh;
    }
    
    .policy-modal-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
}

/* ==========================================
   Policies Section
   ========================================== */
.policies-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.policy-card {
    background: rgba(26, 31, 58, 0.6);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
    cursor: pointer;
    text-align: center;
    transform-style: preserve-3d;
}

.policy-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    transform: translateY(-10px);
}

.policy-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transition: var(--transition-fast);
}

.policy-card:hover .policy-icon {
    transform: rotateY(360deg) scale(1.1);
}

.policy-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.policy-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.policy-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition-fast);
}

.policy-card:hover .policy-cta {
    gap: 20px;
}

.policy-cta i {
    transition: var(--transition-fast);
}

/* Policy Modal */
.policy-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.policy-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.policy-modal-content {
    background: rgba(26, 31, 58, 0.95);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    padding: 50px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.5s ease;
    backdrop-filter: blur(20px);
}

.policy-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: 300;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 1;
}

.policy-modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-policy-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.policy-modal-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.policy-updated {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 30px;
    font-style: italic;
}

.policy-feedback-icon-btn {
    min-height: 52px;
    padding: 0 18px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(102, 126, 234, 0.18);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 20px;
    margin-top: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.policy-feedback-icon-btn span {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}

.policy-feedback-icon-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(102, 126, 234, 0.5);
    color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
}

.yt-feedback-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.yt-feedback-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.yt-feedback-close-btn {
    position: fixed;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(16, 18, 32, 0.9);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 10070;
    display: none;
}

.yt-feedback-close-btn.active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.policy-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

.policy-text h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    color: var(--text-primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-text h4:first-child {
    margin-top: 0;
}

.policy-text p {
    margin-bottom: 20px;
}

.youtrack-inline-wrap {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(8, 10, 24, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    text-align: center;
    padding: 18px;
}

.youtrack-inline-wrap > * {
    margin-left: auto;
    margin-right: auto;
}

.youtrack-inline-frame {
    width: 100%;
    min-height: 980px;
    border: 0;
    display: block;
    background: #ffffff;
}

.yt-fallback-link {
    margin: 12px 0 0;
    color: var(--text-secondary);
}

.yt-fallback-link a {
    color: var(--primary-color);
    text-decoration: underline;
}

.policy-text a {
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.policy-text a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Custom Scrollbar for Modal */
.policy-modal-content::-webkit-scrollbar {
    width: 10px;
}

.policy-modal-content::-webkit-scrollbar-track {
    background: rgba(21, 25, 50, 0.5);
    border-radius: 10px;
}

.policy-modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.policy-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================
   Utility Classes
   ========================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

/* ==========================================
   Loading Animation
   ========================================== */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 0%, var(--bg-secondary) 50%, var(--bg-card) 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ==========================================
   Discord Invite Styles
   ========================================== */
.discord-invite {
    display: flex;
    justify-content: center;
    align-items: center;
}

#inviteContainer {
    display: flex;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    box-shadow: 0px 10px 50px 10px #111111;
}

#inviteContainer .acceptContainer {
    padding: 45px 30px;
    box-sizing: border-box;
    width: 400px;
    background-color: rgba(40, 43, 48, 1);
}

.divForm {
    padding-bottom: 15px;
    position: relative;
    text-align: center;
    height: 100%;
    margin-bottom: 50px;
}

.divForm h1 {
    margin: 0 0 15px 0;
    font-family: "Montserrat", "Rajdhani", sans-serif;
    font-weight: 600;
    font-size: 30px;
    color: #fff;
}

.divForm .serverInfo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.divForm .serverInfo h2 {
    color: #fff;
}

.divForm .serverInfo h2 span {
    font-family: "Montserrat", "Rajdhani", sans-serif;
    font-weight: 600;
}

.divForm .serverInfo h2 .by {
    font-size: 20px;
    opacity: 0.7;
}

.divForm .serverInfo h2 .name {
    font-size: 20px;
}

.divForm .serverInfo h2 .server {
    font-size: 25px;
}

.logoContainer {
    padding: 45px 30px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.9);
}

.logoContainer img.logo {
    width: 150px;
    margin-bottom: -5px;
    display: block;
    position: relative;
    border-radius: 50%;
}

.logoContainer .text {
    padding: 25px 0 10px 0;
    color: #202225;
    z-index: 1;
    font-family: "Orbitron", sans-serif;
}

.acceptBtn {
    width: 100%;
    box-sizing: border-box;
    background: #7289da;
    border: none;
    color: #fff;
    padding: 15px 0;
    border-radius: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    cursor: pointer;
    transition: 0.2s ease;
    font-weight: 600;
    font-size: 16px;
}

.acceptBtn:hover {
    background: #6b7fc5;
    transform: translateY(-2px);
}

@media screen and (min-width: 0px) and (max-width: 675px) {
    .logoContainer {
        display: none;
    }
    
    #inviteContainer .acceptContainer {
        width: 100%;
        max-width: 350px;
    }
}

/* ==========================================
   GAMING EFFECTS & ENHANCEMENTS
   ========================================== */

/* Neon Glow Effects */
.neon-glow {
    text-shadow: 
        0 0 10px rgba(102, 126, 234, 0.8),
        0 0 20px rgba(102, 126, 234, 0.6),
        0 0 30px rgba(102, 126, 234, 0.4),
        0 0 40px rgba(102, 126, 234, 0.2);
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(102, 126, 234, 0.8),
            0 0 20px rgba(102, 126, 234, 0.6),
            0 0 30px rgba(102, 126, 234, 0.4);
    }
    50% {
        text-shadow: 
            0 0 20px rgba(102, 126, 234, 1),
            0 0 30px rgba(102, 126, 234, 0.8),
            0 0 40px rgba(102, 126, 234, 0.6),
            0 0 50px rgba(102, 126, 234, 0.4);
    }
}

/* Enhanced Gradient Text with Animation */
.gradient-text {
    position: relative;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #4facfe);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 5s ease infinite;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.6));
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    33% { background-position: 50% 100%; }
    66% { background-position: 100% 50%; }
}

/* Scanline Effect Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.03),
        rgba(0, 0, 0, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
    animation: scanlines 8s linear infinite;
    opacity: 0.5;
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(10px); }
}

/* Holographic Card Effect */
.holographic-card {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.1) 0%, 
        rgba(118, 75, 162, 0.1) 50%, 
        rgba(240, 147, 251, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
    box-shadow: 
        0 0 20px rgba(102, 126, 234, 0.2),
        inset 0 0 20px rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.holographic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.5s ease;
}

.holographic-card:hover::before {
    left: 100%;
}

.holographic-card:hover {
    box-shadow: 
        0 0 40px rgba(102, 126, 234, 0.4),
        inset 0 0 30px rgba(102, 126, 234, 0.2);
    transform: translateY(-5px);
}

/* Glitch Text Effect */
.glitch-text {
    position: relative;
    font-family: 'Orbitron', sans-serif;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch-text::before {
    color: #f093fb;
    animation: glitch1 0.3s infinite;
    z-index: -1;
}

.glitch-text::after {
    color: #4facfe;
    animation: glitch2 0.3s infinite;
    z-index: -2;
}

@keyframes glitch1 {
    0%, 100% {
        transform: translate(0);
        opacity: 0;
    }
    20% {
        transform: translate(-2px, 2px);
        opacity: 0.8;
    }
    40% {
        transform: translate(2px, -2px);
        opacity: 0.8;
    }
    60% {
        transform: translate(-2px, -2px);
        opacity: 0.8;
    }
    80% {
        transform: translate(2px, 2px);
        opacity: 0.8;
    }
}

@keyframes glitch2 {
    0%, 100% {
        transform: translate(0);
        opacity: 0;
    }
    20% {
        transform: translate(2px, -2px);
        opacity: 0.8;
    }
    40% {
        transform: translate(-2px, 2px);
        opacity: 0.8;
    }
    60% {
        transform: translate(2px, 2px);
        opacity: 0.8;
    }
    80% {
        transform: translate(-2px, -2px);
        opacity: 0.8;
    }
}

/* HUD-Style Borders */
.hud-border {
    position: relative;
    padding: 20px;
}

.hud-border::before,
.hud-border::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
}

.hud-border::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.hud-border::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* Energy Bar Animation */
.energy-bar {
    position: relative;
    height: 4px;
    background: rgba(102, 126, 234, 0.2);
    overflow: hidden;
    border-radius: 2px;
}

.energy-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        #667eea 0%, 
        #4facfe 50%, 
        #667eea 100%);
    animation: energyFlow 2s linear infinite;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.8);
}

@keyframes energyFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Cyberpunk Button Enhancement */
.btn-cyber {
    position: relative;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-primary);
    padding: 15px 40px;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(102, 126, 234, 0.3), 
        transparent);
    transition: left 0.5s ease;
}

.btn-cyber:hover::before {
    left: 100%;
}

.btn-cyber::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 126, 234, 0.1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.btn-cyber:hover::after {
    transform: scaleX(1);
}

.btn-cyber:hover {
    border-color: #4facfe;
    box-shadow: 
        0 0 20px rgba(102, 126, 234, 0.5),
        inset 0 0 20px rgba(102, 126, 234, 0.2);
    transform: translateY(-3px);
}

/* Digital Counter Effect */
.digital-counter {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.5));
}

/* Particle Cursor Trail */
.cursor-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, 
        rgba(102, 126, 234, 1) 0%, 
        rgba(102, 126, 234, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: cursorParticleFade 1s ease-out forwards;
}

@keyframes cursorParticleFade {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

/* Screen Shake Animation */
@keyframes screenShake {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    10% { transform: translate(-2px, 2px) rotate(-1deg); }
    20% { transform: translate(2px, -2px) rotate(1deg); }
    30% { transform: translate(-2px, -2px) rotate(-1deg); }
    40% { transform: translate(2px, 2px) rotate(1deg); }
    50% { transform: translate(-2px, 2px) rotate(-1deg); }
    60% { transform: translate(2px, -2px) rotate(1deg); }
    70% { transform: translate(-2px, -2px) rotate(-1deg); }
    80% { transform: translate(2px, 2px) rotate(1deg); }
    90% { transform: translate(-2px, 2px) rotate(-1deg); }
}

.screen-shake {
    animation: screenShake 0.5s ease;
}

/* Matrix-style Terminal Text */
.terminal-text {
    font-family: 'Courier New', monospace;
    color: #4facfe;
    text-shadow: 0 0 10px rgba(79, 172, 254, 0.8);
    letter-spacing: 1px;
}

/* Enhanced Service Cards */
.service-card {
    position: relative;
    overflow: visible;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #667eea, #764ba2, #f093fb, #4facfe, 
        #667eea);
    background-size: 400% 400%;
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.service-card:hover::before {
    opacity: 1;
}

/* Portfolio Item Enhancement */
.portfolio-item {
    position: relative;
}

.portfolio-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover::after {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 
        0 0 30px rgba(102, 126, 234, 0.6),
        inset 0 0 30px rgba(102, 126, 234, 0.1);
}

/* Animated Grid Background */
.animated-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: -3;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Loading Bar Gaming Style */
.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 10001;
}

.loading-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, 
        #667eea, #764ba2, #f093fb, #4facfe);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.8);
    animation: loadingProgress 2s ease-in-out;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Floating Action Buttons */
.floating-action {
    position: fixed;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 5px 20px rgba(102, 126, 234, 0.4),
        0 0 30px rgba(102, 126, 234, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-action:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 
        0 10px 40px rgba(102, 126, 234, 0.6),
        0 0 50px rgba(102, 126, 234, 0.4);
}

/* Hexagon Grid Pattern */
.hexagon-pattern {
    position: relative;
}

.hexagon-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(30deg, 
            rgba(102, 126, 234, 0.03) 0px, 
            rgba(102, 126, 234, 0.03) 1px, 
            transparent 1px, 
            transparent 10px),
        repeating-linear-gradient(-30deg, 
            rgba(102, 126, 234, 0.03) 0px, 
            rgba(102, 126, 234, 0.03) 1px, 
            transparent 1px, 
            transparent 10px);
    pointer-events: none;
}

/* Pulsing Dot Indicator */
.pulse-dot {
    position: relative;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.8);
}

.pulse-dot::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Apply gaming enhancements to existing elements */
.section-title {
    position: relative;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.4));
}

.btn-primary,
.btn-secondary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after,
.btn-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:active::after,
.btn-secondary:active::after {
    width: 300px;
    height: 300px;
}

/* Enhanced navbar with gaming feel */
.navbar {
    position: relative;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-color), 
        transparent);
    opacity: 0.5;
}

/* Team member holographic effect */
.team-member {
    position: relative;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.1), 
        transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
    pointer-events: none;
}

.team-member:hover::before {
    opacity: 1;
}

/* Contact form gaming enhancement */
.contact-form {
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #667eea, #764ba2, #f093fb, #4facfe);
    background-size: 400% 400%;
    border-radius: 22px;
    z-index: -1;
    opacity: 0.3;
    animation: borderGlow 5s ease infinite;
}

/* Stat cards with digital display */
.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(102, 126, 234, 0.1) 0%, 
        transparent 70%);
    animation: statGlow 3s ease-in-out infinite;
}

@keyframes statGlow {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    50% {
        transform: translate(10%, 10%);
        opacity: 1;
    }
}

/* Footer enhancement */
.footer {
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-color), 
        transparent);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

/* Responsive adjustments for gaming effects */
@media (max-width: 768px) {
    body::after {
        opacity: 0.3;
    }
    
    .neon-glow {
        text-shadow: 
            0 0 5px rgba(102, 126, 234, 0.8),
            0 0 10px rgba(102, 126, 234, 0.6);
    }
    
    .cursor-particle {
        display: none;
    }
}
