/* Innovative Themes Grid Styles - Simplified */
.themes-container {
    padding: 4rem 0;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    perspective: 1000px;
}

.theme-card {
    position: relative;
    height: 350px;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    transform-style: preserve-3d;
}

.theme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(225deg, transparent, rgba(14, 165, 233, 0.1));
    z-index: 1;
}

.theme-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(-5deg);
    border-color: var(--primary-color);
    box-shadow: 0 25px 50px -12px rgba(14, 165, 233, 0.5);
}

.theme-card:hover .theme-icon {
    transform: translateZ(50px) scale(1.2);
    text-shadow: 0 0 20px var(--primary-color);
}

.theme-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.9) 0%, transparent 60%);
}

.theme-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    transition: all 0.5s ease;
    display: block;
}

.theme-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.theme-description {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 0;
    opacity: 0.8;
}

/* Animated Border Effect */
.theme-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--primary-color), transparent, var(--secondary-color), transparent);
    z-index: -1;
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.3s;
}

.theme-card:hover::after {
    opacity: 1;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Floating Animation for Icons */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.theme-icon-animate {
    animation: float 3s ease-in-out infinite;
}

.section-title-glow {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title-glow h2 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(to right, #fff, var(--primary-color), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* Modal Enhancements - Simplified */
.theme-modal .modal-content {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--card-bg) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    box-shadow: 0 0 50px rgba(14, 165, 233, 0.3);
}

.theme-modal .modal-header {
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    padding: 1.5rem 1.5rem 0.5rem;
}

.theme-modal .modal-body {
    padding: 2rem;
}

.modal-theme-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.modal-theme-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.2;
}

.modal-theme-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 0;
    text-align: center;
}
