/* ============================================================================
   PREMIUM 3D ANIME.JS EFFECTS v2.0
   Anti Pro Tool - Professional 3D Visual Enhancement System
   ============================================================================ */

/* ============================================================================
   3D PARTICLE BACKGROUND SYSTEM
   ============================================================================ */
.particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.7;
}

/* Hero 3D Floating Orbs */
.hero-3d-container {
    position: relative;
    perspective: 1500px;
    perspective-origin: 50% 50%;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    will-change: transform, opacity;
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, transparent 70%);
    top: -100px;
    left: -150px;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
    top: 20%;
    right: -100px;
    animation-delay: -2s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.25) 0%, transparent 70%);
    bottom: 10%;
    left: 10%;
    animation-delay: -4s;
}

.orb-4 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
    top: 50%;
    right: 20%;
    animation-delay: -6s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-30px) translateX(15px) scale(1.05);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-15px) translateX(-10px) scale(0.95);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-40px) translateX(20px) scale(1.02);
        opacity: 0.65;
    }
}

/* 3D Geometric Shapes */
.shape-3d {
    position: absolute;
    pointer-events: none;
    will-change: transform;
}

.cube-3d {
    width: 60px;
    height: 60px;
    transform-style: preserve-3d;
    animation: cubeRotate 15s linear infinite;
}

.cube-face {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.05);
    backdrop-filter: blur(5px);
}

.cube-face:nth-child(1) { transform: rotateY(0deg) translateZ(30px); }
.cube-face:nth-child(2) { transform: rotateY(90deg) translateZ(30px); }
.cube-face:nth-child(3) { transform: rotateY(180deg) translateZ(30px); }
.cube-face:nth-child(4) { transform: rotateY(-90deg) translateZ(30px); }
.cube-face:nth-child(5) { transform: rotateX(90deg) translateZ(30px); }
.cube-face:nth-child(6) { transform: rotateX(-90deg) translateZ(30px); }

@keyframes cubeRotate {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* ============================================================================
   HERO BADGE 3D
   ============================================================================ */
.hero-badge-3d {
    margin-bottom: 1.5rem;
}

.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.05));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #a5b4fc;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.version-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: badgeShine 3s infinite;
}

@keyframes badgeShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.version-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: versionPulse 2s ease-in-out infinite;
}

