/* Custom Base Styles */
html, body {
    overflow-x: hidden;
}

/* Perspective container for 3D cards */
.perspective-container {
    perspective: 1000px;
}

/* 3D Card Base */
.3d-card {
    transform-style: preserve-3d;
    will-change: transform;
    /* Add multiple shadows to simulate depth/thickness */
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.8),
        inset 0 -1px 1px rgba(0, 0, 0, 0.05),
        0 10px 20px rgba(0, 0, 0, 0.05),
        0 20px 40px rgba(0, 0, 0, 0.05);
    position: relative;
}

/* Fix for Safari 3D transform glitch */
.3d-card > * {
    transform: translateZ(0);
    will-change: transform;
}

/* Add a subtle glare/shine effect to simulate glass */
.3d-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 50%);
    pointer-events: none;
    transform: translateZ(1px);
}

/* Custom background pattern for hero */
.hero-section {
    background-image: radial-gradient(circle at center, rgba(15, 23, 42, 0) 0%, rgba(10, 25, 47, 1) 100%);
}
