/* Dad's Workshop — dad/index.html */

.section-title {
    font-family: "Fredoka", sans-serif;
    color: var(--color-dad);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.app-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 5px solid var(--color-dad);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    animation: popIn 0.6s ease;
    animation-fill-mode: backwards;
}

.app-card:nth-child(1) {
    animation-delay: 0.1s;
}
.app-card:nth-child(2) {
    animation-delay: 0.2s;
}
.app-card:nth-child(3) {
    animation-delay: 0.3s;
}
.app-card:nth-child(4) {
    animation-delay: 0.4s;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.app-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    margin-bottom: 1rem;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.app-card:hover .app-icon {
    transform: scale(1.05) rotate(3deg);
}

.app-card h3 {
    font-family: "Fredoka", sans-serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.app-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    flex-grow: 1;
}

.play-button {
    background-color: var(--color-dad);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.play-button:hover {
    background-color: #1a252f;
}
