.effects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.effect-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.effect-card h3 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    color: #333;
}

.effect-demo {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.copy-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #007bff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.copy-button:hover {
    background: #0056b3;
}

.copy-button i {
    font-size: 1rem;
}

.effect-code {
    background: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
    display: none;
}

.effect-code.active {
    display: block;
}

.effect-code pre {
    margin: 0;
    padding: 1rem;
    overflow-x: auto;
}

.effect-code code {
    font-family: monospace;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
}

/* Efeito 1: Gradiente Animado */
.gradient-animated {
    background: linear-gradient(45deg, #12c2e9, #c471ed, #f64f59);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Efeito 2: Padrão Geométrico */
.geometric-pattern {
    background-color: #e5e5f7;
    opacity: 0.8;
    background-image: linear-gradient(30deg, #444cf7 12%, transparent 12.5%, transparent 87%, #444cf7 87.5%, #444cf7),
    linear-gradient(150deg, #444cf7 12%, transparent 12.5%, transparent 87%, #444cf7 87.5%, #444cf7),
    linear-gradient(30deg, #444cf7 12%, transparent 12.5%, transparent 87%, #444cf7 87.5%, #444cf7),
    linear-gradient(150deg, #444cf7 12%, transparent 12.5%, transparent 87%, #444cf7 87.5%, #444cf7);
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
}

/* Efeito 3: Ondas */
.waves-background {
    background: linear-gradient(45deg, #12c2e9 0%, #c471ed 50%, #f64f59 100%);
    position: relative;
    overflow: hidden;
}

.waves-background::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 200%;
    top: -50%;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: radial-gradient(circle at center, transparent 30%, rgba(255,255,255,0.2) 31%);
    background-size: 8px 8px;
    animation: waves 8s linear infinite;
    transform-origin: center center;
}

@keyframes waves {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
