:root {
    --primary: rgb(219, 39, 119);
    --primary-dark: rgb(190, 24, 93);
    --background: rgb(17, 17, 17);
    --card-bg: rgba(24, 24, 27, 0.8);
}

body {
    background-color: var(--background);
    color: white;
    font-family: system-ui, -apple-system, sans-serif;
}

/* Background Grid */
.bg-grid {
    background-image: 
        linear-gradient(to right, rgba(219, 39, 119, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(219, 39, 119, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    animation: gridPulse 4s ease-in-out infinite;
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(to right, #db2777, #9333ea, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientFlow 6s ease infinite;
}

/* Card Styles */
.project-card {
    background: var(--card-bg);
    border: 2px solid transparent;
    border-radius: 1rem;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 0 30px rgba(219, 39, 119, 0.3),
        0 0 60px rgba(219, 39, 119, 0.1);
}

/* Icon Styles */
.project-icon {
    width: 5rem;
    height: 5rem;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 8px rgba(219, 39, 119, 0.3));
}

.project-card:hover .project-icon {
    color: var(--primary-light);
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 12px rgba(219, 39, 119, 0.5));
}

/* Corner Accents */
.corner-accent {
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    border-color: var(--primary);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .corner-accent {
    opacity: 1;
    width: 2rem;
    height: 2rem;
}

/* Responsive Grid */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .project-card {
        padding: 1.5rem;
    }
    
    .project-icon {
        width: 4rem;
        height: 4rem;
    }
}