/* AI Partners Grid Layout */
.ai-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
    margin-top: 30px;
}

/* Base Partner Card */
.partner-card {
    width: 280px;
    height: 300px;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.partner-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.partner-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.partner-card h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.partner-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.partner-tags {
    display: flex;
    gap: 10px;
}

.partner-tags span {
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Glassmorphism Effect (ChatGPT) */
.glass-effect {
    background: linear-gradient(135deg, rgba(16, 163, 127, 0.8), rgba(0, 0, 0, 0.8));
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.glass-effect:hover {
    box-shadow: 0 0 20px rgba(16, 163, 127, 0.6);
}

/* Holographic Effect (Claude) */
.holographic-effect {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.holographic-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.holographic-effect:hover::before {
    left: 100%;
}

/* Cyberpunk Effect (Trae) */
.cyberpunk-effect {
    background: #2b213a;
    border: 2px solid #ff00ff;
    box-shadow: 4px 4px 0px #00ffff;
}

.cyberpunk-effect:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0px #00ffff;
}

.cyberpunk-effect h4 {
    color: #ff00ff;
    text-shadow: 2px 2px #00ffff;
}

.cyberpunk-effect .partner-icon-wrapper {
    background: rgba(255, 0, 255, 0.1);
    border: 1px solid #00ffff;
}

/* Cursor Effect (Dark Precision) */
.cursor-effect {
    background: #000000;
    border: 1px solid #333;
}

.cursor-effect:hover {
    border-color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.cursor-effect .partner-icon-wrapper {
    background: #1a1a1a;
    border: 1px solid #333;
}

/* Neon Glow Effect (CloudCode) */
.neon-effect {
    background: #0f172a;
    border: 2px solid #38bdf8;
    box-shadow: 0 0 10px #38bdf8, inset 0 0 10px #38bdf8;
}

.neon-effect:hover {
    box-shadow: 0 0 20px #38bdf8, inset 0 0 20px #38bdf8;
    background: #1e293b;
}

.neon-effect h4, .neon-effect p, .neon-effect .partner-tags span {
    text-shadow: 0 0 5px #38bdf8;
}

/* Overlay for Gemini Image */
.partner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    text-align: center;
}

.partner-name {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.partner-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    padding: 15px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.flip-card-back:hover .partner-info {
    transform: translateY(0);
}