@keyframes versionPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.text-gradient-primary {
    background: linear-gradient(135deg, #6366f1, #a5b4fc, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================================
   HERO LOGO SHOWCASE
   ============================================================================ */
.hero-logo-showcase {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Glow Background */
.hero-logo-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, rgba(99, 102, 241, 0.1) 40%, transparent 70%);
    filter: blur(40px);
    animation: logoGlowPulse 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes logoGlowPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* Orbiting Tech Icons */
.hero-logo-orbit {
    position: absolute;
    width: 340px;
    height: 340px;
    animation: orbitSpin 25s linear infinite;
}

@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit-icon {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(30, 34, 45, 0.9);
    border: 1px solid rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #a5b4fc;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    /* Position based on angle */
    left: 50%;
    top: 50%;
    transform: rotate(var(--angle)) translateX(170px) rotate(calc(-1 * var(--angle)));
    animation: orbitCounterSpin 25s linear infinite;
    animation-delay: var(--delay);
}

.orbit-icon:nth-child(1) { color: #34d399; border-color: rgba(52, 211, 153, 0.3); }
.orbit-icon:nth-child(2) { color: #f97316; border-color: rgba(249, 115, 22, 0.3); }
.orbit-icon:nth-child(3) { color: #818cf8; border-color: rgba(129, 140, 248, 0.3); }
.orbit-icon:nth-child(4) { color: #6366f1; border-color: rgba(99, 102, 241, 0.3); }
.orbit-icon:nth-child(5) { color: #10b981; border-color: rgba(16, 185, 129, 0.3); }
.orbit-icon:nth-child(6) { color: #f59e0b; border-color: rgba(245, 158, 11, 0.3); }

@keyframes orbitCounterSpin {
    from { transform: rotate(var(--angle)) translateX(170px) rotate(calc(-1 * var(--angle) + 0deg)); }
    to { transform: rotate(var(--angle)) translateX(170px) rotate(calc(-1 * var(--angle) - 360deg)); }
}

/* Main Logo Container */
.hero-logo-container {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.hero-logo-ring {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        rgba(99, 102, 241, 0.8),
        rgba(16, 185, 129, 0.6),
        rgba(249, 115, 22, 0.6),
        rgba(139, 92, 246, 0.6),
        rgba(99, 102, 241, 0.8)
    );
    animation: ringRotate 6s linear infinite;
    opacity: 0.9;
}

.hero-logo-ring::before {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #0f111a;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-logo-inner {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(145deg, #1a1d26, #12141a);
    border: 2px solid rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-logo-inner img {
    width: 75%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 5px 20px rgba(99, 102, 241, 0.3));
    transition: transform 0.5s ease;
}

.hero-logo-showcase:hover .hero-logo-inner img {
    transform: scale(1.08);
}

/* Brand Text */
.hero-logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 25px;
    z-index: 2;
}

.brand-primary {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.brand-secondary {
    color: white;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

/* Feature Badges */
.hero-feature-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 2;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #a5b4fc;
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.feature-badge i {
    color: #10b981;
    font-size: 0.8rem;
}

/* ============================================================================
   SERVER STATUS 3D ENHANCEMENTS
   ============================================================================ */
.status-3d-card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.status-3d-card:hover {
    transform: perspective(1000px) rotateY(5deg) rotateX(2deg) translateZ(20px);
}

/* Load Indicator System */
.load-indicator {
    position: relative;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.load-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.load-wrapper .load-indicator {
    margin-top: 0;
}

.load-text {
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 500;
}

.load-text .load-value {
    color: #94a3b8;
    font-weight: 700;
}

.svc-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.load-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease-out, background 0.5s ease;
    position: relative;
    overflow: hidden;
}

.load-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: loadShine 2s infinite;
}

@keyframes loadShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.load-low { 
    background: linear-gradient(90deg, #22c55e, #34d399);
}
.load-medium { 
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.load-high { 
    background: linear-gradient(90deg, #ef4444, #f87171);
}

/* Service Status Hologram Effect */
.svc-hologram {
    position: relative;
}

.svc-hologram::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: hologramScan 3s linear infinite;
}

.svc-hologram:hover::before {
    opacity: 1;
}

@keyframes hologramScan {
    0% { clip-path: inset(100% 0 0 0); }
    50% { clip-path: inset(0 0 100% 0); }
    100% { clip-path: inset(100% 0 0 0); }
}

/* Service Info Layout - Fixed positioning */
.svc-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.svc-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    position: relative;
}

.svc-row .svc-badge {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

/* Modern Service Status Badge */
.svc-status-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.svc-status-modern.online {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.08));
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
}

.svc-status-modern.offline {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.12), rgba(148, 163, 184, 0.06));
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

/* Status Dot Animation */
.status-dot-3d {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: relative;
}

.status-dot-3d.online {
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: statusDotPulse 2s ease-in-out infinite;
}

.status-dot-3d.offline {
    background: #64748b;
}

@keyframes statusDotPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 10px #22c55e; }
    50% { transform: scale(1.2); box-shadow: 0 0 20px #22c55e, 0 0 30px rgba(34, 197, 94, 0.5); }
}

/* Load Indicator Separate Container */
.load-wrapper {
    margin-top: 6px;
    padding-right: 0;
}

/* Real-time Activity Pulse */
.activity-pulse {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #94a3b8;
}

.pulse-ring {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, 0.5);
    position: relative;
    animation: pulseRing 1.5s ease-out infinite;
}

.pulse-ring::before {
    content: '';
    position: absolute;
    inset: 4px;
    background: #22c55e;
    border-radius: 50%;
}

@keyframes pulseRing {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* ============================================================================
   RESELLER 3D CARDS
   ============================================================================ */
.reseller-3d-card {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.reseller-3d-card:hover {
    transform: perspective(1000px) rotateY(-8deg) rotateX(5deg) translateZ(30px);
    box-shadow: 
        -20px 20px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(99, 102, 241, 0.2);
}

.reseller-3d-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reseller-3d-card:hover::before {
    opacity: 1;
}

/* Avatar Floating Effect - Smooth without glitch */
.reseller-avatar-3d {
    transform-style: preserve-3d;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

.reseller-avatar-3d img,
.reseller-avatar-3d .reseller-fallback {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.reseller-3d-card:hover .reseller-avatar-3d img,
.reseller-3d-card:hover .reseller-avatar-3d .reseller-fallback {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

/* Avatar Glow Ring on Hover */
.reseller-avatar-3d::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(99, 102, 241, 0.6), rgba(16, 185, 129, 0.6), rgba(249, 115, 22, 0.6), rgba(99, 102, 241, 0.6));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    animation: avatarRingRotate 3s linear infinite;
}

.reseller-3d-card:hover .reseller-avatar-3d::after {
    opacity: 1;
}

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

/* Reseller Badge 3D */
.reseller-badge-3d {
    position: relative;
    display: inline-block;
    transform-style: preserve-3d;
    animation: badgePulse 2s ease-in-out infinite;
}

.reseller-badge-3d::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.5), rgba(16, 185, 129, 0.5));
    filter: blur(8px);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.reseller-3d-card:hover .reseller-badge-3d::after {
    opacity: 0.8;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Social Buttons 3D */
.social-btn-3d {
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.social-btn-3d:hover {
    transform: perspective(500px) rotateX(-10deg) translateZ(10px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
}

/* ============================================================================
   FEATURES/SERVICES 3D CARDS
   ============================================================================ */
.feature-3d-card {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    background: linear-gradient(135deg, rgba(30, 34, 45, 0.9), rgba(20, 24, 35, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-3d-card:hover {
    transform: perspective(1000px) rotateY(10deg) rotateX(-5deg) translateZ(40px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 
        20px 30px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(99, 102, 241, 0.15);
}

/* Icon Box 3D */
.icon-box-3d {
    transform-style: preserve-3d;
    transition: all 0.4s ease;
    position: relative;
}

.icon-box-3d::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(10px);
}

.feature-3d-card:hover .icon-box-3d {
    transform: translateZ(30px) rotateY(-10deg);
}

.feature-3d-card:hover .icon-box-3d::before {
    opacity: 1;
}

/* Feature Title 3D */
.feature-title-3d {
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
}

.feature-3d-card:hover .feature-title-3d {
    transform: translateZ(20px);
}

/* ============================================================================
   HERO SECTION 3D ENHANCEMENTS
   ============================================================================ */
.hero-title-3d {
    transform-style: preserve-3d;
    position: relative;
}

.hero-title-3d span {
    display: inline-block;
    transition: transform 0.4s ease;
}

.hero-title-3d:hover span {
    transform: translateZ(20px);
}

/* 3D Text Layer Effect */
.text-3d-layer {
    position: relative;
    text-shadow: 
        1px 1px 0 rgba(99, 102, 241, 0.3),
        2px 2px 0 rgba(99, 102, 241, 0.2),
        3px 3px 0 rgba(99, 102, 241, 0.1),
        4px 4px 10px rgba(0, 0, 0, 0.3);
}

/* Hero Buttons 3D */
.hero-btn-3d {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-btn-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: inherit;
    transform: translateZ(-10px);
    filter: blur(15px);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.hero-btn-3d:hover {
    transform: perspective(500px) translateZ(20px);
}

.hero-btn-3d:hover::before {
    opacity: 0.8;
    filter: blur(25px);
}

/* ============================================================================
   DOWNLOAD CARDS 3D ENHANCEMENTS
   ============================================================================ */
.download-card-3d {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.download-card-3d:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateZ(30px) translateY(-10px);
}

/* Ribbon 3D Effect */
.ribbon-3d {
    transform: translateZ(20px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Download Button 3D */
.btn-download-3d {
    position: relative;
    transform-style: preserve-3d;
    overflow: hidden;
}

.btn-download-3d::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-download-3d:hover::before {
    width: 300px;
    height: 300px;
}

/* ============================================================================
   FOOTER 3D ENHANCEMENTS
   ============================================================================ */
.footer-3d {
    position: relative;
    overflow: hidden;
}

.footer-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(99, 102, 241, 0.5), 
        rgba(16, 185, 129, 0.5), 
        rgba(249, 115, 22, 0.5), 
        transparent
    );
    animation: footerGlow 4s linear infinite;
}

@keyframes footerGlow {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(50%); }
}

.footer-logo-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.footer-logo-3d:hover {
    transform: perspective(500px) rotateY(15deg) scale(1.1);
}

/* ============================================================================
   RESPONSIVE MOBILE/TABLET OPTIMIZATIONS
   ============================================================================ */

/* Large Tablets (991px and below) */
@media (max-width: 991px) {
    .floating-orb { 
        opacity: 0.4;
        filter: blur(80px);
    }
    
    .reseller-3d-card:hover,
    .feature-3d-card:hover,
    .download-card-3d:hover {
        transform: translateY(-5px);
    }
    
    .hero-title-3d span {
        transform: none !important;
    }
    
    .cube-3d {
        display: none;
    }
    
    /* Mobile Navbar Improvements */
    .glass-nav .navbar-collapse {
        background: rgba(15, 17, 26, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: 16px;
        margin-top: 15px;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .glass-nav .nav-action-group {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .glass-nav .nav-action-group a {
        width: 100%;
        justify-content: center;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        padding-top: 100px !important;
        padding-bottom: 40px !important;
        min-height: auto !important;
    }
    
    .hero-section .display-4 {
        font-size: 2.2rem !important;
    }
    
    /* Hero Logo Showcase Tablet */
    .hero-logo-showcase {
        padding: 40px 15px;
        max-width: 400px;
    }
    
    .hero-logo-glow {
        width: 220px;
        height: 220px;
    }
    
    .hero-logo-orbit {
        width: 280px;
        height: 280px;
    }
    
    .orbit-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        transform: rotate(var(--angle)) translateX(140px) rotate(calc(-1 * var(--angle)));
    }
    
    @keyframes orbitCounterSpin {
        from { transform: rotate(var(--angle)) translateX(140px) rotate(calc(-1 * var(--angle) + 0deg)); }
        to { transform: rotate(var(--angle)) translateX(140px) rotate(calc(-1 * var(--angle) - 360deg)); }
    }
    
    .hero-logo-inner {
        width: 130px;
        height: 130px;
    }
    
    .hero-logo-ring {
        inset: -10px;
    }
    
    .hero-logo-text {
        font-size: 1.4rem;
        gap: 8px;
    }
    
    .feature-badge {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    
    /* Download Cards Grid */
    .download-card {
        margin-bottom: 20px;
    }
    
    /* Status Section Mobile */
    .status-table-card {
        margin: 0 -10px;
        border-radius: 12px;
    }
    
    .server-card {
        margin-bottom: 15px;
    }
}

/* Tablets (768px and below) */
@media (max-width: 767px) {
    .floating-orb {
        width: 200px !important;
        height: 200px !important;
    }
    
    .orb-3, .orb-4 {
        display: none;
    }
    
    .reseller-3d-card:hover,
    .feature-3d-card:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .load-indicator {
        height: 4px;
    }
    
    /* Hero Mobile Optimized */
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .cinema-showcase {
        max-width: 100% !important;
        margin-bottom: 30px;
    }
    
    .cinema-frame {
        padding: 6px !important;
    }
    
    /* Mobile Button Stack */
    .hero-section .d-flex.gap-3 {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-section .d-flex.gap-3 a {
        width: 100%;
        justify-content: center;
    }
    
    /* Reseller Cards - 2 columns on tablet */
    #resellers .row > div {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* Features - Stack on mobile */
    #features .row > div {
        margin-bottom: 20px;
    }
    
    /* Footer Mobile */
    .footer-3d .footer-logo-3d {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-3d h3 {
        font-size: 1.4rem !important;
    }
}

/* Mobile Phones (576px and below) */
@media (max-width: 576px) {
    .particles-canvas {
        opacity: 0.3;
    }
    
    .floating-orb {
        display: none;
    }
    
    .text-3d-layer {
        text-shadow: 1px 1px 0 rgba(99, 102, 241, 0.2);
    }
    
    /* Extra Small Screens */
    .hero-section {
        padding-top: 90px !important;
    }
    
    .hero-section .display-4 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    .hero-section .lead {
        font-size: 0.95rem !important;
    }
    
    /* Mobile Download Cards */
    .download-card-header {
        padding: 15px !important;
    }
    
    .download-card-body {
        padding: 15px !important;
    }
    
    .download-card-footer {
        padding: 15px !important;
    }
    
    .download-card-title {
        font-size: 1.1rem !important;
    }
    
    .download-card-features {
        gap: 4px !important;
    }
    
    .download-feature {
        font-size: 0.65rem !important;
        padding: 3px 8px !important;
    }
    
    /* Mobile Status Display */
    .ms-core {
        padding: 12px !important;
    }
    
    .ms-title {
        font-size: 0.65rem !important;
    }
    
    .ms-state {
        font-size: 0.95rem !important;
    }
    
    .ms-ring {
        width: 48px !important;
        height: 48px !important;
    }
    
    /* Server Cards Mobile */
    .server-head {
        padding: 12px 16px !important;
    }
    
    .server-title {
        font-size: 0.9rem !important;
    }
    
    .server-body {
        padding: 10px 16px 14px !important;
    }
    
    .svc-row {
        padding: 6px 0 !important;
        font-size: 0.85rem !important;
    }
    
    /* Reseller Cards - 1 column on phone */
    #resellers .row > div {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .glass-card {
        padding: 20px !important;
        border-radius: 16px !important;
    }
    
    .reseller-avatar {
        width: 70px !important;
        height: 70px !important;
    }
    
    /* Navbar Mobile */
    .navbar-brand img {
        height: 32px !important;
    }
    
    .navbar-brand span {
        font-size: 1.1rem !important;
    }
    
    /* Global Text Scaling */
    h2.display-5 {
        font-size: 1.6rem !important;
    }
    
    section {
        padding: 40px 0 !important;
    }
    
    /* Footer Mobile */
    .footer-icon-wrapper {
        width: 40px !important;
        height: 40px !important;
    }
    
    /* System Requirements Mobile */
    .system-req-card {
        padding: 15px !important;
    }
    
    .sys-req-item {
        font-size: 0.7rem !important;
        padding: 4px 10px !important;
    }
    
    /* Hero Logo Showcase Mobile Phone */
    .hero-logo-showcase {
        padding: 30px 15px;
        max-width: 100%;
    }
    
    .hero-logo-glow {
        width: 180px;
        height: 180px;
    }
    
    .hero-logo-orbit {
        width: 240px;
        height: 240px;
    }
    
    .orbit-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
        transform: rotate(var(--angle)) translateX(120px) rotate(calc(-1 * var(--angle)));
    }
    
    .hero-logo-inner {
        width: 110px;
        height: 110px;
    }
    
    .hero-logo-ring {
        inset: -8px;
    }
    
    .hero-logo-text {
        font-size: 1.2rem;
        gap: 6px;
        margin-bottom: 20px;
    }
    
    .hero-feature-badges {
        gap: 8px;
    }
    
    .feature-badge {
        padding: 5px 10px;
        font-size: 0.65rem;
    }
    
    .feature-badge i {
        font-size: 0.7rem;
    }
    
    .hero-badge-3d {
        font-size: 0.65rem;
        padding: 6px 12px;
    }
    
    .hero-badge-3d i {
        font-size: 0.65rem;
    }
    
    .version-badge {
        font-size: 0.5rem;
        padding: 2px 5px;
    }
}

/* Extra Small Phones (400px and below) */
@media (max-width: 400px) {
    .hero-section .display-4 {
        font-size: 1.5rem !important;
    }
    
    .btn-download-modern {
        padding: 12px 16px !important;
        font-size: 0.85rem !important;
    }
    
    .download-card-stars {
        display: none !important;
    }
    
    .cinema-labels {
        display: none !important;
    }
    
    /* Hero Logo Showcase Extra Small */
    .hero-logo-showcase {
        padding: 20px 10px;
    }
    
    .hero-logo-glow {
        width: 150px;
        height: 150px;
    }
    
    .hero-logo-orbit {
        width: 200px;
        height: 200px;
    }
    
    .orbit-icon {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
        transform: rotate(var(--angle)) translateX(100px) rotate(calc(-1 * var(--angle)));
    }
    
    .hero-logo-inner {
        width: 90px;
        height: 90px;
    }
    
    .hero-logo-ring {
        inset: -6px;
    }
    
    .hero-logo-text {
        font-size: 1rem;
        gap: 5px;
        margin-bottom: 15px;
    }
    
    .hero-feature-badges {
        gap: 6px;
    }
    
    .feature-badge {
        padding: 4px 8px;
        font-size: 0.6rem;
    }
    
    .hero-badge-3d {
        font-size: 0.6rem;
        padding: 5px 10px;
    }
}

/* Landscape Mobile Optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto !important;
        padding-top: 80px !important;
        padding-bottom: 30px !important;
    }
    
    .floating-orb {
        opacity: 0.2 !important;
    }
}

/* ============================================================================
   PERFORMANCE OPTIMIZATIONS
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
    .floating-orb,
    .cube-3d,
    .reseller-avatar-3d,
    .pulse-ring {
        animation: none;
    }
    
    .reseller-3d-card:hover,
    .feature-3d-card:hover,
    .download-card-3d:hover,
    .status-3d-card:hover {
        transform: translateY(-5px);
    }
}

/* GPU Acceleration Hints */
.reseller-3d-card,
.feature-3d-card,
.download-card-3d,
.status-3d-card,
.floating-orb,
.cube-3d {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
