.ai-theme {
    --primary-color: #9d71ea;
    --secondary-color: #b98ff0;
    --text-color: #e8e0d4;
    --background-color: #0a0a0f;
    --accent-color: #6e45e2;
    --hieroglyph-color: #4a2b9e;
}

.ai-theme .feature-card i {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ai-theme .particles {
    background: linear-gradient(45deg,
        rgba(110, 69, 226, 0.05),
        rgba(157, 113, 234, 0.05)
    );
}

.social-section {
    padding: 60px 0;
    background: rgba(10, 10, 15, 0.98);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    align-items: start;
}

.portal-title {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    margin-bottom: 24px;
    position: relative;
    color: var(--text-primary);
}

.portal-frame {
    background: rgba(110, 69, 226, 0.1);
    backdrop-filter: blur(5px);
    padding: 10px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(110, 69, 226, 0.1);
}

.hieroglyph-border {
    background: rgba(0, 0, 0, 0.9);
    padding: 16px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.instagram-portal iframe,
.crypto-news iframe {
    border-radius: 4px;
    background: white;
}

@media (max-width: 768px) {
    .social-grid {
        grid-template-columns: 1fr;
    }

    .portal-title {
        font-size: 1.4rem;
    }
}
